Forum Replies Created

Viewing 15 posts - 2,671 through 2,685 (of 5,841 total)

  • RE: Insert Performance

    The log buffer flushes from the individual inserts without a wrapping begin/commit tran will absolutely crush your throughput.

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

  • RE: How to make triple-pass UPDATE single-pass?

    Yes, this is almost certainly possible using this construct:

    UPDATE tablea

    set ... case statements here for each field with proper code table

    FROM tablea

    LEFT JOIN to various code tables

    It is pretty...

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

  • RE: Slow query - optimisation help required!

    Abu Dina (3/13/2013)


    Okay great, just one more question that's been bugging me for a while.

    My staging table has a lot of NVRCHAR(500) columns. Now I know many of my columns...

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

  • RE: CASE in WHERE clause

    RVO (3/13/2013)


    Thanks all for your response.

    Gail's blog recommends using dynamic SQL

    but our boss doesn't like it at all.

    I have to learn how to handle it either with CASE

    or IF. My...

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

  • RE: Page life expectancy diving to sub-10 on a 128 GB server

    You have been going round and round with this for over 2 weeks now. May I suggest that you get a performance tuning professional on board to really help...

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

  • RE: High Index Count/Space versus High CPU and Logical/Physical Reads

    DB_Newbie2007 (3/6/2013)


    We are working on trying to reduce the high number of IO waits on one of our production servers, a large percentage of which appears to come from one...

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

  • RE: table partitioning

    Please do NOT just try to implement partitioning without a VERY good knowledge of it and a VERY good understanding of WHY you think you need it in the first...

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

  • RE: Looping without cursor not updating properly

    ChrisM@Work (3/12/2013)


    TheSQLGuru (3/12/2013)


    One minor point ChrisM - never do a SELECT INTO... with an ORDER BY. No benefit there.

    Thanks for the reminder, Kevin. I wouldn't say "never" however, I'd...

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

  • RE: Trace flag 4199

    colin.Leversuch-Roberts (3/11/2013)


    Generally do you run with this on or off?

    I've always been slightly worried about setting this trace flag to ON as I don't really have any load like...

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

  • RE: Diagnosing Page Latch Issue

    Have them stop deleting data one row at a time!!! Using a cursor for this is ridiculous! This should be done in batches of X records at a time...

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

  • RE: Doubt in Data Warehouse design...

    What is the other person's justifications for wanting to store 8M entries, 7.99999M of which will never be referenced?

    Completely horrible suggestion from a performance standpoint for numerous reasons.

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

  • RE: Looping without cursor not updating properly

    One minor point ChrisM - never do a SELECT INTO... with an ORDER BY. No benefit there.

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

  • RE: Is trigger a bad solution

    shohelr2003 (3/11/2013)


    Dear,

    I fire triggers on different events. But some of my clients insist on not using trigger. Because they claim that using triggers are the worst solution. It may disable...

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

  • RE: Lookin for Reference for EDI Using SSIS and X12 Format Files

    lduvall (3/11/2013)


    Any updates? We're looking to do some simple modifications to an 837 file. I just need to replace the billing name/address and append an invoice# in a specific segment.

    I...

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

  • RE: Virtualization - yet again ...

    1) Forums are for TARGETED, small questions and assistance. Your post was neither. I think that is why people didn't answer.

    2) Yes, you are naive and old school....

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

Viewing 15 posts - 2,671 through 2,685 (of 5,841 total)