Forum Replies Created

Viewing 15 posts - 1,816 through 1,830 (of 2,640 total)

  • RE: SQL Server 2005 Query tuning

    It's difficult which ever way you do it,  but the showplan text is the easiest method to post a plan. I normally start with graphical plans as it's easy to...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Lazy Table Spool

    I generally don't like to see spools but it's a matter of scale - did you find it because the query runs poorly, in which case you need to make...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: hardware configuration

    Always go full 64bit if you have that option. I've seen postings that suggest running 32bit SQL on 64bit o/s has a few performance issues ( why you'd want to...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Querying Joined Tables

    I might suggest a T SQL Training course.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL Server 2005 Query tuning

    Welcome to query tuning - you've answered your own question - using a temp table is better so do it that way < grin >

    ( please don't use select * ...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Performance issue with SQL Server 2000

    I'd love to know where the amazing advice about only having a clustered index on an identity comes from !!! God help us!!

    I would hope that each table has a...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: No Performance gain with Indexed view ?

    with due respect I think you're missing the point. To use an indexed view to tune a query you don't then add the view in the query - the idea...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Query execution plans is diffrent from QA and .Net app

    I've been here and the solution may take some time. You can check the procedure cache to see your plan being reused ( or not ) the different SET options...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Space Available issues

    absolutely!

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: split data and log files for system databases

    Given an ideal situation I prefer to have all my mdf and ldf files on the same ( seperate ) drive arrays, including the system databases, makes things tidy. Tempdb is...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: ORDER BY clause within a view does not work in SQL 2005

    You can't use order by statements in a view ( not sure if this is part of ANSI standards but I think so ), a bug within sql 2000 allowed...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Need help tuning SQL Server 2000

    Sorry, there's no magic pill, I've been doing this around 14 years now, performance and optimisation is so much a case of "it depends"  sadly most of us learn by...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Transparant view efficiency

    when views contain joins and the view becomes part of a join then sometimes things don't work out quite as you might expect. for a simple view there's no difference.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Need help tuning SQL Server 2000

    cool! It's fun extracting all this stuff isn't it????  In profiler you need to choose events, performance, show plan statistics and in the data make sure you include the binary...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Permission Denied on DBCC Show_Statistics via linked server foils Optimizer

    I suspect you may have a serious misunderstanding of some SQL basics. Be aware that linked server queries can exhibit some very unfriendly habits - you're better off executing remote...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

Viewing 15 posts - 1,816 through 1,830 (of 2,640 total)