The database schema was changed with Gravity Forms version 2.3. When upgrading from previous versions, the upgrade occurs in the background in batches. This constant allows the batch size to be changed from the default of 20000.
define( 'GFORM_DB_MIGRATION_BATCH_SIZE', 50000 );
This constant should be set in your wp-config.php. See the article Wp Config Options for more details.