Viewing 15 posts - 4,066 through 4,080 (of 7,191 total)
Well, the clustered index is the data, so I think you're looking at the larger number. Index_size only includes, I believe, the non-clustered indexes (as well as XML, spatial...
April 29, 2013 at 9:10 am
Don't know. Where did that data come from?
John
April 29, 2013 at 8:31 am
In that case, I'm not sure why your transaction log should grow to nearly three times the total size of your indexes. Does that 60GB include the clustered indexes?...
April 29, 2013 at 7:52 am
Jason
You're only running one ALTER INDEX statement at a time, so it doesn't make any difference whether you use an explicit transaction or not. I think what Lynn was...
April 29, 2013 at 7:41 am
If it's a simple while loop, they'll execute serially anyway and therefore putting a delay between them won't have much effect. Are you sure you're using option 3 that...
April 29, 2013 at 7:30 am
Maybe you've got an uncommitted transaction or something like that. How much free space is there in the log file after the index maintenance has finished and the log...
April 29, 2013 at 6:24 am
Once the rebuild of any index has used up space in your transaction log, that space won't be freed up again until the transaction log is backed up. You...
April 29, 2013 at 6:02 am
Is your database in Full recovery mode, and if so, how often do you back up the transaction log?
John
April 29, 2013 at 5:44 am
You're doubling up your quotes. If you avoid doing that, it should solve your problem. If you're working in Management Studio, everything enclosed in quotes should be coloured...
April 29, 2013 at 5:42 am
Who told you to do that? Please will you post the CREATE TABLE statement for Table A?
John
April 29, 2013 at 4:46 am
You shouldn't do that, because you'll destroy your referential integrity, and chances are you can't do it anyway, since the REASONSREFERRAL column probably has a data type that won't allow...
April 29, 2013 at 4:06 am
Presumably you're hitting an error in your TRY block and breaking out of it before the COMMIT TRANSACTION statement is reached. Can you not lose the explicit transaction -...
April 29, 2013 at 3:05 am
I'm not sure it would, to be honest. They'd be two different sessions. You'd need to test. But even if it did work, I'd strongly recommend against...
April 26, 2013 at 8:44 am
Use a UNC path, not a mapped drive. The mapped drive is only visible to the user that mapped it, not to the SQL Server service account, under whose...
April 26, 2013 at 8:36 am
Use DISTINCT when you want to eliminate duplicates from your result test. If you use it in an existence test, like you did in your original post, then it...
April 26, 2013 at 3:46 am
Viewing 15 posts - 4,066 through 4,080 (of 7,191 total)