Forum Replies Created

Viewing 15 posts - 42,181 through 42,195 (of 49,552 total)

  • RE: Need help diagnosing a problem

    Paul (12/22/2008)


    I meant that the data is updated so infrequently that I dont think the costs of record locking outweigh the performance gain from ignoring it.

    Thing is, if using nolock...

    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: Duel Insert?

    What's the question?

    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: Duel Insert?

    Ok. Is there a question somewhere in that?

    If you want assistance in writing the trigger, you're going to have to give a lot more details on what 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: Transaction Log Size

    ps (12/22/2008)


    try reducing the frequency of tran log backups. this will flush out inactive transaction more frequently from the log file.

    Other way around. Reducing the frequency of the log backups...

    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 Size

    What recovery model and how often are you doing transaction log backups?

    What do you mean by "unable to open it"?

    Take a read through this - http://www.sqlservercentral.com/articles/64582/

    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: Error in starting sql server in single user mode

    So you've got the SQL service stopped, you've got one command window where you ran sqlservr.exe -m and left it running, and another command window where you're trying to connect...

    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: Query Execution time take nearly 30 min

    nitinpatel31 (12/22/2008)


    There must be some corruption in Index or Data pages.

    If there was corruption of any form the query would not run forever. It would fail with an error,...

    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: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    It's still running. Nearly 55 min.

    Is it blocked? Is it wating for a resource, if so what's the wait type and wait resource?

    How many rows out of the 700000...

    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: User Defined Function: order by won't work

    Jeff Moden (12/22/2008)


    Ohhhhh.... that stuff..... gee... I wonder when they'll come out with an EDI data type? 😛

    CREATE TYPE EDI

    EXTERNAL NAME EDI.[PointlessClrTypes.EDI] ;

    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: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    Select ColB,ColC from table1 where ColD= 123.

    How many rows will that return?

    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: Query Execution time take nearly 30 min

    Kishore.P (12/22/2008)


    > DBCC CHECKTABLE.

    > DBCC UPDATEUSAGE ( ), if it is not a production server.

    > DBCC CLEANTABLE

    Why?

    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: Error in starting sql server in single user mode

    There are no errors there. That's SQL's startup messages. You need to connect to SQL from another command window, using sQLCMD and restore the database.

    Does the restore database give...

    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: Encrypted data in table

    ps (12/22/2008)


    You can do as Gail suggested OR you can build a DLL with your encryption/decryption logic and add it to ur SQL Server as extended stored proc and use...

    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: Name ,Type Words turns blue color in query window

    They are SQL reserved words. Hence management studio highlights them as such.

    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: Shifting TEMPDB database to another folder in same server.

    TheSQLGuru (12/21/2008)


    PLEASE check Books Online before posting questions!

    Read the manual? What a radical, way out idea!

    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 - 42,181 through 42,195 (of 49,552 total)