sql-execution-plan
How to capture actual execution plan in a deadlock graph?
Is there any o开发者_JAVA技巧ption or any setting by which SQL Server can dump the actual execution plan (at that instance) for stored procs involved in a deadlock?[详细]
2023-03-28 08:56 分类:问答Why does SQL Server use a non-clustered index over the clustered PK in a "select *" operation?
I\'ve got a very simple table which stores Titles for people (\"Mr\", \"Mrs\", etc). Here\'s a brief version of what I\'m doing (using a temporary table in this example, but the results are the same):[详细]
2023-03-25 08:57 分类:问答SQl Server 2000 Execution: Statistics Missing
I have a sitauation in production where a procedure is taking different time in two different envionments, when I trie开发者_运维百科d to run the execution plan some stastics are missing. When I click[详细]
2023-03-23 17:17 分类:问答Strange problem with SQL Server procedure execution plan
I was wondering if you guys could help me get to the bottom of a weird problem I have recently had on SQL Server.[详细]
2023-03-23 03:24 分类:问答Why does putting a WHERE clause outside view have terrible performance
Let\'s say you have a view: CREATE VIEW dbo.v_SomeJoinedTables AS SELECT a.date, a.Col1, b.Col2, DENSE_RANK开发者_运维百科()[详细]
2023-03-19 05:34 分类:问答Do Virtualized systems effect Explain Plans?
I\'m having strange and different results for explain plans on Postgresql. Postgresql server is installed on a VMWare machine and when execu开发者_如何学JAVAting several explain plans for a given SQL[详细]
2023-03-19 02:13 分类:问答Non-negligible execution plan difference with Oracle when using jdbc Timestamp or Date
I\'m analysing Oracle execution plans and fo开发者_运维百科und an astonishing fact. Check out this query. The hint is just to display that I have an index and I\'d expect Oracle to use it for range sc[详细]
2023-03-17 19:42 分类:问答What does "Using sort_union" mean?
(Not sure is this has been discussed before ...) When building SQL for category example category data: ID | NAME[详细]
2023-03-15 06:38 分类:问答SQL select field causing major performance problem
I have a stored procedure that joins in numerous tables and selects fields from them. One of the tables being a temporary table.[详细]
2023-03-14 20:20 分类:问答stored procedure optimized execution plan?
If you have multiple if conditions in a stored procedure, I\'m guessing the execution plan is going to be less optimized so is the latter below better?[详细]
2023-03-09 08:58 分类:问答