Hi Dimitri,
Could you please share Postgres installation version?
Also what do you mean by saying recreate materialized view, refresh or drop/create?
Best regards.
İyi çalışmalar.
Samed YILDIRIM
01.02.2017, 12:41, "Κοκμάδης Δημήτριος" <dkokmadis@xxxxxxxxx>:
Hello,I use hot standby replication mode.When I try to recreate big sized materialised views, about 3G size, the replication breaks and I have to resync it.Is there any way to avoid it?My master server settingsshared_buffers = 30GBwork_mem = 3146kBmaintenance_work_mem = 2GBdynamic_shared_memory_type = posix # the default is the first optionwal_level = hot_standbywal_buffers = 16MBcheckpoint_segments = 128checkpoint_completion_target = 0.9max_wal_senders = 128wal_keep_segments = 8effective_cache_size = 90GBdefault_statistics_target = 100logging_collector = on # Enable capturing of stderr and csvloglog_directory = '/var/log/postgresql' # directory where log files are written,log_filename = 'postgresql-%Y-%m-%d.log' # log file name pattern,log_rotation_age = 1d # Automatic rotation of logfiles willlog_min_duration_statement = 3000 # -1 is disabled, 0 logs all statementslog_line_prefix = '%t ' # special values:log_timezone = 'localtime'stats_temp_directory = '/var/run/postgresql/9.4-main.pg_stat_tmp'autovacuum = on # Enable autovacuum subprocess? 'on'log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions andautovacuum_max_workers = 3 # max number of autovacuum subprocessesautovacuum_naptime = 15min # time between autovacuum runsautovacuum_vacuum_threshold = 50 # min number of row updates beforeautovacuum_analyze_threshold = 50 # min number of row updates beforeRegards,Dimitris