Viewing 15 posts - 21,481 through 21,495 (of 49,552 total)
Also maybe worth noting that both the log write (when the log buffer is flushed to disk) and the data write (via checkpoint/lazywriter) can occur before the transaction commits, however...
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
December 30, 2011 at 6:19 am
Ninja's_RGR'us (12/30/2011)
2011 was the year of the Monster, wonder how she can beat that next year :-D.
I didn't even notice that.
GG Steve.
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
December 30, 2011 at 6:17 am
Does the table dbo_PersonPhone have a column called PhoneNumber?
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
December 30, 2011 at 4:21 am
Pretty much.
The order is:
Change written to memory and log entry written into log buffer.
Log buffer flushed to disk when the transaction commits (or sometimes earlier)
Later the data change is...
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
December 30, 2011 at 4:18 am
No, you'll need to stop and delete the trace and then recreate it.
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
December 30, 2011 at 2:58 am
SQLFreeman-486832 (12/29/2011)
If you do not need to log all of the transactions, put the database in "Simple" Recovery mode. This will prevent the transactionlog from filling up.
All transactions...
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
December 29, 2011 at 1:56 pm
Thought as much. On SQL 2000 use sysobjects. On 2005 and above, it is sys.procedures and sys.objects.
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
December 29, 2011 at 1:47 pm
Please run the following and post the results
SELECT @@Version
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
December 29, 2011 at 12:49 pm
David Moutray (12/29/2011)
As always, you are ever the voice of reason, Gail.
I try. Bear in mind that I am a developer, so I come at this from a different perspective....
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
December 29, 2011 at 12:25 pm
Vertigo44 (12/29/2011)
When running DBCC CHECKDB (emergencydemo, REPAIR_ALLOW_DATA_LOSS) WITH NO_INFOMSGS;is there a way to see what tables were lost or at least some information on what happend...
Maybe, it reports on what...
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
December 29, 2011 at 12:19 pm
If I may suggest....
This is not a technical problem and should not be approached as one, and approaching it as a battle is going to make matters worse, not better....
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
December 29, 2011 at 12:08 pm
1) Kinda...
Fragmentation affects large range scans from disk. Emphasis large and disk. The intermediate levels (anything other than 0) tend to be much smaller than the leaf level, and far...
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
December 29, 2011 at 11:53 am
GSquared (12/29/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
December 29, 2011 at 11:50 am
David Moutray (12/29/2011)
Well, it seems to me (in my role as Devil's Advocate) that it would require you to fix transaction locking issues arising from crappy code.
Probably more than that....
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
December 29, 2011 at 11:48 am
David Moutray (12/29/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
December 29, 2011 at 11:38 am
Viewing 15 posts - 21,481 through 21,495 (of 49,552 total)