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)

defect

Tracking

()

People

(Reporter: vladan, Unassigned)

Details

It would be nice to have cached statements automatically dropped after a certain time without use.
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?
(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
Priority: -- → P3
Severity: normal → S3
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.