Viewing 15 posts - 24,346 through 24,360 (of 49,552 total)
You want to delete in chunks, so that the log doesn't blow out.
Simple recovery or full recovery model?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 8:15 am
Ninja's_RGR'us (8/8/2011)
Not to be too anal here, but you can't really add NC indexes, you can only add NC constraints.
And a unique constraint is enforced by a unique index,...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 7:37 am
skcadavre (8/8/2011)
•Temporary tables can be altered with DDL statements whereas table variables cannot.
Essentially, this means...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 6:40 am
sqlmaverick (8/7/2011)
i selected fixed width option, but i am displayed with only one column in preview
Yes, because you then have to go and specify where the columns are (SQL can't...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 6:29 am
I suspect he was answering Kraig's question 'So who are you?'
Of course, anyone who's watched Season 2 of Babylon 5 knows that's completely the wrong answer (and it's the wrong...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 6:08 am
Use a delete query (in a T-SQL query window), not the table editor.
The table editor's got a fair few bugs and does the deletes one row at a time.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 3:52 am
GilaMonster (8/5/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 3:40 am
No, the sys.databases view is instance-wide, there's one row in it for each database on that SQL instance.
Try including a couple of the other columns from it (look in Books...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 3:16 am
And which of those is for the database with the full log?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 3:01 am
Why are you trying to shrink a file when the error is that it's full.
Full means that all space is used. To make space (ie to fix a full log...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 2:00 am
Careful trying to shrink tempDB, it can cause problems that will require a server restart. You should quiesce the server completely (no user connections at all) before trying to shrink...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 1:59 am
Jeff Moden (8/7/2011)
GilaMonster (8/7/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 1:46 am
I had to do something like that for a client a couple years back. The eventual solution was partially set-based, with a while loop tossed in and came out at...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 7, 2011 at 2:34 pm
RedGate has 2 tools - SQLCompare and SQLDataCompare
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 7, 2011 at 9:05 am
SQL does not use excessive CPU when it's not active. Sure, it'll use that while queries are running, but it uses around 0 when it's idle.
You can also (as has...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 7, 2011 at 4:05 am
Viewing 15 posts - 24,346 through 24,360 (of 49,552 total)