Forum Replies Created

Viewing 15 posts - 45,286 through 45,300 (of 49,552 total)

  • RE: Sql server stopped - tempdb

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Suggestion on Updating Statistics

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Sql server stopped - tempdb

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Sql server stopped - tempdb

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Full Receovery Model BUT NO LOG BACKUP FOR PERFORMANCE

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Sql server stopped - tempdb

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error conecting because of Login Trigger

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Sql server stopped - tempdb

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Sql server stopped - tempdb

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error conecting because of Login Trigger

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Sanity Check

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error conecting because of Login Trigger

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error conecting because of Login Trigger

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error conecting because of Login Trigger

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: dm_exec_cached_plans Cleared

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 45,286 through 45,300 (of 49,552 total)