Git Product home page Git Product logo

Comments (10)

jensens avatar jensens commented on June 28, 2024

transactions are not closed after read but kept open unless a write happens. This is not critical, but as far as i understand its also not clean.

from relstorage.

do3cc avatar do3cc commented on June 28, 2024

https://mail.zope.org/pipermail/zodb-dev/2014-March/015198.html

from relstorage.

do3cc avatar do3cc commented on June 28, 2024

Duplicate of #7

from relstorage.

mauritsvanrees avatar mauritsvanrees commented on June 28, 2024

Also, if you are using RelStorage 1.5.0 or older, this might be a problem that was fixed in 1.5.1 (November 2011). From the changelog: "RelStorage was opening a test database connection (and was leaving it idle in a transaction with recent ZODB versions that support IMVCCStorage.) RelStorage no longer opens that test connection."

from relstorage.

do3cc avatar do3cc commented on June 28, 2024

No, it is related to this:

elif not force and self._options.poll_interval:

The polling interval

from relstorage.

hathawsh avatar hathawsh commented on June 28, 2024

The poll interval option is off by default. Don't turn it on if this is a concern for you. Actually, perhaps the option should be removed altogether.

from relstorage.

jensens avatar jensens commented on June 28, 2024

So I need to check why some of my 1.6.0b3 instances with no poll interval set (defaults active) are resulting in idle in transaction on PGSQL.

from relstorage.

do3cc avatar do3cc commented on June 28, 2024

I also tried it yesterday, with 1.5.1. Poll Intervall 0, still immed. Idle transactions.

Sent from my iPhone because UPC sucks

On 05 Dec 2015, at 21:26, Jens W. Klein <[email protected]mailto:[email protected]> wrote:

So I need to check why some of my 1.6.0b3 instances with no poll interval set (defaults active) are resulting in idle in transaction on PGSQL.

Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-162243403.

________________________________________________________ The contents of this e-mail and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this e-mail is received in error, please immediately notify the sender and delete the e-mail and attached documents. Please note that neither the sender nor the sender's company accept any responsibility for viruses and it is your responsibility to scan or otherwise check this e-mail and any attachments.

from relstorage.

do3cc avatar do3cc commented on June 28, 2024

Postgres 9.6 has a new option , idle transaction timeout. This blogpost https://www.credativ.de/blog/postgresql-96-feature-idle-transaction-timeout (german) also explains the downsides of having idle transactions open. We are currently in maintenance mode with our big system using Relstorage. @jensens, are you actively working on some psql site where you can test this option to see if it makes a difference?

from relstorage.

jamadden avatar jamadden commented on June 28, 2024

FWIW, the poll interval option has been removed in RelStorage 2.0.

from relstorage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.