Forum OpenACS Q&A: Re: Notifications: weird outer join to notification_user_map

Yes, on our system, where we make HEAVY use of notifications this query was being fired off every 15 minutes, but it would not complete in 15 minutes.  It was pegging our Oracle server at 100% CPU.

I think we made some optimizations to fix this, but I'm not sure if they got submitted as patches.  Hopefully Brad or Jon Griffin will chime in here and remind me what we did in the end.

Yep, it was really nasty.

So is the outer join necessary or not?
And could you post your query please. Is is located in notifications/tcl/sweep-procs-oracle.xql.

Thanks a lot.