Doing VACUUM to a Table
If a large number of rows were updated or deleted during import, run VACUUM FULL before ANALYZE. A large number of UPDATE and DELETE operations generate huge disk page fragments, which reduces query efficiency. VACUUM FULL can restore disk page fragments and return them to the OS.
- Run the VACUUM FULL statement.
Do VACUUM FULL to the product_info table.
1
openGauss=# VACUUM FULL product_info
VACUUM
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