{"id":5018,"date":"2024-11-14T11:42:20","date_gmt":"2024-11-14T03:42:20","guid":{"rendered":"https:\/\/fwq.ai\/blog\/5018\/"},"modified":"2024-11-14T11:42:20","modified_gmt":"2024-11-14T03:42:20","slug":"oracle%e8%a1%a8%e7%a9%ba%e9%97%b4%e6%80%8e%e4%b9%88%e6%9f%a5","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/5018\/","title":{"rendered":"oracle\u8868\u7a7a\u95f4\u600e\u4e48\u67e5"},"content":{"rendered":"<blockquote><p>\n  \u8981\u67e5\u770b oracle \u6570\u636e\u5e93\u4e2d\u7684\u8868\u7a7a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\uff1a1. select from dba_tablespaces\uff1b2. \u67e5\u8be2\u7279\u5b9a\u8868\u7a7a\u95f4\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u4f7f\u7528\uff1aselect from dba_tablespaces where tablespace_name = &#8216;your_tablespace_name&#8217;\uff1b3. \u67e5\u770b\u8868\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5\uff0c\u4f7f\u7528\uff1aselect from dba_segments where tablespace_name = &#8216;your_tablespace_name&#8217;\uff1b4. \u67e5\u770b\u8868\u7a7a\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202405\/21\/2024052110541731798.jpg\" class=\"aligncenter\" title=\"oracle\u8868\u7a7a\u95f4\u600e\u4e48\u67e5\u63d2\u56fe\" alt=\"oracle\u8868\u7a7a\u95f4\u600e\u4e48\u67e5\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u67e5\u770b Oracle \u8868\u7a7a\u95f4<\/strong><\/p>\n<p><strong>\u67e5\u8be2\u8868\u7a7a\u95f4\u7684\u7b80\u5355\u65b9\u6cd5<\/strong><\/p>\n<p>\u8981\u67e5\u770b Oracle \u6570\u636e\u5e93\u4e2d\u7684\u8868\u7a7a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u7b80\u5355\u7684\u547d\u4ee4\uff1a<\/p>\n<pre>SELECT * FROM DBA_TABLESPACES;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>\u67e5\u8be2\u8868\u7a7a\u95f4\u7684\u8be6\u7ec6\u4fe1\u606f<\/strong><\/p>\n<p>\u4e3a\u4e86\u83b7\u53d6\u6709\u5173\u7279\u5b9a\u8868\u7a7a\u95f4\u7684\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8be2\uff1a<\/p>\n<pre>SELECT * FROM DBA_TABLESPACES WHERE TABLESPACE_NAME = 'YOUR_TABLESPACE_NAME';<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5c06 &#8220;YOUR_TABLESPACE_NAME&#8221; \u66ff\u6362\u4e3a\u60a8\u8981\u68c0\u67e5\u7684\u8868\u7a7a\u95f4\u7684\u540d\u79f0\u3002<\/p>\n<p><strong>\u67e5\u770b\u8868\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5<\/strong><\/p>\n<p>\u8981\u67e5\u770b\u8868\u7a7a\u95f4\u7684\u4f7f\u7528\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8be2\uff1a<\/p>\n<pre>SELECT * FROM DBA_SEGMENTS WHERE TABLESPACE_NAME = 'YOUR_TABLESPACE_NAME';<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u5c06\u663e\u793a\u8868\u7a7a\u95f4\u4e2d\u6240\u6709\u6bb5\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u5176\u5927\u5c0f\u548c\u4f7f\u7528\u6a21\u5f0f\u3002<\/p>\n<p><strong>\u67e5\u770b\u8868\u7a7a\u95f4\u7684\u6587\u4ef6<\/strong><\/p>\n<p>\u8981\u67e5\u770b\u8868\u7a7a\u95f4\u4e2d\u5305\u542b\u7684\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8be2\uff1a<\/p>\n<pre>SELECT * FROM DBA_DATA_FILES WHERE TABLESPACE_NAME = 'YOUR_TABLESPACE_NAME';<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u5c06\u663e\u793a\u8868\u7a7a\u95f4\u4e2d\u6240\u6709\u6570\u636e\u6587\u4ef6\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u5176\u5927\u5c0f\u548c\u4f4d\u7f6e\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u8868\u7a7a\u95f4\u600e\u4e48\u67e5\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u7f51\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u67e5\u770b oracle \u6570\u636e\u5e93\u4e2d\u7684\u8868\u7a7a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\uff1a1. select from dba_tablespaces\uff1b2. \u67e5\u8be2\u7279\u5b9a\u8868\u7a7a\u95f4\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u4f7f\u7528\uff1aselect from dba_tablespaces where tablespace_name = &#8216;your_tablespace_name&#8217;\uff1b3. \u67e5\u770b\u8868\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5\uff0c\u4f7f\u7528\uff1aselect from dba_segments where tablespace_name = &#8216;your_tablespace_name&#8217;\uff1b4. \u67e5\u770b\u8868\u7a7a \u5982\u4f55\u67e5\u770b Oracle \u8868\u7a7a\u95f4 \u67e5\u8be2\u8868\u7a7a\u95f4\u7684\u7b80\u5355\u65b9\u6cd5 \u8981\u67e5\u770b Oracle \u6570\u636e\u5e93\u4e2d\u7684\u8868\u7a7a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u7b80\u5355\u7684\u547d\u4ee4\uff1a SELECT * FROM DBA_TABLESPACES; \u767b\u5f55\u540e\u590d\u5236 \u67e5\u8be2\u8868\u7a7a\u95f4\u7684\u8be6\u7ec6\u4fe1\u606f \u4e3a\u4e86\u83b7\u53d6\u6709\u5173\u7279\u5b9a\u8868\u7a7a\u95f4\u7684\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8be2\uff1a SELECT * FROM DBA_TABLESPACES WHERE TABLESPACE_NAME = &#8216;YOUR_TABLESPACE_NAME&#8217;; \u767b\u5f55\u540e\u590d\u5236 \u5c06 &#8220;YOUR_TABLESPACE_NAME&#8221; \u66ff\u6362\u4e3a\u60a8\u8981\u68c0\u67e5\u7684\u8868\u7a7a\u95f4\u7684\u540d\u79f0\u3002 \u67e5\u770b\u8868\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5 \u8981\u67e5\u770b\u8868\u7a7a\u95f4\u7684\u4f7f\u7528\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8be2\uff1a SELECT * FROM DBA_SEGMENTS WHERE TABLESPACE_NAME [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-5018","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=5018"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5018\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=5018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=5018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=5018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}