mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
- improvements to search indexing performance, espacially tidy() by adding a word_count column, the database update from b5 to next version will take quite a while on bigger databases, I also lowered the default common word threshold from 20 to 5 percent, big boards might want to use 3 or 2 percent, 20 was way too high
- added some keys to ACL tables, great improvement of auth query performance - we will only add new language strings to install.php language file and won't modify any, if a language file is updated before phpBB is updated, the updater will not overwrite the user's language with english if install.php was modified git-svn-id: file:///svn/phpbb/trunk@7182 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -108,6 +108,8 @@ CREATE INDEX phpbb_acl_groups_group_id ON phpbb_acl_groups (group_id)
|
||||
/
|
||||
CREATE INDEX phpbb_acl_groups_auth_opt_id ON phpbb_acl_groups (auth_option_id)
|
||||
/
|
||||
CREATE INDEX phpbb_acl_groups_auth_role_id ON phpbb_acl_groups (auth_role_id)
|
||||
/
|
||||
|
||||
/*
|
||||
Table: 'phpbb_acl_options'
|
||||
@@ -186,6 +188,8 @@ CREATE TABLE phpbb_acl_roles_data (
|
||||
)
|
||||
/
|
||||
|
||||
CREATE INDEX phpbb_acl_roles_data_auth_option_id ON phpbb_acl_roles_data (auth_option_id)
|
||||
/
|
||||
|
||||
/*
|
||||
Table: 'phpbb_acl_users'
|
||||
@@ -203,6 +207,8 @@ CREATE INDEX phpbb_acl_users_user_id ON phpbb_acl_users (user_id)
|
||||
/
|
||||
CREATE INDEX phpbb_acl_users_auth_option_id ON phpbb_acl_users (auth_option_id)
|
||||
/
|
||||
CREATE INDEX phpbb_acl_users_auth_role_id ON phpbb_acl_users (auth_role_id)
|
||||
/
|
||||
|
||||
/*
|
||||
Table: 'phpbb_banlist'
|
||||
@@ -1232,11 +1238,14 @@ CREATE TABLE phpbb_search_wordlist (
|
||||
word_id number(8) NOT NULL,
|
||||
word_text varchar2(765) DEFAULT '' ,
|
||||
word_common number(1) DEFAULT '0' NOT NULL,
|
||||
word_count number(8) DEFAULT '0' NOT NULL,
|
||||
CONSTRAINT pk_phpbb_search_wordlist PRIMARY KEY (word_id),
|
||||
CONSTRAINT u_phpbb_wrd_txt UNIQUE (word_text)
|
||||
)
|
||||
/
|
||||
|
||||
CREATE INDEX phpbb_search_wordlist_wrd_cnt ON phpbb_search_wordlist (word_count)
|
||||
/
|
||||
|
||||
CREATE SEQUENCE phpbb_search_wordlist_seq
|
||||
/
|
||||
|
Reference in New Issue
Block a user