when i go into sql-8.2/base/ to check how much space does my table take, there are plenty of files named by a number. how can i find the specific file which sto
sql-8.2/base/
select pg_relation_filepath('OID or name of a table, index, sequence, or toast table');
For example:
select pg_relation_filepath('flush_history'); Returns base/83780/153211 which you will find in your data directory.
http://www.postgresql.org/docs/current/static/functions-admin.html