Forum Replies Created

Viewing 15 posts - 17,941 through 17,955 (of 49,552 total)

  • RE: Keeping at table lean and highly available

    Err....

    You don't recreate the partition scheme or function...

    The two things you'd do to add a new partition are to mark the next filegroup then add a new partition value to...

    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: IDENTIY COLUMN Property behaviour

    Sys.identity_columns isn't a table, it's a view of the internal metadata.

    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 system databases do I need to backup?

    Back model up (and also I often take copies of its data and log files). Otherwise recovering from a corrupt model is an absolute pain.

    It doesn't need to be backed...

    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: Keeping at table lean and highly available

    Typically it's done like this:

    Load new data into staging

    Add a new partition to main

    Switch new partition in main and staging (now staging is empty)

    Switch partition containing old data with staging

    Merge...

    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: Disk defragmentation - can this corrupt SQL data?

    I would still like to see the I/O reliability program report. That's the 'proof' that the product's filter drivers play nice with SQL, honour all I/O requirements and can handle...

    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: Create Database

    Worth noting that the attach will only succeed if the database was cleanly shut down before the log was deleted. Otherwise the attach (even with Attach_rebuild_log) will fail.

    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_reuse_wait_desc = ACTVE_TRANSACTION

    Please read through this - Managing Transaction Logs[/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: log_reuse_wait_desc = ACTVE_TRANSACTION

    Why do you want to?

    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_reuse_wait_desc = ACTVE_TRANSACTION

    None unless the transaction stays there for abnormally long time and the log is growing out of control.

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

    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: Keeping at table lean and highly available

    This actually sounds like a case for partitioning. Partition the main table, make sure the staging table is identical (indexes, constraints, columns, etc) then to move the data from staging...

    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: IDENTIY COLUMN Property behaviour

    It's stored in the metadata of the table.

    One other point, don't assume identity columns are unique. There's nothing in the identity property that requires uniqueness, if it has to 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: SQL Server 2012 Beta Exam Results

    ErikvanD (6/20/2012)


    Saw the 463 on the MCP site a few moments ago. But I wondered, will we also get our scores from Prometric on the exams? Never did betas before...

    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: DMV to get the history of stored procs

    Nope, no DMV for that. You can get some info out of the plan cache (sys.dm_exec_procedure_stats), but that's about all.

    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: difference between manuial and auto checkpoint?

    There is a traceflag to disable checkpoints, I wouldn't be too astonished to find that SAP enables it, it's an app that doesn't exactly play well with others. Check see...

    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: difference between manuial and auto checkpoint?

    Automatic checkpoints do clear the log in simple recovery, same as manual ones.

    Either the automatic ones weren't running for some reason (and that would require analysis as it's happening) 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

Viewing 15 posts - 17,941 through 17,955 (of 49,552 total)