华为openGauss数据库与PostgreSQL使用对比
在 openGauss 里,char(n)、varcahr(n) n 代表的是字节,nvarchar2(n) n 代表是字符;最多存储 100MB。在 postgresql 里,char(n)、varchar(n) n 代表是字符;华为openGauss数据库内核基于postgresql演进而来,对pg做了非常大的改造和增强。在 openGauss 里‘’转换成 null,没有‘’openGaus
·
华为openGauss数据库内核基于postgresql演进而来,对pg做了非常大的改造和增强。
客户端密码认证增强
postgresql 默认密码加密方式是 md5。
openGauss 默认密码加密方式是 sha256。
字符串存储
在 postgresql 里,char(n)、varchar(n) n 代表是字符;最多存储 1GB。
在 openGauss 里,char(n)、varcahr(n) n 代表的是字节,nvarchar2(n) n 代表是字符;最多存储 100MB。
null 与 空字符
在 postgresql 里 null != ‘’
在 openGauss 里‘’转换成 null,没有‘’

DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐
所有评论(0)