Viewing 15 posts - 451 through 465 (of 758 total)
GilaMonster (8/17/2012)
No. It should just be the use count of the parameterised query. That's the actual plan.
Ok
Everytime the unparameterized shell query gets executed, the usecount for the parameterized plan doesn't...
August 17, 2012 at 3:04 am
GilaMonster (8/17/2012)
Not that I'm aware of, and no. Prepared are parameterised statements, auto, forced or manually parameterised.
Thanks
To get an accurate count of how many times the parameterized plan was used...
August 17, 2012 at 2:51 am
GilaMonster (8/16/2012)
SQLSACT (8/16/2012)
Shouldn't the usecount for the parameterised plan be 3 because there are 3 queries?Probably. Why don't you investigate and figure out why it's not 3?
Thanks again for you...
August 17, 2012 at 12:07 am
TheSQLGuru (8/16/2012)
SQLSACT (8/8/2012)
I'm struggling to understand why my Index is reporting Range_scans
DDL:
Table:
CREATE TABLE [dbo].[Indexing2](
[Col1] [int] IDENTITY(1,1) NOT NULL,
[Col2] [int] NULL,
[Col3] [int] NULL,
[Col4] [int] NULL
)
Indexes:
CREATE CLUSTERED INDEX [CX] ON [dbo].[Indexing2]...
August 16, 2012 at 8:44 am
GilaMonster (8/16/2012)
SQLSACT (8/16/2012)
Shouldn't the usecount for the parameterised plan be 3 because there are 3 queries?Probably. Why don't you investigate and figure out why it's not 3?
Thanks so much Gail!!
These...
August 16, 2012 at 8:16 am
GilaMonster (8/16/2012)
I strongly suggest you go and read SQL 2008 internals, chapter 9.
Repo:
DBCC FreeProcCache
go
CREATE TABLE t1 (
Col1 INT,
Col2 DATETIME...
August 16, 2012 at 6:31 am
GilaMonster (8/16/2012)
I strongly suggest you go and read SQL 2008 internals, chapter 9.
Repo:
DBCC FreeProcCache
go
CREATE TABLE t1 (
Col1 INT,
Col2 DATETIME...
August 16, 2012 at 4:56 am
GilaMonster (8/16/2012)
-- AND cp.objtype = 'Adhoc'
As I said, you...
August 16, 2012 at 3:06 am
GilaMonster (8/16/2012)
A query complex enough that it doesn't qualify for autoparameterisation (and this is the point where you go to BoL to see what autoparam is)
Will do, thanks
Please help me...
August 16, 2012 at 2:42 am
GilaMonster (8/16/2012)
In that trivial case, if they are submitted in 3 separate batches, there will be one plan (autoparameterised) used 3 times.
Thanks
What would cause SQL Server to generate a seperate...
August 16, 2012 at 2:25 am
GilaMonster (8/16/2012)
SQLSACT (8/15/2012)
August 16, 2012 at 2:11 am
Grant Fritchey (8/15/2012)
August 15, 2012 at 11:56 pm
Grant Fritchey (8/15/2012)
August 15, 2012 at 11:54 pm
GilaMonster (8/15/2012)
Latch waits will be because another process has an incompatible latch already granted (usually, there are other latch waits for other reasons)
Lock waits will be...
August 15, 2012 at 12:40 pm
GilaMonster (8/15/2012)
Lock waits means the process has requested a lock...
August 15, 2012 at 10:55 am
Viewing 15 posts - 451 through 465 (of 758 total)