|
индексы
|
|||
---|---|---|---|
#18+
Есть табличка такого вида с записями около 2000000: CREATE TABLE `files` ( `host_id` mediumint(9) unsigned NOT NULL default '0', `category_id` tinyint(4) unsigned NOT NULL default '0', `filetype_id` tinyint(4) unsigned NOT NULL default '0', `path` varchar(255) NOT NULL default '', `date` date NOT NULL default '0000-00-00', `size` int(11) NOT NULL default '0', KEY `category_id_index` (`category_id`) ) TYPE=MyISAM category_id - может принимать всего 10-15 значений. почему после optimize table, index файл(files.myi) занимает 10mb? ... |
|||
:
Нравится:
Не нравится:
|
|||
24.02.2004, 17:50 |
|
|
start [/forum/topic.php?fid=47&tid=1855377]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
38ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
43ms |
get tp. blocked users: |
1ms |
others: | 14ms |
total: | 138ms |
0 / 0 |