Giter Site home page Giter Site logo

Comments (22)

martingehrke avatar martingehrke commented on June 20, 2024

I see SELECT pg_catalog.pg_get_serial_sequence ( ? ) millions of times on the db

from datanymizer.

angryjohnnie avatar angryjohnnie commented on June 20, 2024

Fetch tables metadata... takes more time than a full database dump.

I came here today to say exactly this. I have 20-something schemas. Each with about 50 tables. The metadata fetch takes over an hour. the actual db dumping part takes probably 10 min to a local disk.

TY for the tool, it does the thing, I just wish it were quicker.

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

Hello! I think that it is a some kind of bug, we will check this.

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

I have some ideas, could you please provide the database schema (the dump without data)?

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

angryjohnnie avatar angryjohnnie commented on June 20, 2024

angryjohnnie https://github.com/angryjohnnie, are you able to easily? this is a production database, I can't just share our schema, sorry.

im not sure what our policy is regarding sharing that schema. I can see if I can find out though.

from datanymizer.

angryjohnnie avatar angryjohnnie commented on June 20, 2024

It looks like I am not allowed to share our schema either, unfortunately.

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

OK, then we will try to fix this without these schemas.

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

marmik18 avatar marmik18 commented on June 20, 2024

I have a similar kind of issue, I have 4 schemas and around 20 tables in each of the schema. I also tried passing filter args using the cli <PG_DUMP_ARGS>. But it still takes more than 20 mins to fetch the metadata.

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

Can anybody run dumping with the tracing branch and copy the output here? I can build a binary if required.

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

Platform? (win/linux/mac - Darwin or ARM)

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

pg_datanymizer.zip

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

Thank you very much, I will look into it...

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

Try the updated version, please.
pg_datanymizer.zip

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

evgeniy-r avatar evgeniy-r commented on June 20, 2024

@martingehrke, can you check this one too please?
pg_datanymizer.zip

from datanymizer.

martingehrke avatar martingehrke commented on June 20, 2024

from datanymizer.

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.