Forum Replies Created

Viewing 15 posts - 14,686 through 14,700 (of 49,552 total)

  • RE: Trying to understand non-clustered index Fragmentation

    How many pages does the nonclustered index have?

  • RE: Scheduled Stored Procedure, what Database ?

    homebrew01 (1/22/2013)


    GilaMonster (1/22/2013)


    In the job step dialog, right above where the command is, is a database dropdown.

    Yes, but that is blank. I would think you need the dropdown populated, or...

  • RE: SQL Deadlocks

    bugg (1/22/2013)


    GilaMonster (1/22/2013)


    bugg (1/22/2013)


    GilaMonster (1/22/2013)


    bugg (1/22/2013)


    Any insight into dealing with deadlocks would be greatly appreciated.

    In general:

    Optimise the queries. If that doesn't fix the problem use one of the row versioning-based...

  • RE: SQL Deadlocks

    bugg (1/22/2013)


    GilaMonster (1/22/2013)


    bugg (1/22/2013)


    Any insight into dealing with deadlocks would be greatly appreciated.

    In general:

    Optimise the queries. If that doesn't fix the problem use one of the row versioning-based isolation levels

    Thanks...

  • RE: SQL Deadlocks

    bugg (1/22/2013)


    anthony.green (1/22/2013)


    Do you have traceflag 1222 enabled?

    If so can you post the deadlock graph from the error log

    If not run

    DBCC TRACEON (1222, -1)

    and then post the graphs once a...

  • RE: SQL Deadlocks

    bugg (1/22/2013)


    Any insight into dealing with deadlocks would be greatly appreciated.

    In general:

    Optimise the queries. If that doesn't fix the problem use one of the row versioning-based isolation levels

  • RE: Scheduled Stored Procedure, what Database ?

    In the job step dialog, right above where the command is, is a database dropdown.

  • RE: Lock Pages in Memory setting for 64-bit systems

    surilds (1/22/2013)


    Results after executing DMV "sys.dm_os_process_memory"

    physical_memory_in_use_kb = 93631444 KB

    locked_page_allocations_kb = 92303888 KB

    Does it mean 92303888 KB is locked for OS?

    No. That DMV measure's SQL's memory usage.

  • RE: Lock Pages in Memory setting for 64-bit systems

    surilds (1/22/2013)


    The counter's graph is near to 100%

    Total server memory is not measured in %, it's measured in KB

  • RE: Lock Pages in Memory setting for 64-bit systems

    Total server memory. It's a SQL counter.

  • RE: PLE (Page life expectancy).

    ben.brugman (1/22/2013)


    CheckDB effectively destroys the cache. (Why?).

    Because it reads every single allocated page in the database and, like all other operations, reads them through the buffer pool. Unless you happen...

  • RE: Lock Pages in Memory setting for 64-bit systems

    Don't use Task Manager to check SQL's memory usage. It can report a completely incorrect figure. Use perfmon.

  • RE: SCAN count + OR Strategy

    karthik M (1/22/2013)


    #1)

    Logical Read : 20

    #2)

    Logical Read:2

    which one is better? Less Logical Read. But it uses "Table Scan". Again I think as the table record is very less, it...

  • RE: Detect missing indexes

    You don't create indexes just based on that. The missing index DMV are suggestions, nothing more. Create an index on a test server, run a representative load, see if the...

  • RE: SCAN count + OR Strategy

    karthik M (1/21/2013)


    All,

    I found some wierd thing today when i ran the below two

    version of queries.

    select * from sub_fund

    where sub_fund_id in (1,2,3,4,5,6,7,8,9,10)

    scan count = 10

    select * from sub_fund

    where sub_fund_id in...

Viewing 15 posts - 14,686 through 14,700 (of 49,552 total)