正文
postgre中的explain的源码的简单介绍
小程序:扫一扫查出行
【扫一扫了解最新限行尾号】
复制小程序
【扫一扫了解最新限行尾号】
复制小程序
为什么postgrelsql的性能没有mysql好
1、第一,MySQL有一些实用的运维支持,如 slow-query.log ,这个pg肯定可以定制出来,但是如果可以配置使用就更好了。
2、MySQL崛起那会,PG虽然已经有许多高级特性,但那些特性互联网用不着,互联网需要的特性——快速——那时的PG不具备。历史延续下来,造成了今天的局面。
3、另外,PostgreSQL的主备复制属于物理复制,相对于MySQL基于binlog的逻辑复制,数据的一致性更加可靠,复制性能更高,对主机性能的影响也更小。对于WEB应用来说,复制的特性很重要,mysql到现在也是异步复制,pgsql可以做到同步,异步,半同步复制。
4、PostgreSQL技术社区存在问题,在社区中他们很快就回答了问题,但在一些设计问题上,核心员工很顽固尤其是对当前的社区版本,即使有一个明显的错误,也不愿承认。 它的学院派味道太浓,对很多商业上的考虑比较少。
5、很多组织喜欢使用PostgreSQL,因为 它的可靠性好,在保护数据方面很擅长,而且是个社区项目,不会陷入厂商的牢笼之中。MySQL更加灵活,提供了更多选项来针对不同的任务进行裁剪。
6、MySQL和PostgreSQL都不错。相对来说,PostgreSQL的商用性能更出色些,因为PostgreSQL的探索性质,其对数据库的标准支持可能更好些;MySQL入门相对简单,小型应用很适合。
postgre中的explain的源码的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于、postgre中的explain的源码的信息别忘了在本站进行查找喔。