Forum Replies Created

Viewing 15 posts - 46,561 through 46,575 (of 49,552 total)

  • RE: Uncomfortable situation at office

    Technical advice only here, cause I have no knowledge of USA laws.

    Have you considered enabling C2 or Common Criteria logging? They'll both produce a lot of data but they will...

    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 can I give a non sa account sysadmin like permissions without giving it the role

    You could add the login to the sysadmin fixed server role. It gives the account full systed admin privilidges, but if you're OK with 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: if statement or dynamic query

    gan (5/13/2008)


    By the way, most of the sites is using MSSQL 2000, any idea?

    Other than suggesting that SQL 2000 questions should go in the SQL 2000 forums?

    Dunno. I'm still...

    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: SAN best practices

    TheSQLGuru (5/13/2008)


    I believe the distance limit for LVD SCSI is 25 meters. not sure of other, newer technologies, but 25meters gives a LOT of room for drives to attach...

    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: if statement or dynamic query

    GSquared (5/13/2008)


    The reason I mention federating is because it was mentioned that this used to be 7 tables on 7 servers, if I'm reading it correctly.

    Missed that. Thanks

    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 principals

    The sp_adduser/sp_addrole are deprecated in SQL 2005

    Rather use CREATE USER ... and CREATE ROLE ...

    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: if statement or dynamic query

    I'll go with a simple partitioned table (partitioned on the day of week, or the day of month, depending on data volumes) Don't see any need to add the complexity...

    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: SAN best practices

    magarity kerns (5/13/2008)


    GilaMonster (5/12/2008)


    Also corporate policy states all servers will use SAN storage.

    The solution suddenly came to me after I re-read this sentence: Get the "pedestal" version of...

    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: A strange performance issue

    jamiejulius (5/13/2008)


    One more question to help me understand what's happening.

    The checkpoint process kicks in as a result of accumulated write activity, which needs to be flushed to the disk....

    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: Slow to generate Execution plan

    Try running the query from a querying tool (query analyser). It's easier to see the SPID and removes any possibility of the slow down coming from somewhere other than SQL.

    If...

    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: A strange performance issue

    I had anj idea it was the problem at the beginning, wasn't sure.

    Jamie: The root problem is that your IO sustem is not adequate for the load you're putting 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: if statement or dynamic query

    Could you please explain more what you're trying to do and what problems you're encountering.

    You have a table with 2.1 billion rows in 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: Slow to generate Execution plan

    I'm most interested in the wait type (it's hex), the last wait type and wait resource (if any)

    If the CPU is increasing or static, if the reads are increasing 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
  • RE: A strange performance issue

    Checkpoints are internal operations. They won't show up in profiler

    You can log the output of:

    SELECT * from sys.dm_exec_requests where session_id < 50

    Log it every few sec. You should see some...

    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: Slow to generate Execution plan

    Very odd. The optimiser has a limit on how much time it's allowed to spend considering a plan. It shouldn't be that long.

    What do you see in sysprocesses for 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

Viewing 15 posts - 46,561 through 46,575 (of 49,552 total)