Viewing 15 posts - 11,986 through 12,000 (of 22,214 total)
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...
August 22, 2011 at 3:25 pm
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...
August 22, 2011 at 12:10 pm
EjSQLme (8/22/2011)
August 22, 2011 at 12:06 pm
Christi Wilson (8/22/2011)
August 22, 2011 at 12:03 pm
EjSQLme (8/22/2011)
Grant Fritchey (8/18/2011)
EjSQLme (8/18/2011)
Grant Fritchey (8/17/2011)
August 22, 2011 at 11:41 am
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....
August 22, 2011 at 11:36 am
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...
August 22, 2011 at 11:20 am
Roy Ernest (8/22/2011)
August 22, 2011 at 10:28 am
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...
August 22, 2011 at 10:26 am
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.
August 22, 2011 at 10:18 am
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...
August 22, 2011 at 10:16 am
Roy Ernest (8/22/2011)
Let us say we have a table with 6 columns...
August 22, 2011 at 10:09 am
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...
August 22, 2011 at 9:53 am
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...
August 22, 2011 at 9:02 am
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...
August 22, 2011 at 8:21 am
Viewing 15 posts - 11,986 through 12,000 (of 22,214 total)