|
|
> What indexes have you defined? If you define an index over expid, you may
> see a speed increase. 11 seconds seems a bit long for any query on a table
> with indexes.
I had an index on expid already, but looking at it again I think the test
case I used was artificial because almost all of the data was from just one
expid. Using the query for this one, where 99% of records were for this ID,
it took the 11 seconds, but when querying for other expids (where they took
up less than 1% of the table) was way way faster, like 0.1 seconds or
something. I guess if the intermediate result somewhere consists of almost
the whole table it causes some slowdown...
Post a reply to this message
|
|