I'm not Sure what isolation level I'm using. Whatever is default I expect. I'm 
using an ORM and python interface. I will need to dig into this a little 
deeper. However, my transaction do not overlap, so I don't expect the isolation 
level to matter.

Regarding using the embedded interface from more than one process: I thought 
this was ok for firebird versions 2.5 and later. The docs indicate full SMP 
operation is supported using direct file access. If I'm mistaken then this 
might be the root of my problem.

Thanks
BC


Sent from Samsung Mobile



-------- Original message --------
From: "Ann Harrison [email protected] [firebird-support]" 
<[email protected]>
Date: 12/07/2014 14:46 (GMT+00:00)
To: [email protected]
Subject: Re: [firebird-support] Synchronisation between two processes




Sorry, from my phone, sobad formatting and terse.  What transaction isolation 
mode(s) are you using?  Ordinarily direct file access is limited to one 
process. What version of Firebird?

Ann

On Jul 11, 2014, at 10:31 AM, "Bryan Cole 
[email protected]<mailto:[email protected]> [firebird-support]" 
<[email protected]<mailto:[email protected]>> 
wrote:

Hi,

I have two client processes (on uptodate linux host) accessing a firebird 
database using the direct-file-access method (libfbembed.so). Most of the time, 
when a write transaction is committed in one process the data is visible in the 
second process more-or-less immediately. Sometimes (apparently depending on the 
order of DB access, size of the table and phase of the moon), it takes much 
much longer (>14 seconds) for changes to show up in the second process. Is 
there a method to ensure that the results of a transaction are immediately 
available to other processes?

I'm using firebird-2.5.2, superclassic server on linux (Fedora20). All DB 
writes/reads are within the context of a transaction.

Thanks,

BC

--
Group Leader, Technical Development Group - Teraview Ltd.
Platinum Building, St. John's Innovation Park, Cambridge CB4 0DS, UK.
tel: +44 (0)1223 435386, fax: +44 (0)1223 435382, web: 
www.teraview.com<http://www.teraview.com/> Registered Number: 04126946, VAT 
Number: 770 8883 84

...preferred document formats: ODF (ISO/IEC 26300:2006), PDF


Reply via email to