You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/stats
Karl-Aksel Puulmann 11c5d3b251
Remove ARRAY JOINs (#3708)
* Use array indexing instead of left joins

This has multiple benefits:
- Allows us to more easily add support for multiple custom property
  filters
- Performance: Increased performance of some queries by ~20%

Work left to do:
- Check tests coverage
- Create macros for repeated fragments
- Quote and refer to right tables in fragments/macros

* Use macros to clean up code

* Use existing atoms to avoid memory leaks
3 years ago
..
aggregate.ex trace aggregate and timeseries queries too (#3712) 3 years ago
base.ex Remove ARRAY JOINs (#3708) 3 years ago
breakdown.ex Remove ARRAY JOINs (#3708) 3 years ago
clickhouse.ex Remove ARRAY JOINs (#3708) 3 years ago
compare.ex Small bugfix + refactor email reports (#3642) 3 years ago
comparisons.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
current_visitors.ex Clean up after V2 migration (#2868) 4 years ago
custom_props.ex Limit Custom Properties access in Stats API (#3670) 3 years ago
email_report.ex Small bugfix + refactor email reports (#3642) 3 years ago
filter_parser.ex Harden API input validation (#2869) 4 years ago
filter_suggestions.ex Remove ARRAY JOINs (#3708) 3 years ago
filters.ex Update credo config + extras (#3547) 3 years ago
fragments.ex Remove ARRAY JOINs (#3708) 3 years ago
imported.ex Skip breakdown of imported pages with pageviews=0 (#3655) 3 years ago
interval.ex Disallow small intervals on large ranges (#3245) 3 years ago
props.ex Prop filter modal (#2841) 4 years ago
query.ex trace aggregate and timeseries queries too (#3712) 3 years ago
timeseries.ex trace aggregate and timeseries queries too (#3712) 3 years ago
util.ex Small build updates (#3546) 3 years ago