Forum Replies Created

Viewing 15 posts - 38,881 through 38,895 (of 49,552 total)

  • RE: how to move a database into another in sql server 2005 express edition

    DBAs_worst_nightmare (5/27/2009)


    What about the users / logins / roles and stuff if you use the detach / attach method ?

    Exactly the same as if you use backup/restore.

    Users and roles are...

    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: Index Selection- Query Optimizer

    I would guess that for the first query the index is covering and in the second (because it's a select *) it's not. With a covering index just the NC...

    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: Turn off Transaction Logs for specific tables?

    If you go with option 2, you must back the transaction log up after switching back to full. This is because you can't take tail log backups if the DB...

    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: TempDB and SQL Error 845

    Did they say what RAID level? Or are we talking just 2 physical disks with no redundancy of any form?

    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 Profiler

    shruti.ratnagirish (5/26/2009)


    ok. is there a way to see the queries for those transactions?

    Not from the default trace. The SQL Batch/Statement start/complete events aren't there. The SP completed/started events aren't there.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: TempDB and SQL Error 845

    Uncle Moki (5/26/2009)


    So, I'm guessing that increasing the size of TempDB is not going to help?

    Probably not, but make sure that TempDB's initial size is set to something...

    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: TempDB and SQL Error 845

    Uncle Moki (5/26/2009)


    However, I do know that the "J-drive" is dedicated to the SQL Data files and the "P-drive" is for the SQL Log files. Physically, I...

    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: TempDB and SQL Error 845

    Uncle Moki (5/26/2009)


    I'm guessing that's not a good idea?

    That's an understatement. With all the data files on one drive, all of the DBs are fighting over what's probably...

    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: Capacity of your databases?

    Biggest one I've worked directly with hit 1.2 TB just before I left.

    I'm curious. How will knowing what size DBs we've worked with help you in an interview?

    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: TempDB and SQL Error 845

    Uncle Moki (5/26/2009)


    What's the layout of databases on LUNs?

    The MDFs are all on "J". The LDFs are all on "P"...for the most part.

    All of them? 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: TempDB and SQL Error 845

    Probably IO contention.

    What's the layout of databases on LUNs?

    What's the RAID level on those LUNs

    Are the dedicated or shared LUNs?

    What do the perfmon counters Physical Disk: Avg sec/read, Avg...

    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: What Level of Normalization Would This Be?

    There's still two addresses and two phone numbers in the table. That could (or could not) be construed as repeating groups.

    If it is considered a repeating group, this isn't even...

    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 disk

    middletree (5/26/2009)


    So if I back up the lgos regularly, it will make the logs smaller?

    More correct to say, if you backup the logs frequently the log shouldn't grow. A backup...

    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: avg_page_space_used_in_percent column in sys.dm_db_index_physical_stats

    What mode did you specify? If the mode is limited (which is the default) then quite a few of the columns will be null because the leaf pages of 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: TempDB and SQL Error 845

    What's the full message of the error?

    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 - 38,881 through 38,895 (of 49,552 total)