I don’t know about how long it will take to create that many tables, especially if you do it in one go, but you can use $wpdb
to handle the creation. There’s an article on the Codex regarding creating custom tables, https://codex.wordpress.org/Creating_Tables_with_Plugins
And it crossed my mind that perhaps using some external tool to handle the database querying could potentially make the queries run faster. Elasticsearch (I’m not an affiliate), in tandem with ElasticPress, is the only one I’ve heard of, but I’m sure there’s plenty of similar tools. Maybe that could be worth checking out?
Related Posts:
- WordPress database scalability from the code perspective
- Performance tips for a large user base [closed]
- WP_Options ID high
- WordPress for a very large website
- WordPress database becoming huge. How to analyze and optimize it? fear of running out of memory
- Improve or optimize a very slow query
- WooCommerce with thousands of products – site is very slow – optimize db queries? [closed]
- Efficiency on displaying random authors based on large database
- How to solve slow WordPress site caused by attachment_metadata
- Relationship between performance and database size
- Database slowdown after update to 3.4.1
- wp_redirection_404 table has grown to 7GB
- Which is more efficient? Using usermeta, or creating a new MySQL table?
- One post carries 30 postmeta values, is this too much?
- Multiple wp_options tables to share content across installs
- Improve performance by removing unnecessary database queries
- fastest replacement DB
- How to prevent/delay MySQL connections when an object cache is used?
- Does auto_load to ‘no’ in wp_options improve performance
- How to combine multiple wp_insert_post into one in order to gain better performance
- Optimizing function that automatically creates internal links based on post title string
- Is there anyway to split posts to different databases?
- Job and Employee Performance Tracking with Product Safety
- What structure and database storage method should I use for temporary storage that may be written concurrently?
- Get all top categories, then only 3 posts for each
- Optimize WP site for millions of posts
- Counting user’s comments – efficient way?
- Performance bug – slow DB query
- Mysql Queries per Visit – Crazy High
- Is it fine to have foreign key as primary key?
- Delete all posts of a custom post type—efficiently
- Detecting errors generated by $wpdb->get_results()
- Custom form that store input in database
- Restoring WordPress posts from database only
- Issue with wp_insert_post and post_content field error Could not update post in the database
- wp_posts – guid update
- Performance Gains of Relational DB Setup
- store simple data in get_option()
- What are conventions about the schema of the $table_prefix
- Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
- BuddyPress: What’s the use of wp_bp_xprofile_data table and how does it get updated? [closed]
- storing database in version control
- Is deleting orphaned wp_options entries safe?
- How to build a movie database with wordpress?
- Sub-domain or 2nd, temporary different domain?
- Where is custom template file chosen for a post stored in the DB?
- How do i get user data from a custom table in the wordpress database by user ID?
- Converting WordPress into Android or iPhone app
- Safe way to find last inserted id in a table?
- Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin
- WooCommerce sku location in DB
- How to insert data into MySQL database from the form created in WordPress site
- WordPress DATABASE Update Manually?
- Multiple postmeta with same name for one post in wp_postmeta table
- Can I have multiple database users within WordPress?
- Modify Database in Multi-Site wp_usermeta table
- Structure of postmeta meta_value for woocommerce product download
- $wpdb doesn’t like to store arrays
- Connect to a remote database for wordpress in my own hosting server
- How to replicate a user plugin made table value, to this user’s custom meta table value?
- WordPress ‘repairing database’ in a constant error loop?
- What Is the Proper Way to Merge Usermeta Table to a an existing WP Database?
- Importing CSV into database table not working?
- Check if an option exists and get its value in one hit
- $wpdb error (Call to a member function insert() on a non-object)
- Problems with moving my WordPress site to another domain/server
- Is it important to have integers inserted using %d rather than %s?
- Export a custom Mysql database product catalog to WordPress
- Share users across multiple sites on same database, but with different domains
- Global__r connection timed out
- Connect to database in the header of my WordPress website
- WordPress url transformation script
- Moving WordPress site to new domain – database import [duplicate]
- Location of WP default mySQL tables creation file?
- Disable Database Update Required ? break my website
- Select From wpdb – Author/User Directory page
- Just created a WordPress Table can’t get $wpdb get row to work – need help
- $wpdb->insert not inserting all rows
- Best Practice? – Saving multiple Values as Serialized Data / Saving each Value per Row / Dedicated Table
- How to re-connect WP files in lampp/htdocs to new SQL database to recover site under development
- How can I find user role in Mysql?
- How would I see which wordpress posts have a revision history without opening each one?
- Creating a custom form with ability to query and submit to SQL
- Troubles when I want to connect to another DB
- Intermittent Yet Problematic Error – “Error Establishing A Database Connection”
- error establishing a database connection 3
- How to edit posts/pages without making the change live?
- Correct and secure way to access a custom SQL database in a custom PHP template file
- Does WordPress Support Using Named Pipes on the Windows Operating System?
- Missing latest posts and options after DB migration via phpMyAdmin
- Custom metabox does not store data
- wordpress database error
- How do i get value from wp_postmeta?
- Local host to server import problem
- featured image not showing up with mysql_connect
- Getting deleted users in database
- Options of accessing wordpress data from mobile app
- Getting data from a table using a query
- WP Multisite Users Not Linking
- Query a meta key using an array of values where the database value is a string