GBase 8a
其他
问答

GBase8a_MPP_Cluster-NoLicense-FREE 有限制吗

发表于2025-09-04 09:12:0471次浏览4个评论

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

【GBase版本】: GBase8a_MPP_Cluster-NoLicense-FREE-9.5.3.28.12

【操作系统】: redhat8-x86_64

【CPU】: intel

【问题描述】*: 不能新建主键,不能删除索引
DROP INDEX testdb.user_host_idx;
You have an error in your SQL syntax; check the manual that corresponds to your GBase server version for the right syntax to use near '.user_host_idx' at line 1

ALTER TABLE testdb.table1 ADD CONSTRAINT table1_pk PRIMARY KEY (name);
SQL 错误 [1702] [HY000]: gcluster table error: This version of GBase doesn't yet support 'ALTER column definition except increasing length of varchar'. 

评论

登录后才可以发表评论
pikaysw发表于 11个月前
这两个报错和free版没有关系。

第一个语法写错了。见产品手册,删除索引应该是DROP INDEX index_name ON [vc_name.][database_name.]table_name;
第二个Gbase 8a不支持这种主键语法
用户头像
小鱼不吐泡泡发表于 10个月前
free版的限制可以在下载中心下载free版说明文档了解有哪些限制
冰凤发表于 8个月前
学习下
用户头像
GBase用户28017发表于 8个月前
肯定有啊。