Добрый день уважаемым форумчанинам...
Имеется УТ 11.4 доработанная через расширения, написаны свои отчеты..
После последнего падения, высыпалась таблица номенклатуры и таблица видов номенклатура, соответственно с последнего бекапа через PGAdmin подлил таблицы и полетели работать дальше. Через какое-то время высыпались данные из расширений (причем именно данные, структура таблиц одинаковая), залил таблицу с расширением, все данные на месте всё хорошо, но вот именно пользовательские варианты отчетов не видятся. Причем варианты отчетов которые описаны через конфигуратор и добавлены в расширения видятся. Стандартные отчеты у которых есть пользовательские варианты отчетов - видятся. Пользовательские варианты отчетов из расширений - не видятся хоть тресни.
Попробовал из последнего бекапа перелить: _frmdtsettings, Reference262,Reference250,Reference125, ReferenceChngR20769, reference67
Результата нет. Причем если беру данные из reference67 - то там все варианты отчетов есть, заливаю и в пользовательском интерфейсе не вижу даже добавленных через конфигуратор. Если после этого сделать запуск из конфигуратора с ключом для обновления информационной базы, то предопределенные появляются.
Подскажите пожалуйста кто сталкивался или знает, в какой ещё таблице можно поискать пользовательские варианты для отчетов из расширений?
Имеется УТ 11.4 доработанная через расширения, написаны свои отчеты..
После последнего падения, высыпалась таблица номенклатуры и таблица видов номенклатура, соответственно с последнего бекапа через PGAdmin подлил таблицы и полетели работать дальше. Через какое-то время высыпались данные из расширений (причем именно данные, структура таблиц одинаковая), залил таблицу с расширением, все данные на месте всё хорошо, но вот именно пользовательские варианты отчетов не видятся. Причем варианты отчетов которые описаны через конфигуратор и добавлены в расширения видятся. Стандартные отчеты у которых есть пользовательские варианты отчетов - видятся. Пользовательские варианты отчетов из расширений - не видятся хоть тресни.
Попробовал из последнего бекапа перелить: _frmdtsettings, Reference262,Reference250,Reference125, ReferenceChngR20769, reference67
Результата нет. Причем если беру данные из reference67 - то там все варианты отчетов есть, заливаю и в пользовательском интерфейсе не вижу даже добавленных через конфигуратор. Если после этого сделать запуск из конфигуратора с ключом для обновления информационной базы, то предопределенные появляются.
Подскажите пожалуйста кто сталкивался или знает, в какой ещё таблице можно поискать пользовательские варианты для отчетов из расширений?
Ответы
Подписаться на ответы
Инфостарт бот
Сортировка:
Древо развёрнутое
Свернуть все
(7)#------------------------------------------------------------------------------
# WRITE-AHEAD LOG
#------------------------------------------------------------------------------
# - Settings -
#wal_level = replica # minimal, replica, or logical
# (change requires restart)
#fsync = on # flush data to disk for crash safety
# (turning this off can cause
# unrecoverable data corruption)
#synchronous_commit = on # synchronization level;
# off, local, remote_write, remote_apply, or on
#wal_sync_method = fsync # the default is the first option
# supported by the operating system:
# open_datasync
# fdatasync (default on Linux and FreeBSD)
# fsync
# fsync_writethrough
# open_sync
#full_page_writes = on # recover from partial page writes
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enable compression of full-page writes
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
# (change requires restart)
#wal_writer_delay = 200ms # 1-10000 milliseconds
#wal_writer_flush_after = 1MB # measured in pages, 0 disables
#wal_skip_threshold = 2MB
#commit_delay = 0 # range 0-100000, in microseconds
#commit_siblings = 5 # range 1-1000
# - Checkpoints -
#checkpoint_timeout = 5min # range 30s-1d
#checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0
#checkpoint_flush_after = 256kB # measured in pages, 0 disables
#checkpoint_warning = 30s # 0 disables
max_wal_size = 1GB
min_wal_size = 80MB
# - Archiving -
#archive_mode = off # enables archiving; off, on, or always
# (change requires restart)
#archive_command = '' # command to use to archive a logfile segment
# placeholders: %p = path of file to archive
# %f = file name only
# e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
#archive_timeout = 0 # force a logfile segment switch after this
# number of seconds; 0 disables
# - Archive Recovery -
# These are only used in recovery mode.
#restore_command = '' # command to use to restore an archived logfile segment
# placeholders: %p = path of file to restore
# %f = file name only
# e.g. 'cp /mnt/server/archivedir/%f %p'
#archive_cleanup_command = '' # command to execute at every restartpoint
#recovery_end_command = '' # command to execute at completion of recovery
# - Recovery Target -
# Set these only when performing a targeted recovery.
#recovery_target = '' # 'immediate' to end recovery as soon as a
# consistent state is reached
# (change requires restart)
#recovery_target_name = '' # the named restore point to which recovery will proceed
# (change requires restart)
#recovery_target_time = '' # the time stamp up to which recovery will proceed
# (change requires restart)
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
# (change requires restart)
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
# (change requires restart)
#recovery_target_inclusive = on # Specifies whether to stop:
# just after the specified recovery target (on)
# just before the recovery target (off)
# (change requires restart)
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
# (change requires restart)
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
# (change requires restart)
#------------------------------------------------------------------------------
# REPLICATION
#------------------------------------------------------------------------------
# WRITE-AHEAD LOG
#------------------------------------------------------------------------------
# - Settings -
#wal_level = replica # minimal, replica, or logical
# (change requires restart)
#fsync = on # flush data to disk for crash safety
# (turning this off can cause
# unrecoverable data corruption)
#synchronous_commit = on # synchronization level;
# off, local, remote_write, remote_apply, or on
#wal_sync_method = fsync # the default is the first option
# supported by the operating system:
# open_datasync
# fdatasync (default on Linux and FreeBSD)
# fsync
# fsync_writethrough
# open_sync
#full_page_writes = on # recover from partial page writes
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enable compression of full-page writes
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
# (change requires restart)
#wal_writer_delay = 200ms # 1-10000 milliseconds
#wal_writer_flush_after = 1MB # measured in pages, 0 disables
#wal_skip_threshold = 2MB
#commit_delay = 0 # range 0-100000, in microseconds
#commit_siblings = 5 # range 1-1000
# - Checkpoints -
#checkpoint_timeout = 5min # range 30s-1d
#checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0
#checkpoint_flush_after = 256kB # measured in pages, 0 disables
#checkpoint_warning = 30s # 0 disables
max_wal_size = 1GB
min_wal_size = 80MB
# - Archiving -
#archive_mode = off # enables archiving; off, on, or always
# (change requires restart)
#archive_command = '' # command to use to archive a logfile segment
# placeholders: %p = path of file to archive
# %f = file name only
# e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
#archive_timeout = 0 # force a logfile segment switch after this
# number of seconds; 0 disables
# - Archive Recovery -
# These are only used in recovery mode.
#restore_command = '' # command to use to restore an archived logfile segment
# placeholders: %p = path of file to restore
# %f = file name only
# e.g. 'cp /mnt/server/archivedir/%f %p'
#archive_cleanup_command = '' # command to execute at every restartpoint
#recovery_end_command = '' # command to execute at completion of recovery
# - Recovery Target -
# Set these only when performing a targeted recovery.
#recovery_target = '' # 'immediate' to end recovery as soon as a
# consistent state is reached
# (change requires restart)
#recovery_target_name = '' # the named restore point to which recovery will proceed
# (change requires restart)
#recovery_target_time = '' # the time stamp up to which recovery will proceed
# (change requires restart)
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
# (change requires restart)
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
# (change requires restart)
#recovery_target_inclusive = on # Specifies whether to stop:
# just after the specified recovery target (on)
# just before the recovery target (off)
# (change requires restart)
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
# (change requires restart)
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
# (change requires restart)
#------------------------------------------------------------------------------
# REPLICATION
#------------------------------------------------------------------------------
(11)
если у вас от 1с конфиг,
то они могут в конце файла указать настройки. можете показать ?
потому-что те, что выслали - они закомментированы
я свой конфиг корректировал - от 1с удалил, а поставил их в стандартные места постгреса
былил ли у вас такие ситуации ? как на скрине
если у вас от 1с конфиг,
то они могут в конце файла указать настройки. можете показать ?
потому-что те, что выслали - они закомментированы
я свой конфиг корректировал - от 1с удалил, а поставил их в стандартные места постгреса
былил ли у вас такие ситуации ? как на скрине
Прикрепленные файлы:

(12)
#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------
# Add settings for extensions here
listen_addresses = '*'
shared_buffers = 16103MB # 25% of RAM
temp_buffers = 128MB
work_mem = 256MB
maintenance_work_mem = 256MB
max_files_per_process = 10000
max_parallel_workers_per_gather = 1
max_parallel_maintenance_workers = 6 # Количество CPU/4, минимум 2, максимум 6
commit_delay = 1000
max_wal_size = 4GB
min_wal_size = 2GB
checkpoint_timeout = 15min
effective_cache_size = 48311MB # 75% of RAM
from_collapse_limit = 8
join_collapse_limit = 8
autovacuum_max_workers = 12 # Количество CPU/2, минимум 2
vacuum_cost_limit = 1200 # 100* autovacuum_max_workers
autovacuum_naptime = 20s
autovacuum_vacuum_scale_factor = 0.01
autovacuum_analyze_scale_factor = 0.005
max_locks_per_transaction = 1024
escape_string_warning = off
standard_conforming_strings = off
shared_preload_libraries = 'online_analyze, plantuner'
online_analyze.threshold = 50
online_analyze.scale_factor = 0.1
online_analyze.enable = on
online_analyze.verbose = off
online_analyze.min_interval = 10000
online_analyze.table_type = 'temporary'
plantuner.fix_empty_table = on
#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------
# Add settings for extensions here
listen_addresses = '*'
shared_buffers = 16103MB # 25% of RAM
temp_buffers = 128MB
work_mem = 256MB
maintenance_work_mem = 256MB
max_files_per_process = 10000
max_parallel_workers_per_gather = 1
max_parallel_maintenance_workers = 6 # Количество CPU/4, минимум 2, максимум 6
commit_delay = 1000
max_wal_size = 4GB
min_wal_size = 2GB
checkpoint_timeout = 15min
effective_cache_size = 48311MB # 75% of RAM
from_collapse_limit = 8
join_collapse_limit = 8
autovacuum_max_workers = 12 # Количество CPU/2, минимум 2
vacuum_cost_limit = 1200 # 100* autovacuum_max_workers
autovacuum_naptime = 20s
autovacuum_vacuum_scale_factor = 0.01
autovacuum_analyze_scale_factor = 0.005
max_locks_per_transaction = 1024
escape_string_warning = off
standard_conforming_strings = off
shared_preload_libraries = 'online_analyze, plantuner'
online_analyze.threshold = 50
online_analyze.scale_factor = 0.1
online_analyze.enable = on
online_analyze.verbose = off
online_analyze.min_interval = 10000
online_analyze.table_type = 'temporary'
plantuner.fix_empty_table = on
(15)
у меня слон на домашнем и конфиг могу оставить через часов 5
вам , как минимум желательно настроить участок с архивированием журналов wal
и еще вопрос о дискак - они какие - в рейде , ссд или хдд
даже при наличии ИБП - имеет значение архив журнала wal
причина простая - его может не хватить , или аппаратный сбой:)
у меня слон на домашнем и конфиг могу оставить через часов 5
вам , как минимум желательно настроить участок с архивированием журналов wal
и еще вопрос о дискак - они какие - в рейде , ссд или хдд
даже при наличии ИБП - имеет значение архив журнала wal
причина простая - его может не хватить , или аппаратный сбой:)
Для получения уведомлений об ответах подключите телеграм бот:
Инфостарт бот