当前位置:网站首页>oracle 11g rac 磁盘组有空间无法增加数据文件?
oracle 11g rac 磁盘组有空间无法增加数据文件?
2022-06-11 09:17:00 【cqszpx】
今天一同事在给表空间增加数据文件时,报空间不够了:
SQL> alter tablespace BKJ_COM_IDX add datafile '+
DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf' size 31g;
alter tablespace BKJ_COM_IDX add datafile '+
DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf' size 31g
*
ERROR at line 1:
ORA-01119: error in creating database file '+
DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf'
ORA-17502: ksfdcre:4 Failed to create file +
DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf
ORA-15041: diskgroup "DGYJZYYS" space exhausted
检查磁盘组,发现空间都有:
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN Y 512 4096 1048576 29360128 2039311 0 2039311 0 N DGYJZYYS/
检查磁盘:
SQL> select path,total_mb,free_mb from v$asm_disk_stat where group_number=2 order by 1;
PATH TOTAL_MB FREE_MB
------------------------------ ---------- ----------
/dev/asm-yjzyys-disk10 2097152 988
/dev/asm-yjzyys-disk11 2097152 1010
/dev/asm-yjzyys-disk12 2097152 987
/dev/asm-yjzyys-disk17 2097152 1035
/dev/asm-yjzyys-disk18 2097152 1032
/dev/asm-yjzyys-disk19 2097152 2026135
/dev/asm-yjzyys-disk2 2097152 1018
/dev/asm-yjzyys-disk3 2097152 1026
。。。
14 rows selected.
发现19号盘空间和其他不一样
检查磁盘组,发现该磁盘组,rebal为Y ,说明等待重平衡。
ASMCMD> lsdg -g DGYJZYYS
Inst_ID State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
1 MOUNTED EXTERN Y 512 4096 1048576 29360128 2039311 0 2039311 0 N DGYJZYYS/
2 MOUNTED EXTERN Y 512 4096 1048576 29360128 2039311 0 2039311 0 N DGYJZYYS/
SQL> r
1* select GROUP_NUMBER,OPERATION,STATe,POWER,SOFAR,EST_MINUTES,EST_WORK,EST_RATE from v$asm_operation
GROUP_NUMBER OPERA STAT POWER SOFAR EST_MINUTES EST_WORK EST_RATE
------------ ----- ---- ---------- ---------- ----------- ---------- ----------
2 REBAL WAIT 0
说明当初加这个19号盘时,没有重平衡。
SQL> show parameter power
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_power_limit integer 0
说明问题找到了,就是参数为零,导致新加盘,默认不会重平衡。
手工重平衡即可。
SQL> alter diskgroup DGYJZYYS rebalance power 1;
Diskgroup altered.
由于担心重平衡影响系统使用,选择了最慢的方式 1.
同步完成后,就可以增加数据文件了。

边栏推荐
- Four data-driven behaviors of integral system
- 报错Output image is bigger(1228800B) than maximum frame size specified in properties(1048576B)
- ESP8266_接入百度物联网核心套件、使用MQTT协议通信
- MSF adds back door to normal program
- Understanding of the keyword this in JS
- 剑指 Offer II 041. 滑动窗口的平均值
- js基础--运算符
- 面试常问:rem布局,flex布局等
- js中的事件
- Opencv CEO teaches you to use oak (V): anti deception face recognition system based on oak-d and depthai
猜你喜欢

Understanding of the keyword this in JS

ESP8266_SNTP(Simple Network Time Protocol)

ArcGIS 10.9.1 geological and meteorological volume metadata processing and service publishing and calling

keyboard entry.

ESP8266_ SmartConfig

报错RuntimeError: BlobReader error: The version of imported blob doesn‘t match graph_transformer

Openstack explanation (24) -- registration of neutron service

Opencv CEO teaches you to use oak (IV): create complex pipelines

MSF SMB based information collection

Machine learning notes - convolutional neural network memo list
随机推荐
ESP8266_SNTP(Simple Network Time Protocol)
The difference and relation between machine learning and statistics
Thread theory
ESP8266_GET请求天气预报、json解析
Ecological co construction | 2021 streamnational excellent partner of the year comes out!
js中关键字this的理解
【ROS】noedic-moveit安装与UR5模型导入
2161. divide the array according to the given number
Success and failure of ERP software from the perspective of enterprise evaluation
1400. 构造 K 个回文字符串
JS foundation -- about DOM
Importance of implementation of clothing ERP in the project
Type-C Bluetooth speaker single port rechargeable OTG solution
Before applying data warehouse ODBC, you need to understand these problems first
Type-C蓝牙音箱单口可充可OTG方案
Document object
考研數學 【數列極限證明題】題型方法總結
12.5 concurrent search + violent DFS - [discovery ring]
How do we connect to WiFi?
Telecommuting best practices and Strategies