Subject | Re: [firebird-support] rw vs ro connections |
---|---|
Author | Nick Upson |
Post date | 2019-06-20T07:26:50Z |
I should have been more specific,
the python code is done as
ro_transaction = DB.trans(fdb.ISOLATION_LEVEL_READ_COMMITED_RO)
cur = ro_transaction.cursor()
else:
cur = DB.cursor()I don't see any reason this should perform better but
colleagues disagree
Kind Regards,
Nick
Nick Upson | Principal Operations Engineer
office +44 01799 588800 support hotline +44 1799 399200
DDI +44 01799 588621
telensa.com | @telensa | Linkedin
From: firebird-support@yahoogroups.com <firebird-support@yahoogroups.com> on behalf of Dimitry Sibiryakov sd@... [firebird-support] <firebird-support@yahoogroups.com>
Sent: 19 June 2019 16:59
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] rw vs ro connections
Sent: 19 June 2019 16:59
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] rw vs ro connections
19.06.2019 17:51, Nick Upson nu@... [firebird-support] wrote:
At second, ro transactions have no performance advantage.
--
WBR, SD.
------------------------------------
------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu. Try FAQ and other links from the left-side menu there.
Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/firebird-support/join
(Yahoo! ID required)
<*> To change settings via email:
firebird-support-digest@yahoogroups.com
firebird-support-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/
CAUTION. This email originated from outside of Telensa. Do not click links or open attachments unless you recognise the sender and know the content is safe.
> Should I expect any performance gain if I change my rw connections to ro, given that theAt first, there is no such things as "ro connection".
> query is always of the form "select * from ..."
At second, ro transactions have no performance advantage.
--
WBR, SD.
------------------------------------
------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu. Try FAQ and other links from the left-side menu there.
Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/firebird-support/join
(Yahoo! ID required)
<*> To change settings via email:
firebird-support-digest@yahoogroups.com
firebird-support-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/
CAUTION. This email originated from outside of Telensa. Do not click links or open attachments unless you recognise the sender and know the content is safe.