Forum Replies Created

Viewing 15 posts - 61 through 75 (of 130 total)

  • RE: Help on Performance issue on Recursive CTE

    mister.magoo (10/12/2012)


    Here is my sample data creation: 10,000,000 + rows in tempdb - you may want to put it somewhere else...it's about 1GB of data.

    Oh, and it relies on a...

  • RE: Help on Performance issue on Recursive CTE

    Jeff Moden (10/11/2012)


    haiao2000 (10/11/2012)


    I upload new execution plan . if someone can help identify one more break thru like MM did would be a home run for me.

    Thanks in advance.

    Is...

  • RE: help with difficult situation

    I guess the sittuation is not so difficult to him anymore 🙂 oh well....

    On the side note, GilaMonster in indonesian it means "Crazy Monster" as Gila=Crazy what you mean?

  • RE: help with difficult situation

    How about this

    --test ddl

    declare @sales_log table(member_id varchar(50),company_id varchar(50),purchase_dt datetime,purchase_amt money)

    insert into @sales_log(member_id,company_id,purchase_dt,purchase_amt)

    select 'Jen9921', '222141','1/2/2011','11.99' union all

    select 'Jen9921', '222141','2/2/2011','11.99' union all

    select 'Jen9921', '222141','3/2/2011','11.99' union all

    select 'Jen9921', '222141','4/2/2011','11.99'...

  • RE: Help on Performance issue on Recursive CTE

    I upload new execution plan . if someone can help identify one more break thru like MM did would be a home run for me.

    Thanks in advance.

  • RE: Help on Performance issue on Recursive CTE

    mister.magoo (10/11/2012)


    haiao2000 (10/11/2012)


    Maybe this will give another angle to look at. There are 2 ways I can benefit from this query if I can get it runs fast enough.

    1) get...

  • RE: Help on Performance issue on Recursive CTE

    Maybe this will give another angle to look at. There are 2 ways I can benefit from this query if I can get it runs fast enough.

    1) get all the...

  • RE: Help on Performance issue on Recursive CTE

    MM,

    I switched to clustered Index it runs about the same amount of time. Could you think of something else I can try to see if it makes any different? If...

  • RE: Help on Performance issue on Recursive CTE

    MM

    Here it is

    SQL Server parse and compile time:

    CPU time = 0 ms, elapsed time = 0 ms.

    SQL Server Execution Times:

    CPU time =...

  • RE: Help on Performance issue on Recursive CTE

    MM,

    Here it is

    SQL Server parse and compile time:

    CPU time = 0 ms, elapsed time = 0 ms.

    SQL Server Execution Times:

    CPU time...

  • RE: Help on Performance issue on Recursive CTE

    Here it is.

    SQL Server parse and compile time:

    CPU time = 0 ms, elapsed time = 0 ms.

    SQL Server Execution Times:

    CPU time =...

  • RE: Help on Performance issue on Recursive CTE

    MM,

    IT runs even slower in another box. See attachment

    Looks like it used the wrong index key. there is a clustered index that combined( ParentID, ChildId, and 2 other fields)

    While there...

  • RE: Help on Performance issue on Recursive CTE

    MM

    Attached is new plan running on permanent table sitting on a separated database (in the same laptop).

    I will run off and run it on another box and see if anything...

  • RE: Help on Performance issue on Recursive CTE

    I see, I suspect that my laptop runs slower than a normal one, so I will test on another machine later. I am going to create a permanentable senarios...

  • RE: Help on Performance issue on Recursive CTE

    mister.magoo (10/11/2012)


    And the statistics???

    MM,

    Sorry here it is. This one has 4 levels. With 34,689 records return in 53 seconds. The table has 10,831,321 records

    Updated: uploaded screenshot of segment that...

Viewing 15 posts - 61 through 75 (of 130 total)