




版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
SystemManagementTasks
andTechniquesObjectivesAftercompletingthislesson,youshouldbeabletodothefollowing:DemonstratetableandpartitioncompressiontechniquesImplementresumablesessionsinyourdatawarehouseImplementaneffectivebackupandrestorestrategyforyourdatawarehousePlanasecuritystrategyforadatawarehouseAreThereExecutionProblems?UseV$PQ_TQSTATtofindoutifthereisdatadistributionskeworbadobjectstatistics:ContainstrafficstatisticsbetweenslavesattablequeuelevelValidonlywhenqueriedfromtheparallelsessionCheckI/OandCPUboundattheoperatingsystemlevelanddecideontheparallelismUsetheAutomaticWorkloadRepositorytoexamineusefulstatisticsPerformanceMonitoringandTuningStatisticsgatheringandmonitoringactivitiesaremainlyautomatic.AdministeranddisplaytheoutputofthegatheringandtuningtoolswithEnterpriseManager:AutomaticWorkloadRepositoryAutomaticDatabaseDiagnosticMonitorSQLAccessAdvisorEndtoEndApplicationTracingStatisticsCollectionTheSTATISTICS_LEVELinitializationparametercontrolsmajorstatisticscollectioninthedatabase.STATISTICS_LEVELcanhaveoneofthreevalues:WhensettoBASIC,noadvisoriesorstatisticsarecollected.TYPICAListhedefaultvalueandensures
collectionforallmajorstatistics.ALLincludesallitemscollectedwith
TYPICALplusoperatingsystemand
rowsourceexecutiondata.EndtoEndApplicationTracingEndtoEndApplicationTracing:SimplifiestheprocessofdiagnosingperformanceproblemsinmultitierenvironmentsHelpstoidentifythesourceofanexcessiveworkloadUsesaclientidentifiertouniquelytraceaspecificendclientthroughalltiersAllowsyoutoidentifywhatauser’ssessionisdoingatthedatabaselevelEndtoEndApplicationTracingUsingEMEMDatabaseControlinterface:CompressionTablecompressionisoptimizedforrelationaldata.Thereisvirtuallynonegativeimpactontheperformanceofqueriesagainstcompresseddata.Therecanbeasignificantpositiveimpactonqueriesaccessinglargeamountsofdata.Thedataiscompressedbyeliminatingduplicatevaluesinadatabaseblock.Alldatabasefeaturesandfunctionsthatworkonregularblocksalsoworkoncompressedblocks.WhatCanBeCompressed?Objectsthatcanbecompressedinclude:TablesPartitionsMaterializedviewsB-treeindexesCompressionworksforalldatatypesexcept:Variantsoflargeobjects(LOBs)DatatypesderivedfromLOBs,suchasVARRAYsstoredoutoflineorXMLdatatypestoredinacharacterlargeobject(CLOB)Tablesthatarefrequentlyupdatedshouldnotbecompressed.Compression:ExamplesSimplecompressedpartitionedtable:Partitionedtablewithonecompressedpartition:CREATETABLEsales_rangesalesman_idNUMBER(5),salesman_nameVARCHAR2(30),sales_amountNUMBER(10),sales_dateDATE)COMPRESSPARTITIONBYRANGE(sales_date)...CREATETABLEsales_list(salesman_idNUMBER(5),salesman_nameVARCHAR2(30),sales_stateVARCHAR2(20),sales_amountNUMBER(10))PARTITIONBYLIST(sales_state)(PARTITIONsales_westVALUES('California','Hawaii')COMPRESS,PARTITIONsales_eastVALUES('NewYork','Virginia','Florida'),...MaximizingCompressionRatiosLoaddataordered(sorted)tomaximizetheduplicationofvalueswithinadatabaseblock.Ifexternaltablesareusedforloading,addanORDERBYclausetotheSELECTstatement.Uselargerblocksizes.ResumableSessionsResumablestatementsenablelargedatabaseoperationstobesuspendedandresumed.Space-limiterrorscanbecorrected,allowingthehungsessiontoresume.IssueALTERSESSIONENABLERESUMABLEbeforeinitiatingalong-runningoperation:TIMEOUTspecifiesthetimewindowforintervention.NAMEspecifiesthenameoftheresumablesession.ALTERSESSIONENABLERESUMABLETIMEOUT600NAME
'resumable_session_name';
DataWarehouseBackupandRecoveryWhyshouldadatawarehousebackupandrecoverystrategynotbejustlikethatofanOLTPdatabase?Adatawarehouseistypicallymuchlargerthananoperationalsystem.AdatawarehouseoftenhasloweravailabilityrequirementsthananOLTPsystem.Datawarehouseupdatesare
oftenreproduciblefromsources
otherthandatabaselogs.Datawarehousescontain
historicaldataandoften,
largeportionsoftheolder
dataarestatic.RecoveryTimeObjective(RTO)AnRTOisthenumberofhoursinwhichyouwanttobeabletorecoveryourdata.ToformulateanRTO:Understandyourrecoveryreadiness,riskareas,andthebusinesscostsofunavailabledata.Transformtherecoveryrequirementsintobackupandrecoverystrategies.Deployandintegratethesolutionintoyourenvironmenttobackupandrecoveryourdata.Testyourrecoveryplansatregularintervals.Refineitasyourdata,ITinfrastructure,andbusinessprocesseschange.RecoveryPointObjective(RPO)AutomatedrecoveryproceduresManualrecoveryproceduresNobackupofdataRestorebackupDatareinsertedviaETLRPOBackups
runat
scheduledintervals.RTO#1Criticaldataisavailable,databaseisopen.RTO#2Remainderofdataisinserted.0-nnhours+nnhours+nnnhoursNormaloperationsNormaloperationsMoreBackupandRecoveryConsiderationsHardwareisthelimitingfactortofastbackupandrecovery.Moredatameansalongerbackupwindow.RMANcanfullyutilize,inparallel,allavailabletapedevices.Considerbreakingthedatabasebackupoveranumberofdays.RMANbacksupalldatabasefilesthathavenotbeenbackedupinthelast24hours.Thebackupjobislimitedto4hours.RMAN>BACKUPDATABASENOTBACKEDUPSINCE\'sysdate–1'PARTIALDURATION4:00MINIMIZETIME;
BackupandRecoveryToolsRecoveryManagerreducestheadministrationworkassociatedwithyourbackupstrategy.EnterpriseManagerenables
backupandrecoverytobedone
byapoint-and-clickmethod.DataPumpprovideshigh-speed,
parallel,bulkandmetadata
movementofdatabasecontents.User-managedbackupsaredone
usingoperatingsystem–specific
utilities.BackupandRecovery:
BestPracticesUseARCHIVELOGmode.UseRMAN.Leverageread-onlytablespaces.Planfornologgingoperationsinyourbackupandrecoverystrategy.Notalltablespacesinadatawarehouseareequallysignificantfromabackupandrecoveryperspective.NOLOGGINGBackupand
RecoveryStrategiesExtract,transform,load(ETL):UsesseveralOracletoolsandacombinationofmethodstoreloaddataTransportabletablespaces,SQL*Loader,DataPump,externaltablesIncrementalbackups:AreamoreautomatedbackupandrecoverystrategyinthepresenceofnologgingoperationsProvidethecapabilitytobackuponlythechangedblockssincethepreviousbackupArefasterwhenusingtheblockchangetrackingfeatureEmployingIncrementalBackupsIncrementalbackupsofdatafilescapturedatachangesonablock-by-blockbasis.SpeedupbackupsbyusingblockchangetrackingThedatabasetracksthephysicallocationofalldatabasechanges.RMANautomaticallyusesthechangetrackingfiletodeterminewhichblocksneedtoberead.Sizingtheblockchangetrackingfile:Bestpractice:Useblockchangetrackingandmakeanincrementalbackupafternologgingdirectloadoperations.((threads*2)+number_of_old_backups)*(database_size_in_bytes)--------------------------------------------------------------------------------------------------250000DataWarehouseSecurity
Theconsolidatedmodelprovidesseveralbenefitsfordatawarehousesecurity:ConsistentsecuritymodelCentral,expertmanagementFewerpointsofattackSimplersecuritymaintenanceLayeredSecurityModelProvidemultiplesecuritylayerssothatfailureofasinglelayerdoesnotcompromisecriticaldata.ThesecuritylayersavailableinOracleDatabase10ginclude:Role-basedaccesscontrolRow-levelsecurityemploying
VirtualPrivateDatabaseand
OracleLabelSecurityAuditingthedatabaseEncryptionTransparentDataEncryptionTransparentDataEncryption(TDE)isacomponentofOracleAdvancedSecurity.TDEallowsyoutoencryptselectedcolumndatawithouthavingtomanagetheencryptionkey.Encryptsensitivedatasuchascreditcardnumbersbeforeitisstoredinthedatabase.OracleAdvancedSecurityprotectsdatabyusingindustry-standardencryptionmethods:AESTripleDESImplementingTDE1. AsSYSDBA,createtheencryptedwalletfileandsettheinitia
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025-2030多媒體通信系統(tǒng)行業(yè)市場現(xiàn)狀供需分析及重點企業(yè)投資評估規(guī)劃分析研究報告
- 2025-2030城市客車行業(yè)風險投資發(fā)展分析及投資融資策略研究報告
- 2025-2030圓頭款鞋行業(yè)市場發(fā)展分析及投資前景研究報告
- 2024年陪診師考試難點突破試題及答案
- 2025-2030國內(nèi)線路板行業(yè)深度分析及競爭格局與發(fā)展前景預測研究報告
- 2025-2030商貿(mào)連鎖項目可行性研究報告
- 2025-2030吸聲復合材料市場發(fā)展分析及行業(yè)投資戰(zhàn)略研究報告
- 2025-2030雙分配技術行業(yè)市場現(xiàn)狀供需分析及投資評估規(guī)劃分析研究報告
- 2025-2030壓線機行業(yè)市場現(xiàn)狀供需分析及重點企業(yè)投資評估規(guī)劃分析研究報告
- 2025-2030半導體拋光片行業(yè)市場現(xiàn)狀供需分析及投資評估規(guī)劃分析研究報告
- 荊門職業(yè)學院2020年高職單獨招生考試文化綜合考試試卷(樣卷)
- 產(chǎn)品質(zhì)量獎懲管理規(guī)定
- 裝修工程施工組織設計方案
- 《無人機飛行操控技術(微課版)》全套教學課件
- 肺結(jié)節(jié)診治中國專家共識(2024年版)解讀
- 人教版(新起點)小學英語二年級下冊教案(全冊)
- GB/T 30142-2013平面型電磁屏蔽材料屏蔽效能測量方法
- 科技小巨人工程驗收培訓
- 環(huán)境經(jīng)濟學課件:第十次課 環(huán)境污染與效率費效分析等
- 《水產(chǎn)動物營養(yǎng)與飼料學》課件第1課-蛋白質(zhì)營養(yǎng)
- 食堂人員配置、職責與管理方案
評論
0/150
提交評論