Forum Replies Created

Viewing 15 posts - 3,856 through 3,870 (of 5,678 total)

  • RE: Update Stats -On or OFFF for big tables?

    sqldba_icon (3/1/2011)


    DO you know of any good affordable performance tuning consultants?

    There's a number of them (us?) around here, Gail being one of the best around here. As she already...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are Joins faster in a query in OLEDB Src or should I use a lookup

    Okay, roughly the same comment, just with Foreign Keys added:

    You've only got the one index on the fact table, owch. That table's roughly 250-300 bytes wide, and this is...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are Joins faster in a query in OLEDB Src or should I use a lookup

    :blink: You've only got the one index on the fact table, when she's that wide? Owch.

    CONSTRAINT [PK_fact_tes_transac] PRIMARY KEY CLUSTERED

    Definately try adding in the NC index I mentioned above,...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are Joins faster in a query in OLEDB Src or should I use a lookup

    dndaughtery (3/1/2011)


    Execution plan attached

    Couple of things...

    Any chance you can post the DDL and indexes of fact_transac? It looks like a missing index might help you out there.

    This is the...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Dynamically set Data Source values

    tshad (3/1/2011)


    Is there a way to read an xml file or configuration file to get the Data Source values since they could change?

    Thanks,

    Tom

    Some data source values, yes, like filepath or...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: So many Subqueries....

    I didn't dig through the entirety of your problem, but you cured the most painful component which seems to be your concern, which is this:

    and pm.policyid + ' ' +...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Odd Questions

    amenjonathan (3/1/2011)


    Actually I retract my comments about you. I re-read every single post, and I looked at them from a different perspective. They don't come off as rude or condecending....


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are Joins faster in a query in OLEDB Src or should I use a lookup

    dndaughtery (3/1/2011)


    Using the lookups took 31 min 15 seconds. Using the joins on the server took 45 minutes.

    Hm, 1/3 time reduction, very nice.

    Tbl1 - 1,185,884 records

    Tbl2 - 202 records

    Tbl3 -...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Find orders with ALL the same items

    riyaz.mohammed (3/1/2011)


    The requirement is to find records that ONLY have a sale of item 1063. So ONLY orders that have ONLY tem 1063.

    Ah! I misunderstood that the first time,...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are Joins faster in a query in OLEDB Src or should I use a lookup

    dndaughtery (3/1/2011)


    I tried it both ways, one with doing the joins on the server in the query and another where I used lookups to pull only the columns needed in...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Find orders with ALL the same items

    insert into orders (oid, itemid)

    values (1,'1063')

    insert into orders (oid, itemid)

    values (1,'1063')

    insert into orders (oid, itemid)

    values (1,'1064')

    insert into orders (oid, itemid)

    values (2,'1063')

    insert into orders (oid, itemid)

    values (2,'1063')

    insert into orders (oid, itemid)

    values...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: SSIS Flat File Import with different file layouts

    There's another option, and it's in stream without a VB component, but does require some repetitive coding and usage of expressions. You'd have to used the derived column component...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    WayneS (3/1/2011)


    GSquared (3/1/2011)


    Kiara (3/1/2011)


    Brandie Tarvin (3/1/2011)


    How 'bout I throw some high heels, a mini skirt, and a lumberjack into the mix to really leave you screaming for the brain bleach?

    @=)

    "I'm...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Jeff Moden (2/28/2011)


    Craig Farrell (2/28/2011)


    Personally preferring nice nylons myself, but that may have more to do with who I have in mind wearing them at the time....

    .... AAAAaaaaand I'm in...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Jeff Moden (2/28/2011)


    Craig Farrell (2/28/2011)


    Hey Jeff, your mailbox is full again. I didn't want to keep cluttering up the newbie's thread regarding unioning and the like, he's got enough...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 3,856 through 3,870 (of 5,678 total)