Oracle备份恢复之13逻辑备份

Oracle备份恢复之13逻辑备份

ID:83526498

大小:386.00 KB

页数:21页

时间:2023-10-23

上传者:天天好文库
Oracle备份恢复之13逻辑备份_第1页
Oracle备份恢复之13逻辑备份_第2页
Oracle备份恢复之13逻辑备份_第3页
Oracle备份恢复之13逻辑备份_第4页
Oracle备份恢复之13逻辑备份_第5页
Oracle备份恢复之13逻辑备份_第6页
Oracle备份恢复之13逻辑备份_第7页
Oracle备份恢复之13逻辑备份_第8页
Oracle备份恢复之13逻辑备份_第9页
Oracle备份恢复之13逻辑备份_第10页
资源描述:

《Oracle备份恢复之13逻辑备份》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

ExportandImportUtilities

1ObjectivesAftercompletingthislesson,youshouldbeabletodothefollowing:DescribetheusesoftheExportandImportutilitiesDescribeExportandImportconceptsandstructuresPerformsimpleExportandImportoperationsListguidelinesforusingExportandImport

2OracleExportandImportUtilitiesOracle databaseOracle databaseExportImport

3OracleExportandImportUtilityOverviewYoucanusetheseutilitiestodothefollowing:ArchivehistoricaldataSavetabledefinitionstoprotectthemfromusererrorfailureMovedatabetweenmachinesanddatabasesorbetweendifferentversionsoftheOracleserverTransporttablespacesbetweendatabases

4MethodsofInvokingthe ExportandImportUtilitiesCommand-lineinterfaceAninteractivedialogParameterfilesOracleEnterpriseManager

5FullDatabaseModeTablesdefinitionsTablesdataGrantsIndexesTablesconstraintsExportModesTableModeTabledefinitionsTabledata(allorselectedrows)Owner’stablegrantsOwner’stableindexesTableconstraintsUserModeTablesdefinitionsTablesdataOwner’sgrantsOwner’sindexesTablesconstraintsTablespaceModeTabledefinitionsGrantsIndexesTableconstraintsTriggers

6InvokingExportSyntax:Examples:exphr/hrTABLES=employees,departmentsrows=yfile=exp1.dmpexpkeyword=value,value2,…,valuenexpsystem/managerOWNER=hrdirect=y file=expdat.dmpexp\'username/passwordASSYSDBA\'TRANSPORT_TABLESPACE=yTABLESPACES=ts_emplog=ts_emp.log

7UsingtheExportWizard

8Direct-PathExportConceptsBuffer cacheGenerateSQL commandsWriteblocksDirectPathDumpfileExportExportOracleServerReadblocksEvaluating bufferTTC bufferBuffer cache managerSQL command processingTwo-Task common (TTC)DirectPathConventionalPath

9Direct-PathExportFeaturesThetypeofExportisindicatedonthescreenoutput,exportdumpfile,andthelogfile.DataisalreadyintheformatthatExportexpects,avoidingunnecessarydataconversion.UsesanoptimizedSQLSELECTstatement.

10Direct-PathExportRestrictionsThedirect-pathoptioncannotbeinvokedinteractively.Client-sideandserver-sidecharactersetsmustbethesame.TheBUFFERparameterhasnoaffect.

11SpecifyingDirect-PathExportAscommandlineargumenttotheExportcommand:Asakeywordinaparameterfile:expparfile=expuserid=hr/hrfull=ydirect=yParameterfile…..(OtherParameters)DIRECT=Y…...(OtherParameters)

12UsesoftheImportUtilityforRecoveryCreatetabledefinitionsExtractdatafromavalidExportfileImportfromacompleteorcumulativeExportfileRecoverfromuser-errorfailures

13ImportModesModeDescriptionTableImportspecifiedtablesintoaschema.UserImportallobjectsthatbelongtoa schemaTablespaceImportalldefinitionsoftheobjectscontainedinthetablespaceFullDatabaseImportallobjectsfromtheexportfile

14InvokingImportSyntax:Examples:imphr/hrTABLES=employees,departmentsrows=yfile=exp1.dmpimpkeyword=valueorkeyword=value,value2,…valuenimpsystem/managerFROMUSER=hrfile=exp2.dmpimp\'username/passwordASSYSDBA\'TRANSPORT_TABLESPACE=yTABLESPACES=ts_employees

15UsingtheImportWizard

16InvokingImportasSYSDBAYouneedtoinvokeImportasSYSDBAunderthefollowingconditions:AttherequestofOracletechnicalsupportWhenimportingatransportabletablespacesetToinvokeImportasSYSDBA:imp\'username/passwordASSYSDBA\'

17ImportProcessSequence1.Newtablesarecreated2.Dataisimported3.Indexesarebuilt4.Triggersareimported5.Integrityconstraintsareenabledonthenewtables6.Anybitmap,functional,and/ordomainindexesarebuilt

18GlobalizationSupportConsiderationsTheExportfileidentifiesthecharacterencodingschemethatisusedforthecharacterdatainthefile.TheImportutilitytranslatesdatatothecharactersetofitshostsystem.AmultibytecharactersetExportfilemustbeimportedintoasystemthathasthesamecharacteristics.

19SummaryInthislesson,youshouldhavelearnedhowto:DescribetheusesofExportandImportDescribeExportandImportconceptsandstructuresPerformsimpleExportandImportoperationsListguidelinesforusingExportandImport

20Practice18OverviewThispracticecoversthefollowingtopics:UsingtheExportutilityUsingtheImportutility

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
大家都在看
近期热门
关闭