GithubHelp home page GithubHelp logo

Comments (4)

knight-xiaolu2023 avatar knight-xiaolu2023 commented on July 26, 2024

image
好像又不行了,试了下加不加delete都没有数据

from ibd2sql.

ddcw avatar ddcw commented on July 26, 2024

你删除数据之后, mysql不一定马上就刷盘(数据可能还在内存中), 所以磁盘上有可能还是 未删除的 的状态. (为了更好的利用IO)
一个简单的验证方法: 重启 然后再次解析. (当然被标记为delete的数据行有可能会被清除掉)

执行命令: python3 main.py /opt/user.ibd --debug --complete-insert --sql --delete 没有任何数据但是把--delete去掉后 可以恢复数据,但是我其实是使用delete from user 直接删除的。

from ibd2sql.

ddcw avatar ddcw commented on July 26, 2024

所以 备份开启binlog更重要(redo不要关), 本工具只是万不得已才使用的.

from ibd2sql.

knight-xiaolu2023 avatar knight-xiaolu2023 commented on July 26, 2024

我昨天猜测也是可能是异步的,但是等了5分钟还是没数据。你这个工具很不错 。上次我把测试环境数据误删了就是用你这个恢复的,感谢哈

from ibd2sql.

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.