- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
oracle数据库管理学习笔记(Oracle database management learning notes)
oracle数据库管理学习笔记(Oracle database management learning notes)
Purpose: backup and optimization
1, check the status of the database: select status from v$instance;
2. Restore initialization files:
Extracting content from D:\developtool\oracle\product\10.2.0\admin\orcl\bdump\alert_orcl.log files.
Manually create initsid.ora
Create spfilesid.ora:, create, SPFILE, from, pflie
,
Show parameter SPFILE to see the SPFILE location
Initorcl.ora text
Spfileorcl.ora binary file (after 9i, use reason: a dynamic modification, B exist device C, Rman automatic backup D, server, parameter, file)
3, backup
Logical backup (data)
Two, manual backup
A, Archive Mode: hot backup (advantages: no work, local backups, bad: Backup logs, inconsistencies)
1, change initialization parameters
2, change the database
9i:alter, system, set, log_archive_dest_1=LOCATION=c:\arc, scope=spfile;
Alter, system, set, log_archive_format=%s.arc, scope=spfile;
Alter, system, set, log_archive_start=true, scope=spfile;
10g:alter, system, set, log_archive_dest_1=LOCATION=c:\arc, scope=spfile;
Alter, system, set, log_archive_format=%s_%t_%r.arc, scope=spfile;
Start shutdown:
Shutdown immediate;
Startup mount;
Archive log list;
Alter database to archive database:
Alter database archivelog;
Alter system switch logfile;
SCN (system change number) can only be large, not small. If you want to step back, grow from a smaller SCN to a relatively small size.
The control file must correctly describe the structure and behavior of the database.
View SCN: select, dbms_flashback.get_system_change_number, from, dual;
View backup:
Select * from v$backup;
View tablespace:
Select, file_name, bytes, from, dba_data_files, where, tablespace_name=USERS;
View the changed scn:
COL NAME FOR A55
SET LINES 100
SET PAGES 100
SELECT, NAME, CHECKPOINT_CHANGE#, FROM, V$DATAFILE;
Modify tablespace:
ALTER, TABLESPACE, USERS, BEGIN, BACKUP;
Save:
ALTER SYSTEM CHECKPOINT;
End backup:
Alter, tablespace, users, end, backup;
Hot backup script:
Data file:
您可能关注的文档
- dcl-2计算书(Dcl-2 statement).doc
- dbc修改详解(DBC modification detail).doc
- db2维护手册(DB2 maintenance manual).doc
- debug 用法(Debug usage).doc
- db性能指标(DB performance index).doc
- dedecms模版制作使用方法(Dedecms template production method of use).doc
- deh伺服阀故障原因分析(Failure analysis of DEH servo valve).doc
- dede 标签(dede 标签).doc
- delphi opengl 三维隧道(OpenGL三维隧道).doc
- delll错误代码(Delll error code).doc
- oracle的闪回特性2(The flashback characteristics of Oracle 2).doc
- oracle系统包简介(Oracle系统包简介).doc
- ospf(OSPF).doc
- ots在线考试系统1(OTS online examination system 1).doc
- otc销售代表全面技能提升(OTC Sales Representative overall skills enhancement).doc
- pads无模命令总结(Pads summary of non modal commands).doc
- overture使用方法(Overture usage).doc
- o型密封圈(O-ring).doc
- painter快捷键(画家快捷键).doc
- oracle ebs wip表关系(Oracle, EBS, WIP table relations).doc
文档评论(0)