diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-23 18:54:28 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-23 18:54:28 +0000 |
commit | 3b0f46cd61c0398fbd52887f5db54da99aa4b150 (patch) | |
tree | ad10fb810242a494b8a194104a855c0e2b31372b /sql-files/upgrade_svn9050.sql | |
parent | 7d9c60fd321696ac11aecbfcc008299d7625f418 (diff) | |
download | hercules-3b0f46cd61c0398fbd52887f5db54da99aa4b150.tar.gz hercules-3b0f46cd61c0398fbd52887f5db54da99aa4b150.tar.bz2 hercules-3b0f46cd61c0398fbd52887f5db54da99aa4b150.tar.xz hercules-3b0f46cd61c0398fbd52887f5db54da99aa4b150.zip |
- Added a bunch of important indexes when dealing with the log tables. Added upgrade_svn9050.sql for this purpose.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9051 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files/upgrade_svn9050.sql')
-rw-r--r-- | sql-files/upgrade_svn9050.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql-files/upgrade_svn9050.sql b/sql-files/upgrade_svn9050.sql new file mode 100644 index 000000000..932bc3b38 --- /dev/null +++ b/sql-files/upgrade_svn9050.sql @@ -0,0 +1,6 @@ +ALTER TABLE `picklog` ADD INDEX (`type`);
+ALTER TABLE `zenylog` ADD INDEX (`type`);
+ALTER TABLE `branchlog` ADD INDEX (`account_id`), ADD INDEX (`char_id`);
+ALTER TABLE `atcommandlog` ADD INDEX (`account_id`), ADD INDEX (`char_id`);
+ALTER TABLE `npclog` ADD INDEX (`account_id`), ADD INDEX (`char_id`);
+ALTER TABLE `chatlog` ADD INDEX (`src_accountid`), ADD INDEX (`src_charid`);
|