Oracle 12c 新特性 培训资料中文

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:383

oracle12c 培训课程资料中文版
Oracle 12c Multitenant Database ResourceManagement
管理共享资源多租户环境中的资源管理高优先级中优先级低优先级
在PDBs之间管理资源•PDBs 竞争共享资源–CPU–Parallel execution servers–Sessions–I/O•资源管理器启用优先级/资源分片管理的策略–在整合环境中设置硬限制–‘得到你所付出的’
•在一个CDB中, 资源管理器可以管理两个基本级别上的资源: –CDB level –资源管理器可以管理多个PDBs的工作负载•使用 CDB ResourcePlan–PDB level –资源管理器可以管理在每一个PDB内的资源•使用 PDB ResourcePlan•资源管理器以两个步骤分配资源:–它分配系统资源的一部分到每个PDB–在一个特定的PDB中, 它分配在步骤一中获得的系统资源的一部分到每一个连接到该PDB的会话 (PDB Plan)•注意: root容器中的所有活动由资源管理器自动管理
•使用数据库资源管理器, 你可以:–指定不用的PDB应该得到不同的资源共享(份数)–限制一个特定PDB的CPU使用–限制一个特定PDB中你可以使用的parallel execution servers数–限制连接到一个单一PDB中的不同会话的资源使用–监视PDBs的资源使用情况•受管理的资源:–CPU–Parallel execution servers–Sessions–Exadata I/O
•CDB resource plan根据resource plan directives的设置分配资源给PDB•resource plan directives控制如下资源的分配:–CPU–Parallel execution servers•resource plan directives使用你为每一个PDB指定的共享值–一个更高的共享值将导致获得更多的资源•你也可以为PDB指定使用率限制–对于 CPU 和 parallel servers–可以结合共享资源份数一起使用
•一个PDB resourceplan确定如何将分配给一个特定PDB的资源分配给该PDB中的Consumer Groups–PDB resource plan与non-CDB中的resource plan是相似的•你可以使用DBMS_RESOURCE_MANAGER包中的CREATE_PLAN_DIRECTIVE存储过程为一个PDB的resource Plan创建resourceplan directives•你可以使用DBMS_RESOURCE_MANAGER包中的CREATE_CDB_PLAN_DIRECTIVE存储过程为一个CDB resource Plan创建resource plan directive
一个示例 - CDB Resource PlanCDB Resource PlanPDBSharesLimitGuaranteed CPU/Parallel Servers (share)Maximum CPU (limit) Maximum Parallel Servers (limit) UtilizationParallel ServerSales 2 2/4 = 50%100% 100% Marketing 1 75% 50% 1/4 = 25%75% 50% “Utilization limits” are used to enforce a hard limit on the CPU/Parallelserver usage for aPDB“Shares” are used to specify howCPU/Parallel Servers are distributedbetween PDBsMarketing Support Sales Container Database25% min 25% min 50% min 75% max75% max100% max
Marketing Support Sales Container Database25% min 25% min 50% min 75% max75% max100% max一个示例 - CDB Resource PlanWith a utilization limit of 75%, SUPPORTis throttled, even though CPU is available.102030405060708090100CPU Utilization Support (1 share)Marketing (1 share)Sales (2 shares)Utilization Limits provide clientsconsistent performance.They also restrict their resource usage,based on what the client paidWith Support and Marketing active, eachgets an equal shareWhen all workloads are active, they againshare the CPU basedon their ratio of shares.一个示例 - CDB Resource PlanCDB Resource PlanPDBSharesLimitGuaranteed CPU/Parallel Servers (share)Maximum CPU (limit) Maximum Parallel Servers (limit) UtilizationParallel Server Default Directive 1 50%25%1/n 50% 25% Sales22/4 = 50%100%100%Marketing 1 75% 50% 1/4 = 25% 75% 50%Support175%50%1/4 = 25%75%50%Configure a “default directive” thatautomatically applies share and utilization limits for subsequentPDBs.Marketing Support SalesContainer Database25% min 25% min 50% min 75% max75% max100% max

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】