Viewing 15 posts - 22,141 through 22,155 (of 49,552 total)
Doesn't matter if you shrink in chunks or once off (except in the time it takes the shrink to run). If you shrink below the size required, the log will...
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
November 17, 2011 at 5:24 am
The error's pretty clear. You're trying to throw error 50001, but no such error message exists.
You either need to add that message to sys.messages, then you can call Raiserror with...
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
November 17, 2011 at 5:21 am
sami.sqldba (11/17/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
November 17, 2011 at 5:16 am
In that case my indexing suggestion stands and should be sufficient.
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
November 17, 2011 at 4:04 am
stevescanlan (11/16/2011)
RESTORE...
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
November 17, 2011 at 3:31 am
An index consists of one or more columns from a single table only.
For that query I suggest an index on EmployeePersonalDetail (EmpName. EmpID)
Is EmpID the primary key of all...
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
November 17, 2011 at 3:28 am
Take the GO out. It's not a T-SQL statement, it's a management studio batch breaker.
p.s. Stop doing this to you logs. If you want the log in auto-truncate, set the...
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
November 17, 2011 at 1:28 am
pavargasq (11/16/2011)
1.I suppose when you stop the instance (stop the engine and the agent)even when are running processes could cause the recovery. doesnt it ? is there any other reason?
Running...
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
November 17, 2011 at 1:26 am
A fresh installation of SQL will very do exactly the same thing, this sounds like a bad code problem, not a SQL settings problem. Have you spoken with the vendor?
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
November 17, 2011 at 1:24 am
derekr 43208 (11/16/2011)
GilaMonster (11/16/2011)
derekr 43208 (11/16/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
November 17, 2011 at 1:21 am
Edit: Whatever...
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
November 16, 2011 at 2:59 pm
Again, SQL doesn't consider this an error, so there's nothing to catch here. The application is the one that knows it's a timeout (as opposed to say a developer clicking...
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
November 16, 2011 at 1:46 pm
SELECT COUNT(*) FROM SomeTable WITH (INDEX = idx_Filtered)
Msg 8622, Level 16, State 1, Line 1
Query processor could not produce a query plan because of the hints defined in this query....
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
November 16, 2011 at 12:14 pm
Script out the trace (option on the File menu of Profiler), set the file location and set the stop time for 9 hours after the current time (dateadd(hh, 9, getdate())...
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
November 16, 2011 at 11:16 am
Michael Valentine Jones (11/16/2011)
use master;
alter database [MyDB] set allow_snapshot_isolation on;
alter database [MyDB]...
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
November 16, 2011 at 11:09 am
Viewing 15 posts - 22,141 through 22,155 (of 49,552 total)