Postgres的高CPU记忆使用
我有一个EC2实例运行PostgreSQL-13,其中一个数据库并不大,我认为
SELECT pg_size_pretty(pg_database_size('postgres')) -> 136 MB
我昨天插入了大约500K行,现在由于流程所示,由于Autovacuume,我对CPU和内存的使用率很高。
- 我试图杀死该过程,但它仍然再次显示,
- 我将Autovacuum属性更改为在配置中,但仍然出现(我知道这是不好的练习,但我正在测试)。
任何想法是正常的还是有解决方案。
I have an EC2 instance running Postgresql-13 with one database that isn't large i think
SELECT pg_size_pretty(pg_database_size('postgres')) -> 136 MB
I inserted about 500k rows yesterday and now i've a very high usage on cpu and memory due to autovacuume as the processes shows.
- I tried to kill the process but it still shows again
- I changed the autovacuum property to off in the config and still appears (i know that is bad practice but I was testing).
Any idea if that's normal or if there is a solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论