Database/Query performance optimization
Comments
-
Good morrow, Decisions Support-
Can you provide recommendations on how to optimize the performance of some SQL queries?
We have encountered a query timeout error when running queries against our Decisions database.
Also, thanks to AWS’ RDS Performance Insights tool, I can see the expensive queries that are being run against the Decisions DB.
Based on the DB activity patterns I’m seeing, it looks like we have a that query takes about 5 minutes to return each time it’s run, and I believe this query runs every hour (or possibly more frequently). During this period, CPU utilization spikes, as do read and write IOPS.
For your reference, the table currently has 3.6 million rows in it and occupies 7 GB of space (1.3GB of which is consumed by existing indexes).
Would generating a new index or rebuilding an existing one offer any improvements here?
Thanks
-
Hello,
You could try using the database engine tuning advisor thats built into smss:
https://docs.microsoft.com/en-us/sql/relational-databases/performance/start-and-use-the-database-engine-tuning-advisor?view=sql-server-2017
This will identify any performance bottlenecks in your queries and indexes!
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 491 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions