Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christian Palm 278 posts 273 karma points
    Aug 31, 2010 @ 09:54
    Christian Palm
    0

    Macro Container Slow: Executing 21.000 sql queries

    Hi

    We are using the new cool Macro Container on our new sites. But now the backend (Editing documents with the macro container as property) are getting slow and slower.

    When I debug the solution with visual studio I can see that 21.000 sql queries executes when cliking a document inside umbraco. :-( it takes over 20 seconds to get a response.

    We are using umbraco v 4.5.1

    If I change the property from Macro Container to Multple line it only executes 111 queries.

    Does any body know how to fix this? I can not see the bug in release 4.5.2.

    We have 50 Macros in total, 12 allowed macroes on the Macro Container.

  • Christian Palm 278 posts 273 karma points
    Aug 31, 2010 @ 10:25
    Christian Palm
    0

    In another solution running v 4.5.2 the macro contianer is also slow.

    When I click "Insert macro" on property it executes 4.000 sql queries

  • Christian Palm 278 posts 273 karma points
    Aug 31, 2010 @ 10:35
    Christian Palm
    0

    Ok, in my first example with 21.000 sql queries I have set the max allowed macroes to 50

    If I change this to 5 it only executes 466 sql queries

    In all the examples not a single macro has been added to the contianer. Therefore I think this is a bug (badly designed datatype) and I will create a issue on codeplex.

  • Christian Palm 278 posts 273 karma points
    Aug 31, 2010 @ 11:10
  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 31, 2010 @ 16:11
    Ismail Mayat
    0

    I just got same issue dont know how many queries but it took a long time in the editor to pick a macro. Have voted.

    Regards

    Ismail

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Sep 02, 2010 @ 07:17
    Niels Hartvig
    0

    This is definitely a (very ugly) bug. Will be fixed for 4.5.3

Please Sign in or register to post replies

Write your reply to:

Draft