Code Monkey home page Code Monkey logo

Comments (4)

darold avatar darold commented on June 27, 2024

If a table name is in the EXCLUDE list, this table with all related indexes and constraint will not be exported at all. Could you explain more the issue you are facing ?

from ora2pg.

realyota avatar realyota commented on June 27, 2024

I was exporting data with DROP_FKEY and DROP_INDEXES options but it failed on index restoring. So now I want to restore indexes and fkeys only. Is that possible?

I have bunch of EXCLUDE options and they're not taking into account on index restoring/dropping. Would be great if it just mute exception on index creating just like on index dropping.

from ora2pg.

darold avatar darold commented on June 27, 2024

You can always do the following to extract commands from your data output file

grep "CREATE.* INDEX " output.sql > create_indexes.sql
grep "ALTER .* CONSTRAINT " output.sql > create_constraints.sql

using DROP_FKEY and DROP_INDEXES may have added those SQL order at end of the data file.

Is that what you are looking for ?

from ora2pg.

realyota avatar realyota commented on June 27, 2024

Yes, thank you

I should have thought of that, unfortunately I'm a Windows programmer - Cygwin terminal here I come! 👍

from ora2pg.

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.