Forum Replies Created

Viewing 15 posts - 4,441 through 4,455 (of 5,841 total)

  • RE: Best Practise

    My advice is that you get a consultant to help you transition your app to effectively use sql server and to mentor you in how to better use and monitor...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: managment Band Wide for many Record ( most 250000 and 200 Column)

    That is a VERY limited and fragmented description of the problem you seek to solve, but if I read correctly I would recommend dropping the output to a file and...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Data allocation in B-tree

    Paul White (11/10/2009)


    TheSQLGuru (11/9/2009)


    I think we answer quite a few exam/homework type questions. Sometimes they do evoke a good learning discourse though.

    Oh absolutely - the discussions are probably what...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to improve performance of the view with 12 joins

    I have said this before and will say it again here: SQL Server continually amazes me with how well it keeps on chugging despite INCREDIBLY bad design, code, setup,...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Slow execution time on query who perfoms Updates

    If the statistics problems is because a bad clustered index choice, instead of doing recompiles every time, is not better if we avoid that problem changing the current index to...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to improve performance of the view with 12 joins

    Grant Fritchey (11/9/2009)


    Paul White (11/9/2009)


    Grant,

    86? :w00t:

    Paul

    Not my design, man, not my design.

    Yeah - this was your IMPROVED design, right?? LOL

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Slow execution time on query who perfoms Updates

    Boy, where to start with this:

    1)

    The recompile option will force SQL to forget about the query plan and generates a new one each time the store procedure is gonna...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: An Un-indexed Foreign Key Gotcha

    See the earlier reply by richardd. It has a link to a script by Paul Nielson that not only identifies FKs missing indexes but will actually generate CREATE INDEX...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Slow execution time on query who perfoms Updates

    Paul White (11/9/2009)


    TheSQLGuru (11/9/2009)


    I will go with the others at posit parameter sniffing/plan caching as the culprit here. OPTION (RECOMPILE) or dynamic sql as a solution.

    Good to see you...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Data allocation in B-tree

    I think we answer quite a few exam/homework type questions. Sometimes they do evoke a good learning discourse though.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to improve performance of the view with 12 joins

    CirquedeSQLeil (11/9/2009)


    rshm35 (11/9/2009)


    The query has 12 joins in that 2 views are there...

    i can not use indexed view..help me out..

    We need more information to help. Some great comments have...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: An Un-indexed Foreign Key Gotcha

    sqlpro (11/9/2009)


    thanks for the reply. probably i misunderstood but following is the link i got my understanding from.its here http://www.informit.com/library/content.aspx?b=STY_Sql_Server_7&seqNum=145

    In general, nonclustered indexes (and the associated bookmark lookup to...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: An Un-indexed Foreign Key Gotcha

    sqlpro (11/9/2009)


    am not sure adding indexes on FKs. i read somewhere if your child table contains lot of unique records then there is no point of creating index as index...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to improve performance of the view with 12 joins

    . . . I had a system that was running 86 table joins . . .

    I wonder if that is some sort of record? Worse than I have seen...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Is there a way to see the cost of a CASE statment

    I have seen the use of UDFs in the WHERE clause result in FIVE ORDERS OF MAGNITUDE WORSE PERFORMANCE. Run a statement level profiler trace (preferably to disk to...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,441 through 4,455 (of 5,841 total)