在hammerDB中对postgresql进行基准测试
我正在尝试在hammerdb 中对postgresql 进行基准测试,出现以下错误:
Vuser 1:Checkpoint and Vacuum
Error in Virtual User 1: ERROR: must be superuser to do CHECKPOINT
Vuser 1:FINISHED FAILED
Vuser 13:FINISHED SUCCESS
Vuser 18:FINISHED SUCCESS
Vuser 8:FINISHED SUCCESS
Vuser 5:FINISHED SUCCESS
Vuser 21:FINISHED SUCCESS
Vuser 9:FINISHED SUCCESS
Vuser 16:FINISHED SUCCESS
Vuser 20:FINISHED SUCCESS
Vuser 6:FINISHED SUCCESS
Vuser 14:FINISHED SUCCESS
Vuser 19:FINISHED SUCCESS
Vuser 11:FINISHED SUCCESS
Vuser 15:FINISHED SUCCESS
Vuser 17:FINISHED SUCCESS
Vuser 7:FINISHED SUCCESS
Vuser 3:FINISHED SUCCESS
Vuser 10:FINISHED SUCCESS
Vuser 12:FINISHED SUCCESS
Vuser 2:FINISHED SUCCESS
Vuser 4:FINISHED SUCCESS
ALL VIRTUAL USERS COMPLETE
runtimer returned after 416 seconds
vudestroy success
TEST SEQUENCE COMPLETE
任何解决此问题的建议以及将哪个用户映射为超级用户。
I'm trying to benchmark postgresql in hammerdb getting below error:
Vuser 1:Checkpoint and Vacuum
Error in Virtual User 1: ERROR: must be superuser to do CHECKPOINT
Vuser 1:FINISHED FAILED
Vuser 13:FINISHED SUCCESS
Vuser 18:FINISHED SUCCESS
Vuser 8:FINISHED SUCCESS
Vuser 5:FINISHED SUCCESS
Vuser 21:FINISHED SUCCESS
Vuser 9:FINISHED SUCCESS
Vuser 16:FINISHED SUCCESS
Vuser 20:FINISHED SUCCESS
Vuser 6:FINISHED SUCCESS
Vuser 14:FINISHED SUCCESS
Vuser 19:FINISHED SUCCESS
Vuser 11:FINISHED SUCCESS
Vuser 15:FINISHED SUCCESS
Vuser 17:FINISHED SUCCESS
Vuser 7:FINISHED SUCCESS
Vuser 3:FINISHED SUCCESS
Vuser 10:FINISHED SUCCESS
Vuser 12:FINISHED SUCCESS
Vuser 2:FINISHED SUCCESS
Vuser 4:FINISHED SUCCESS
ALL VIRTUAL USERS COMPLETE
runtimer returned after 416 seconds
vudestroy success
TEST SEQUENCE COMPLETE
Any suggestion to fix this issue and which user to be mapped as super user.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用以下命令禁用 HammerDB 在测试结束时调用检查点和真空:
如果在 PostgreSQL 上运行长时间运行或多个测试,建议启用 Autovacuum 以确保在测试期间持续进行真空处理,以防止膨胀。启用自动清理后,无需手动执行此操作。
You can disable HammerDB from calling checkpoint and vacuum at the end of a test with the following command:
If running long running or multiple tests on PostgreSQL it is recommended to enable Autovacuum to ensure that vacuuming is ongoing during tests to prevent bloat. When autovacuum is enabled it is not necessary to do so manually.