Comments (4)
Sorry for the trouble. I have to tell you that Oracle+RelStorage is barely supported and not regularly tested. If possible, I encourage people to migrate to PostgreSQL 11+.
However if I start Plone a second time it works without a problem
Do you mean, you stop plone and just start it again? Or you start a second instance? I'm not sure what difference it makes because I don't know why you would be getting this.
Once you start a second instance, the trouble disappears for good?
ORA-08177: can't serialize access for this transaction
IIRC, the error you're getting means that there are multiple transactions in progress that conflict. I don't know enough about Zope/Plone startup to guess why that would be. Normally I wouldn't expect that. Perhaps you're starting multiple worker processes at the same time?
Especially here, when it's just trying to load the root object conn.get(z64)
.
Googling suggests that this may be a problem related to particular versions of Oracle and how it handles the undo segments. If that's the case, simply connecting to the database from a single client (ZODB.config.open(…)
) before attempting to start multiple processes/threads ought to initialize the rollback segments and solve the issue.
from relstorage.
I start just one instance (./bin/client1 fg
), nothing more. However I think one client usually spawns multiple worker threads.
I am assuming that the error only happens while the database is created. After that it works normal.
We have a customer who wishes to use its Oracle database, so we do it with our application. I don't think we can switch to an other database backend now. For other projects we usually use Postgres as well.
from relstorage.
I am assuming that the error only happens while the database is created. After that it works normal.
I don't know what to suggest, other than what I suggested before (open a "pre-flight" connection).
from relstorage.
Closing; no updates since 2021.
from relstorage.
Related Issues (20)
- Postgresql config recommendations for Relstorage HOT 7
- Change locking order to eliminate deadlocks
- Cache vacuuming can sometimes take way too long HOT 1
- Clarification on oids.sqlite3 in SQLite storage HOT 2
- FIPS support HOT 5
- Problem packing RelStorage HOT 5
- psycopg2.ProgrammingError: named cursor isn't valid anymore HOT 1
- When Relstorage 3.5.0 final or beta? HOT 2
- Why is psycopg2-binary not recommended in production use? HOT 3
- psycopg2.errors.DuplicateObject: type "temp_store" already exists HOT 7
- Relstorage cache problem? HOT 2
- Prepack fails HOT 2
- pg8000 driver - AttributeError: 'Connection' object has no attribute 'in_transaction' HOT 2
- Avoiding UnableToLockRowsToReadCurrentError exceptions HOT 2
- Question about Pyramid + ZODB + RelStorage performances HOT 2
- Unable to install: fails to build relstorage.cache.cache extension HOT 6
- Large PostgreSQL database with blobs HOT 3
- Persistent cache not working? HOT 5
- Problem installing on macOS Sonoma HOT 1
- Uses `six` library but does not declare it.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from relstorage.