Forum Replies Created

Viewing 15 posts - 11,896 through 11,910 (of 22,214 total)

  • RE: New plan is created for every execution of stored procedure (query plan not reused)

    Temporary tables will cause the recompile. If the amount of data you're working with is small, say less than 200 rows, you could switch to table variables. These will not...

  • RE: table Reindexing taking too long

    It's not a very big table. Is there lots of contention? Other processes accessing it while you're attempting to defrag? That would explain the slow down.

  • RE: Query doing most IO and longest elapsed time

    You can't get zero i/o, ever. You have to have some i/o or you're neither querying or returning any data. So that goal is right out the window.

    As far as...

  • RE: Query optimization

    There's not enough information here to give you good info. First, the database tuning adviser is a pile of steaming brown stuff. It's recommendations are frequently useless and sometimes dangerous....

  • RE: Query optimization

    forsqlserver (9/5/2011)


    Just to be included in the answers

    You don't have to do that. If you go to the top right of the page with the question on it and click...

  • RE: Netbackup backup duration for full and incremental

    Backups are largely an I/O operation. How fast are your disks? Are you backing up over the network? Are there contentions on the system? Can you put multiple disks to...

  • RE: Backup taking more time than usual

    beejug1983 (9/5/2011)


    Only backup job is running at scheduled time.

    There has to be something else going on. Has to. SQL Server doesn't just randomly decide to slow down. Are you backing...

  • RE: Clustered or non Clustered index??

    GilaMonster (9/4/2011)


    Grant Fritchey (9/4/2011)


    The only deviation I would make on the clustered index over what Gail says is to look for the most frequently accessed path to the data. Usually,...

  • RE: sql server 2008 sp2- slowness

    The question is, what is causing it? What are your queries doing and what is your structure such that you're getting excessive writes? Could something have changed between RTM &...

  • RE: SQL Server 2008 Standard and creating a trace file

    And having Enterprise wouldn't change the fact that you need to adjust the trace events to collect only the information you need. Nothing magic there.

  • RE: Row versioning

    What do you mean by row versioning? Do you mean the data type rowversion? It's meant as a mechanism for concurrency, to determine if someone has modified a record that...

  • RE: Query degradation

    I'm assuming that Common.dbo.AuthorizedDepartments is a table valued function, right? Is it a multi-statement table valued function? If so, that's the problem right there. Based on what you're saying about...

  • RE: Clustered or non Clustered index??

    The only deviation I would make on the clustered index over what Gail says is to look for the most frequently accessed path to the data. Usually, it's the primary...

  • RE: Storing old and new values table structure

    falcon00 (9/2/2011)


    Grant Fritchey (9/2/2011)


    So when do you need the old value again? I don't completely understand.

    🙂

    NEVER!!!

    I know I know, that's what I said.

    All they want is just to send...

  • RE: Performance Problem that I can't pin down

    GilaMonster (9/2/2011)


    Grant Fritchey (9/2/2011)


    I was just reading about monitoring latch waits over on Paul Randal's blog. He suggested this white paper to understand what's happening with latch waits..

    There seems to...

Viewing 15 posts - 11,896 through 11,910 (of 22,214 total)