sql-execution-plan
mysql multi column index not working (as expected)?
I have a table like this CREATE TABLE IF NOT EXISTS `tbl_folder` ( `id` int(11) NOT NULL AUTO_INCREMENT,[详细]
2023-01-30 03:02 分类:问答Why do nested views have a different explain plan than a single merged view?
I have a view V2 that selects from another view V1 and adds a couple predicate filters. V2 IS SELECT * FROM V1[详细]
2023-01-27 23:25 分类:问答MySQL - basic 2 table query slow - where, index?
I have a MySQL 5.0 query regularly taking 14+ seconds, called from a web page, and users are impatient. It\'s fairly simple, selecting 11 columns from 2 tables. I have three questions:[详细]
2023-01-27 17:05 分类:问答Unexpected estimated rows in query execution plan (Sql Server 2000)
if I run this query select user from largetable wh开发者_开发百科ere largetable.user = 1155 (note I\'m querying user just to reduce this to its simplest case)[详细]
2023-01-27 15:38 分类:问答SQL Server Capture Execution Plan
I want to capture execution plan only for long running 开发者_开发技巧query (5 minutes) for this I have used extended event but the plan_handle which is returned by extended events does not produce an[详细]
2023-01-27 07:41 分类:问答Use Hints for views?
I have a view and I want to query my view like that to hint some index from a base table,can I do that?[详细]
2023-01-25 17:05 分类:问答How to see "Actual execution plan" of our query in python?
I have a sql query in python which is pretty slow, it contain some inner join, And some one suggest that in this case we can:turn on the \"Show Actual Execution Plan\" option and then take a close lo[详细]
2023-01-24 19:27 分类:问答Unable to duplicate slow query log rows_examined
I have a query that according to my slow query log it\'s a bit slow.... Query_time: 8.408943Lock_time: 0.000119 Rows_sent: 1Rows_examined: 2911766[详细]
2023-01-24 05:01 分类:问答SQL Server Query is faster in SSMS when including execution plan
In SQL Server 2005 management studio I am testing a query which uses some table variables, one of which has a clustered unique constraint on it.I am noticing that the total execution time actually goe[详细]
2023-01-20 18:34 分类:问答Optimize a query that is using multiple left joins on the same tables
I\'ve come across a query that is taking \"too long\". The query has 50+ left joins between 10 or so tables. To give a brief overview of the database model, the tables joined are tables that store dat[详细]
2023-01-19 18:40 分类:问答