Andrew Kryczka
c8c8104d7e
Dictionary compression for files written by SstFileWriter ( #4978 )
...
Summary:
If `CompressionOptions::max_dict_bytes` and/or `CompressionOptions::zstd_max_train_bytes` are set, `SstFileWriter` will now generate files respecting those options.
I refactored the logic a bit for deciding when to use dictionary compression. Previously we plumbed `is_bottommost_level` down to the table builder and used that. However it was kind of confusing in `SstFileWriter`'s context since we don't know what level the file will be ingested to. Instead, now the higher-level callers (e.g., flush, compaction, file writer) are responsible for building the right `CompressionOptions` to give the table builder.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4978
Differential Revision: D14060763
Pulled By: ajkr
fbshipit-source-id: dc802c327896df2b319dc162d6acc82b9cdb452a
2019-02-14 11:23:55 -08:00
..
2019-02-14 11:23:55 -08:00
2019-02-14 11:23:55 -08:00
2018-12-13 14:21:24 -08:00
2019-02-07 16:57:33 -08:00
2019-02-07 16:15:27 -08:00
2019-01-18 19:12:57 -08:00
2019-01-02 11:42:54 -08:00
2018-12-13 14:21:24 -08:00
2018-10-08 22:54:43 -07:00
2018-12-07 17:06:02 -08:00
2017-08-19 14:10:08 -07:00
2019-01-16 09:55:32 -08:00
2019-02-11 15:01:46 -08:00
2019-02-07 16:57:33 -08:00
2018-07-13 17:27:39 -07:00
2019-02-01 09:21:57 -08:00
2019-02-14 11:23:55 -08:00
2018-12-17 17:33:46 -08:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2019-01-23 16:47:38 -08:00
2018-07-27 16:12:23 -07:00
2018-05-29 15:44:34 -07:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2019-02-14 11:23:55 -08:00
2018-10-09 15:19:38 -07:00
2018-07-13 17:27:39 -07:00
2018-11-09 11:19:58 -08:00
2018-12-20 21:59:49 -08:00
2018-07-13 17:27:39 -07:00
2019-02-07 16:15:27 -08:00
2017-10-17 08:57:09 -07:00
2019-02-11 19:47:32 -08:00
2018-11-09 11:19:58 -08:00
2019-02-07 16:57:33 -08:00
2018-12-28 18:02:28 -08:00
2018-11-12 16:42:16 -08:00
2018-11-09 11:19:58 -08:00
2018-11-12 12:24:26 -08:00
2018-12-13 15:12:40 -08:00
2019-02-12 12:28:36 -08:00
2018-10-26 15:08:43 -07:00
2018-08-03 17:42:34 -07:00
2018-11-13 11:32:16 -08:00
2019-01-29 17:24:00 -08:00
2018-12-17 17:33:46 -08:00
2018-12-13 14:21:24 -08:00
2019-01-29 17:24:00 -08:00
2019-02-13 18:33:42 -08:00
2019-02-12 19:16:17 -08:00
2018-10-09 17:15:51 -07:00
2018-10-29 14:36:31 -07:00
2018-05-21 14:43:11 -07:00
2018-06-12 16:57:36 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2019-02-07 16:15:27 -08:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2019-02-07 16:15:27 -08:00
2018-10-08 22:54:43 -07:00
2019-01-02 15:08:53 -08:00
2019-02-07 16:15:27 -08:00
2019-01-03 11:05:19 -08:00
2018-09-20 15:15:28 -07:00
2018-07-17 14:43:18 -07:00
2019-02-11 19:47:32 -08:00
2019-02-07 16:15:27 -08:00
2019-02-07 16:15:27 -08:00
2019-02-12 19:16:17 -08:00
2018-10-24 08:17:56 -07:00
2018-12-28 18:02:28 -08:00
2018-05-14 21:13:35 -07:00
2018-07-13 17:42:38 -07:00
2018-08-06 18:27:44 -07:00
2018-10-26 14:30:30 -07:00
2018-07-13 17:27:39 -07:00
2018-09-17 13:14:07 -07:00
2018-10-04 20:46:50 -07:00
2018-10-04 20:46:50 -07:00
2018-09-15 13:43:04 -07:00
2018-09-15 13:43:04 -07:00
2018-04-12 17:59:16 -07:00
2019-02-11 11:50:01 -08:00
2019-02-12 19:16:17 -08:00
2019-02-12 19:16:17 -08:00
2019-02-14 11:23:55 -08:00
2018-11-09 11:19:58 -08:00
2018-03-05 13:13:41 -08:00
2019-01-31 14:49:51 -08:00
2019-01-29 17:24:00 -08:00
2018-10-15 20:01:17 -07:00
2018-07-13 17:27:39 -07:00
2018-12-17 17:33:46 -08:00
2018-03-05 13:13:41 -08:00
2019-01-29 17:24:00 -08:00
2019-01-29 17:24:00 -08:00
2019-01-15 21:34:38 -08:00
2019-01-16 09:51:05 -08:00
2018-08-24 18:13:20 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-05-14 10:57:56 -07:00
2018-11-09 11:19:58 -08:00
2018-05-03 15:43:09 -07:00
2018-05-03 15:43:09 -07:00
2019-01-03 16:30:12 -08:00
2018-07-13 17:27:39 -07:00
2019-01-31 14:49:51 -08:00
2019-02-13 18:33:42 -08:00
2019-01-31 14:49:51 -08:00
2019-01-24 10:34:30 -08:00
2019-01-03 20:56:24 -08:00
2018-12-17 17:33:46 -08:00
2019-01-23 21:46:10 -08:00
2019-02-01 09:41:27 -08:00
2018-12-17 17:33:46 -08:00
2018-11-09 11:19:58 -08:00
2018-08-03 13:57:40 -07:00
2018-07-13 17:27:39 -07:00
2019-02-05 14:29:08 -08:00
2019-01-28 12:50:22 -08:00
2018-04-05 11:12:16 -07:00
2018-07-13 17:27:39 -07:00
2018-12-19 13:29:51 -08:00
2018-12-17 17:33:46 -08:00
2018-12-19 15:45:37 -08:00
2018-12-18 14:28:42 -08:00
2018-12-11 12:10:48 -08:00
2018-12-17 13:20:51 -08:00
2018-12-17 13:20:51 -08:00
2018-06-27 12:23:07 -07:00
2018-10-12 10:41:54 -07:00
2018-12-17 13:20:51 -08:00
2019-01-16 09:55:32 -08:00
2019-01-09 16:25:42 -08:00
2018-12-20 12:03:44 -08:00
2018-12-28 18:02:28 -08:00
2018-11-09 11:19:58 -08:00
2018-10-30 15:34:27 -07:00
2018-10-30 15:34:27 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-07-27 16:12:23 -07:00
2018-12-28 18:02:28 -08:00
2018-12-28 18:02:28 -08:00
2019-02-11 11:20:24 -08:00
2019-02-08 11:33:11 -08:00
2019-02-11 11:20:24 -08:00
2019-01-03 20:56:24 -08:00
2019-02-12 19:16:17 -08:00
2018-12-17 17:33:46 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-01-11 18:57:33 -08:00
2018-06-28 18:58:29 -07:00
2018-11-28 15:29:02 -08:00
2018-11-09 11:19:58 -08:00
2018-07-13 17:27:39 -07:00
2018-11-07 14:07:53 -08:00
2019-01-03 12:40:42 -08:00