Code Monkey home page Code Monkey logo

Comments (5)

whinette avatar whinette commented on June 29, 2024

After 1h30 I had some changes, it is just extremely slow.
Edit: no it did not work after all. :(

from pixivutil2.

whinette avatar whinette commented on June 29, 2024

fyi, it took 15879ms with this query:

UPDATE pixiv_master_image SET save_name = replace(save_name, 'I:\Pixiv', 'P:\Pixiv') WHERE save_name LIKE 'I:\Pixiv%'

And your code does exactly the same thing, so ... I dunno.

from pixivutil2.

Nandaka avatar Nandaka commented on June 29, 2024

maybe because of python sqlite lib? I cannot do anything if this true...

from pixivutil2.

awiebe avatar awiebe commented on June 29, 2024

@whinette
While testing update root, I found that the database is not committed until until the you exit the Manage Database menu. To be safe, try exiting the whole program normally after performing the update ( you will be prompted by menu again once it completes). This worked perfectly fine for me and I have >196,000 (43.1 MiB) entries.

If you are displaying your database in a GUI remember that you will have to refresh, because the records have changed in a transaction after the one initially used to display those results.

from pixivutil2.

rwchunk avatar rwchunk commented on June 29, 2024

I haven't seen any changes to my DB when using it.
image
the output of this text is instant, so it doesn't seem like anything really happened either.

from pixivutil2.

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.