Sun Jian

Results 23 issues of Sun Jian

**SQLe Version** SQLE后端库不应该记录邮箱配置的明文密码 **Describe the bug** **To Reproduce** **Expected behavior** **Suggestion**

bug
bug_reproduced

## 需求 通过审核任务支持 MySQL general log 审核。 1. 添加一个审核任务类型为general log,数据库类型MySQL的审核任务; 2. 在 scanner 中增加扫描 general log 的功能,并推送到SQLE进行审核。 ## 参考 审核任务文档:https://actiontech.github.io/sqle-docs-cn/3.modules/3.6_auditplan/overview.html 审核任务代码模块:https://github.com/actiontech/sqle/tree/main/sqle/server/auditplan scanner代码模块:https://github.com/actiontech/sqle/tree/main/sqle/cmd/scannerd

feature

**SQLe Version** main **Describe the bug** MySQL 索引优化特定语句不符合预期,从图中SQL语句看id并不是筛选条件 ![origin_img_v2_05f1d671-4bb8-41ec-83ff-d80bf6e2720g](https://user-images.githubusercontent.com/18008452/179436814-73867716-d415-4878-93d4-74fac3426721.jpg) 对应的SQL语句如下: ```sql select id,user_id,user_type,auth_type,auth_account,auth_secret,secret_salt,status,create_at FROM t_account WHERE is_deleted=0 AND (user_id= '123456789') ``` 对应的库表结构如下: ```sql CREATE TABLE `t_account` ( `id` varchar(64) NOT...

bug

**Describe** 创建审核任务时,可以选择数据库类型,选择后数据源下拉框建议按选择的数据库类型进行筛选,而不是展示全部。 ![image](https://user-images.githubusercontent.com/18008452/179917883-e9ae0475-13a6-4538-bc3e-c928c06453ca.png) **Suggestion** **Why**

ui
suggestion

如果您的公司正在使用SQLE,欢迎留下您的公司和网址。感谢您的评论!

documentation

## 背景 有重复数据时,加唯一索引,ghost会默认覆盖重复的数据(ghost的bug,还未修复:[fix data-integrity problem when add unique key by cenkore · Pull Request #912 · github/gh-ost](https://github.com/github/gh-ost/pull/912) ,用mysql原生是没问题的 ) ## 建议 SQLE DDL上线时可以自动调用gh-ost,建议考虑增加个提示:有重复数据时加唯一索引要用mysql原生的方式上线。

feature

## Logminer Docs ref:https://docs.oracle.com/cd/B19306_01/server.102/b14215/logminer.htm ## 技术方案 DTLE Oracle extractor 通过 SQL driver 轮询读取Oracle server 端的 logminer 数据(对应的是redo log的内容),通过 SCN 作为查询区间,每次向前滑动读取数据。 ## 数据一致性问题 1. 支持按事务读取: #815 2. 任务重启恢复: #816 ## 遗留问题...

features
Oracle
need_docs

1. 项目地址:https://github.com/actiontech/sqle 2. 文档地址:https://actiontech.github.io/sqle-docs-cn/ 3. 官网:https://opensource.actionsky.com/sqle/

SQLE is a SQL audit platform for DBA or developer. docs: https://github.com/actiontech/sqle/blob/main/README_en.md

**SQLe Version** **Describe the bug** 执行特定语句时展示的表信息重复,例如:insert into t1 select * from t1 ![image](https://user-images.githubusercontent.com/18008452/191226672-088e1106-9078-438b-859a-6302b5f82529.png) **To Reproduce** **Expected behavior** **Suggestion**

bug
ee