您好,登錄后才能下訂單哦!
1、修改會話數
查詢數據庫當前進程的連接數:
select count(*) from v$process;
修改數據庫允許的最大連接數:
alter system set processes =1500 scope = spfile;
(需要重啟數據庫才能實現連接數的修改)
2、GRID安裝出錯如何刪除
su - grid
cd /dev/oracleasm/disks
rm -rf vote*
cd /dev/disk/by-label
rm -rf vote*
ll /g01
rm -rf *
chown -R grid:oinstall /g01
rm /etc/oracle/ocr.loc
rm -rf /etc/ora*
ps -ef |grep oha
kill -9 47495
cd /etc/init.d
ls *oha*
rm -rf *oha*
cd /etc/rc3.d
rm -rf S96ohasd
cd /etc/rc5.d
rm -rf S96oha*
oracleasm scandisks
oracleasm listdisks
oracleasm querydisk /dev/mapper/*
dd if=/dev/zero of=/dev/mapper/sc-vote-hpp1 bs=1M count=300
dd if=/dev/zero of=/dev/mapper/tc-vote-hpp1 bs=1M count=300
dd if=/dev/zero of=/dev/mapper/yd-vote-netappp1 bs=1M count=300
3、rac集群啟停
停止rac
oracle用戶
181 srvctl status database -d prod
182 srvctl stop database -d prod
183 srvctl status database -d prod
root用戶
./crsctl start has 高可用
cd /g01/11ggrid/app/11.2.0/grid/bin
./crsctl check cluster -all
./crsctl stop cluster -all
./crsctl check cluster -all
./crs_stat -t -v
reboot
開始rac
root用戶
975 cd /g01/11ggrid/app/11.2.0/grid/bin
977 ./crsctl start cluster -all
978 ./crsctl check cluster -all
980 ./crsctl status resource -t
oracle用戶
[oracle@sc-rac1 ~]$srvctl start database -d prod
[oracle@sc-rac1 ~]$ srvctl status database -d prod
Instance prod1 is running on node sc-rac1
Instance prod2 is running on node sc-rac2
Instance prod3 is running on node tc-rac1
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。