Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computer_science:databases:mysql:mysql_tips_trics [2021/03/07 17:11] – [Use Transactions] carlossousa | computer_science:databases:mysql:mysql_tips_trics [2023/12/01 12:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 49: | Line 49: | ||
===== Use Transactions for bulk insert: ===== | ===== Use Transactions for bulk insert: ===== | ||
- | **Pros: | + | **Pros:** Only one re-index, at the end of the transaction. |
- | **Cons: **- | + | **Cons: **Visibility of new data only after commit |
**Usage:** | **Usage:** |