View
220
Download
0
Tags:
Embed Size (px)
Oracle RAC 10g: Running Mixed WorkloadsGordon Smith Director, RAC Product ManagementOracle CorporationSession id:
AgendaBusiness GoalsTodays Inadequate SolutionsKey Technical Elements of the SolutionNon-Blocking QueriesReal Application ClustersOther Great ToolsOracle 10g Enterprise Grids Putting It All Together
Business GoalsGoalsReport off current live dataNo impact on online performanceSimplicity Low costFocusing on reporting Not full blown Data WarehouseDW a much more complex problemOracle offers good On Time solution
Todays Inadequate SolutionsWait until off-hours when online systems arent being usedProblemsThe Internet and 21st Century business changed online to 24 X 7Data not currentOff-Hours Batch
Todays Inadequate SolutionsCopy database to second system for reportingProblemsNot current dataComplicated, multi-step process with many failure pointsPoor hardware utilization Data is growing and getting harder to copyCloning (or re-silvering) can impact performanceReporting DB Clones
Todays Inadequate SolutionsWhy not just run reports against the data on my disaster recovery (DR) standby systemThe standby is just sitting there underutilizedData can be very currentProblemsNearly all DR solutions dont let you access data on standby system, e.g., Remote disk mirroring systemsOracle DataGuard (physical mode)
Traditional DR Solutions
Key Technical Elements of the SolutionNon-Blocking QueriesReal Application ClustersOther Great ToolsAutomatic Undo ManagementResource ManagerLogical Data Guard
Non-Blocking QueriesProvides consistent readsNever sees uncommitted dirty dataNever sees some changes from a transaction but not other changesBottom line: You Get The Right AnswerDoesnt block updatesDoesnt get blocked by updates
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesFor example, say you need to add up the balances for all accounts
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesFor example, say you need to add up the balances for all accounts
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesFor example, say you need to add up the balance for all accounts
1,000
Non-Blocking QueriesNow lets run a transaction at the same time that transfers $50 from one account to anotherWithout using Non-Blocking QueriesWithout using read locks
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesNow lets run a transaction at the same time that transfers $50 from one account to anotherWithout using Non-Blocking QueriesWithout using read locks
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesNow lets run a transaction at the same time that transfers $50 from one account to anotherWithout using Non-Blocking QueriesWithout using read locks
-$50+$50
AccountBalance000110000021000003500004100000510000061000007100000810000091500010100
Non-Blocking QueriesNow lets run a transaction at the same time that transfers $50 from one account to anotherWithout using Non-Blocking QueriesWithout using read locks
1,100
Non-Blocking QueriesNow lets try read locks
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesNow lets try read locks
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesNow lets try read locks
-$50Transaction Blocked!!!
AccountBalance000110000021000003500004100000510000061000007100000810000091500010100
Non-Blocking QueriesNow lets try read locksYou get the right answer but update transactions are blockedSimilarly update transactions can block queries
1,000
Non-Blocking QueriesNow lets try non-blocking queries with read consistency
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesNow lets try non-blocking queries with read consistency
AccountBalance0001100000210000031000004100000510000061000007100000810000091000010100
Non-Blocking QueriesNow lets try non-blocking queries with read consistency
-$50+$50
AccountBalance000110000021000003500004100000510000061000007100000810000091500010100
Non-Blocking QueriesNow lets try non-blocking queries with read consistencyQueries dont block updatesUpdates dont block queries
1,000
Real Application Clusters Runs all types of business applications on clustersMaximum availabilityMaximum scalabilityLowest costEfficient cache fusion technology
Oracle9i RAC SAP Scalability# UsersRunning on HPQ AlphaServer ComputersSD 3-Tier Parallel Benchmark Results Now Official82%ScalabilityCertified
Oracle9i RAC OLAP Scalability 75x better than the nearest competitor Cant Say1,13585,719Analytic Queries Per Minute (AQM)World Record Performance Source: DSS Lab, 2003
Sheet:
Oracle
Hyperion
Microsoft
North
RAC Workloads Survey
Chart1
40
35
20
5
RAC Customer Workloads
Sheet1
OLTP40
Mixed35
DW20
Unknow5
Sheet1
RAC Customer Workloads
Sheet2
Sheet3
RAC Mixed Workload CustomersChina Unicom ChongingSupply SolutionsGas Authority of India Ltd.Texas Tech UniversityLithonia LightingSoftChoiceTata TeleservicesAusRegistryPOSCO Six SigmaDongbu InsuranceAshok Leyland Ltd.WeightWatchers.com
CJISFannieMaeJob PartnersTelenor MobileUniversity of MelbourneHealthPartnersCairns City CouncilGuangfu SecuritiesMerrill LynchSTP MaisoningVanderbilt UniversityEPLGas Authority of India Ltd.KITCNextelClearing Corp of IndiaDaegu universwityHite BreweryUS Army Medical Research & Material CommandGreen Mountain PowerHolmesglen TAFESmartservBharti Televentures Ltd.
Mix Workload Customer Example
Telenor Mobile in Norway 2-nodes, 16 CPU & 4 CPU HP-UX OLTP - 4 CPUs nodeDSS on 16 CPUsFail OLTP to DSS but not other way
Other Great ToolsResource ManagerControls allocation of CPU to workloadsLimit execution times of long running operationsLimits # of active sessions per workloadLogical Data GuardAllows queries to data on DR StandbyAllows updates to data only on StandbyAutomatic Undo ManagementNow fully automatic in Oracle9i
Enterprise Grid Putting It All TogetherLow Cost ComputingYou can just throw CPUs at itAutomatic Storage ManagementYou can just throw disks at itWorkload ManagementPowerful new ways to manage different workloads easily
Enterprise Grid - Low Cost Computing
Electronic Arts ROI1st YearBig SMP is 35%+ More Expensive
5 YearsBig SMP is 46%+ More ExpensiveTotal IT costs:Hardware costsSoftware costsH&S maintenanceDBA costsSysAdmin costs
Enterprise Grid - Automatic Storage ManagementEliminates the complexity and cost of 3rd party volume and file managersCompletely automates I/O tuningEliminates all fragmentationOptional mirroring
Automatic StorageManagement
Enterprise Grid - Automatic Storage ManagementEliminates the complexity and cost of 3rd party volume and file managersCompletely automates I/O tuningEliminates all fragmentationOptional mirroringAllows disks to be added or removed dynamically with fully automatic rebalancing
Automatic StorageManagement
Enterprise Grid - Automatic Storage ManagementEliminates the complexity and cost of 3rd party volume and file managersCompletely automates I/O tuningEliminates all fragmentationOptional mirroringAllows disks to be added or removed dynamically with fully automatic rebalancing
Automatic StorageManagement
Enterprise Grid - Workload ManagementHands-free assignment of servers to workloads based on rulesAutomatic assignment of servers to workloads at startupRe-assignment of servers to workloads as business needs changeOn server failure, automatic re-assignment of surviving servers to workloadsWorks across all platforms
Enterprise Grid Workload ManagementNormal Server AllocationReportingOrder EntrySpare
Enterprise Grid Workload ManagementChristmas SeasonReportingOrder Entry
Enterprise Grid Workload ManagementPost ChristmasReportingOrder Entry
Enterprise Grid Workload ManagementNormal Server AllocationReportingOrder EntrySpare
Enterprise Grid Workload ManagementNode FailureReportingOrder EntrySpare
Enterprise Grid Workload ManagementRecoveryReportingOrder Entry
Enterprise Grid Workload ManagementAnother Node FailureReportingOrder Entry
Enterprise Grid Workload ManagementRecoveryReportingOrder Entry
ConclusionA History of InnovationNon-BlockingQueriesOPSRealApplicationClusters(RAC)AutomaticStorageManagementWorkloadManagmentLow-CostCommodityClustersResourceManagerDataGuardEnterpriseGrids
Next Steps.Recommended Oracle RAC sessionsOracle RAC 10g: Continuous Services for the GridWednesday 11 am, Room 104Oracle RAC: Best Practices on LinuxWednesday 1 pm, Room 104Oracle RAC: Customer RoundtableWednesday 4:30 pm, Room 104Real Application Cluster Guru ChatThursday 12 noon, Guru LoungeSee RAC demos in Database DEMOgrounds Visit the RAC web sites for more informationhttp://otn.oracle.com/products/database/clustering/content.html
A
Reminder please complete the OracleWorld onl