Viewing 15 posts - 511 through 525 (of 14,953 total)
Most likely, what you need to see is what DML commands are being run at the time the database grows. To do that, you can either run a trace,...
November 19, 2012 at 10:41 am
WayneS (11/18/2012)
Steve Jones - SSC Editor (11/18/2012)
Leaving for a week in the mountains. Y'all behave.No can do. We're wired against that.
He said "behave", he didn't say how to behave ...
November 19, 2012 at 9:56 am
Actually, you can, but indirectly. Put an "Instead of Update" trigger on the view, and have the trigger parse out the update into the three tables.
Warning, this can cause...
November 16, 2012 at 12:34 pm
david.ashby (11/16/2012)
November 16, 2012 at 12:32 pm
Total cost of storage is a complex evaluation. Trying to calculate return-on-investment with it is virtually impossible, too. Far too many variables.
Despite that, I know what the dollar...
November 16, 2012 at 11:49 am
I'm going to suggest taking each of the subqueries, from the inside first, and turning it into a temp table, then using the final temp table in the final query.
The...
November 16, 2012 at 11:45 am
Index defragmentation shouldn't cause a performance degradation, but it won't necessarily speed things up either. It depends on how the index is being used.
Single-row seeks, for example, aren't significantly...
November 16, 2012 at 10:50 am
Jeff Moden (11/16/2012)
Great explanation and write-up. Thanks for takinng the time.
The idea of storing XML is definitely a good one for this type of thing. Since I haven't...
November 16, 2012 at 8:15 am
EAV vs XML is a complex subject. I prefer XML because it can be treated as an atomic item in a single row of a table.
Here's an example of...
November 16, 2012 at 8:00 am
Since I was out a few days, I missed this article till today.
Interesting methodology.
Testing it on my workstation, I got 45 seconds for a million-row hierarchy, 30 nodes deep.
On 10k...
November 15, 2012 at 1:59 pm
Because I use custom maintenance scripts, I maintain a log of "actions done per database". Rebuild some indexes? Log it. Run a backup? Log it. ...
November 12, 2012 at 8:03 am
Yeah. SSIS has some serious holes in it, especially when it comes to forcing specific formats on data that doesn't match the collation of the server. It's like...
November 12, 2012 at 7:58 am
What you have there is a spreadsheet, not a database table. Rows in a database table don't have a sequence to them, so there's no way for the database...
November 12, 2012 at 7:51 am
Count() just gets the number of rows, by default.
Here's a sample of how it works. Run this in a test environment so you can see what I'm talking about:
IF...
November 12, 2012 at 7:46 am
You might try "count (distinct a.id)" and see if that does what you need. That will count distinct values, instead of total rows.
But it's normal for a join from...
November 12, 2012 at 7:19 am
Viewing 15 posts - 511 through 525 (of 14,953 total)