1、修改會(huì)話數(shù)
我們提供的服務(wù)有:做網(wǎng)站、成都網(wǎng)站制作、微信公眾號(hào)開(kāi)發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、訥河ssl等。為上千余家企事業(yè)單位解決了網(wǎng)站和推廣的問(wèn)題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的訥河網(wǎng)站制作公司
查詢數(shù)據(jù)庫(kù)當(dāng)前進(jìn)程的連接數(shù):
select count(*) from v$process;
修改數(shù)據(jù)庫(kù)允許的最大連接數(shù):
alter system set processes =1500 scope = spfile;
(需要重啟數(shù)據(jù)庫(kù)才能實(shí)現(xiàn)連接數(shù)的修改)
2、GRID安裝出錯(cuò)如何刪除
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集群?jiǎn)⑼?/p>
停止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
開(kāi)始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