Subject | Re: [Firebird-Architect] Synchronizing DSQL Metadata Caches in CS |
---|---|
Author | Ann W. Harrison |
Post date | 2006-07-07T19:41:21Z |
Adriano dos Santos Fernandes wrote:
metadata change. Would it be possible to have a cache_lock
for each object so only those objects change would need to
be refreshed?
Regards,
Ann
>I'm not wild about invalidating the whole cache for every
> A new lock is created (dsql_cache_lock), and when one starting reading
> the cache, it acquires a shared lock on dsql_cache_lock and get a flag
> indicating if the cache is obsolete.
> ...
>
> Comments? Suggestions? Objections?
>
metadata change. Would it be possible to have a cache_lock
for each object so only those objects change would need to
be refreshed?
Regards,
Ann