Adding advanced custom fields faster

I would like to update fields in an existing group the custom fields in WordPress more quickly  in a "BATCH form" did anyone here mange to do it without messing up.
for example I want to start with adding extra text fields to an existing group,
Maybe MYSQL request ?
Maybe JSON request.
has anyone done this ?
Daniel LowesPHP Web Developer And Computer TechAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
First, ACF is slow. If you're tooling a Website which will be receiving large amounts of traffic, avoid using ACF.

ACF is ACF. There is no way to increase update speed, unless you rewrite ACF or use some other facility.

ACF slowness relates to database I/O, so no matter how you approach kicking off your updates, you'll still have to do database I/O.

Install the Query Monitor plugin + enable SAVEQUERIES in your wp-config.php file + then perform some action.

Then click on the Debug Bar to review your database I/O.

I once did a site audit which used ACF + it took >700 database I/O per page to render the page.

This type of database I/O will always produce slow results, whenever the backend server has the slightest bit of load.

Fixes: Range from simple to complex.

You can run mysqltuner + ensure all your database SELECTs prefer memory to disk.

If this fails, you can run a pure memory database. This option is complex + requires a very smart person to setup + maintain.

Best fix is to replace ACF with another coding approach.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.