Mailinglisten-Archive |
hallo,
ich habe folgende Tabelle.
CREATE TABLE tab (
> id1 mediumint(8) unsigned DEFAULT '0' NOT NULL,
> id2 int(10) unsigned DEFAULT '0' NOT NULL,
> total tinyint(1) unsigned DEFAULT '0' NOT NULL,
> ...
> timestamp timestamp(14),
> PRIMARY KEY (id1,id2),
> KEY star_id (id1)
> );
Die Abfragen sind einmal auf beide Indexe und einmal nur auf den 1.
Mache ich jetzt 2 Indexe, wie bisher oder reicht der kombinierte?
Stay charming in the year 2001 ....
/\/\arkus
\/\/olf
---
*** Weitere Infos zur Mailingliste und MySQL unter http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive