3 ms·
Im not much of a database expert by an stretch, but this query took about 80 seconds, which seems like quite a long time, but maybe its more complicated than it
by dnadler 6y ago
Im not much of a database expert by an stretch, but this query took about 80 seconds, which seems like quite a long time, but maybe its more complicated than it appears? My understanding is that the group by is handled automatically, and the results seem to support that:
select cab_type, payment_type, count() from trips;
- bluestreak 6y agomulti-key aggregation is next on our list to optimise. It will perform similar to single key one in most cases.