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

oracle-DDL备份原始定义 #1332

Merged
merged 1 commit into from
Jan 18, 2022
Merged

Conversation

unknowissue
Copy link
Contributor

Oracle 的logmnr方法对DDL SQL_UNDO为空。
1、再做DDL之前,保存对象的定义,比如alter table时,备份的是create table 的定义,能知道之前是什么类型。
2、存储过程的替换也可以保留上一份的定义,回滚比较方便
3、回滚操作还是得DBA来搞。

@codecov
Copy link

codecov bot commented Jan 14, 2022

Codecov Report

Merging #1332 (d77a9fc) into master (fea32d2) will decrease coverage by 0.04%.
The diff coverage is 46.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1332      +/-   ##
==========================================
- Coverage   75.66%   75.62%   -0.05%     
==========================================
  Files          81       81              
  Lines       12507    12535      +28     
==========================================
+ Hits         9463     9479      +16     
- Misses       3044     3056      +12     
Impacted Files Coverage Δ
sql/engines/oracle.py 50.56% <46.42%> (+0.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fea32d2...d77a9fc. Read the comment docs.

@hhyo hhyo requested a review from ericruan-cn January 14, 2022 13:02
@hhyo hhyo merged commit 2673380 into hhyo:master Jan 18, 2022
@unknowissue unknowissue deleted the oracle-metadata-back branch January 20, 2022 01:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants