Help Center/ GaussDB/ Developer Guide(Centralized_8.x)/ FAQ/ Can I query the GaussDB memory usage through SQL statements?
Updated on 2024-06-03 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.

gaussdb=#SELECT * FROM pg_shared_memory_detail;