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

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -