Repository: carbondata Updated Branches: refs/heads/master 316e9de65 -> 232f6ced3
[CARBONDATA-2783][BloomDataMap][Doc] Update document for bloom filter datamap add example for enable/disable datamap This closes #2554 Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/232f6ced Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/232f6ced Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/232f6ced Branch: refs/heads/master Commit: 232f6ced3944b437539ae9f1ad05c62441d44f46 Parents: 316e9de Author: Manhua <kevin...@qq.com> Authored: Wed Jul 25 16:51:49 2018 +0800 Committer: xuchuanyin <xuchuan...@hust.edu.cn> Committed: Thu Jul 26 09:15:17 2018 +0800 ---------------------------------------------------------------------- docs/datamap/bloomfilter-datamap-guide.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/carbondata/blob/232f6ced/docs/datamap/bloomfilter-datamap-guide.md ---------------------------------------------------------------------- diff --git a/docs/datamap/bloomfilter-datamap-guide.md b/docs/datamap/bloomfilter-datamap-guide.md index 0fb3ba2..325a508 100644 --- a/docs/datamap/bloomfilter-datamap-guide.md +++ b/docs/datamap/bloomfilter-datamap-guide.md @@ -26,7 +26,16 @@ Showing all DataMaps on this table SHOW DATAMAP ON TABLE main_table ``` -It will show all DataMaps created on main table. + +Disable Datamap +> The datamap by default is enabled. To support tuning on query, we can disable a specific datamap during query to observe whether we can gain performance enhancement from it. This will only take effect current session. + + ``` + // disable the datamap + SET carbon.datamap.visible.dbName.tableName.dataMapName = false + // enable the datamap + SET carbon.datamap.visible.dbName.tableName.dataMapName = true + ``` ## BloomFilter DataMap Introduction