Viewing 15 posts - 45,286 through 45,300 (of 49,552 total)
It didn't on the other one, so probably not.
I'm going to see if I can get some expert opinions on this. I don't actually know how to fix this...
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 1, 2008 at 1:15 pm
Possibly more accurate to say, "If Rows Sampled is much less than Rows and you are dealing with a large table and you have a non-uniform data distribution, then...
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 1, 2008 at 1:13 pm
Then there's a second SQL instance on the box, and we may be messing with its files, instead of the broken instance's files. Don't touch anything in the mssql/data folder.
Does...
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 1, 2008 at 10:25 am
Don't know for sure. I'm just guessing here.
Is there another instance of SQL on that box? (check in the services screen)
Are the files marked as read-only (right-click, properties)
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 1, 2008 at 10:00 am
Performance of what? Log backups? Database backups? Normal operation?
Frequency of log backups isn't determined by performance. It's determined by how much data you are willing to lose if the server...
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 1, 2008 at 9:58 am
Dunno if it'll help, but worth a try before we resort to more drastic measures
Can you move the files
model$4IDR
modellog$4IDR
msdb$4IDR
msdblog$4IDR
somewhere else? Don't delete them, just...
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 1, 2008 at 9:33 am
Did you come right then?
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 1, 2008 at 9:21 am
The database 'model' is marked RESTORING and is in a state that does not allow recovery to be run.
The database 'model' could not be opened. She is in restoration.
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
August 1, 2008 at 9:17 am
I'd be more concerned right now with the message in the log
The database 'model' is marked RESTORING and is in a state that does not allow recovery to be run.
What's...
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 1, 2008 at 8:57 am
First thing is to log in. Just try the sqlcmd without any -q and see if you can get a connection to the server. If not, is it saying 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
August 1, 2008 at 8:41 am
Two quick comments. Raid 10 if possible for logs and data. If not possible for both then is recommended for logs.
With multiple instances it is not a good idea...
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 1, 2008 at 8:38 am
Looks like this is the syntax. Can't test. Don't have any named instances around.
If you're using windows authentication
sqlcmd -S servername\instancename -E -A
If you're using SQL authentication
sqlcmd -S servername\instancename -U...
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 1, 2008 at 8:31 am
Off hand, I don't know. What does Books Online say? 😉
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 1, 2008 at 8:29 am
Connections via the DAC don't fire login triggers. From management studio, open a new query and specift admin: before the server name (admin:MyServerName) and use windows authentication. You must 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
August 1, 2008 at 8:17 am
Is the database set to autoclose?
Are there any databases on the server that are the target of a logshipping scenario (getting logs restored regularly)?
Is there a scheduled job that's freeing...
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 1, 2008 at 8:13 am
Viewing 15 posts - 45,286 through 45,300 (of 49,552 total)