Grace Lu
05/05/2022, 5:59 PMMayank
- Do you have local disk vs remote/EBS?
- Are those SSD vs HDD?
- What's the total RAM and what's your xms/xmx?
- Is the query triggering a ton of random reads? This can sometimes be avoided by picking the right sorted index.
Grace Lu
05/05/2022, 9:44 PMMayank
Mayank
Mayank
Grace Lu
05/06/2022, 2:48 AMMayank
where userId = xxx
that would be a good one. Sorting will improve locality and hence reduce random seeks.Grace Lu
05/06/2022, 2:57 AM