mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
PG-150: Logging CMD Type like SELECT, UPDATE, INSERT, DELETE.
This commit is contained in:
@@ -132,7 +132,7 @@ hash_memsize(void)
|
||||
Size size;
|
||||
|
||||
size = MAXALIGN(sizeof(pgssSharedState));
|
||||
size = MAXALIGN(MAX_QUERY_BUF);
|
||||
size += MAXALIGN(MAX_QUERY_BUF);
|
||||
size = add_size(size, hash_estimate_size(MAX_BUCKET_ENTRIES, sizeof(pgssEntry)));
|
||||
size = add_size(size, hash_estimate_size(500000, sizeof(pgssQueryEntry)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user