Forum Replies Created

Viewing 15 posts - 44,386 through 44,400 (of 49,552 total)

  • RE: How to Identify in how many Storedprocedures hasa sp been called?

    In 2005 and higher the system tables are no longer visible and cannot be queried.

    Objects like sysobjects, sysdepends, etc are known as compatibility views and are only included for...

    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: Truncate Log

    It's not possible. All data modifications are logged and the log entries cannot be discarded from the log until the transaction has committed and the data pages changed by 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: How to Identify in how many Storedprocedures hasa sp been called?

    Yup. sysdepends is as inaccurate as ever in 2008, and deprecated to boot. It hasn't been fixed, it's been replaced

    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: SQLSERVER IS NOT STARTING

    Can you open the services manager and try to start the SQL Service. If it gives an error, please note exactly what error it gave. Also check the SQL 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: Deadlock

    Ok, the deadlock is occurring in the procedure "dbTest.tsuser.jxc_158". It looks like both processes are running the same proc.

    It looks like there's an update (line 10) (UPDATE "timesheet_cache" SET...

    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: Truncate Log

    harsha.bhagat1 (9/19/2008)


    Hi,

    I anybody have any dml statments that while deleting the records it does not goes into the log or the moment 1 delete is complete it should truncate the...

    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: Cluster error

    Ok, so if Node 1 is active you can see S drive and it has a whole directory structure, if node 2 is active you can see S drive but...

    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: Cluster error

    Hang on, you can see S drive from both nodes?

    If so, that means that different 'drives' are getting mapped as S on the two nodes. You should be able 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: Best way to shrink a log file?

    fizzleme (8/20/2007)


    We do full backups on a daily basis. That is sufficient for our needs. Truncating the log was acceptable.

    Then set the DB into simple recovery mode so that the...

    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: ALLOW_PAGE_LOCKSand ALLOW_ROW_LOCKS

    salmanucit (9/19/2008)


    Thanks Shaw

    Can you, or anyone else explain three questions i asked?

    I did. It depends on the number of rows affected by the query and the amount of lock memory...

    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: Cluster error

    If you log onto node 2 (remote desktop), can you see drive S in windows explorer?

    If you open cluster administrator, is drive S a dependency of the SQL group (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: ALLOW_PAGE_LOCKSand ALLOW_ROW_LOCKS

    Depends on how many rows your query affects and how much lock memory SQL has available.

    If both are switched off, then you'll probably be getting table locks.

    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: Cluster error

    Is S a shared drive? Is it available to Node 2?

    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: Info requested on DB updates in a stateless environment

    Consider using a timestamp (aka rowversion). It's got nothing to do with time despite the name. It's a binary number that changes every time the row is updated is unique...

    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: ALLOW_PAGE_LOCKSand ALLOW_ROW_LOCKS

    They affect what logs are allowed on the indexes. SQL can take locks at various granularities depending on the amount of rows affected. It can lock at the row, page,...

    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 - 44,386 through 44,400 (of 49,552 total)