File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export class PgStacDatabase extends Construct {
86
86
87
87
return {
88
88
maxConnections : `${ maxConnections } ` ,
89
- sharedBuffers : `${ sharedBuffers / 8 } ` ,
89
+ sharedBuffers : `${ sharedBuffers / 8 } ` , // Represented in 8kb blocks
90
90
effectiveCacheSize : `${ effectiveCacheSize } ` ,
91
91
workMem : `${ workMem } ` ,
92
92
maintenanceWorkMem : `${ maintenanceWorkMem } ` ,
@@ -112,9 +112,9 @@ export interface DatabaseParameters {
112
112
readonly maxConnections : string ;
113
113
114
114
/**
115
- * Note, should be represented in units of 8KB
116
- *
117
- * @default - 25% of instance memory
115
+ * Note: This value is measured in 8KB blocks.
116
+ *
117
+ * @default '{DBInstanceClassMemory/32768}' 25% of instance memory, ie `{(DBInstanceClassMemory/(1024*8)) * 0.25}`
118
118
*/
119
119
readonly sharedBuffers : string ;
120
120
You can’t perform that action at this time.
0 commit comments