Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.55 KB | None | 0 0
  1. freestyle_confidential=# SELECT relpages * 8192 AS size_in_bytes, relname FROM pg_class WHERE relnamespace = (SELECT oid FROM pg_namespace WHERE nspname = 'public') order by size_in_bytes desc;
  2.  size_in_bytes |              relname
  3. ---------------+-----------------------------------
  4.        1220608 | file
  5.         950272 | unq_bundled_file
  6.         573440 | file_pkey
  7.         557056 | bundled_file
  8.         507904 | file_version
  9.         507904 | heading_project_id_key
  10.         450560 | temp_file_upload
  11.         311296 | file_version_pkey
  12.         303104 | heading
  13.         262144 | file_change_history
  14.         245760 | temp_file_upload_pkey
  15.         196608 | user_project_pkey
  16.         155648 | user_project
  17.         139264 | heading_pkey
  18.         131072 | html_for_swf_pkey
  19.         106496 | html_for_swf
  20.          90112 | users
  21.          65536 | file_attribute
  22.          40960 | users_username_key
  23.          32768 | users_pkey
  24.          32768 | project
  25.          32768 | project_history
  26.          16384 | client_pkey
  27.          16384 | client_client_name_key
  28.          16384 | account_mgr_user_client_pkey
  29.          16384 | section_pkey
  30.          16384 | section_section_name_key
  31.          16384 | project_pkey
  32.           8192 | client_client_id_seq
  33.           8192 | users_user_id_seq
  34.           8192 | comment
  35.           8192 | account_mgr_user_client
  36.           8192 | project_project_id_seq
  37.           8192 | temp_file_upload_temp_file_id_seq
  38.           8192 | heading_heading_id_seq
  39.           8192 | client
  40.           8192 | section
  41.           8192 | file_file_id_seq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement