trafoidon底層儲存引擎使用hbase。在某些情況下,為了提高寫入資料的效能,我們考慮關閉hbase wal日誌。
我們可以在建立表的時候單獨針對特定的表關閉wal日誌。
示例如下:
create table if not exists trafodion.seabase.test_wal
( id int,
apn varchar(32 chars) character set utf8
, capturetime varchar(32 chars) character set utf8
) store by (id)
salt using 24 partitions on (id)
hbase_options
( data_block_encoding = 'fast_diff',
memstore_flush_size = '1073741824',
durability = 'skip_wal'
) ;
其中,hbase_options中durability = 'skip_wal'表示關閉wal。
Trafodion 配置LDAP安全認證
本文主要介紹如何配置trafodion的ldap安全認證,關於ldap的安裝與使用,參考我的另外一篇 openldap服務端 phpldapadmin 基本安裝與配置 也可以參考另外一篇 freeipa ldap ha安裝 這裡假設我們已經提前安裝並配置好了openldap服務端環境,通過phpld...
Trafodion 檢視原生HBase表
前面一篇文章我們談到從trafodion層面可以檢視有哪些hive表,而不用從hive中檢視,本文介紹如何從trafodion中檢視原生的hbase表,用到的命令是get hbase objects,關於get hbase objects的具體用法請參考官方文件 1 從hbase中檢視hbase表 ...
Trafodion 自定義排序
大家都知道在sql語句中,我們一般使用order by 來排序sql輸出的結果,可以使用asc 預設 指定公升序排列,desc指定降序排列,比如 select a,b from test order by a asc,b asc a b 1 a 2 b 2 c 3 d 3 e 3 f 6 row s...