Postgresql - Table size do not refresh -


i want know size of table (postgresql). make query:

select pg_size_pretty(pg_table_size('mytable')); 

result: 8192 bytes

then, add 4 rows , result same (8192 bytes).

what doing wrong? missing?

thanks lot...

postgres puts records in fixed-size pages, 8kb each default. storage allocated 1 page @ time. once add enough rows reach table's fillfactor, add second block, , size jump 16384 bytes.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -