sql-execution-plan
Are parameterized queries automatically cached by ODBC?
I understand that query plans for parametrized queries are cached, but at what level?If I drop my connection does that drop the query pla开发者_开发问答n?If I used a different command object does that[详细]
2023-04-11 18:46 分类:问答MYSQL performance issue concat in select or in where
I used to develop databases under ms-sql, and now I\'ve moved to mysql. Great progress. The problem is that I don\'t have any tool to see graphically the query execution plan...[详细]
2023-04-10 00:06 分类:问答SQLite: Downsides of ANALYZE
Does the ANALYZE command have any downsides (except a开发者_运维问答 slighty larger db)? If not, why is not executed by default?There is another downside. The ANALYZE results may cause the query plann[详细]
2023-04-07 10:00 分类:问答How do I obtain a Query Execution Plan in SQL Server?
In Microsoft SQL Server how can I get a query execution plan for a query开发者_高级运维 / stored procedure?There are a number of methods of obtaining an execution plan, which one to use will depend on[详细]
2023-04-03 13:59 分类:问答How to get Oracle execution plan xml through jdbc
I need to parse execution plans for queries and extract data out of them for my application. While this answer JDBC Oracle - Fetch explain plan for query helped me fetch a text execution plan through[详细]
2023-03-31 19:48 分类:问答SQL: actual number of rows difference [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: How does SQL server work out the 开发者_运维问答estimated number of rows?[详细]
2023-03-30 09:42 分类:问答weird execution plan of a SQL Server query
Context: SQL Server 2008. There are 2 tables to inner join. The fact table, which has 40 million rows, contains the patient key and the medications administered and other facts. There is a unique inde[详细]
2023-03-30 08:55 分类:问答Optional parameters, "index seek" plan
In my SELECT statement i use optional parameters in a way like this: DECLARE @p1 INT = 1 DECLARE @p2 INT = 1[详细]
2023-03-29 12:22 分类:问答Help improving a query. Trying to use EXPLAIN
I have a query that really isn\'t that complicated. Its taking close to 250ms to run, which is pretty slow. I\'ve analyzed the query using EXPLAIN and noticed a seq scan. I have the proper indexes in[详细]
2023-03-29 07:04 分类:问答How is working the "Query cost" in the execution plan?
I am trying to increase one of my request performance. My request is made of 10 different select . The actual production query is taking 36sec to execute.[详细]
2023-03-28 20:39 分类:问答