Summary | Birthdays from contacts |
Queue | Turba |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | guido.wilken (at) web (dot) de |
Created | 10/25/2004 (7556 days ago) |
Due | |
Updated | 10/22/2007 (6464 days ago) |
Assigned | 10/26/2004 (7555 days ago) |
Resolved | 01/12/2007 (6747 days ago) |
Milestone | |
Patch | No |
Since this sounds like something the developers would have to handle,
should I - or you - submit this as an enhancement request?
does the date comparisons itself. It fetches all contact objects and
then checks the birthday dates one-by-one.
To improve speed, we would need to do the date comparisons in the
backend database. This means either using a more specific search
criteria in the call to search() or implementing an optimized
listBirthday() function in each backend driver.
I did simply create an index by the object_bday field. It really did
not make a difference. Is there something more to it than that?
What I did was issue this command:
ALTER TABLE `turba_objects` ADD INDEX ( `object_bday` )
The resulting lookup was not any faster.
By the way - out of my 700 turba entries, only 25 actually have a
birthday entry. Is the listBirthday function reading every turba
entry? Do I need to modify the listBirthday function to know
about/take advantage of this new index?
thanks again,
REALLY great feature!
like this is best left to individual sites/DBAs and how they organize
their tables.
order to have the birthdays from my address book show on my calendar.
The time to show my calendar went from 1-2 seconds to 15-20 seconds!
Should an index be built or something else to reduce the significant
impact this feature has?
I am running the latest CVS code and have about 700 entries in the
turba_objects table.
thanks,
Michael
State ⇒ Resolved
Version ⇒ HEAD
Queue ⇒ Turba
For now we only return attributes with the name "birthday" but this
could easily be extended in the future to return any attributes of a
date or datetime type.
have Anniversaries, Christenings, or whatever in addition to birthdays.
State ⇒ Accepted
I wonder how much intercommunication between turba and kronolith is possible.
From my (deliberatly uninvolved) point of view it would be quite easy
for kronolith to get the birthdates from turba, or am I wrong ?
Don't find me bothering here, I'm just a little nosy :)
State ⇒ Assigned
got to it.
Priority ⇒ 1. Low
State ⇒ New
Queue ⇒ Kronolith
Summary ⇒ Birthday's from contacts
Type ⇒ Enhancement
automagicaly see them in the Calender :)
BTW: Really nice work so far ! Keep it on !