What is the fastest way to insert 237 million records into a table that has rules (for distributing data across child tables)?
I have tried or considered:
Bonus: in separete thread remove old data (some_data_X with min X): huge circular buffer with indexing!