How does sqlalchemy mysql achieve high concurrency to insert data?

  • I want to implement a crawler, but highly concurrent data cannot be inserted into the database?
  • how to insert database concurrently with sqlalchemy mysql
Mar.16,2021

inserting the same table concurrently triggers table-level locks. It is recommended to insert sub-tables, such as 10 concurrent processes, each of which is written to a table independently.
UNION ALL when querying

Menu