Bulk inserts
Key Recommendations (TL;DR)
1. Table Configuration
Define Your Table Structure
CREATE TABLE users (
id INT PRIMARY KEY,
name TEXT,
day_joined TIMESTAMP,
bio TEXT INDEX USING fulltext,
address OBJECT (dynamic) AS (
city TEXT,
country TEXT
)
);Shards and Replicas
Disable Table Refresh During Import
2. Importing the Data
Supported Format: JSON Lines
Bulk Size
Compression
3. Partitioned Tables
Create a Partitioned Table
Import into Specific Partitions
4. Advanced Tuning
Adjusting Shards for Future Partitions
Refresh Settings for New Shards
5. Cautions and Gotchas
Last updated

