-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Fix history_log tables after pg_partman bug #11
Comments
Hello @mjtrangoni , I have not experienced this issue before. Setting From your From the warning message it appears you are dropping a partition table that falls within the retention period. Why is that? Are you running out of disk space? Also can you answer the following questions:
If you provide me more information around your setup I can see if I can reproduce it, otherwise I suggest submitting a bug request to the developer of the plugin if you indeed have found an issue. Thanks & Best Regards, |
Hi @Doctorbal, Thanks for your quick response.
I am not running out of space,
About the other questions,
I started here with CentOS7.6 and pg_partman11-4.1.x, so that is why I think I ran on this bug. On the other 10x bigger instance that I have with a similar setup, it does not happens! My question now is, how should I fix this so that it works partitioned again? Can I simply drop Thanks for your support! BTW, should your recipe also work with PSQL12 out-of-the-box? If yes, I can give it a try. Best Regards, Mario |
I believe you did run into this bug, as the release notes for pg_partman version 4.2 addresses the following fix:
You postgres version is fine; same with pg_partman 4.3.0. I use that version with no problems. That is the latest supported version for apt packages. The developer has version 4.3.1 with following CHANGELOG. There is no need to upgrade to the minor version unless needed. How should you fix
|
Hi @Doctorbal, Sorry for the delay. After analyzing the pro and const, I decided moving to CentOS8.x, PSQL12.x, and Zabbix5.0. See my other issue #13 on this topic. And I am also cautious on TimescaleDB, and don't trust it for the moment. |
Thank you for the update and a good decision; please test extensively first before migrating production. In the Zabbix Webinars I attended recently they mentioned that TimescaleDB, although very promising with performance, is still experimental! Thus I wouldn't suggest to use it unless you have paid Zabbix support. I will go ahead and close this issue. Feel free to re-open it if you need more information. Thanks & Best Regards, |
Hi @Doctorbal,
I realized today, that I was facing this bug only on one Zabbix instance.
And every time the partition maintenance is running on history_log I get this error,
Do you have any clue on how should I fix this correctly? Should I set the infinite_time_partitions to true?
See,
Thanks!
The text was updated successfully, but these errors were encountered: