I know how can I check the size of my database, called test:
SELECT pg_database.datname,pg_size_pretty(pg_database_size(pg_database.datname)) AS size FROM pg_database where datname='test';
Now, I want to fetch some rows from the table inside the test database. How can I do this? How can I check the actual size of my select/insert instructions?