Forum Replies Created

Viewing 15 posts - 20,371 through 20,385 (of 49,552 total)

  • RE: restore deleted table

    If the table was deleted exactly at 3pm, then this:

    Restore the latest full backup to a new database WITH NORECOVERY

    Restore the latest differential (that was taken before the table was...

    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: Datafile reach 100% size?

    Typically grow the data file (unless you've reached the 16TB limit) and ensure you have enough disk space.

    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: Fragmentation still remain same after Index Rebuilding...

    Too small to worry about.

    http://sqlskills.com/BLOGS/PAUL/post/Where-do-the-Books-Online-index-fragmentation-thresholds-come-from.aspx[/url]

    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: Reduce DB Size

    Admingod (2/11/2012)


    i beleive backups will occur faster right since mdf file is reduced?

    No. Backups only back up used space not free space within the data file.

    Do i still see any...

    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: Fragmentation still remain same after Index Rebuilding...

    How big are the indexes? How many pages?

    Your rebuild won't affect heaps, that's why they don't change.

    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 2008 DR using Clustering & SAN replication

    Please post new questions in a new thread. Thank 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: Are the posted questions getting worse?

    Jack Corbett (2/11/2012)


    GilaMonster (2/11/2012)


    Roy Ernest (2/10/2012)


    Gail, That is horrible. I will never be able to do that kind of meeting. After an hr to the max, I would...

    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 IN parameter formatting

    I would strongly recommend a split function. Dynamic SQL has a number of downsides in this situation - plan caching and SQL injection risks been the two main ones.

    Regardless, 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: Reduce DB Size

    Admingod (2/10/2012)


    Data is cleaned up from mdf file.so in order to get the free space to OS we need to shrinkdb right....

    After shrink will it give any better performance?

    No. 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: Can I get three examples of ETL?

    Anything that takes data from one place and puts it somewhere else.

    Converting an Oracle DB to SQL wouldn't be ETL. That would be a very complex development project.

    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: Partioning tables and databases

    You can't partition databases.

    For databases with multiple files/filegroups (which I suspect is what you meant), see Books Online "Files and Filegroups"

    For partitioned tables, see Books Online "partitioned tables", it's a...

    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 are cubes?

    Go read up on Analysis Services, it's not a simple topic that can be explained in 5 lines.

    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: Derived tables vs. temporary tables

    Derived table is another name for subquery - a select statement within another query. It's not persisted after the query finishes, it may not even be stored at all

    A temp...

    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: NOT NULL and what happens if a data type isn't given a value when a row is added

    If data is specified to be inserted into the not null column then that's fine. I suspect you meant what happens if data is not specified for a not null...

    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: A big INSERT INTO statement and rolling it back

    Rowles (2/10/2012)


    LSNs aren't integers?

    No.

    Say a row with three columns gets all three of its values changed. How many LSNs would be generated if this happened with a single INSERT...

    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 - 20,371 through 20,385 (of 49,552 total)