Help Center/ GaussDB/ Developer Guide(Distributed_V2.0-8.x)/ FAQs/ Can I query the GaussDB memory usage through SQL statements?
Updated on 2025-08-19 GMT+08:00
Can I query the GaussDB memory usage through SQL statements?
Answer: You can query the context name, level, total size, and available size of the shared memory in the pg_shared_memory_detail view.
Example:
gaussdb=# SELECT * FROM pg_shared_memory_detail; Parent topic: FAQs
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.