Re: [PERFORM] UPDATE with subquery too slow

2004-02-18 Thread Eric Jain
> I can't get the following statement to complete with reasonable time. Upgraded to 7.4.1, and realized that NOT IN is far more efficient than IN, EXISTS or NOT EXISTS, at least for the amount and distribution of data that I have. Here are some numbers from before and after performing the problema

Re: [PERFORM] UPDATE with subquery too slow

2004-02-17 Thread Kevin Brown
Eric Jain wrote: > I can't get the following statement to complete with reasonable time. > I've had it running for over ten hours without getting anywhere. I > suspect (hope) there may be a better way to accomplish what I'm trying > to do (set fields containing unique values to null): [...] > Usi

Re: [PERFORM] UPDATE with subquery too slow

2004-02-17 Thread Leeuw van der, Tim
: [PERFORM] UPDATE with subquery too slow I can't get the following statement to complete with reasonable time. I've had it running for over ten hours without getting anywhere. I suspect (hope) there may be a better way to accomplish what I'm trying to do (set fields contain

[PERFORM] UPDATE with subquery too slow

2004-02-17 Thread Eric Jain
I can't get the following statement to complete with reasonable time. I've had it running for over ten hours without getting anywhere. I suspect (hope) there may be a better way to accomplish what I'm trying to do (set fields containing unique values to null): UPDATE requests SET session = NUL