Re: 10.000 events in a Resource Calendar
Alex Potter <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kolab |
|---|---|
| Message-ID | <4FB7C032.3090700__7744.02425527132$1337442726$gmane$org@ap-consulting.co.uk> |
On 19/05/12 12:10, Jeroen van Meeuwen (Kolab Systems) wrote: > To that end, I was wondering if there's a way to do this more efficiently > than; > > 1) Obtain*all* event objects, > 2) Parsing*all* of them one by one, > 3) Until I find a conflict or run out of events. > > Any thoughts would be appreciated. > > Kind regards, How about a database query? pseudo: if count (select event.timerange from events where event.timerange in newevent.timerange ) then... Maybe too resource intensive? Schema wouldn't support it? Alex _______________________________________________ Kolab-devel mailing list [email protected] https://www.intevation.de/mailman/listinfo/kolab-devel