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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions