Slow Undo Space Recycling Caused by Many Rollback Transactions
Symptom
The gs_async_rollback_xact_status view shows that there are a large number of transactions to be rolled back, and the number of transactions to be rolled back remains unchanged or keeps increasing.
SELECT * FROM gs_async_rollback_xact_status();
Solution
Increase the number of asynchronous rollback threads in either of the following ways:
Method 1: Configure max_undo_workers in gaussdb.conf and restart the node.
Method 2: Restart the instance using gs_guc reload -Z NODE-TYPE [-N NODE-NAME] [-I INSTANCE-NAME | -D DATADIR] -c max_undo_workers=100.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot