WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34870, comment 22


Ignore:
Timestamp:
04/04/2017 06:11:10 PM (3 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34870, comment 22

    initial v1  
    55On 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.
    66
    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.
     7We 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.
    88
    99Something like: