@@ -248,11 +248,11 @@ orioledb_config_items() {
248248 sed -i ' s/ timescaledb,//g; s/ plv8,//g; s/ pgjwt,//g;' " $DATDIR /supautils.conf"
249249 sed -i ' s/\(shared_preload_libraries.*\)' \' ' \(.*\)$/\1, orioledb' \' ' \2/' " $DATDIR /postgresql.conf"
250250 echo " default_table_access_method = 'orioledb'" >> " $DATDIR /postgresql.conf"
251- # OrioleDB rewind configuration (20 minute window)
251+ # OrioleDB rewind configuration (20 minute window, 10MB buffer )
252252 echo " orioledb.enable_rewind = true" >> " $DATDIR /postgresql.conf"
253253 echo " orioledb.rewind_max_time = 1200" >> " $DATDIR /postgresql.conf"
254254 echo " orioledb.rewind_max_transactions = 100000" >> " $DATDIR /postgresql.conf"
255- echo " orioledb.rewind_buffers = 13 " >> " $DATDIR /postgresql.conf"
255+ echo " orioledb.rewind_buffers = 1280 " >> " $DATDIR /postgresql.conf"
256256 elif [[ " $1 " = " orioledb-17" && " $CURRENT_SYSTEM " = " aarch64-darwin" ]]; then
257257 # macOS specific configuration
258258 echo " macOS detected, applying macOS specific configuration"
@@ -268,11 +268,11 @@ orioledb_config_items() {
268268 perl -pi -e ' s/(shared_preload_libraries\s*=\s*' \' ' .*?)' \' ' /\1, orioledb' \' ' /' " $DATDIR /postgresql.conf"
269269
270270 echo " default_table_access_method = 'orioledb'" >> " $DATDIR /postgresql.conf"
271- # OrioleDB rewind configuration (20 minute window)
271+ # OrioleDB rewind configuration (20 minute window, 10MB buffer )
272272 echo " orioledb.enable_rewind = true" >> " $DATDIR /postgresql.conf"
273273 echo " orioledb.rewind_max_time = 1200" >> " $DATDIR /postgresql.conf"
274274 echo " orioledb.rewind_max_transactions = 100000" >> " $DATDIR /postgresql.conf"
275- echo " orioledb.rewind_buffers = 13 " >> " $DATDIR /postgresql.conf"
275+ echo " orioledb.rewind_buffers = 1280 " >> " $DATDIR /postgresql.conf"
276276 elif [[ " $VERSION " == " 17" && " $CURRENT_SYSTEM " != " aarch64-darwin" ]]; then
277277 echo " non-macos pg 17 conf"
278278 sed -i ' s/ timescaledb,//g;' " $DATDIR /postgresql.conf"
0 commit comments