Forum Replies Created

Viewing 15 posts - 11,986 through 12,000 (of 22,214 total)

  • RE: Bad performance of a query

    I'd say that it's the XML that's killing you. Passing XML into a query is fine, but you should load it into temp tables as soon as possible. Constantly querying...

  • RE: Execution Plans: Key Lookup = Add Index

    I don't know that I'd say that's always right, but yeah, that can be a great solution. Add the columns the the INCLUDE list of the index that was part...

  • RE: The Mystery of Transaction Log Size Growth???

    EjSQLme (8/22/2011)


    So, is it normal for a t-log to be over 10GB even though you are doing a t-log backup? If so, is there a way to manage the...

  • RE: Back in the saddle

    Christi Wilson (8/22/2011)


    Okay, I have been getting my ducks in a row to get this started. Only thing I need is a domain name and I cannot think of one....

  • RE: The Mystery of Transaction Log Size Growth???

    EjSQLme (8/22/2011)


    Grant Fritchey (8/18/2011)


    EjSQLme (8/18/2011)


    Grant Fritchey (8/17/2011)


    The size of the transaction log is usually reflective of the size of the transactions. Have you tried monitoring the freespace in the tran...

  • RE: Composite key Vs Surrogate key

    Loner (8/22/2011)


    I want to return all columnB.

    Then I don't think columnb needs to be in the index at all. Since it's a clustered index, columnb is stored at the leaf....

  • RE: Bad performance of a query

    Indexed views are really only good if you have reasonably unvolatile data. If your data is being updated constantly then the indexed view is going to hurt more than it...

  • RE: deleting autocreated statistics?

    Roy Ernest (8/22/2011)


    Yes, the existence of the stats for that column interferes with the selection of the index by the optimizer. I was banging my head with this issue one...

  • RE: Need advise on backup huge monster DB

    Yuri55 (8/22/2011)


    Just to share my experience with 4.5 TB database backup -

    use Red Gate Sql Backup 5, compression- 2, backup locally first then move to remote storage

    And does...

  • RE: tricky query

    Assuming the plan is absolutely identical, then it sounds like resource contention or blocking. No way to know anything though based on the information supplied. These are just guesses.

  • RE: Composite key Vs Surrogate key

    It really depends on the queries. Are they getting seeks on the index or not? Also, you said primary key, but is it the clustered index? How the cluster is...

  • RE: deleting autocreated statistics?

    Roy Ernest (8/22/2011)


    There is one problem with Autocreated statistics. It is rare but can happen and has happened in our environment.

    Let us say we have a table with 6 columns...

  • RE: deleting autocreated statistics?

    Ninja's_RGR'us (8/22/2011)


    The real problem is the join hint.

    I've never heard of <auto>-update stats causing problems. I'm not saying it's impossible, but on the very improbable side.

    I have heard of...

  • RE: deleting autocreated statistics?

    Statistics are very small. By & large they won't get in the way and usually help. Unless you're seeing an issue, I wouldn't mess with it.

    That said, sure, you can...

  • RE: Bad performance of a query

    Yeah, I'd need to see the execution plan.

    The fact that there is no WHERE clause is concerning. Queries that don't filter the data frequently lead to scans and there's little...

Viewing 15 posts - 11,986 through 12,000 (of 22,214 total)