Open
Bug 708882
Opened 13 years ago
Updated 3 months ago
Add time-based eviction of prepared statements to StatementCache
Categories
(Core :: SQLite and Embedded Database Bindings, defect, P3)
Core
SQLite and Embedded Database Bindings
Tracking
()
NEW
People
(Reporter: vladan, Unassigned)
Details
It would be nice to have cached statements automatically dropped after a certain time without use.
Comment 1•13 years ago
|
||
You mean adding code to do that to StatementCache? That would be really useful.
On the other side making that for any statement may be harder.
Btw, why is this bug filed under Places?
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #1)
> You mean adding code to do that to StatementCache? That would be really
> useful.
Yes
> On the other side making that for any statement may be harder.
We could maintain a list of prepared statements in the cache, sorted by expiration time, and add a quick check for expired statements on cache access
Component: Places → Storage
QA Contact: places → storage
Summary: Make prepared statements expire from cache → Add time-based eviction of prepared statements to StatementCache
Updated•8 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
Updated•3 months ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•