当前位置: 首页 > news >正文

网站要实名认证吗cms做视频网站

网站要实名认证吗,cms做视频网站,网络游戏开服表,中小企业网络营销方案分片备份命令参考#xff1a;适合大数据库并行备份提高备份速度 对于超大数据库#xff0c;混合有小文件和大文件表空间#xff0c;section size 表示分片#xff0c;大小一般大于32G#xff0c;可结合通道数量设置最佳值。 run { allocate channel t1 type disk; alloc…分片备份命令参考适合大数据库并行备份提高备份速度 对于超大数据库混合有小文件和大文件表空间section size 表示分片大小一般大于32G可结合通道数量设置最佳值。 run { allocate channel t1 type disk; allocate channel t2 type disk; allocate channel t3 type disk; allocate channel t4 type disk; backup section size 32768m as backupset incremental level0 tablespace DATA,USERS,JYC_BIG,JYC_BIG2 format /bak/jycdb0_%U tagjycdb0; release channel t1; release channel t2; release channel t3; release channel t4; } 非分片的恢复可以多个数据文件一次性恢复 set serveroutput on size 1000000 DECLARE v_dev varchar2(50); v_done boolean:FALSE; type t_fileTable is table of varchar2(255) index by binary_integer; v_fileTable t_fileTable; type t_dataTable is table of varchar2(4000) index by binary_integer; v_dataTable t_dataTable;v_maxPieces number:1; v_maxFiles number:1; v_restore_from varchar2(4); v_file_no number:0; v_file_name varchar2(513); v_debug boolean:FALSE; -- Optional Change to TRUE to Debug PL/SQL. v_msr boolean;BEGIN -- CHANGE 1. -- Populate the file table below with datafiles to be restored. -- This matches the output from logs.v_dataTable(1):fno4 name/home/db/oracle/oradata/hisdb/users01.dbf; v_dataTable(2):fno9 name/home/db/oracle/oradata/hisdb/data03.dbf; v_dataTable(3):fno7 name/home/db/oracle/oradata/hisdb/data01.dbf; v_dataTable(4):fno8 name/home/db/oracle/oradata/hisdb/data02.dbf; v_dataTable(5):fno5 name/home/db/oracle/oradata/hisdb/users02.dbf; v_dataTable(6):fno10 name/home/db/oracle/oradata/hisdb/data04.dbf; v_dataTable(7):fno6 name/home/db/oracle/oradata/hisdb/users03.dbf;-- -- CHANGE 2. -- Set the below to the max number of files to be restored from above table.v_maxFiles : 7;-- CHANGE 3. -- Set the Below To the name of the backup pieces you wish to reference. -- Use backup.log if available to locate all backup pieces for a backup. -- If backup is on Disk ensure you have directories as well, -- If tape then just use the backup piece name.v_fileTable(1):/bak/hisdb0_1b2eh346_1_1; v_fileTable(2):/bak/hisdb0_172eh345_1_1; v_fileTable(3):/bak/hisdb0_162eh345_1_1; v_fileTable(4):/bak/hisdb0_152eh345_1_1;-- CHANGE 4. -- Set the below to the total number of backup pieces in Backup to restore. --v_maxPieces:4;-- CHANGE 5. (Optional If Tape) -- Set the below to TAPE if RESTORE FROM TAPE. -- v_restore_from : DISK;-- CHANGE 6 - change this to TRUE for multi-section backup --v_msr : TRUE; v_msr : FALSE; IF (v_msr) THEN v_maxFiles : 8; END IF;dbms_output.put_line(Restoring All Data Files :); dbms_output.put_line(-----------------);For i IN 1..v_maxFiles LOOP v_file_no : substr(v_dataTable(i),5,instr(v_dataTable(i), ,1,1)-5); v_file_name :substr(v_dataTable(i),instr(v_dataTable(i),,1,2)1);dbms_output.put_line(Attempting To Restore :||v_file_name);FOR i IN 1..v_maxPieces LOOP BEGIN IF v_restore_from DISK THEN v_dev:sys.dbms_backup_restore.deviceAllocate(typenull,identD1); ELSE -- CHANGE 7. (Optional Tape Only). -- Remember to set Params correctly for tape media. -- If not required then remove parameter. -- v_dev:sys.dbms_backup_restore.deviceAllocate(typesbt_tape,identT1,paramsSBT_LIBRARYoracle. disksbt,ENV(BACKUP_DIR/u003/backup/ORA1020/)); END IF;sys.dbms_backup_restore.restoreSetDatafile; sys.dbms_backup_restore.restoreDataFileTo(dfnumberv_file_no,tonamev_file_name);IF (i 1 AND v_msr) THEN sys.dbms_backup_restore.initMSR(dfnumberv_file_no,fnamev_file_name); END IF;dbms_output.put_line(----------------); dbms_output.put_line(Trying : ||v_fileTable(i)|| From : ||v_restore_from);sys.dbms_backup_restore.restoreBackupPiece(donev_done,handlev_fileTable(i),paramsnull); EXCEPTION WHEN OTHERS THEN IF v_debug THEN dbms_output.put_line(SQLERRM); ELSE dbms_output.put_line(Data File: Not Found); END IF; sys.dbms_backup_restore.deviceDeallocate; sys.dbms_backup_restore.restoreCancel; END;IF v_done THEN dbms_output.put_line(Data File : Found); dbms_output.put_line(----------------); dbms_output.put_line(RESTORED Data File To: ||v_file_name); sys.dbms_backup_restore.deviceDeallocate; sys.dbms_backup_restore.restoreCancel; v_done:FALSE; exit WHEN NOT v_msr; END IF; END LOOP;IF (v_msr) THEN sys.dbms_backup_restore.setParms(p0 5, p1 v_file_no, p5 v_file_name); END IF; END LOOP; END; / 分片的恢复v_maxFiles只能是1,也就是说只能恢复一个数据文件的分片恢复不能同时多个数据文件同时恢复分片。 set serveroutput on size 1000000 DECLARE v_dev varchar2(50); v_done boolean:FALSE; type t_fileTable is table of varchar2(255) index by binary_integer; v_fileTable t_fileTable; type t_dataTable is table of varchar2(4000) index by binary_integer; v_dataTable t_dataTable;v_maxPieces number:1; v_maxFiles number:1; v_restore_from varchar2(4); v_file_no number:0; v_file_name varchar2(513); v_debug boolean:FALSE; -- Optional Change to TRUE to Debug PL/SQL. v_msr boolean;BEGIN -- CHANGE 1. -- Populate the file table below with datafiles to be restored. -- This matches the output from logs. v_dataTable(1):fno4 name/home/db/oracle/oradata/hisdb/users01.dbf;-- -- CHANGE 2. -- Set the below to the max number of files to be restored from above table.v_maxFiles : 1;-- CHANGE 3. -- Set the Below To the name of the backup pieces you wish to reference. -- Use backup.log if available to locate all backup pieces for a backup. -- If backup is on Disk ensure you have directories as well, -- If tape then just use the backup piece name.v_fileTable(1):/bak/hisdb0_1o2em1lf_2_1; v_fileTable(2):/bak/hisdb0_1o2em1lf_1_1;-- CHANGE 4. -- Set the below to the total number of backup pieces in Backup to restore. --v_maxPieces:2;-- CHANGE 5. (Optional If Tape) -- Set the below to TAPE if RESTORE FROM TAPE. -- v_restore_from : DISK;-- CHANGE 6 - change this to TRUE for multi-section backup v_msr : TRUE; --v_msr : FALSE; IF (v_msr) THEN v_maxFiles : 1; END IF;dbms_output.put_line(Restoring All Data Files :); dbms_output.put_line(-----------------);For i IN 1..v_maxFiles LOOP v_file_no : substr(v_dataTable(i),5,instr(v_dataTable(i), ,1,1)-5); v_file_name :substr(v_dataTable(i),instr(v_dataTable(i),,1,2)1);dbms_output.put_line(Attempting To Restore :||v_file_name|||||v_file_no);FOR i IN 1..v_maxPieces LOOP BEGIN IF v_restore_from DISK THEN v_dev:sys.dbms_backup_restore.deviceAllocate(typenull,identD1); ELSE -- CHANGE 7. (Optional Tape Only). -- Remember to set Params correctly for tape media. -- If not required then remove parameter. -- v_dev:sys.dbms_backup_restore.deviceAllocate(typesbt_tape,identT1,paramsSBT_LIBRARYoracle. disksbt,ENV(BACKUP_DIR/u003/backup/ORA1020/)); END IF;sys.dbms_backup_restore.restoreSetDatafile; sys.dbms_backup_restore.restoreDataFileTo(dfnumberv_file_no,tonamev_file_name);IF (i 1 AND v_msr) THEN sys.dbms_backup_restore.initMSR(dfnumberv_file_no,fnamev_file_name); dbms_output.put_line(sys.dbms_backup_restore.initMSR(dfnumber||v_file_no||,fname||v_file_name); END IF;dbms_output.put_line(----------------); dbms_output.put_line(Trying : ||v_fileTable(i)|| From : ||v_restore_from);sys.dbms_backup_restore.restoreBackupPiece(donev_done,handlev_fileTable(i),paramsnull); dbms_output.put_line(sys.dbms_backup_restore.restoreBackupPiece(donev_done,handle||v_fileTable(i) ||,paramsnull); EXCEPTION WHEN OTHERS THEN IF v_debug THEN dbms_output.put_line(SQLERRM); ELSE dbms_output.put_line(Data File: Not Found); END IF; sys.dbms_backup_restore.deviceDeallocate; sys.dbms_backup_restore.restoreCancel; END;IF v_done THEN dbms_output.put_line(Data File : Found); dbms_output.put_line(----------------); dbms_output.put_line(RESTORED Data File To: ||v_file_name); sys.dbms_backup_restore.deviceDeallocate; sys.dbms_backup_restore.restoreCancel; v_done:FALSE; exit WHEN NOT v_msr; END IF; END LOOP;IF (v_msr) THEN sys.dbms_backup_restore.setParms(p0 5, p1 v_file_no, p5 v_file_name); END IF; END LOOP; END; /
http://www.pierceye.com/news/271857/

相关文章:

  • 网站rar文件做sorry动图的网站
  • 有合作社做网站得不备案期间关网站吗
  • 南京城乡住房建设厅网站wordpress文章模板下载
  • 有一个做搞笑英语视频网站外贸建站优化
  • 苏州公司建设网站深圳品牌蛋糕店有哪些品牌排行
  • 手机网站建设视频教程、网站建设项目功能需求分析报告
  • 纸 技术支持 东莞网站建设wordpress 手机 自建站
  • 网站后台 搜索广告发布合同模板
  • 手机网站设计教程网站建设 职位
  • 外贸网站图片素材谷歌seo和百度seo区别
  • 龙华网站 建设深圳信科潍坊网站建设培训
  • 域名网站平台qq在线登录
  • 成都做网站建设公司网站建设公司销售技巧
  • 打开网站是iis7三亚最新发布
  • php外贸网站中山网站建设方案报价
  • 好网站建设公司开发方案广告传媒公司加盟
  • 郑州膏药网站建设石家庄seo管理
  • 做国外产品描述的网站营销wordpress
  • 服务器2003怎么做网站枣庄网站建设电话
  • 南京网站建设一条龙汶上网站制作
  • 黑龙江微信网站开发郑州热门网络推广免费咨询
  • 深圳坪山站永久免费linux服务器
  • 东莞网站建议ipv6在家做网站
  • 政务网站源码1688电脑网页版
  • 大连企业网站网站rar文件
  • 揭阳东莞网站建设手机网站分享代码
  • 网站设计风格分析wordpress 用户介绍
  • 中国教育网站官网wordpress 自定义循环
  • 中国婚恋网站排名苏州网站建设设计公司哪家好
  • 微软雅黑做网站是否侵权杭州标志设计公司