书签 分享 收藏 举报 版权申诉 / 35
上传文档赚钱

类型les准则警告基准课件.pptx

  • 上传人(卖家):晟晟文业
  • 文档编号:4525735
  • 上传时间:2022-12-16
  • 格式:PPTX
  • 页数:35
  • 大小:464.81KB
  • 【下载声明】
    1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
    2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
    3. 本页资料《les准则警告基准课件.pptx》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
    4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
    5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    les 准则 警告 基准 课件
    资源描述:

    1、Objectives After completing this lesson,you should be able to do the following:View metrics by using the metrics history views Create metric thresholds View alerts Create metric baselines Enable adaptive thresholdsMetrics,Alerts,and Baselines Metric:Rate of change in a cumulative statistic Alert:Eve

    2、nt generated when a monitored metric crosses a threshold Baseline:Data gathered from a“normal running database”for performance comparisonLimitation of Base Statistics30 minutes30 minutesV$SYSSTATPhysical readsI/OI/OTimeTimeLow rateHigh rateStatistics just keep growing.2M2MTypical Delta Tools Compari

    3、son of statistics at two points in time is needed.The following tools produce deltas:Statspack AWR reports Customized scriptsOracle Database 10g Solution:MetricsBase statistic 1Redo generationMetric 1Metric 2Redo generation/TxClient 1Client 2Client 3Client 4V$METRICNAMEV$SYSMETRICV$SESSMETRICV$FILEM

    4、ETRICV$EVENTMETRICMMONUser commitUser rollbackV$WAITCLASSMETRICV$SERVICEMETRICBenefits of MetricsDBAAnalyze differences.Query a metric.Without metricsWith metricsViewing Metric History Information In memory:V$SYSMETRIC_HISTORYV$FILEMETRIC_HISTORYV$WAITCLASSMETRIC_HISTORYV$SERVICEMETRIC_HISTORYV$SESS

    5、ION_WAIT_HISTORY(last 10 events)On disk:DBA_HIST_SYSMETRIC_SUMMARYDBA_HIST_SYSMETRIC_HISTORY(alerts only)DBA_HIST_SESSMETRIC_HISTORYDBA_HIST_SYSTEM_EVENT(cumulative)DBA_HIST_FILEMETRIC_HISTORY(alerts only)DBA_HIST_FILESTATXS(cumulative)DBA_HIST_WAITCLASSMET_HISTORY(alert)Viewing Detailed Information

    6、 for a MetricStatistic Histograms30 minutesV$SYSSTATPhysical readsI/OTimeHigh rate1248163264 128 256 512222NumberofwaitsTimeperiodV$FILE_HISTOGRAMIs it areal problem?5500Histogram Views V$EVENT_HISTOGRAM:For each event such as“db file sequential read”V$FILE_HISTOGRAM:For single block reads on a per

    7、data file basis V$TEMP_HISTOGRAM:For single block reads on a per temp-file basisServer-Generated AlertsServeralertsqueue.Metric exceedsthreshold.AWREnterprise ManagerOracle instanceDatabase Control Usage ModelSet up notification rules(paging,e-mail).Correct the problem.Review alert details and advic

    8、e.Enable alerts by setting thresholds.Receive notification.Verify that the problem is resolved.Setting ThresholdsCreating and Testing an Alert1.Specify a threshold.2.Create a test case.3.Check for an alert.213Metric and Alert ViewsRecent metricsMetric historyV$SYSMETRIC_HISTORYV$SYSMETRICV$SERVICEME

    9、TRICV$METRICNAME.DBA_HIST_SYSMETRIC_HISTORY.DBA_OUTSTANDING_ALERTSDBA_ALERT_HISTORYDBA_THRESHOLDSV$ALERT_TYPES.Server alertsUser-Defined SQL MetricsPractice Overview:Work with Metrics This practice covers the following topics:View metrics using the metrics history views Create metric thresholds View

    10、 alerts Clear alertsWorking with Metric Baselines Enable metric baselines.Create a metric baseline.Static baseline Moving window baseline View the baseline statistics.Set a threshold on a baseline.Fixed threshold(percent of maximum)Adaptive thresholdEnabling Metric BaseliningCreating Static Metric B

    11、aselinesCreating Static Metric BaselinesTime GroupingBaseline periodTimegroupedDayand nightHourof dayWeekdaysand weekendDayof weekAllhoursAlldays8am11am7am7am7pm7am7am7pmMoSuMoSuMoSa&SuDailyWeeklyTime Grouping:ConsiderationsMo Tu We Th Fr Sa SuNoSufficient data?Day of weekGrouped by7 daysMoving wind

    12、ow sizeYesSufficient data?Day of weekGrouped by14 daysMoving window sizeYesSufficient data?Weekdays and weekendGrouped by7 daysMoving window sizeDatapointsWeekdays WeekendMo Tu We Th Fr Sa SuDatapointsDatapointsSufficiency level1 week ago2 weeks agoActivating the StaticMetric BaselineActivating the

    13、Moving WindowMetric BaselineVisualizing Metric Baseline StatisticsSetting Adaptive Alert ThresholdsSetting Adaptive Alert ThresholdsMetric Baseline and Adaptive Threshold:Considerations Baselining must be enabled using Enterprise Manager.Only one moving window baseline can be defined.Multiple static

    14、 baselines can be defined.Only one baseline can be active at a time.Adaptive thresholds require an active baseline.Classification of Eligible MetricsDatabase Time(centiseconds per second)Response Time(per transaction)System Response Time(centiseconds)Performance MetricsExecutes(per second)Redo Gener

    15、ated(per second)Network Bytes(per second)Physical Writes(per second)Physical Reads(per second)Current Logons CountUser Calls(per second)Number of Transactions(per second)Workload Volume Metrics Database Block Changes(per transaction)Enqueue Requests(per transaction)Total Parses(per transaction)Sessi

    16、on Logical Reads(per transaction)Workload Type MetricsMetric Baseline:Normalized ViewConfiguring Normalization MetricsAdaptive Thresholds and the All Metrics PagePractice Overview:Work with Baselines This practice covers the following topics:Create a static metric baseline View the baseline data Enable adaptive thresholds View deviations from the baseline Summary In this lesson,you should have learned how to:View metrics by using the metrics history views Create metric thresholds View alerts Create metric baselines Enable adaptive thresholds

    展开阅读全文
    提示  163文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
    关于本文
    本文标题:les准则警告基准课件.pptx
    链接地址:https://www.163wenku.com/p-4525735.html

    Copyright@ 2017-2037 Www.163WenKu.Com  网站版权所有  |  资源地图   
    IPC备案号:蜀ICP备2021032737号  | 川公网安备 51099002000191号


    侵权投诉QQ:3464097650  资料上传QQ:3464097650
       


    【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。

    163文库