Yi Wu ded1d5a1af Add bulk create/drop column family API
Summary:
Adding DB::CreateColumnFamilie() and DB::DropColumnFamilies() to bulk create/drop column families. This is to address the problem creating/dropping 1k column families takes minutes. The bottleneck is we persist options files for every single column family create/drop, and it parses the persisted options file for verification, which take a lot CPU time.

The new APIs simply create/drop column families individually, and persist options file once at the end. This improves create 1k column families to within ~0.1s. Further improvement can be merge manifest write to one IO.
Closes https://github.com/facebook/rocksdb/pull/2248

Differential Revision: D5001578

Pulled By: yiwu-arbug

fbshipit-source-id: d4e00bda671451e0b314c13e12ad194b1704aa03
2017-05-11 11:22:50 -07:00
..
2017-02-06 14:54:18 -08:00
2017-04-07 10:54:12 -07:00
2017-04-18 12:44:15 -07:00
2017-03-13 11:54:10 -07:00
2017-03-13 09:54:11 -07:00
2017-04-18 17:22:35 -07:00
2017-04-04 18:09:11 -07:00
2017-05-10 14:06:54 -07:00
2017-03-28 12:09:12 -07:00
2016-07-08 17:50:51 -07:00
2017-04-18 17:22:35 -07:00
2016-10-13 08:48:40 -07:00
2017-04-18 12:44:15 -07:00
2016-07-08 17:50:51 -07:00
2016-11-03 18:54:20 -07:00
2017-04-18 12:44:15 -07:00
2016-12-29 15:54:19 -08:00
2017-02-16 10:39:13 -08:00
2017-02-06 14:54:18 -08:00
2016-07-13 15:36:22 -07:00