{"componentChunkName":"component---src-templates-tutorial-js","path":"/zh/tutorial/DatabaseMonitoringManagement/","result":{"data":{"markdownRemark":{"html":"<h2 id=\"数据库监控管理\"><a href=\"#%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9B%91%E6%8E%A7%E7%AE%A1%E7%90%86\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>数据库监控管理</h2>\n<h3 id=\"数据库监控列表\"><a href=\"#%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9B%91%E6%8E%A7%E5%88%97%E8%A1%A8\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>数据库监控列表</h3>\n<p>在SuperMap iManager<strong>数据库监控</strong>页面，罗列了已经添加的数据库监控。可使用以下功能对数据库监控进行管理：</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/bbdd4354250ecfbaf8a1d74201b60448/03bcf/DatabaseMonitoringlist.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 26.190476190476193%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAFCAIAAADKYVtkAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVQY022OzUrFMBBG8yztLU0yf0km6e2t2IXKXSq4FXz/x/BTcCF4CENmMpx8Yb+/6/G8zPN8ucx/maZp/o9lWWJMIhKOt8/z9cNLIaJMGaRfmBgV8xgjVvGEe0o5poTJuq5BKJmw4qjWWq/bhqo/uLuZtdZKLe7dTM2H+s18b6VgIbCa+AMXh7XUep6P2zaYGe0YA6LeWgdjqAj3g28vZX/qqpRTIBGYMhuSEDO28RsSooUbCuHv8IgNYWRL1rMUq4Pa9Qvu2TVJjHndPAAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"DatabaseMonitoringlist\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/bbdd4354250ecfbaf8a1d74201b60448/1e088/DatabaseMonitoringlist.png\"\n        srcset=\"/iManager_K8S/1014/static/bbdd4354250ecfbaf8a1d74201b60448/65ed1/DatabaseMonitoringlist.png 210w,\n/iManager_K8S/1014/static/bbdd4354250ecfbaf8a1d74201b60448/d10fb/DatabaseMonitoringlist.png 420w,\n/iManager_K8S/1014/static/bbdd4354250ecfbaf8a1d74201b60448/1e088/DatabaseMonitoringlist.png 840w,\n/iManager_K8S/1014/static/bbdd4354250ecfbaf8a1d74201b60448/78612/DatabaseMonitoringlist.png 1260w,\n/iManager_K8S/1014/static/bbdd4354250ecfbaf8a1d74201b60448/03bcf/DatabaseMonitoringlist.png 1653w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>名称：数据库监控的名称，在添加数据库监控时设置。</li>\n<li>地址：数据库地址。</li>\n<li>类型：监控的数据库类型。</li>\n<li>状态：监控的数据监控状态，比如是否运行正常、是否静默告警等。</li>\n<li>所属用户：添加该数据库监控的用户。</li>\n<li>\n<p>操作：</p>\n<ul>\n<li>报警历史：查看数据库监控的报警记录。</li>\n<li>静默警告：暂停数据库监控告警。可输入静默时长，单位为小时。</li>\n<li>解除静默：删除静默设置。</li>\n<li>指标收集器：点击进入数据库Exporter监控页面，详情请见后文。</li>\n<li>删除：删除数据库监控。</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"数据库监控详情\"><a href=\"#%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9B%91%E6%8E%A7%E8%AF%A6%E6%83%85\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>数据库监控详情</h3>\n<p>在<strong>数据库监控</strong>页面，点击数据库监控的名称进入详情页面，可看见以下信息：</p>\n<ul>\n<li>地址：监控的数据库地址。</li>\n<li>数据库：监控的数据库名称。</li>\n<li>用户名：监控的数据库账户名称。</li>\n<li>密码：监控的数据库账户密码。</li>\n</ul>\n<p>将页面拖动至下方，有多项数据库监控指标，可查看数据库的详细状态：</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/fec1703be0c6eaf4378dd6448cdc79d9/7a720/DatabaseMonitoringindexes.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 91.42857142857143%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAIAAADUsmlHAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB70lEQVQ4y21SC7LbIAz0XV7SxAkSIMAYO3Z+vf+ZuoI6TTLVaJjVfxF0zrkQQkrRGHM4HH79Tw5VAM5VkImDiLrj8QhbRFJMaNRiNdySznDGGJkZ+PQp3W63Q8v9fr+r8gJwNoCRcP78aAjShvV9D6CTW1dY4GKIWxgD0RtYxIMBgIfLWQAQ9t7rZFAx3HgCeGNFPcTEFrxP6KeAjqdzLnOalsOZtih1b5c01rKv14arqVEumg0sIXgJyq764enIic0LD5emtAGbV5IkIeX5mud1mNahLEO5pHIBgEdi7owTmu5U7jxBH1XvDHN+mjBKHMblkS+3PN/L8hwVXMeL4jCMHfsQl6dMNzuuoAB14+rGxZUryaCDb7/L+piuqLzXylq8PqIWM6cYnOVTfxTvBGvse4PlnU/YHJFuwXtn8dophRB1IfR3SR3WTyEbyRRGmwoUpmocyQXLjIdpG8UYay1tAk9nnXfzc7vtm8I5zMjmWv+qeFlaTOhXblxu9bxCbcUWa4tFn4lYH3YTpLMKKDBo+5AGA8MqtCIAUHb+TCQSSpnSkIc8Oi+giWqqxXjq7sUBm8Cnw2cEoO3fcBPNoICY969PpbQ/rlS7vJvvd24FHwv7yv6Sr9ZfY+rCvFC9s2oFXLWtxzqN8ubkf1H+A2/px5XfdIhWAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"DatabaseMonitoringindexes\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/fec1703be0c6eaf4378dd6448cdc79d9/1e088/DatabaseMonitoringindexes.png\"\n        srcset=\"/iManager_K8S/1014/static/fec1703be0c6eaf4378dd6448cdc79d9/65ed1/DatabaseMonitoringindexes.png 210w,\n/iManager_K8S/1014/static/fec1703be0c6eaf4378dd6448cdc79d9/d10fb/DatabaseMonitoringindexes.png 420w,\n/iManager_K8S/1014/static/fec1703be0c6eaf4378dd6448cdc79d9/1e088/DatabaseMonitoringindexes.png 840w,\n/iManager_K8S/1014/static/fec1703be0c6eaf4378dd6448cdc79d9/78612/DatabaseMonitoringindexes.png 1260w,\n/iManager_K8S/1014/static/fec1703be0c6eaf4378dd6448cdc79d9/7a720/DatabaseMonitoringindexes.png 1649w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>状态：数据库是否连接到服务器，“UP”为连接正常，“DOWN”为连接异常 。</li>\n<li>版本：数据库版本。</li>\n<li>冲突数：数据库中因为冲突修复而取消的查询数量。</li>\n<li>死锁数：数据库中检测到的死锁数量。</li>\n<li>提交数：数据库中提交的事务处理数量。</li>\n<li>回滚数：数据库中回滚的事务处理数量。</li>\n<li>连接数：数据库中同一时间的最大连接数。</li>\n<li>数据变动量：数据库中通过查询改变的行数，可以是fetch、return、insert、update、delete。</li>\n<li>缓存命中率：缓存中已发现的磁盘存储块的次数。</li>\n<li>读写文件耗时：分为后端写入文件块耗时与后端读取文件块耗时。</li>\n<li>临时文件数：数据库因为查询而创建的临时文件数量。</li>\n<li>临时文件大小：数据库中因查询而写入的总数据大小。</li>\n</ul>\n<blockquote>\n<p>注意：<br>\n以上指标为PostgreSQL、Oracle、MongoDB的监控指标。查看MySQL的监控指标详解，请在监控面板中，将鼠标移至左上角感叹号处。</p>\n</blockquote>\n<p>您可对显示指标的面板进行放大或缩小，随意拖拽面板以调整页面布局，还可进行如下操作：</p>\n<ul>\n<li>时间范围：自定义选择时间段查看监控记录。</li>\n<li>自动刷新时间：设置自动刷新监控页面的时间间隔。</li>\n<li>手动刷新：点击刷新按钮对监控页面进行手动刷新。</li>\n<li>保存：对面板进行缩放、拖拽等调整后，可保存当前页面样式。</li>\n<li>版本管理：每次保存的页面样式都会存入iManager中，使用版本管理可选择恢复任意一版页面样式。</li>\n</ul>\n<h3 id=\"exporter监管\"><a href=\"#exporter%E7%9B%91%E7%AE%A1\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Exporter监管</h3>\n<p>每一个数据库在添加时都会自动创建其对应的Exporter，用于数据指标采集。在数据库监控列表中，点击<strong>指标收集器</strong>进入Exporter详情页面，该页面显示了Exporter的容器名称、IP、状态、创建时长以及所在主机。若Exporter出现异常，可一键删除重建，删除过程中服务会中断，直到重建完毕。点击<strong>日志</strong>可进入Exporter日志界面，记载了Exporter运行的过程以及运行状态。</p>\n<p>在页面下方，可查看Exporter的CPU使用率，内存占用量，网络接收速率，网络传输速率，磁盘占用量等实时情况。</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/17d1629d4c3df31dbdb3c610a421879e/573d3/Exportermonitoring.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 101.9047619047619%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACKElEQVQ4y21TWbLaQAycw4Ax9kiaHRtIeFm/cv/zpKWxeU5VVELI8iytbtmllEop3vvz+Xy5XIZhuPxr4ziieL1eiTwTzJtp5nLOrVZEHBFjrKUycy6ZhVtrIYTWbkhEBKulLJ6kb0V0p9NpMMPNPT/tdjY7Fi/jNE/jfB0M4ODmeZ6m6WrW/xEtGUMQ+HUctaL1aZ5xpyc/zyxwB7QhRhZhCXCxuOXYmiqHKDGjToxVoiuZLYr2HFLhmDhmDpljMc/dKSTG/nyTciMJuLLTZcns0HjnED8276ziXSkgLitGvUpvntW8/jyhAweGmftmo/8zId0TEkn3gIKY9Tracb0NLLS1W0KWeGIvcUND/q3Q25yepu0ljTivJ1EPjqXFlLnzxGKdfhoeHDMfj6NtfHQdhCgpIXnfux+0tWM920tWAT3vGLkflhdVpdzpPZN2kHHDTlmod9585dsXvj01qSuVle/fpT348YPbEysxUDvfBltZDXFziduEhOhZ2rLW1rCnSwVUh/aUTmVbccwT2uzdesNv8hIvXxViVLVNvLdUepkLoHd5Aa2sHwrSInDK+o3grz8CzM/f/Pj1nwnD7Rg9DCDn1h2PWkkttnusqFfG/JZVJ2yaDkp5lYp1FqcNeU+MmKxfefWC8W5UFsy5HKSCO3zuup0Dga1YCBDqKuB8edH6QWgEsBX5T8LbXa2unNPvDpKUO8QwnXbHY3uqTvCq0Us4wFb7C6DS2nsdoYtVAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"Exportermonitoring\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/17d1629d4c3df31dbdb3c610a421879e/1e088/Exportermonitoring.png\"\n        srcset=\"/iManager_K8S/1014/static/17d1629d4c3df31dbdb3c610a421879e/65ed1/Exportermonitoring.png 210w,\n/iManager_K8S/1014/static/17d1629d4c3df31dbdb3c610a421879e/d10fb/Exportermonitoring.png 420w,\n/iManager_K8S/1014/static/17d1629d4c3df31dbdb3c610a421879e/1e088/Exportermonitoring.png 840w,\n/iManager_K8S/1014/static/17d1629d4c3df31dbdb3c610a421879e/78612/Exportermonitoring.png 1260w,\n/iManager_K8S/1014/static/17d1629d4c3df31dbdb3c610a421879e/573d3/Exportermonitoring.png 1650w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>","frontmatter":{"title":"教程","next":null,"prev":null},"fields":{"path":"content/tutorial/DatabaseMonitoringManagement.zh.md","slug":"/zh/tutorial/DatabaseMonitoringManagement/","langKey":"zh"}}},"pageContext":{"slug":"/zh/tutorial/DatabaseMonitoringManagement/"}}}