P ostgreSQ L B u fg ers
Vi k Feari ng
PG C onf. EU W arsaw O ctober 25, 20 17
P ostgreSQ L B u fg ers Vi k Feari ng PG C onf. EU W arsaw O - - PowerPoint PPT Presentation
P ostgreSQ L B u fg ers Vi k Feari ng PG C onf. EU W arsaw O ctober 25, 20 17 V i k Feari n g Change and and to and. i rc: xocol atl Tw i tter: @ pg_ xocol atl P ostgreSQ L B u fg ers B acken d D ata D i
PG C onf. EU W arsaw O ctober 25, 20 17
Change “and and” to “and”.
i rc: xocol atl Tw i tter: @ pg_ xocol atl
B L O C K S Z
V i e w " p u b l i c . p g _ b u f f e r c a c h e " C
u m n | T y p e | M
i f i e r s
u f f e r i d | i n t e g e r | r e l f i l e n
e |
d | r e l t a b l e s p a c e |
d | r e l d a t a b a s e |
d | r e l f
k n u m b e r | s m a l l i n t | r e l b l
k n u m b e r | b i g i n t | i s d i r t y | b
e a n | u s a g e c
n t | s m a l l i n t | p i n n i n g _ b a c k e n d s | i n t e g e r |
V i e w " p g _ c a t a l
. p g _ s t a t _ b g w r i t e r " C
u m n | T y p e | M
i f i e r s
h e c k p
n t s _ t i m e d | b i g i n t | c h e c k p
n t s _ r e q | b i g i n t | c h e c k p
n t _ w r i t e _ t i m e | d
b l e p r e c i s i
| c h e c k p
n t _ s y n c _ t i m e | d
b l e p r e c i s i
| b u f f e r s _ c h e c k p
n t | b i g i n t | b u f f e r s _ c l e a n | b i g i n t | m a x w r i t t e n _ c l e a n | b i g i n t | b u f f e r s _ b a c k e n d | b i g i n t | b u f f e r s _ b a c k e n d _ f s y n c | b i g i n t | b u f f e r s _ a l l
| b i g i n t | s t a t s _ r e s e t | t i m e s t a m p w i t h t i m e z
e |
N e s t e d L
L e f t J
n ( c
t = 3 6 5 7 1 8 . 9 2 . . 9 6 3 3 8 1 6 . 5 7 r
s = 1 2 7 6 3 2 w i d t h = 8 4 ) ( a c t u a l t i m e = 3 1 3 5 . 2 1 4 . . 7 5 8 3 3 7 7 3 . 6 7 8 r
s = 2 1 7 5 6 4 1 l
s = 1 ) J
n F i l t e r : ( u . x = v . y ) R
s R e m
e d b y J
n F i l t e r : 1 8 3 6 3 8 1 7 9 B u f f e r s : s h a r e d h i t = 6 3 3 4 8 7 1 2 r e a d = 2 3 7 8 7 4 6 d i r t i e d = 7 9 8 4 I / O T i m i n g s : r e a d = 9 6 1 4 5 4 . 6 5 1
V i e w " p g _ c a t a l
. p g _ s t a t _ d a t a b a s e " C
u m n | T y p e | M
i f i e r s
a t i d |
d | d a t n a m e | n a m e | n u m b a c k e n d s | i n t e g e r | x a c t _ c
m i t | b i g i n t | x a c t _ r
l b a c k | b i g i n t | b l k s _ r e a d | b i g i n t | b l k s _ h i t | b i g i n t | t u p _ r e t u r n e d | b i g i n t | t u p _ f e t c h e d | b i g i n t | t u p _ i n s e r t e d | b i g i n t | t u p _ u p d a t e d | b i g i n t | t u p _ d e l e t e d | b i g i n t | c
f l i c t s | b i g i n t | t e m p _ f i l e s | b i g i n t | t e m p _ b y t e s | b i g i n t | d e a d l
k s | b i g i n t | b l k _ r e a d _ t i m e | d
b l e p r e c i s i
| b l k _ w r i t e _ t i m e | d
b l e p r e c i s i
| s t a t s _ r e s e t | t i m e s t a m p w i t h t i m e z
e |
V i e w " p g _ c a t a l
. p g _ s t a t i
a l l _ t a b l e s " C
u m n | T y p e | M
i f i e r s
e l i d |
d | s c h e m a n a m e | n a m e | r e l n a m e | n a m e | h e a p _ b l k s _ r e a d | b i g i n t | h e a p _ b l k s _ h i t | b i g i n t | i d x _ b l k s _ r e a d | b i g i n t | i d x _ b l k s _ h i t | b i g i n t | t
s t _ b l k s _ r e a d | b i g i n t | t
s t _ b l k s _ h i t | b i g i n t | t i d x _ b l k s _ r e a d | b i g i n t | t i d x _ b l k s _ h i t | b i g i n t |
V i e w " p g _ c a t a l
. p g _ s t a t i
a l l _ i n d e x e s " C
u m n | T y p e | M
i f i e r s
e l i d |
d | i n d e x r e l i d |
d | s c h e m a n a m e | n a m e | r e l n a m e | n a m e | i n d e x r e l n a m e | n a m e | i d x _ b l k s _ r e a d | b i g i n t | i d x _ b l k s _ h i t | b i g i n t |
V i e w " p u b l i c . p g _ s t a t _ s t a t e m e n t s " C
u m n | T y p e | M
i f i e r s
s e r i d |
d | d b i d |
d | q u e r y i d | b i g i n t | q u e r y | t e x t | c a l l s | b i g i n t | t
a l _ t i m e | d
b l e p r e c i s i
| m i n _ t i m e | d
b l e p r e c i s i
| m a x _ t i m e | d
b l e p r e c i s i
| m e a n _ t i m e | d
b l e p r e c i s i
| s t d d e v _ t i m e | d
b l e p r e c i s i
| r
s | b i g i n t | s h a r e d _ b l k s _ h i t | b i g i n t | s h a r e d _ b l k s _ r e a d | b i g i n t | s h a r e d _ b l k s _ d i r t i e d | b i g i n t | s h a r e d _ b l k s _ w r i t t e n | b i g i n t | l
a l _ b l k s _ h i t | b i g i n t | l
a l _ b l k s _ r e a d | b i g i n t | l
a l _ b l k s _ d i r t i e d | b i g i n t | l
a l _ b l k s _ w r i t t e n | b i g i n t | t e m p _ b l k s _ r e a d | b i g i n t | t e m p _ b l k s _ w r i t t e n | b i g i n t | b l k _ r e a d _ t i m e | d
b l e p r e c i s i
| b l k _ w r i t e _ t i m e | d
b l e p r e c i s i
|
Change “and and” to “and”. i rc: xocol atl Tw i tter: @ pg_ xocol atl