mirror of
https://github.com/joaovitoriasilva/endurain.git
synced 2026-05-03 03:00:41 -04:00
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:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user