execute_params = [] # stmt = "insert into get_item_log_08_18 values (%s, %d, %d, %d, %s, %d, %d, %d, %d, %s, %d, %d, %d, %s, %d, %d, %d, %s, %d, %d, %d)" stmt ...
私の場合、インサートするレコード数を分割(約20,000レコード → 5,000レコード単位で分割)することで、エラーは出なくなりました。 この記事で使用したソフトウェアのバージョンを記載しておきます。 Python の mysql-connector-python で20,000レコードほどの ...
#executemany() method : this method is used to prepare given sql query and execute it against all parameters sequences or mapping found in the sequence seq_of_params. #with the executemany() method , ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する