文件名称:pg_profile:Postgres历史工作量报告
文件大小:193KB
文件格式:ZIP
更新时间:2024-05-21 03:49:17
HTML
pg_profile PostgreSQL此扩展可帮助您查找PostgreSQL数据库中最耗费资源的活动。 概念 该扩展基于PostgreSQL统计视图以及contrib扩展pg_stat_statements和pg_stat_kcache 。 它是用纯pl / pgsql编写的,不需要任何外部库或软件,但是PostgreSQL数据库本身和执行定期任务的类似cron的工具。 最初在PostgreSQL 9.6扩展上开发和测试的版本可能与早期版本不兼容。 此扩展将在您的数据库中创建历史存储库。 该存储库将保存您的postgres集群的统计信息“样本”。 通过调用take_sample()函数获取样本。 PostgreSQL没有任何类似于工作的引擎,因此您需要使用cron 。 定期抽样可以帮助您找到过去最耗费资源的活动。 假设您在几个小时前被报告性能下降。 解决此问题后,您可以在两个限制
【文件预览】:
pg_profile-master
----migration()
--------migration--0.1.1--0.1.2.sql(26KB)
--------drop_functions.sql(569B)
--------migration--0.3.1--0.3.2.sql(17KB)
--------migration--0.1--0.2.sql(786B)
--------migration--0.2--0.3.sql(15KB)
--------Makefile(855B)
----expected()
--------server_management.out(4KB)
--------create_extension.out(251B)
--------kcache_create_extension.out(334B)
--------retention_and_baselines.out(3KB)
--------drop_extension.out(300B)
--------kcache_stat_avail.out(170B)
--------export_import.out(2KB)
--------kcache_drop_extension.out(331B)
--------samples_and_reports.out(5KB)
----data()
--------import_queries.sql(60KB)
----sample()
--------sample.sql(100KB)
--------sample_pg_stat_statements.sql(37KB)
--------compat.sql(415B)
----schema()
--------schema.sql(32KB)
--------views.sql(1002B)
----management()
--------export.sql(15KB)
--------internal.sql(3KB)
--------server.sql(7KB)
--------baseline.sql(5KB)
----control.tpl(199B)
----LICENSE(1021B)
----sql()
--------server_management.sql(1KB)
--------retention_and_baselines.sql(2KB)
--------kcache_create_extension.sql(334B)
--------samples_and_reports.sql(4KB)
--------create_extension.sql(251B)
--------drop_extension.sql(250B)
--------kcache_drop_extension.sql(281B)
--------kcache_stat_avail.sql(102B)
--------export_import.sql(2KB)
----report()
--------functions()
--------report.sql(29KB)
--------reportdiff.sql(34KB)
----report_examples()
--------pg13_diff.html(486KB)
--------pg13.html(230KB)
----doc()
--------pg_profile.md(65KB)
----CHANGELOG.md(5KB)
----Makefile(3KB)
----README.md(6KB)