Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added background worker settings for pg_cron #974

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tembo-stacks/src/stacks/specs/analytics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ postgres_config:
value: 30min
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: pg_stat_statements.track
value: top
- name: shared_preload_libraries
Expand Down
8 changes: 5 additions & 3 deletions tembo-stacks/src/stacks/specs/data_warehouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ postgres_config:
value: 30min
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: pg_stat_statements.track
value: top
- name: shared_preload_libraries
Expand Down Expand Up @@ -48,7 +50,7 @@ trunk_installs:
version: 0.3.1
- name: multicorn
version: 2.5.0
- name: pg_tier
- name: pg_tier
version: 0.0.5
extensions:
- name: pg_stat_statements
Expand Down Expand Up @@ -101,8 +103,8 @@ extensions:
- database: postgres
enabled: true
version: 2.5.0
- name: pg_tier
description: pg_tier
- name: pg_tier
description: pg_tier
locations:
- database: postgres
enabled: true
Expand Down
2 changes: 2 additions & 0 deletions tembo-stacks/src/stacks/specs/machine_learning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ postgres_config:
value: all
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: track_io_timing
value: 'on'
- name: shared_preload_libraries
Expand Down
4 changes: 3 additions & 1 deletion tembo-stacks/src/stacks/specs/olap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ postgres_config:
value: 30min
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: pg_stat_statements.track
value: top
- name: shared_preload_libraries
Expand All @@ -45,7 +47,7 @@ trunk_installs:
version: 1.0.0
- name: parquet_s3_fdw
version: 1.1.0
- name: pg_tier
- name: pg_tier
version: 0.0.4
extensions:
- name: pg_stat_statements
Expand Down
2 changes: 2 additions & 0 deletions tembo-stacks/src/stacks/specs/paradedb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ postgres_config:
value: 30min
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: pg_stat_statements.track
value: top
- name: shared_preload_libraries
Expand Down
2 changes: 2 additions & 0 deletions tembo-stacks/src/stacks/specs/rag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ postgres_config_engine: standard
postgres_config:
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: vectorize.host
value: postgresql:///postgres?host=/controller/run
- name: autovacuum_vacuum_cost_limit
Expand Down
6 changes: 5 additions & 1 deletion tembo-stacks/src/stacks/specs/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ postgres_config:
- name: pg_stat_statements.track
value: top
- name: shared_preload_libraries
value: pg_stat_statements,auto_explain,pg_search
value: pg_stat_statements,auto_explain,pg_search,pg_cron
- name: random_page_cost
value: 1.1
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
trunk_installs:
- name: pg_stat_statements
version: 1.10.0
Expand Down
2 changes: 2 additions & 0 deletions tembo-stacks/src/stacks/specs/timeseries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ postgres_config_engine: olap
postgres_config:
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: autovacuum_vacuum_scale_factor
value: 0.05
- name: autovacuum_vacuum_insert_scale_factor
Expand Down
2 changes: 2 additions & 0 deletions tembo-stacks/src/stacks/specs/vectordb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ postgres_config_engine: standard
postgres_config:
- name: cron.host
value: /controller/run
- name: cron.use_background_workers
value: 'on'
- name: vectorize.host
value: postgresql:///postgres?host=/controller/run
- name: autovacuum_vacuum_cost_limit
Expand Down