Optimize stream loading parameters

Adjusted prefetch rows, batch rows, batch size, and rows per range settings in mariadb_to_postgres_streams_only.load to improve performance for activities_streams table migration.
This commit is contained in:
João Vitória Silva
2025-10-21 10:23:41 +01:00
parent 192cdfcca5
commit b3a7f8c425

View File

@@ -4,7 +4,10 @@ LOAD DATABASE
WITH include drop, create tables, create indexes, reset sequences,
workers = 1, concurrency = 1,
multiple readers per thread, rows per range = 1
prefetch rows = 100,
batch rows = 100,
batch size = 5MB,
rows per range = 10
INCLUDING ONLY TABLE NAMES MATCHING 'activities_streams'