How to RE-create rapidly all _WA_SYS... that have been losted ?

  • Hi,

    a new DB (sql 2008) hase been created (changing the collation). all data have been "bcp in" from the previous BD (sql 2000)

    Now, is it possible to RE-create rapidly all _WA_SYS... that have been losted ?

    Thank you

    Calico (MCP MSTS)

  • If you leave auto create statistics on for the database these will be re-created over time. If you believe you require some of them urgently to maintain performance you could run create statistics.

    If you find these are required to maintain performance you should investigate indexing some of the columns as SQL creates these statistics on columns where it believes an index would be useful based on the queries run against the table.

    ---------------------------------------------------------------------

  • i'd agree with George on his advice. If you want to create similar values from your old server, run a sample workload from Profiler/Trace against the new server to get it to create statistics needed for queries like you will be running.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply