ci: use lower batch size for pg migrate

This commit is contained in:
Nicolas Giard 2022-12-15 17:45:15 -05:00 committed by GitHub
parent 94d367000b
commit cdef8f4114
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ if echo ${EMPTY_CHECK} | grep -q "Did not find any relations."; then
LOAD DATABASE
FROM mysql://django:RkTkDPFnKpko@db/ietf_utf8
INTO postgresql://django:RkTkDPFnKpko@pgdb/ietf
WITH concurrency = 1, batch size = 10MB, batch rows = 10000
WITH concurrency = 1, batch size = 1MB, batch rows = 1000
CAST type varchar to text drop typemod;
EOF
pgloader --verbose --logfile=ietf_pgloader.run --summary=ietf_pgloader.summary cast.load