Open GoogleCodeExporter opened 9 years ago
For the Autocomplete, I would like to discuss with you the possibility to use
the
Singleton structure for the probes tables and/or to index the table to avoid
clogging
the server.
Tomorrow I will work on another project, which has the Autocomplete
functionality.
There I use AJAX and an indexed database. I will play with it to gain some
experience
about performance and I will get back to you.
Original comment by whemu...@gmail.com
on 25 May 2009 at 6:12
there is already an composite primary key index on the probe ID:
mysql> describe probes;
+----------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+-------------+------+-----+---------+-------+
| probe_id | varchar(50) | NO | PRI | NULL | |
| set_id | int(11) | NO | PRI | NULL | |
+----------+-------------+------+-----+---------+-------+
2 rows in set (0.01 sec)
I'm not sure how MySQL does its indexing, and whether an additional index would
help?
We'd always be including the set_id in the query also
Original comment by b.j.dalz...@gmail.com
on 25 May 2009 at 6:22
Original issue reported on code.google.com by
b.j.dalz...@gmail.com
on 25 May 2009 at 3:52