-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
- Provision with 4vcpu and 8GB of RAM
- Measure the following settings AND actual allocation after "tuning" has been applied against the soft limit, but BEFORE any workloads: shared buffers, WAL buffers, work memory, maint. work memory, temp buffers, other (backend memory)
- Apply now workload step by step in constant increments, but adding one session after another. each session runs constant load in a loop:
create some table, insert fields, perform query, delete table. - Repeat 3. for multiple times, after each step, measure (2.) again AS WELL AS vcpu allocation
- now do the opposite: remove one session at a time, measure (2.) again AS WELL AS vcpu allocation
- now resize to 8vcpu and 16GB or RAM
- check 2. again (vcpu should idle, but how much ram is consumed after resize particularly for shared buffers?)
- now we prepare for and run a very complex query, which in theory can use a lot of ram, if running optimally
- measure 2. during query and after query (15 seconds after, 2 minutes after)
If the vcpu or ram does not come back at any step, we need to interrupt the tests and analyse the issue.
Reactions are currently unavailable