HBase describe table 参数说明
2024-09-17 01:25:26
创建user表
> create 'dimensoft:user', 'info'
查看表结构
> describe 'dimensoft:user'
DESCRIPTION
'dimensoft:user', //namespace:tableName
{
NAME => 'info', //列族 DATA_BLOCK_ENCODING => 'NONE', //数据块编码方式设置
//参见:http://hbase.apache.org/book.html#data.block.encoding.enable BLOOMFILT => 'ROW', //参见:http://hbase.apache.org/book.html#bloom.filters.when REPLICATION_SCOPE => '', //配置HBase集群replication时需要将该参数设置为1. //参见:http://blog.cloudera.com/blog/2012/08/hbase-replication-operational-overview/?utm_source=tuicool
'REPLICATION_SCOPE is a column-family level attribute
user has to alter each column family with the alter command as
shown above, for all the column families he wants to replicate.' VERSIONS => '', //设置保存的版本数 COMPRESSION => 'NONE', //设置压缩算法 MIN_VERSIONS => '', //最小存储版本数 TTL => 'FOREVER', //参见:http://hbase.apache.org/book.html#ttl
'ColumnFamilies can set a TTL length in seconds, and HBase
reached. This applies to all versions of a row - even the current one.
The TTL time encoded in the HBase for the row is specified in
UTC.' KEEP_DELETED_CELLS => 'false', //参见:http://hbase.apache.org/book.html#cf.keep.deleted BLOCKSIZE => '', //设置HFile数据块大小(默认64kb) IN_MEMORY => 'false',//设置激进缓存,优先考虑将该列族放入块缓存中,
//针对随机读操作相对较多的列族可以设置该属性为true BLOCKCACHE => 'true' //数据块缓存属性
}
最新文章
- redis并发问题
- poj3250
- hibernate.cfg.xml配置文件和hbm.xml配置文件 模板
- linux 命令-全称
- unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor
- iOS已发布应用中对异常信息捕获和处理
- 构建 struts2 spring3 mybatis 的maven项目 构建 pom.xml
- php 文件下载 以及 file_exists找不到文件的解决方案
- 执行configure报错configure: error: C++ preprocessor ";/lib/cpp"; fails sanity check
- 创建 macvlan 网络 - 每天5分钟玩转 Docker 容器技术(55)
- Ubuntu16.04 install mysql5.X
- LinkedList类 和ArrayList类
- 【RL-TCPnet网络教程】第34章	 RL-TCPnet之SMTP客户端
- 神州数码HSRP(热备份路由协议)配置
- ThinkPHP 整合微信支付 扫码支付 模式二 图文教程
- sikuli 如何 清空文本框中的内容??解决方法!
- 新的Calculator的规范作业
- MVC无限级分类02,增删改查
- CFGym 101505I 题解
- AngularJS的日期格式化去掉秒