我正在使用 CloudSQL - GCP 的 postgresql12 版本。
我们目前正在输入数十亿的数据,我们不希望输入在中间被中断。
但是,我在 CloudSQL 标志中将 autovacuum 设置设置为关闭,但它似乎每天都会自动完成。
随着 autovacuum 的进行,使用 python sqlalchemy 的输入会导致错误。
sqlalchemy.exc.OperationalError: (psycopg2.errors.ProgramLimitExceeded) multixact "members" limit exceeded
DETAIL: This command would create a multixact with 2 members, but the remaining space is only enough for 1 member.
HINT: Execute a database-wide VACUUM in database with OID 16427 with reduced vacuum_multixact_freeze_min_age and vacuum_multixact_freeze_table_age settings.
解决办法是什么?