Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

输出的rollback文件中的SQL没有按照时间逆序输出? #4

Open
dikang123 opened this issue Jun 29, 2022 · 0 comments
Open

Comments

@dikang123
Copy link

./lightning -no-defaults \ -plugin flashback \ -start-datetime "2022-06-28 16:30:00" \ -stop-datetime "2022-06-28 17:35:00" \ -event-types update \ -tables a.b \ -master-info ./master.info > flashback.sql
使用lightning生成的rollback文件,SQL好像还是按照时间顺序排列的,如果要用来进行数据恢复的话,需要将文件内容逆向输出一下:
tac flashback.sql >flashback_r.sql

请问是否可以直接输出成时间逆序的SQL文件,可以直接拿来回滚使用?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant