Changes between Initial Version and Version 1 of Ticket #34870, comment 22
- Timestamp:
- 04/04/2017 06:11:10 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34870, comment 22
initial v1 5 5 On installations like WordPress.com and WordPress.org, automatically re-indexing will result in database lock lasting minutes to hours (been there, done that, sorry Barry.) But for the majority of WordPress installations (if the 80/20 rule approximately applies) this process likely will not be very slow at all. 6 6 7 We could try to calculate the number of affected rows aside of `dbDelta()` and set a reasonable default threshold where these kinds of alter's are allowed to run automatically.7 We could try to calculate the number of affected rows inside of `dbDelta()` and set a reasonable default threshold where these kinds of alter's are allowed to run automatically. 8 8 9 9 Something like: