Subject | Re: [Firebird-Architect] global temporary table and read only transaction |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2008-04-11T16:26:20Z |
Roman Rokytskyy escreveu:
easy to do this with a NBAK locked database now.
--
Adriano dos Santos Fernandes
http://www.firebirdsql.org
>> now, if you are inside a read only transaction, you can't insert data into a GTTSee my other message.
>> but GTT are useful to some long running select queries or even to make a set of successive
>> select queries
>> since GTT have a flag and that data are outside the db file, wouldn't be possible to allow
>> insert even on read only transaction ?
>>
>
> What is the use case for such requirement?
>
> Some time ago we had requirement, where people asked to allow CRUDSuch people may be happy, because if it's not already possible it's very
> operations in the databases on read-only media (e.g. CDROM), where the
> additional file would have been located, for example, in %TEMP%
> directory. The use case for such requirement was to allow modification
> of user-specific data for a "dictionary" databases distributed on CDROMs
> and DVDs.
>
> And, if I understand correctly, the "main" technical issue is that main
> database file must be updated in the system tables area (OAT, OIT,
> allocate pages, etc).
easy to do this with a NBAK locked database now.
--
Adriano dos Santos Fernandes
http://www.firebirdsql.org