当前位置:网站首页>Oracle 11g RAC disk group has space and cannot add data files?
Oracle 11g RAC disk group has space and cannot add data files?
2022-06-11 09:42:00 【cqszpx】
Today, a colleague was adding data files to the table space , There is not enough space for the newspaper :
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
Check disk group , I found that there is space :
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/
Check the disk :
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.
Find out 19 Disk space is different from others
Check disk group , Found this disk group ,rebal by Y , Explain waiting for the counterbalance .
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
That means we added this 19 Disc No , No rebalancing .
SQL> show parameter power
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_power_limit integer 0
Explain that the problem has been found , The parameter is zero , This leads to the addition of new disks , No rebalancing by default .
Manual balancing is enough .
SQL> alter diskgroup DGYJZYYS rebalance power 1;
Diskgroup altered.
Due to the fear that the weight balance will affect the use of the system , Chose the slowest way 1.
After synchronization , You can add data files .

边栏推荐
- Thread theory
- Version mismatch between installed deeply lib and the required one by the script
- Bucket sort
- ESP8266_SmartConfig
- ESP8266_SmartConfig
- ESP8266_SNTP(Simple Network Time Protocol)
- [software] ten skills to maximize the value of ERP system
- The first TOF related data set available for deep learning: deep learning for confidence information in stereo and TOF data fusion (iccv 2017)
- A summary of the problem type and method for proving the limit of sequence in postgraduate entrance examination
- [TiO websocket] IV. the TiO websocket server implements the custom cluster mode
猜你喜欢

Thread theory

About prototype and prototype chain

Sed explanation of shell script (SED command, sed -e, sed s/ new / old /...)

Day39 process object and other method mutexes

Day45 storage engine data type integer floating point character type date type enumeration and set type constraints table to table relationships

Detailed explanation of this and static

Type-C docking station adaptive power supply patent protection case

js基础--关于DOM

Shandong University project training (IV) -- wechat applet scans web QR code to realize web login

oracle 11g rac 磁盘组有空间无法增加数据文件?
随机推荐
Where is it safer to open an account for soda ash futures? How much can soda ash futures do now?
When the enterprise makes a decision, which part should lead the ERP project?
About prototype and prototype chain
Set up redis highly available cluster environment
1493. the longest subarray with all 1 after deleting an element
2022 must have Chrome extension - browser plug-in to double your Internet efficiency
Flask (VII) - static file
关于原型及原型链
Image quality evaluation including Matlab source code
Monotone stack
报错RuntimeError: BlobReader error: The version of imported blob doesn‘t match graph_transformer
整型提升例题
【ROS】noedic-moveit安装与UR5模型导入
一万字彻底学会堆和二叉树
Document object
Touch事件的tap,longtap封装--来自小野
Opencv oak-d-w wide angle camera test
ESP8266_MQTT协议
The first TOF related data set available for deep learning: deep learning for confidence information in stereo and TOF data fusion (iccv 2017)
Method (common method), method execution memory analysis, method overloading mechanism, method recursion