Forum Replies Created

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

  • RE: Transitioning from Oracle to SQL Server...

    Pretty much what I'd do.

    If you're not going to use schemas, put the objects in the dbo schema and set all the users' default schemas to dbo.

    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: Problem with sp_cycle_errorlog in SQL 2005

    Is something else perhaps reading the error log file? An anitvirus, a text file, some other process?

    p.s. could you please edit your post to fix the width?

    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 SQL Calls

    Appropriate indexes?

    Not really enough info. Can you post the table structure, the existing indexes and the query. Also an idea of the number of rows in the table would help.

    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: DBCC commands to Check Data and Index Linkage??

    DBCC CHECKDB( < Database name > ) WITH NO_INFOMSGS

    Post the output here, and we can help you interpret 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: Oracle to SQL replication problems

    Apparently the issue was related to bug no. 6646512, whatever that is. 😉

    The creation of the publication now runs in a reasonable time, but the log reader's still timing out....

    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: SQL Server 2005 not using all CPU in multiprocessor (peak on 1 cpu alternatively)

    dithebe (10/1/2008)


    Just curios - can you elaborate on this statement "8 CPUs and 4GB memory seems an odd combo. "

    Normally SQL systems that I see have 2 or 4 GB...

    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: Question about included columns in nonclustered indexes: Where exactly are they stored?

    Maxer (10/1/2008)


    It seems like it grabs Phone and Email from its leaf level, but still has to jump to the clustered index to get the Fname and Lname since 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: SQL Server 2005 not using all CPU in multiprocessor (peak on 1 cpu alternatively)

    See this blog post, specifically the first section "SQL Server Uses One Thread Per Data File"

    http://blogs.msdn.com/psssql/archive/2007/02/21/sql-server-urban-legends-discussed.aspx

    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 Tuning in TSQL

    Milu (10/1/2008)


    Gail,

    Can you please Explain with a situation where you wants to use the table variable and temp table..

    As has been said before in this thread, if the table variable...

    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 Tuning in TSQL

    bcronce (10/1/2008)


    GilaMonster (9/26/2008)


    One other misconception. A clustered index scan is not better than a table scan. It's the same thing. It's called a table scan when run on a heap...

    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: Re: Short-circuiting a query

    Maybe. It's worth testing, however in 2005 and higher, the optimiser has the same options for optimising an 'or' as it has optimising a 'union', and there's a good chance...

    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 Tuning in TSQL

    Milu (10/1/2008)


    Hi Sandy & Gail,

    I got so many new concepts from both of your post..thanks you a lot to both of you. but still i am in dark on my...

    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: I have some doubts regarding perforamce tuning

    pavankumar.mvs (10/1/2008)


    Hi

    I am new to sql server 2005. I have few questions to the forum, Please give me the solutions.

    1). My database is running fine all...

    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: Clustered index and locking

    Maybe.

    It depends on whether the clustered index is useful for the queries that are causing the locking. All tables should have a clustered index and 0 or more nonclustered indexes,...

    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: Clustering vs. Mirroring, and Maybe Load Balancing?

    Wilfred van Dijk (10/1/2008)


    Clustering is a failover system for your server (not for your storage), while mirroring is a failover for your complete environment.

    Mirroring is a failover for a...

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