d o c k e r   c o m p o s e   - - e n v - f i l e   . e n v   e x e c   d b   p s q l   - U   m e s s e n g e r   - d   m e s s e n g e r   - c   " E X P L A I N   ( A N A L Y Z E ,   B U F F E R S )   S E L E C T   m . i d ,   m . c h a t _ i d ,   m . s e n d e r _ i d ,   m . t e x t ,   m . c r e a t e d _ a t   F R O M   m e s s a g e s   m   W H E R E   m . c h a t _ i d   =   ' $ S M A L L '   A N D   ( m . c r e a t e d _ a t ,   m . i d )   >   ( ' 2 0 2 6 - 0 9 - 1 5   0 0 : 0 0 : 0 0 + 0 0 ' ,   ' 0 0 0 0 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 ' )   O R D E R   B Y   m . c r e a t e d _ a t   A S C ,   m . i d   A S C   L I M I T   5 0 ; "   2 > & 1   |   T e e - O b j e c t   " $ E V 5 \ 1 0 - e x p l a i n - s m a l l - t u p l e . t x t " 
 
 
 
                                                                                                                                                                                                                     Q U E R Y   P L A N 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
   L i m i t     ( c o s t = 1 5 9 . 5 0 . . 1 5 9 . 6 0   r o w s = 4 3   w i d t h = 1 1 0 )   ( a c t u a l   t i m e = 0 . 1 2 9 . . 0 . 1 3 3   r o w s = 4 4   l o o p s = 1 ) 
 
       B u f f e r s :   s h a r e d   h i t = 2 4 
 
       - >     S o r t     ( c o s t = 1 5 9 . 5 0 . . 1 5 9 . 6 0   r o w s = 4 3   w i d t h = 1 1 0 )   ( a c t u a l   t i m e = 0 . 1 2 8 . . 0 . 1 3 0   r o w s = 4 4   l o o p s = 1 ) 
 
                   S o r t   K e y :   c r e a t e d _ a t ,   i d 
 
                   S o r t   M e t h o d :   q u i c k s o r t     M e m o r y :   3 0 k B 
 
                   B u f f e r s :   s h a r e d   h i t = 2 4 
 
                   - >     B i t m a p   H e a p   S c a n   o n   m e s s a g e s   m     ( c o s t = 4 . 8 6 . . 1 5 8 . 3 3   r o w s = 4 3   w i d t h = 1 1 0 )   ( a c t u a l   t i m e = 0 . 0 4 0 . . 0 . 0 8 3   r o w s = 4 4   l o o p s = 1 ) 
 
                               R e c h e c k   C o n d :   ( ( c h a t _ i d   =   ' 4 3 5 6 b 3 1 3 - 3 2 d e - 4 8 a 1 - 9 a 8 f - 7 2 e 8 4 6 8 5 c 2 6 4 ' : : u u i d )   A N D   ( R O W ( c r e a t e d _ a t ,   i d )   >   R O W ( ' 2 0 2 6 - 0 9 - 1 5   0 0 : 0 0 : 0 0 + 0 0 ' : : t i m e s t a m p   w i t h   t i m e   z o n e ,   ' 0 0 0 0 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 ' : : u u i d ) ) ) 
 
                               H e a p   B l o c k s :   e x a c t = 1 5 
 
                               B u f f e r s :   s h a r e d   h i t = 1 8 
 
                               - >     B i t m a p   I n d e x   S c a n   o n   i d x _ m e s s a g e s _ c h a t _ c r e a t e d _ a s c _ i d     ( c o s t = 0 . 0 0 . . 4 . 8 5   r o w s = 4 3   w i d t h = 0 )   ( a c t u a l   t i m e = 0 . 0 2 8 . . 0 . 0 2 8   r o w s = 4 4   l o o p s = 1 ) 
 
                                           I n d e x   C o n d :   ( ( c h a t _ i d   =   ' 4 3 5 6 b 3 1 3 - 3 2 d e - 4 8 a 1 - 9 a 8 f - 7 2 e 8 4 6 8 5 c 2 6 4 ' : : u u i d )   A N D   ( R O W ( c r e a t e d _ a t ,   i d )   >   R O W ( ' 2 0 2 6 - 0 9 - 1 5   0 0 : 0 0 : 0 0 + 0 0 ' : : t i m e s t a m p   w i t h   t i m e   z o n e ,   ' 0 0 0 0 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 ' : : u u i d ) ) ) 
 
                                           B u f f e r s :   s h a r e d   h i t = 3 
 
   P l a n n i n g : 
 
       B u f f e r s :   s h a r e d   h i t = 1 3 6 
 
   P l a n n i n g   T i m e :   0 . 9 2 7   m s 
 
   E x e c u t i o n   T i m e :   0 . 2 3 9   m s 
 
 ( 1 7   r o w s ) 
 
 
 
 