analytics/priv/ingest_repo/migrations
Adam Rutkowski 8f85b110aa
Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661)
* Configure ingest repo access/pool size

If I'm not mistaken 3 is a sane default, the only
inserts we're doing are:

  - session buffer dump
  - events buffer dump
  - GA import dump

And all are serializable within their scopes?

* Add IngestRepo

* Start IngestRepo

* Use IngestRepo for inserts

* Annotate ClickhouseRepo as read_only

So no insert* functions are expanded

* Update moduledoc

* rename alias

* Fix default env var value so it can be casted

* Use IngestRepo for migrations

* Set default ingest pool size from 3 to 5

in case conns are restarting or else...

* Ensure all Repo prometheus metrics are collected
2023-02-12 17:50:57 +01:00
..
20200915070607_create_events_and_sessions.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20200918075025_add_utm_tags.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20201020083739_add_event_metadata.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20201106125234_add_browser_version_and_os_version.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20210323130440_add_sample_by.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20210712214034_add_more_location_details.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20211017093035_add_utm_content_and_term.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20211112130238_create_imported_tables.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20220310104931_add_transferred_from.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20220404123000_add_entry_props_to_session.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20220421161259_remove_entry_props.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20220422075510_add_entry_props.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00
20230124140348_add_city_name_to_imported_locations.exs Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00