-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hotfix export timeout issue #261
Conversation
@yaozhihang I just created a fresh build and tested this with the workaround described in #257 (comment) enabled and disabled and can confirm this works! Thx for the quick fix. |
@yaozhihang, thanks for proposing this hotfix to solve #257. However, I'm not sure whether this is really a "fix". Imho, the query optimizer should deal with "long" And does your change affect exports from Oracle? @BWibo, have you already tried and "vacuumed" your database? Maybe this already helps? |
impexp-core/src/main/java/org/citydb/core/operation/exporter/database/content/DBSplitter.java
Outdated
Show resolved
Hide resolved
@BWibo, thanks for vacuuming the database. Unfortunately, I again ran into the issue in my export test. So, it seems that vacuuming might help but does not solve the issue. |
When adding This seems to support that re-arranging the query is not necessary. As far as I understand, |
clausnagel's solution looks better. It ensures that the pool produces clean connections for each export. |
|
Discarding this PR due to #263 |
Fix the issue #257.
It seems that the issue is caused by the very long
where
clause in the root select statement. So, putting the longwhere
clause in a subquery solves the issue.