Moodle: различия между версиями
Перейти к навигации
Перейти к поиску
Vovan (обсуждение | вклад) |
Vovan (обсуждение | вклад) |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 17: | Строка 17: | ||
https://stackoverflow.com/questions/13497352/error-permission-denied-for-relation-tablename-on-postgres-while-trying-a-selec | https://stackoverflow.com/questions/13497352/error-permission-denied-for-relation-tablename-on-postgres-while-trying-a-selec | ||
+ | |||
+ | https://github.com/PostgREST/postgrest/issues/251 | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | # DB Version: 12 | ||
+ | # OS Type: linux | ||
+ | # DB Type: web | ||
+ | # Total Memory (RAM): 16 GB | ||
+ | # CPUs num: 16 | ||
+ | # Connections num: 3000 | ||
+ | # Data Storage: ssd | ||
+ | |||
+ | max_connections = 3000 | ||
+ | shared_buffers = 4GB | ||
+ | effective_cache_size = 12GB | ||
+ | maintenance_work_mem = 1GB | ||
+ | checkpoint_completion_target = 0.9 | ||
+ | wal_buffers = 16MB | ||
+ | default_statistics_target = 100 | ||
+ | random_page_cost = 1.1 | ||
+ | effective_io_concurrency = 200 | ||
+ | work_mem = 349kB | ||
+ | min_wal_size = 1GB | ||
+ | max_wal_size = 4GB | ||
+ | max_worker_processes = 16 | ||
+ | max_parallel_workers_per_gather = 4 | ||
+ | max_parallel_workers = 16 | ||
+ | max_parallel_maintenance_workers = 4 | ||
+ | </pre> | ||
+ | |||
+ | https://stackoverflow.com/questions/3327312/how-can-i-drop-all-the-tables-in-a-postgresql-database?rq=1 |
Текущая версия на 10:31, 12 сентября 2021
https://docs.moodle.org/311/en/PostgreSQL
https://andreyex.ru/ubuntu/ustanovka-postgresql-s-phppgadmin-na-ubuntu-16-04/
https://selectel.ru/blog/postgresql-backup-tools/
https://linuxconfig.org/ubuntu-20-04-postgresql-installation
https://stackoverflow.com/questions/19134471/rsync-over-ssh-delete-existing-files
https://losst.ru/ustanovka-lamp-v-ubuntu-20-04
https://timeweb.com/ru/community/articles/kak-ustanovit-stek-lamp-na-ubuntu-20-04
https://github.com/PostgREST/postgrest/issues/251
# DB Version: 12 # OS Type: linux # DB Type: web # Total Memory (RAM): 16 GB # CPUs num: 16 # Connections num: 3000 # Data Storage: ssd max_connections = 3000 shared_buffers = 4GB effective_cache_size = 12GB maintenance_work_mem = 1GB checkpoint_completion_target = 0.9 wal_buffers = 16MB default_statistics_target = 100 random_page_cost = 1.1 effective_io_concurrency = 200 work_mem = 349kB min_wal_size = 1GB max_wal_size = 4GB max_worker_processes = 16 max_parallel_workers_per_gather = 4 max_parallel_workers = 16 max_parallel_maintenance_workers = 4