freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

oracle數(shù)據(jù)庫(kù)日常維護(hù)手冊(cè)(完整版)

  

【正文】 1 TYPE 39。SBT_TAPE39。SBT_TAPE39。ALLOCATE CHANNEL ch00 TYPE 39。1) 備份現(xiàn)有的數(shù)據(jù)庫(kù)數(shù)據(jù)文件(如果還有的話)2) 恢復(fù)控制文件將數(shù)據(jù)庫(kù)置于nomount狀態(tài)在svrmgrl下,執(zhí)行: startup nomount在數(shù)據(jù)庫(kù)所在的服務(wù)器上以oracle身份執(zhí)行rman target / catalog rman/rmancatadb cmdfile restorecontrol其中restorecontrol的內(nèi)容如下:run { exec:rman target / catalog rman/rmancatadb cmdfile restorecontrol set until time = 39。ALLOCATE CHANNEL ch01 TYPE 39。 set archivelog destination to 39。`.logdumpfile=$FILEDIR/dumpfile/`date 39。exitEOFecho \nBackup controlfile success!\nexit $RETURN_STATUS} $OUTF2) connect target 39。ALTER SYSTEM ARCHIVE LOG CURRENT39。exitEOF${ORACLE_HOME}/bin/$RMAN nocatalog cmdfile $CMDFILERETURN_STATUS=$?echo echo `date` End of Script\necho echo exit $RETURN_STATUSexit $RETURN_STATUSecho Backup control file:alter database backup controlfile to ......\ntm=`date 39。alter system archive log current39。同時(shí)預(yù)先計(jì)算了許多對(duì)性能調(diào)優(yōu)很有用的比值(ratios)。l 按照各類消耗資源排序的SQL語(yǔ)句。l 創(chuàng)建時(shí)的執(zhí)行的用戶和執(zhí)行的文件SQLconnect internal ;SQL?/rdbms/admin/;l 安裝過(guò)程中的主要?jiǎng)幼鳎?安裝生成一個(gè)用戶perfstat/perfstat =, 安裝時(shí)輸入:DEFAULT TABLESPACE/ TEMPORARY TABLESPACE2建立需要的Table = 3生成dbms_shared_pool 和dbms_job PL/SQL 程序包=Statspack軟件包的執(zhí)行/數(shù)據(jù)采集當(dāng)系統(tǒng)響應(yīng)速度出現(xiàn)明顯下降的時(shí)候,可通過(guò)statspack進(jìn)行系統(tǒng)運(yùn)行數(shù)據(jù)采集,并生成報(bào)告文件,進(jìn)行分析。 監(jiān)控/維護(hù)腳本運(yùn)行系統(tǒng)的大多數(shù)信息可通過(guò)statspack反映,下面提供的腳本主要做為statspack的補(bǔ)充信息。查看數(shù)據(jù)庫(kù)參數(shù)”log_arch_dest_1”對(duì)應(yīng)的文件系統(tǒng)。SQLcol machine format a12。SQLcol program format a20。l v$system_eventSQL col event format a30SQLselect event,total_waits from v$system_event order by total_waits desc;忽略idle event 后如(rdbms ipc message, pmon timer, SQL*Net message to client, SQL*Net message from client) 注意有效的等待事件。通過(guò)more alertsid.log |grep i ora 來(lái)檢查出現(xiàn)的各類”ora“錯(cuò)誤。或使用alter system set timed_statistics=true。通過(guò)優(yōu)化捕捉到的SQL語(yǔ)句,提高響應(yīng)速度。同時(shí)可將生成的report文件發(fā)送給Oracle公司進(jìn)行協(xié)助分析。/disk/data2/backup/arch/arch_%s_%p_%t39。`filename=control.$tmsvrmgrl EOFconnect internalalter database backup controlfile to 39。/disk/data2/backup/arch/arch_%s_%p_%t39。 run { allocate channel d1 type disk。`.dmpexp rman/rmancatadb buffer=4096000 OWNER=rman GRANTS=y ROWS=y COMPRESS=y file=$dumpfile log=$logfile 使用Rman備份數(shù)據(jù)庫(kù)的另外一種方法(using controlfile) 全備份腳本1) 腳本:!/bin/shOUTF=${0}.out You may want to delete the output file so that backup information does not accumulate. If not, delete the following lines. { output blockecho `date` Beginning of Script\necho Script name: $0ORACLE_HOME=/opt/app/oracle/product/export ORACLE_HOMEORACLE_SID=actdb export ORACLE_SIDORACLE_USER=oracleRMAN=rmanCMDFILE=/opt/app/oracle/rman/ Print out the value of the variables set by this script. must be set and exported within the switch user (su) mand. echo echo % ${ORACLE_HOME}/bin/$RMAN nocatalog cmdfile 39。 restore archivelog from logseq 6 until logseq 10。RESTORE DATABASE。 allocate channel ch1 type 39。BACKUP remended format FORMAT 39。alter system archive log current39。trl_%s_%p_%t39。BACKUP filesperset 20 FORMAT 39。 sql 39。每月的21日進(jìn)行歸檔日志的備份。配置NBU主要指定義備份策略。Server和Client之間的通過(guò)TCP/IP的sockets通訊。Netbackup 建立在Oracle自身提供的備份工具Rman之上。 SQLcol username format a12。l log_archive_max_processes:實(shí)際值:1,確定后臺(tái)歸檔進(jìn)程(ArcN)的啟動(dòng)數(shù)目?;貪L段的名稱,用戶自己創(chuàng)建完回滾段后將名稱添加在此處。缺省值是事務(wù)最大數(shù)量的四倍。通過(guò)對(duì)動(dòng)態(tài)視圖的監(jiān)控進(jìn)行進(jìn)一步的調(diào)整。內(nèi)存中存放sql語(yǔ)句訪問(wèn)路徑,相關(guān)訪問(wèn)權(quán)限,表結(jié)構(gòu)信息的位置,單位是字節(jié)。數(shù)據(jù)高速塊的多少,存放從硬盤中讀出的數(shù)據(jù)塊。根據(jù)數(shù)據(jù)庫(kù)系統(tǒng)規(guī)模,Oracle提供小,中,大(small,medium,large)三個(gè)建議建議配置檔,配置時(shí)做為參考。39。||table_name||39。u 建立腳本:(針對(duì)enus的time_t分區(qū)表為例)CREATE INDEX I_TIME__ACCTIDNEW ON TIME_T(ACCOUNT_ID) LOCAL TABLESPACE ACTX01 nologging。 現(xiàn)場(chǎng)數(shù)據(jù)庫(kù)工作方法 現(xiàn)場(chǎng)表空間的規(guī)劃ACT01,ACTX01是 enus用戶的數(shù)據(jù)表空間以及索引表空間。SVRMGRselect * from v$database。9. 安裝成功100%后又回到開(kāi)始的選項(xiàng)菜單,建議察看安裝日志。通過(guò)df –k 察看光驅(qū)是否已mount上。Oradb1與Oradb2的安裝配置方法相同,以O(shè)radb1為例說(shuō)明。3. 操作系統(tǒng)用戶/組的添加l groupadd dbal groupadd oinstalll useradd c Oracle DBA d /home/oracle g oinstall G dbal 修改/etc/passwd文件 ,更改用戶登陸shell 或其他信息 oracle:x:102:101::/export/home/oracle:/bin/ksh 4. Oracle用戶環(huán)境變量的設(shè)定在oracle 用戶的初始化環(huán)境變量文件中(/export/home/oracle/.profile),增加如下內(nèi)容。4. 在Unix user/group 對(duì)話框中填入 oracle/dba,點(diǎn)擊Next按鈕。通過(guò)dbassist手工建庫(kù)。在隨后出現(xiàn)的頁(yè)面中點(diǎn)擊Download下載patch。 現(xiàn)場(chǎng)數(shù)據(jù)文件的添加1) 數(shù)據(jù)庫(kù)磁盤規(guī)劃表空間名稱磁盤數(shù)據(jù)文件規(guī)劃ACT01/disk/data1ACTX01/disk/index1ACT02/disk/data2ACTX02/disk/index2ACT03/disk/data3 /disk/data4ACTX03/disk/index3 /disk/index4ACT04/disk/data4 ACTX04 /disk/index42) 添加數(shù)據(jù)文件A. 添加規(guī)則現(xiàn)場(chǎng)建議每次出帳前,為表空間使用率接近80%的表空間添加數(shù)據(jù)文件。grant resource, connect to rap。 from tabs。 alter database noarchivelog。數(shù)據(jù)塊大小,數(shù)據(jù)存儲(chǔ)的最小單位,這個(gè)參數(shù)在Oracle9i以前各個(gè)版本中,數(shù)據(jù)庫(kù)創(chuàng)建完成后是不可改變的。該參數(shù)越大,Oracle在內(nèi)存中找到所需數(shù)據(jù)的可能性就越大。l sort_area_size :實(shí)際值:4000000。建議初始配置為512k,如果日志緩存等待明顯,再加大,一般不超過(guò)為1M。用戶可以同時(shí)打開(kāi)的游標(biāo)數(shù)。數(shù)據(jù)庫(kù)一次從硬盤中讀取的數(shù)據(jù)塊的數(shù)目。 現(xiàn)場(chǎng)數(shù)據(jù)庫(kù)參數(shù)設(shè)置-db_name = actdbinstance_name = actdbservice_names = actdbcontrol_files = (/disk/data4/system/, /disk/data3/system/, /disk/data2/system/)open_cursors = 2500max_enabled_roles = 20 db_block_buffers = 1000000shared_pool_size = 367001600large_pool_size = 12582912java_pool_size = 10485760db_file_multiblock_read_count = 32 log_checkpoint_interval = 819200log_checkpoint_timeout = 4800cpu_count = 8processes = 500log_buffer = 1048576log_archive_start = truelog_archive_dest_1 = location=/disk/archive/archlog_archive_format = arch_%t_%log_checkpoints_to_alert = TRUErollback_segments = (ACTROLL00 ACTROLL01 ACTROLL02 ACTROLL03 ACTROLL04 ACTROLL05 ACTROLL06 ACTROLL07 ACTROLL08 ACTROLL09 ACTROLL10 ACTROLL11 ACTROLL12 ACTROLL13 AC
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1