|
|
|
индексы
|
|||
|---|---|---|---|
|
#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&msg=32419877&tid=1855377]: |
0ms |
get settings: |
9ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
171ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
1ms |
| others: | 215ms |
| total: | 483ms |

| 0 / 0 |
