{"id":137,"date":"2011-07-31T07:23:12","date_gmt":"2011-07-31T04:23:12","guid":{"rendered":"http:\/\/fatihacar.com\/blog\/?p=137"},"modified":"2011-07-31T07:24:33","modified_gmt":"2011-07-31T04:24:33","slug":"learn-free-space-of-tablespaces-in-oracle","status":"publish","type":"post","link":"https:\/\/www.fatihacar.com\/blog\/learn-free-space-of-tablespaces-in-oracle\/","title":{"rendered":"Learn Free Space of Tablespaces in Oracle"},"content":{"rendered":"<p>You can learn  allocate area of tablespaces. You can use data dictionary for this processing.<\/p>\n<blockquote><p>SELECT a.tablespace_name, a.file_name, a.bytes allocated_bytes,<br \/>\nb.free_bytes<br \/>\nFROM dba_data_files a,<br \/>\n(SELECT file_id, SUM(bytes) free_bytes<br \/>\nFROM dba_free_space b GROUP BY file_id) b<br \/>\nWHERE a.file_id=b.file_id<br \/>\nORDER BY a.tablespace_name;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>You can learn allocate area of tablespaces. You can use data dictionary for this processing. SELECT a.tablespace_name, a.file_name, a.bytes allocated_bytes, b.free_bytes FROM dba_data_files a, (SELECT file_id, SUM(bytes) free_bytes FROM dba_free_space b GROUP BY file_id) b WHERE a.file_id=b.file_id ORDER BY a.tablespace_name;<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,6],"tags":[92,90,91],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-administration","category-oracle-sql","tag-administration","tag-oracle","tag-oracle-sql"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p39NFI-2d","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":2,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/137\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}