亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb

首頁 > 數據庫 > 文庫 > 正文

MariaDB ColumnStore一些限制和BUG概括

2024-09-07 22:12:51
字體:
來源:轉載
供稿:網友

  字段屬性限制
  1、不支持CHARACTER SET語法
  MariaDB [test]> create table t1(id int,name varchar(10) CHARACTER SET utf8)
  -> engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  2、不支持COLLATE語法
  MariaDB [test]> create table t1(id int)
  -> engine=Columnstore COLLATE=utf8_bin;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  MariaDB [test]> create table t1(id int,name varchar(10) COLLATE utf8_bin)
  -> engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  3、不支持TEXT/BLOB
  MariaDB [test]> create table t1(id int,info text)
  -> engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
  MariaDB [test]>
 
  MariaDB [test]> create table t1(id int,info blob)
  -> engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  4、不支持timestamp,后面的DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP全部刪除
  MariaDB [test]> create table t1(update_time timestamp)engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  MariaDB [test]> create table t1(update_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP)
  -> engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  5、decimal不能大于18
  MariaDB [test]> create table t1(money decimal(19,2)) engine=Columnstore;
  ERROR 1815 (HY000): Internal error: CAL0009: (3)Create table failed due to  Syntax error: The maximum precision (total number of digits) that can be specified is 18
 
  6、不支持ROW_FORMAT=COMPACT
  MariaDB [test]> create table t1(id int)engine=Columnstore ROW_FORMAT=COMPACT;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  7、varchar最大8000
  MariaDB [test]> create table t1(name varchar(8001))engine=Columnstore;
  ERROR 1815 (HY000): Internal error: CAL0009: (3)Create table failed due to char, varchar and varbinary length may not exceed 8000
 
  8、不支持bit類型
  MariaDB [test]> create table t1(status bit)engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  9、comment不能攜帶''引號
  MariaDB [test]> create table t3(id int comment '主鍵''ID')engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  10、行溢出,一行varchar不能大于65535(UTF8要除以3)
  ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
 
  11、不支持enum枚舉類型
  MariaDB [test]> create table t1(`type` enum('HOLIDAY','WORKDAY') DEFAULT NULL)engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  12、不支持zerofill
  MariaDB [test]> create table t2(id int(6) zerofill)engine=columnstore;       
  ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
 
  BUG
  不支持Reserved keywords保留關鍵字user、comment、match、key、update、status
  https://jira.mariadb.org/browse/MCOL-1022
  MariaDB [test]> create table user(id int)engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  MariaDB [test]> create table t1(comment varchar(100))engine=Columnstore;
  ERROR 1178 (42000): The storage engine for the table doesn’t support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
 
  SQL語句限制
 
  1、distinct的字段不在order by里,就不能排序
 
  MariaDB [test]> select distinct apply_time from test ORDER BY id limit 1;          
  ERROR 1178 (42000): The storage engine for the table doesn't support IDB-2022: ORDER BY column not in DISTINCT list.
 
  https://jira.mariadb.org/browse/MCOL-1036
 
  2、查詢的字段不在group by里,就不能分組統計
 
  MariaDB [test]> select id from test group by qq;  
  ERROR 1815 (HY000): Internal error: IDB-2021: 'test.id' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
 
  3、alter不支持change/modify更改字段屬性
 
  MariaDB [test]> alter table t1 change id id bigint;
  ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed:  Changing the datatype of a column is not supported
 
  4、alter不支持多列操作和不支持after
 
  MariaDB [test]> alter table t1 add age tinyint,add address varchar(100);
  ERROR 1178 (42000): The storage engine for the table doesn't support Multiple actions in alter table statement is currently not supported by Columnstore.
 
  MariaDB [test]> alter table t1 add age tinyint after id;  
  ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
  
  5、字段類型不同 join 關聯查詢報錯
 
  MariaDB [test]> select t1.id from t1 join t2 on t1.id=t2.cid;
  ERROR 1815 (HY000): Internal error: IDB-1002: 't1' and 't2' have incompatible column type specified for join condition.
 
  6、DML語句會非常慢
  DML, i.e. INSERT, UPDATE, and DELETE, provide row level changes. ColumnStore is optimized towards bulk modifications and so these operations are slower than they would be in say InnoDB.
 
  Currently ColumnStore does not support operating as a replication slave target.
  https://mariadb.com/kb/en/library/columnstore-data-ingestion/
 
  7、大批量數據導入text字段報內存不足
 
  Internal error: CAL0001: Insert Failed:  IDB-2008: The version buffer overflowed.
 
  https://jira.mariadb.org/browse/MCOL-1056
 
  8、不支持replace into和load data infile replace into
 
  https://jira.mariadb.org/browse/MCOL-1080
 
  MariaDB官方回復:覆蓋寫目前優先級較低,因為這是一個非常大的項目,預計執行成本很高。

