Median duration of mechanical ventilation in dexmedetomidine group ( 21.0 h , 95 % CI : 18.6-21 .4 h ) was significantly shorter than that in propofol group ( 28.0 h , 95 % CI : 25.6-30 .4 h ) ( P < 0.05 ) .