Subject Re: [firebird-support] rw vs ro connections
Author Nick Upson
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
 
19.06.2019 17:51, Nick Upson nu@... [firebird-support] wrote:
> Should I expect any performance gain if I change my rw connections to ro, given that the
> query is always of the form "select * from ..."

   At first, there is no such things as "ro connection".
   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.
IMPORTANT NOTICE: This e-mail message is intended to be received only by persons entitled to receive the confidential information it may contain. E-mail messages to clients of Telensa may contain information that is confidential and legally privileged. Please do not read, copy, forward, or store this message unless you are an intended recipient of it. If you have received this message in error, please forward it to the sender and delete it completely from your computer system.