Forum Replies Created

Viewing 15 posts - 17,086 through 17,100 (of 49,552 total)

  • RE: When we talk about fragmentation it's both Table as well as Index fragmentation, is it ?

    Yup.

    Assuming the inserts will fit onto the pages, SQL should reuse the empty spaces.

    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: point-in-time restore of a database requirements

    Yup. Copy only full backups just don't reset the differential base. Differentials (unlike logs) are based on the last full backup that ran.

    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: Transaction Log drive in simple recovery

    Single drives, no RAID? If that's the case (and they're the same size) I'd probably prefer to set them RAID 1 (for redundancy) and put all files on one drive....

    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: log for database is not availabe

    Are there any earlier error messages?

    Is the log file present where it should be? Is the drive online, etc? What's the state of the database?

    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: Need to re-order rows on table

    latingntlman (8/18/2012)


    That's right Lynn, I did accomplish it. I started by creating a temp table w/ an incremental field.

    Just bear in mind that you need to order by the identity...

    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: point-in-time restore of a database requirements

    Simple answer: Full backups don't truncate the transaction log.

    A log backup contains all log records since the last log backup. It's only if there's no previous log backup (it's 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: When we talk about fragmentation it's both Table as well as Index fragmentation, is it ?

    Hint: Logical fragmentation is when the logical order of the pages differs from the physical order.

    Most of the time when people talk about index fragmentation they're talking about logical fragmentation...

    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: When we talk about fragmentation it's both Table as well as Index fragmentation, is it ?

    Depends. If the table has a clustered index, then the clustered index strucure is the actual table, so you'd talk about fragmentation of the clustered index.

    If the table doesn't have...

    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: Restore SQL Server 2005 Backup to SQL Server 2008 R2 WITH STANDBY

    sqlsurfing (8/18/2012)


    If you take your SQL 2005 database mdfs and ldf... and sp_attach or use gui (prob easier with so 20+ DBs to use script) to attach the files...

    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: Server Crashed,Need to Get SQL Dbs Back from Hard Drive.

    Copy the mdf and ldf files (and ndf if there are any), attach the databases they should attach OK, but there's no guarantees they will.

    Why do important databases have 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Restore SQL Server 2005 Backup to SQL Server 2008 R2 WITH STANDBY

    Do the restore WITH NORECOVERY. The only options allowed when upgrading are WITH RECOVERY or WITH NORECOVERY.

    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 Training Kits...hardware/software WTF!

    My 4-year old laptop that cost me < $1000 when I bought it runs SQL 2008 (and 2012) just fine. If you're not planning on doing heavy database work (or...

    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: Transaction Log backup does not work?

    Please read through this: http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    It's not necessarily a log backup that it needs. So first thing is to identify why the log is full.

    That said, since the DB was moved...

    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: delete of an offline database

    I suspect it's because when the DB is offline, SQL does not have a lock on the files, hence they could easily be open in another app (hex editor, antivirus,...

    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: delete of an offline database

    Documented behaviour.

    From Books Online - Drop Database page

    Dropping a Database

    Dropping a database deletes the database from an instance of SQL Server and deletes the physical disk files used by 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

Viewing 15 posts - 17,086 through 17,100 (of 49,552 total)