You don't give us much information as what to tune! :-) -- However, I would start by constructing an "empty" GEL script (one that does nothing) - how long does that take to run, if that is 5-6 minutes then you have an issue in your "architecture". If that "empty" script runs immediately, then you have issues in one of the (many) steps in your pseudo-code above. So add the real code in one-section-at-a-time to work out where your bottle-neck is..... I would guess it might be in any SQL logic you have therein, or at the XOG-call itself..... ?? David MortonCapgemini