Forum Replies Created

Viewing 15 posts - 41,071 through 41,085 (of 49,552 total)

  • RE: stupid stupid stupid restore problem

    Magy (2/12/2009)


    Is there a way to undo this restore?

    Not unless you took a more recent 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: Are the posted questions getting worse?

    Doc (2/13/2009)


    Question is funny and odd, but that doesn't mean he shouldn't ask one or be crucified for that.

    Agreed. I just wish he'd think and read up before asking stuff...

    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: Default trace - A Beginner's Guide

    Query sys.traces to see if the trace still exists (it should). Use sp_trace_setstatus to restart it

    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?

    Eeep..

    http://www.sqlservercentral.com/Forums/FindPost655667.aspx

    I want to do a PhD in the area of database optimisers. Can anyone suggest a good topic?

    Gees, it took me months of reading to decide on an appropriate topic...

    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: PhD in Computer Science

    karthikeyan (2/12/2009)


    Will it be a good topic ? will it be a good start? if yes, can anybody refer some good book name to read about OPTIMIZER which should explain...

    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?

    Lynn Pettis (2/11/2009)


    Hey, sorry to bug you, but have you cut through all the work yet? If it hadn't been your comment about Jeff's running total process not working...

    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: Database restore wanings and error messages

    Drop all the statistics referenced in the error messages. SQL will recreate them if it needs.

    Maybe run a checkcatalog on the sql 2000 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: Additional datafiles for a database

    Dell


    To achieve optimal performance that scales with heavy workloads, Microsoft recommends that the number of data files configured for a SQL Server 2005 database equal the total number of CPU...

    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: Executing DBCC Commands via a SQL Job

    That works.

    The gos aren't needed, they aren't a problem. Their batch-terminator statements, so each of those will be sent to SQL separately.

    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?

    Lynn Pettis (2/11/2009)


    Any hints on He who will remain unnamed? Is it someone I've "spent time" trying to help in the recent past?

    I can think of a couple that...

    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: dm_exec_query_stats query not returningwhat I would like

    By filtering on object id not null, you are limiting the results to stored procedure plans. I guess you have none of those.

    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 is "query correlation"

    Mahesh Bote (2/11/2009)


    [font="Verdana"]When Inner query is joined with Outer query, it is called co-related query. and the relation is called as query co-relation[/font]

    Only when the inner query contains a reference...

    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: Database restore wanings and error messages

    Did you run checkdb again after running the checkusage? It's normal for checkusage not to give errors. It fixes problems.

    Those won't generate errors on SQL 2000. CheckDB on SQL 2000...

    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: Additional datafiles for a database

    FelixG (2/11/2009)


    I do know it's mandatory to split out filegroups to optimize the overall performance.

    It's not mandatory. It's only needed when the drive that the data file is on...

    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: Table Joins and count(*)

    Change the inner join to LEFT Outer and change the count as follows

    CASE WHEN b.BlogId IS NULL THEN 0 ELSE COUNT(*) END AS CountComments

    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 - 41,071 through 41,085 (of 49,552 total)