华为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,没有‘’
鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。
更多推荐



所有评论(0)