Viewing 15 posts - 20,461 through 20,475 (of 49,552 total)
Bru Medishetty (2/8/2012)
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
February 8, 2012 at 1:19 pm
Why 5 schedules for the log backups? Just one schedule (every 5 minutes, all day) would be easier and less confusing if you need to 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
February 8, 2012 at 12:28 pm
Not fragmented, it means that there is lots of free space on all of the pages. (yes, the docs refer to low page density as internal fragmentation, I personally dislike...
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
February 8, 2012 at 12:27 pm
There is no DMV or view that tracks new records automatically.
If you need to identify new records, you need something like an insert date column or triggers on the tables...
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
February 8, 2012 at 12:24 pm
I'd prefer to see a full checkDB, or just get the results when the next scheduled integrity check runs.
It may not be that, it's just that the disconnect can be...
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
February 8, 2012 at 12:03 pm
Kill the open transaction or wait for it to complete. Nothing else will have any impact on the log while there is an open transaction.
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
February 8, 2012 at 11:09 am
richardm-1037631 (2/8/2012)
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
February 8, 2012 at 10:57 am
Sean Lange (2/8/2012)
Cadavre (2/8/2012)
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
February 8, 2012 at 9:15 am
GSquared (2/8/2012)
If a shared connection suffers an error that closes the SPID (16 or higher, if I'm not mistaken)
20 or higher. Below that they terminate the statement or the batch,...
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
February 8, 2012 at 8:18 am
I ran that on a testing database and saw exactly what I would expect.
Can you post the output that's confusing you?
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
February 8, 2012 at 8:15 am
Yes (and you'll want a domain account not a local user account)
Maybe, though you shouldn't be just running a log backup after the full or diff for the sole purpose...
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
February 8, 2012 at 8:12 am
kiran.rajenimbalkar (2/8/2012)
So can you able just look to where i need to change something in the SQL?
Not without what I asked for, no.
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
February 8, 2012 at 8:04 am
Personally, I'd rather separate queries, or at most something like this:
IF (@fiscalyear = '201120011')
SELECT <column list> FROM tblMOR_LU_AdCpGp201120011
IF (@fiscalyear = '201020011')
SELECT <column list> FROM tblMOR_LU_AdCpGp201020011
....
Otherwise you...
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
February 8, 2012 at 7:32 am
Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
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
February 8, 2012 at 7:20 am
Adding and subtracting values. The various fields apparently return numeric types and are been added and subtracted to get a total.
Maybe it would be more understandable as such:
(SELECT COALESCE (SUM(m.QtyOnHand),...
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
February 8, 2012 at 7:15 am
Viewing 15 posts - 20,461 through 20,475 (of 49,552 total)