sql-execution-plan
SQL Queries, execution plans and "Parallelism"
So I\'m (still) going through some slow legacy sql views used to do calculate some averages and standarddeviations on a (sometimes) large set of data. What I end up with are views joining views joinin[详细]
2023-01-19 05:01 分类:问答query plan shows cost of 54% for an insert when no rows actually involved
In one of my queries there\'s an inse开发者_JAVA百科rt of data into a temp table. Looking at the query plan, it shows the the actual insert into temp table took 54% (just inserting data into temp tabl[详细]
2023-01-16 06:19 分类:问答How to store query execution plan so that they can be used later
My applications runs queries against a sql server database. In many cases I can see the benefit of an execution plan: for example I click for the first time on a buttonto[详细]
2023-01-14 11:21 分类:问答Is there a way to force MySQL execution order?
I know I can change the way MySQL executes a query by using the FORCE INDEX (abc) keyword. But is there a way to change the execution order?[详细]
2023-01-11 15:12 分类:问答SQL Developer explain plan broken
Trying to generate an explain plan in SQL Developer, the program puts up a message box 开发者_StackOverflow社区with title \"failed to query plan_table\" complaining \"invalid column name\". The plan i[详细]
2023-01-11 00:43 分类:问答Postgres EXPLAIN ANALYZE is much faster than running the query normally
I\'m trying to optimise a PostgreSQL 8.4 query. After greatly simplifying the original query, trying to figure out what\'s making it choose a bad query plan, I got to the point where runni开发者_Pytho[详细]
2023-01-10 05:43 分类:问答Should creating an index instantly update Oracle's query plan?
If you have an inefficient query, and you add an index to help out performance, should the query \"instantly\" start using th开发者_开发百科e index?[详细]
2023-01-08 23:30 分类:问答explain command usage
i ran the explain command on my main table in mysql.it showed like idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra[详细]
2023-01-08 06:20 分类:问答Query cost relative to batch is 100%
I\'m not sure sure how to interpret this, but all the queries I run in sql server 2005 have a \"query co开发者_Python百科st (relative to batch)\" of 100%. Is there any way to reduce the cost?If your b[详细]
2023-01-06 10:45 分类:问答SQL Server 2008 execution plan question
I have a question addressed to sql guru. There are two tables with almost identical structure. Based on parameter passed into the stored procedure I need to collect data from one or another table.[详细]
2023-01-06 06:17 分类:问答