Forum Replies Created

Viewing 15 posts - 331 through 345 (of 758 total)

  • RE: Subquery

    GilaMonster (11/12/2012)


    SQLSACT (11/12/2012)


    When using in adding a correlation predicate is redundant?

    Written correctly, just about all the time. Please read that blog post and maybe BoL on how the IN function...

  • RE: Subquery

    GilaMonster (11/12/2012)


    Well, those aren't written correctly. The correct form would be

    --1

    select T1.Col1 from T1

    where exists

    (select * from T2 where T2.Col1 = T1.Col1)

    --2

    select T1.Col1 from T1

    where T1.Col1 ...

  • RE: Subquery

    Sean Lange (11/9/2012)


    I would write that query a little differently. I would instead write it as

    select t1.Col1

    from Tbl1 t1

    join Tbl2 t2 on t1.Col1 = t2.Col2

    where t1.Col1 = '52'

    That to...

  • RE: Buffer Pool

    GilaMonster (11/9/2012)


    SQLSACT (11/9/2012)


    I'm trying to understand what happens to clean pages in the buffer pool (when a select statement brings pages into the buffer pool).

    What happens to the pages once...

  • RE: Buffer Pool

    capnhector (11/9/2012)


    SQLSACT (11/9/2012)


    GilaMonster (11/9/2012)


    SQLSACT (11/9/2012)


    I'm trying to understand what happens to clean pages in the buffer pool (when a select statement brings pages into the buffer pool).

    What happens to the...

  • RE: Subquery

    Roland Alexander STL (11/9/2012)


    Maybe, maybe not. Depends on many factors such as indexing, clustering, number of rows in the tables, etc. Check the execution plan to see what's getting processed...

  • RE: Buffer Pool

    GilaMonster (11/9/2012)


    SQLSACT (11/9/2012)


    I'm trying to understand what happens to clean pages in the buffer pool (when a select statement brings pages into the buffer pool).

    What happens to the pages once...

  • RE: Buffer Pool

    Joie Andrew (11/9/2012)


    Once a dirty page has been written to disk it is either kept in the buffer pool for further access or it is returned to the free buffer...

  • RE: Buffer Pool

    Bhuvnesh (11/9/2012)


    SQLSACT (11/9/2012)


    I'm trying to understand the behaviour of clean pages in the buffer pool

    see this

    "Dirty" pages are pages where data has been changed but has not yet...

  • RE: Buffer Pool

    Thanks

    Those articles deal with Dirty pages in the buffer pool

    I'm trying to understand the behaviour of clean pages in the buffer pool

    Thanks

  • RE: Understanding Memory Clerks

    George M Parker (11/7/2012)


    Thanks for this

    Do you know of a way to check if my an instance is experiecing a plan cache bloat? What I mean is, how can I...

  • RE: Understanding Memory Clerks

    George M Parker (11/7/2012)


    Check out the following: http://www.sqlservercentral.com/Forums/Topic1340744-391-1.aspx

    If you order by Virtual_memory_committed_kb, you should see MEMORYCLERK_SQLBUFFERPOOL as the largest consumer of memory.

    select * FROM sys.dm_os_memory_clerks

    order by Virtual_memory_committed_kb desc

    I'm still trying...

  • RE: Understanding Memory Clerks

    George M Parker (11/7/2012)


    SQLSACT (11/7/2012)


    kylesway (11/7/2012)


    CACHESTORE_SQLCP

    These are cached SQL statements or batches that aren't in stored procedures, functions and triggers. This includes any dynamic SQL or raw SELECT...

  • RE: Understanding Memory Clerks

    kylesway (11/7/2012)


    CACHESTORE_SQLCP

    These are cached SQL statements or batches that aren't in stored procedures, functions and triggers. This includes any dynamic SQL or raw SELECT statements sent to the...

  • RE: Blocked Queries

    GilaMonster (11/6/2012)


    Yup. There are plenty of waits other than lock waits

    Thanks

Viewing 15 posts - 331 through 345 (of 758 total)