更新 netease_music 脚本
This commit is contained in:
1
netease_music/manual-script/@deprecated/start_cmd.bat
Normal file
1
netease_music/manual-script/@deprecated/start_cmd.bat
Normal file
@@ -0,0 +1 @@
|
||||
start cmd
|
9
netease_music/manual-script/@deprecated/表合并.sql
Normal file
9
netease_music/manual-script/@deprecated/表合并.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
REPLACE INTO `comment_origin_` SELECT * FROM `comment`; -- 80.1G
|
||||
REPLACE INTO `user_origin_` SELECT * FROM `user`; -- 5.20G
|
||||
|
||||
|
||||
DELETE `comment`
|
||||
FROM `comment` INNER JOIN `comment_origin_` ON `comment`.comment_id = `comment_origin_`.comment_id;
|
||||
|
||||
DELETE `user`
|
||||
FROM `user` INNER JOIN `user_origin_` ON `user`.user_id = `user_origin_`.user_id;
|
Reference in New Issue
Block a user