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-04-14 16:19:53 -07:00
2017-04-05 19:09:16 -07:00
2017-03-23 15:54:13 -07:00
2017-04-14 16:19:53 -07:00
2017-05-11 11:22:50 -07:00
2017-04-06 20:09:34 -07:00
2017-04-05 19:09:16 -07:00
2017-02-06 14:54:18 -08:00
2017-03-15 19:39:12 -07:00
2017-03-13 11:54:10 -07:00
2016-12-01 07:09:15 -08:00
2017-04-18 12:44:15 -07:00
2017-04-18 18:02:42 -07:00
2017-04-18 12:44:15 -07:00
2017-04-05 19:09:16 -07:00
2016-09-23 16:34:04 -07:00
2017-04-18 18:02:42 -07:00
2017-04-05 19:09:16 -07:00
2017-04-06 20:09:34 -07:00
2017-04-06 20:09:34 -07:00
2017-04-06 20:09:34 -07:00
2017-04-07 10:54:12 -07:00
2017-04-06 20:09:34 -07:00
2017-05-08 17:32:32 +00:00
2017-04-05 19:09:16 -07:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2017-04-06 14:54:12 -07:00
2017-04-06 14:54:12 -07:00
2017-02-27 12:24:11 -08:00
2017-04-05 19:09:16 -07:00
2017-03-28 12:09:12 -07:00
2016-12-01 07:09:15 -08:00
2017-05-11 11:17:26 -07:00
2017-03-13 09:54:11 -07:00
2017-04-03 18:39:14 -07:00
2017-04-14 16:19:53 -07:00
2017-05-11 11:17:26 -07:00
2017-04-05 19:09:16 -07:00
2017-03-15 19:39:12 -07:00
2017-04-18 12:44:15 -07:00
2017-05-11 11:22:50 -07:00
2017-04-10 11:14:14 -07:00
2017-03-13 11:54:10 -07:00
2017-04-10 12:43:34 -07:00
2017-05-11 11:22:50 -07:00
2017-05-11 11:22:50 -07:00
2017-04-03 18:39:14 -07:00
2017-04-05 19:09:16 -07:00
2016-11-16 09:39:09 -08:00
2016-11-21 18:09:13 -08:00
2017-04-10 11:14:14 -07:00
2017-04-10 11:14:14 -07:00
2017-04-10 11:14:14 -07:00
2017-05-10 14:06:33 -07:00
2016-02-09 15:12:00 -08:00
2017-03-13 09:54:11 -07:00
2017-04-11 16:15:06 -07:00
2017-04-05 19:09:16 -07:00
2017-04-18 17:22:35 -07:00
2017-04-04 18:09:11 -07:00
2017-04-04 18:09:11 -07:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2017-05-10 14:06:54 -07:00
2017-03-28 12:09:12 -07:00
2017-05-08 17:32:32 +00:00
2017-04-05 19:09:16 -07:00
2017-02-23 18:39:13 -08:00
2017-04-05 19:09:16 -07:00
2017-04-04 14:24:20 -07:00
2017-05-10 14:06:33 -07:00
2017-04-04 14:24:20 -07:00
2017-04-03 18:39:14 -07:00
2017-01-11 10:54:37 -08:00
2016-04-29 11:35:00 -07:00
2016-02-09 15:12:00 -08:00
2017-03-13 11:39:13 -07:00
2017-03-15 19:39:12 -07:00
2017-04-05 19:09:16 -07:00
2017-03-13 11:39:13 -07:00
2017-04-05 19:09:16 -07:00
2016-02-09 15:12:00 -08:00
2016-12-16 11:24:18 -08:00
2016-02-09 15:12:00 -08:00
2017-04-03 18:39:14 -07:00
2016-11-14 17:39:13 -08:00
2017-04-14 16:19:53 -07:00
2017-04-05 19:09:16 -07:00
2016-07-08 17:50:51 -07:00
2016-02-09 15:12:00 -08:00
2017-04-14 16:19:53 -07:00
2017-05-10 14:06:33 -07:00
2016-09-27 18:20:57 -07:00
2017-04-11 08:42:03 -07:00
2017-04-18 17:22:35 -07:00
2016-10-13 08:48:40 -07:00
2017-04-05 19:09:16 -07:00
2017-04-18 12:44:15 -07:00
2016-07-08 17:50:51 -07:00
2016-05-22 22:00:15 -07:00
2016-05-22 22:00:15 -07:00
2016-02-09 15:12:00 -08:00
2016-07-21 16:29:06 -07:00
2017-04-04 14:24:20 -07:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2016-11-03 18:54:20 -07:00
2017-04-05 19:09:16 -07:00
2017-04-06 14:09:13 -07:00
2017-04-18 12:44:15 -07:00
2017-04-06 14:09:13 -07:00
2016-07-25 15:31:41 -07:00
2017-02-23 15:09:12 -08:00
2017-04-05 19:09:16 -07:00
2017-02-23 15:09:12 -08:00
2016-07-20 09:49:03 -07:00
2017-02-23 15:09:12 -08:00
2016-02-09 15:12:00 -08:00
2017-04-05 19:09:16 -07:00
2016-12-29 15:54:19 -08:00
2017-04-03 18:39:14 -07:00
2017-04-05 19:09:16 -07:00
2017-01-05 10:39:12 -08:00
2017-01-25 11:09:12 -08:00
2017-01-05 10:39:12 -08:00
2017-02-16 10:39:13 -08:00
2017-04-14 16:19:53 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2017-05-10 14:06:33 -07:00
2017-04-05 19:09:16 -07:00
2017-04-05 19:09:16 -07:00
2016-05-19 14:24:48 -07:00
2016-05-19 14:24:48 -07:00
2016-09-23 16:34:04 -07:00
2017-04-05 19:09:16 -07:00
2016-10-07 17:21:45 -07:00
2017-02-06 14:54:18 -08:00
2016-07-20 11:23:31 -07:00
2016-02-09 15:12:00 -08:00
2017-04-06 14:54:12 -07:00
2016-07-13 15:36:22 -07:00
2016-10-07 17:21:45 -07:00
2017-05-10 14:06:33 -07:00
2017-04-05 19:09:16 -07:00
2017-04-05 19:09:16 -07:00
2017-04-03 18:39:14 -07:00
2017-04-05 19:09:16 -07:00
2017-04-10 15:42:26 -07:00
2017-04-10 15:42:26 -07:00
2017-04-10 15:42:26 -07:00
2017-04-10 15:42:26 -07:00
2017-04-06 14:09:13 -07:00
2016-02-09 15:12:00 -08:00
2017-02-14 18:24:24 -08:00
2017-03-16 18:24:17 -07:00
2017-03-29 11:54:20 -07:00
2017-04-10 12:43:34 -07:00
2017-04-10 12:43:34 -07:00