We run a number of procedures out of LP_CUSTOMER_RANK, and I was just fixing one up. The SQL is much cleaner now, but this has come at the expense of speed: 6ms originally for one with a lot of structural information hard-coded into the procedure, now 100-200ms for one that derives the structural information from tables. Is there a good rule of thumb for how many milliseconds of execution you can get away with in this proc before you start to degrade performance of the client?
Thanks,
Gawain
Regards,
Troy Nelson