GithubHelp home page GithubHelp logo

Subsetting SQL script generation fails with '"Connection reset" in statement "Insert into JAILER_ENTITY...' after having been running for 10s of hours about jailer HOT 1 CLOSED

shabbir-genetech avatar shabbir-genetech commented on August 23, 2024
Subsetting SQL script generation fails with '"Connection reset" in statement "Insert into JAILER_ENTITY...' after having been running for 10s of hours

from jailer.

Comments (1)

Wisser avatar Wisser commented on August 23, 2024

Hi,

The statement that failed here was executed on the remote database (MS SQL). Probably the DBMS timed out there because the request took too long.

You can try to avoid such errors by selecting "local database" as "working table scope" (in "Data Export" dialog). However, the total runtime will increase. But long running "Insert Into..." statements will be prevented.

Basically, Jailer is a database client that makes requests to a DBMS. If the DBMS aborts a query with an error, the tool's work cannot continue either.
Also, the usual rules apply to the runtimes of the queries. Indexes may be necessary to bring the performance to a reasonable level (and thus avoid timeouts). With Jailer these are usually missing indexes on foreign key columns, because depending on the extraction model associations are also resolved in the direction of parent -> child.

Is it intended to extract tens of millions of rows? As you can see, the rows to be exported (resp. their PKs) are first collected in a table with "Insert Into" statements. Of course, the DBMS must be enabled for this, so that it does not abort the statements because some resources are not sufficient.

from jailer.

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.