Home  >  Article  >  php教程  >  PDO_ODBC 连接池的性能怎么

PDO_ODBC 连接池的性能怎么

WBOY
WBOYOriginal
2016-06-06 19:42:531941browse

PDO_ODBC 连接池的性能如何? 才发现有个PDO_ODBC,自带连接池,不知道这个能否解决PHP无连【本文来自鸿网互联 (http://www.68idc.cn)】接池的缺陷? ------解决思路---------------------- 1、虽然php没有连接池,但也不算是缺陷,因为php提供了与连接池等效

PDO_ODBC 连接池的性能如何?
才发现有个PDO_ODBC,自带连接池,不知道这个能否解决PHP无连【本文来自鸿网互联 (http://www.68idc.cn)】接池的缺陷?
------解决思路----------------------
1、虽然 php 没有连接池,但也不算是缺陷,因为 php 提供了与连接池等效的长连接
2、ODBC、JDBC 等数据库连接组件简化了应用程序到数据库的连接操作,但也屏蔽掉了一些高版本数据库新增的功能
2、ODBC、JDBC 作为第三方软件加入在应用程序和数据库之间,显然会增加系统的开销
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn