0
SQL QUERIES TAKING LONG TIME TO RESPOND
How can sql queries be simplified to join massive data tables ??
1 Resposta
+ 2
If you post the query here, it will be easier to suggest how to improve it. Consider giving it to your favorite AI for optimization.
Some DB engines have analysis tools that show you how much time is being spent in specific parts of the query.
The issue may be in the DB, not the query. The DB may need to have indices created for foreign keys that the query is using. Or the table definitions might need to be adjusted to correctly match data types and sizes for more optimal storage. For one company I corrected table data types and it reduced a 70 GB database down to 6 GB.



