设为首页 加入收藏

TOP

SONAR数据库重点表说明
2014-11-24 03:05:22 来源: 作者: 【 】 浏览:2
Tags:SONAR 数据库重点 说明
SONAR 数据库重点表说明
SONAR数据库很少泄密,直接去研究了一下。经过一天反复实践,把重点的几个表来说明一下。 www.2cto.com
说明一下,SONAR提供删除项目的功能,但大量数据并没有删除掉。
select * from projects where scope='PRJ' AND qualifier='TRK' order by name;
delete from resource_index where root_project_id in (37641,37902,38053,37456,38204,38355,38506);
delete from sonar.snapshot_sources where snapshot_id
in
(
select id from sonar.snapshots where root_project_id in (37641,37902,38053,37456,38204,38355)
);
delete from sonar.project_measures where snapshot_id
in
(select id from snapshots where root_project_id in (37641,37902,38053,37456,38204,38355));
delete from projects where root_id in (37641,37902,38053,37456,38204,38355);
delete from projects where id in (37641,37902,38053,37456,38204,38355);
delete from sonar.snapshots where root_project_id in (37641,37902,38053,37456,38204,38355);
delete from rule_failures
where snapshot_id not in
(
select id from snapshots );
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇各种数据库默认端口汇集 下一篇排除Cache影响手动强制刷新Buffer..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·哈希表 - 菜鸟教程 (2025-12-24 20:18:55)
·MySQL存储引擎InnoDB (2025-12-24 20:18:53)
·索引堆及其优化 - 菜 (2025-12-24 20:18:50)
·Shell 中各种括号的 (2025-12-24 19:50:39)
·Shell 变量 - 菜鸟教 (2025-12-24 19:50:37)