(編輯:武林網)

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb
精品视频—区二区三区免费| 欧美一区二粉嫩精品国产一线天| 久久精品国产v日韩v亚洲| 欧美黑人极品猛少妇色xxxxx| 日韩精品有码在线观看| 久久免费视频在线| 国产精品aaaa| 国产免费一区视频观看免费| 亚洲国产又黄又爽女人高潮的| 日韩经典中文字幕| 国产69精品久久久久久| 欧美激情2020午夜免费观看| 欧美日韩国产色视频| 亚洲电影天堂av| 久久精品视频中文字幕| 国产日韩在线一区| 久久综合五月天| 成人国内精品久久久久一区| 青青a在线精品免费观看| zzjj国产精品一区二区| 亚洲国产精品久久久| 欧美成人中文字幕在线| 最新中文字幕亚洲| 日韩三级成人av网| 亚洲成人网在线观看| 91干在线观看| 51色欧美片视频在线观看| 日韩大片免费观看视频播放| 国产+成+人+亚洲欧洲| 国产精品久久久久久久久久久新郎| 日韩成人高清在线| 国内精品久久久久伊人av| 精品久久久久久电影| 欧美日韩综合视频网址| 日韩久久免费视频| 亚洲精品视频免费在线观看| 欧洲s码亚洲m码精品一区| 久久频这里精品99香蕉| 欧美韩国理论所午夜片917电影| 2019中文字幕全在线观看| 国产精品27p| 国产亚洲精品一区二区| 伊人精品在线观看| 日韩久久免费电影| 国外色69视频在线观看| 亚洲天堂第一页| 色婷婷**av毛片一区| 91欧美精品成人综合在线观看| 中文字幕自拍vr一区二区三区| 国产亚洲成精品久久| 久久久视频精品| 91精品视频一区| 538国产精品一区二区在线| 亚洲国产欧美一区二区丝袜黑人| 一区二区三欧美| 久久久久久久一区二区| 在线精品播放av| 久久av在线看| 欧美一级电影在线| 在线观看欧美日韩| 国产精品精品久久久| 日韩av在线直播| 国产精品久久久久秋霞鲁丝| 成人久久一区二区三区| 欧美精品做受xxx性少妇| 日韩激情av在线免费观看| 亚洲性视频网站| 亚洲精品国精品久久99热| 欧美亚洲一区在线| 久久免费国产精品1| 国产免费一区二区三区香蕉精| 亚洲深夜福利视频| 日韩av成人在线| 在线观看亚洲视频| 日本一本a高清免费不卡| 国产99视频精品免视看7| 精品欧美激情精品一区| 亚洲人成网站免费播放| 国产精品美女999| 国产一级揄自揄精品视频| 夜夜嗨av一区二区三区免费区| 欧美另类69精品久久久久9999| 国产精品久久久久久久久影视| 午夜精品久久久久久久白皮肤| 国产精品h在线观看| 欧美高清videos高潮hd| 日韩在线视频导航| 亚洲视频在线观看网站| 欧美一性一乱一交一视频| 日产精品99久久久久久| 欧美激情视频一区二区三区不卡| 欧美激情亚洲激情| 欧美成人一区二区三区电影| 欧美激情第6页| 欧美日韩国产色视频| 欧美精品生活片| 欧美裸体视频网站| 亚洲自拍欧美色图| 中文字幕日韩精品在线观看| 91理论片午午论夜理片久久| 中文字幕av日韩| 成人av.网址在线网站| 亚洲三级 欧美三级| 国产亚洲精品一区二555| 亚洲免费一在线| 亚洲国产又黄又爽女人高潮的| 亚洲精品少妇网址| 亚洲一区二区三区四区在线播放| 日韩欧美精品网址| 亚洲精品久久久久久下一站| 亚洲国产精品一区二区久| 日韩在线视频线视频免费网站| 95av在线视频| 精品在线欧美视频| 日韩av在线免费看| 国产精品日韩欧美综合| 欧美成aaa人片在线观看蜜臀| 国产视频久久久| 国产精品一区二区女厕厕| www.久久色.com| 亚洲图片欧洲图片av| 久久久国产精品亚洲一区| 色综合久久中文字幕综合网小说| 国产精品夜色7777狼人| 亚洲精品国产精品久久清纯直播| 992tv成人免费影院| 亚洲国产精品免费| 国产精品美女www爽爽爽视频| 国产精品jizz在线观看麻豆| 欧美精品video| 亚洲成人精品av| 91久久综合亚洲鲁鲁五月天| 国产精品十八以下禁看| 亚洲国内高清视频| 国色天香2019中文字幕在线观看| 97欧美精品一区二区三区| 亚洲精品久久久久中文字幕欢迎你| 91av在线免费观看| 在线成人免费网站| 在线播放亚洲激情| 国产精品91一区| 日韩欧美在线第一页| 亚洲在线第一页| 国产精品美女免费| 亚洲欧美精品一区二区| 91精品视频在线播放| 亚洲天堂精品在线| 精品亚洲va在线va天堂资源站| 九九热这里只有精品6| 亚洲欧洲偷拍精品| 亚洲成人网在线| 国产精品一区二区久久| 欧美诱惑福利视频| 欧美亚洲伦理www| 伊人一区二区三区久久精品| 国产精品激情av在线播放| 在线播放国产一区中文字幕剧情欧美| 亚洲韩国日本中文字幕| 久久影院在线观看| 国产乱人伦真实精品视频| 亚洲国产高清福利视频| 深夜福利亚洲导航| 国产亚洲精品一区二区| 海角国产乱辈乱精品视频|