Files
netdisco/lib/App/Netdisco
Christian Ramseyer 031c3e6d95 Optimize PortMAC query
* We meant well but it turns out that the array unnest and join is
  actually very slow, as the join arguments do not get pushed down
  into the CTE (in Postgres 9/10 at least, later versions remove some
  of the optimization barriers in that specifc type of query)
* This caused a seq scan on both device and device_port, and the query
  is executed many times during macsuck
* The query is now rewritten to use ANY (macaddr[]) and without CTE,
  which seems to be around 20x faster
2020-01-31 10:32:02 +01:00
..
2019-08-17 10:28:11 +02:00
2020-01-31 10:32:02 +01:00
2020-01-31 10:32:02 +01:00
2020-01-22 21:23:57 +00:00
2020-01-26 22:08:49 +01:00
2019-10-15 18:23:51 +01:00