摘要: 【0】核心参考 sql_exporter使用、采集器源码: https://github.com/free/sql_exporter MSSQL简略仪表盘:https://grafana.com/grafana/dashboards/9336 更多、更高级的sql server采集指标:https: 阅读全文
posted @ 2020-08-20 15:15 郭大侠1 阅读(13157) 评论(3) 推荐(4) 编辑
摘要: 【1】构造临时表的几种办法 【1.1】CTE 我们一般构造临时表,都要用CTE递归(但这比较适合大数据量) 我们要小数据量构造临时表,我以前经常用的是 ;with as temp( select 1 as id1 ,2 as id2 union all select 3 as id1 ,4 as i 阅读全文
posted @ 2020-08-20 14:50 郭大侠1 阅读(921) 评论(0) 推荐(0) 编辑
摘要: 先记录下来,以后再来研究 仪表盘:https://grafana.com/grafana/dashboards/9386/reviews sql server插件:https://github.com/influxdata/telegraf/tree/master/plugins/inputs/sq 阅读全文
posted @ 2020-08-20 14:35 郭大侠1 阅读(511) 评论(0) 推荐(0) 编辑