6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9342] using an index on horde_cache table improve performance
*
Your Email Address
*
Spam protection
Enter the letters below:
.___\ /. . __ . [__ >< |\ |/ ` | | / \| \|\__.\__|
Comment
> In H5, horde_cache defines cache_id as an autoincrement key. This > (should?) automatically marks this field as a primary key. (Testing > on postgresql, attempting to alter the table and add cache_id causes > a "multiple primary keys for table not allowed" error). > > And I don't see how adding a unique index on cache_id and timestamp > helps us. We don't need to enforce the combo of those two fields to > be unique. And indexing on cache_id should be sufficient - SQL > server should quickly look up cache_id, and then can quickly compare > the timestamp field. > > In other words, I think our cache table is already sufficiently optimized.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers