Home > Database > Mysql Tutorial > body text

推荐数据库连接池Druid

WBOY
Release: 2016-06-07 15:35:54
Original
1684 people have browsed it

Druid是阿里巴巴开源的数据库连接池 和常用的数据库连接池C3P0、BoneCP、Proxool相比,Druid提供了一些好用的功能,包括: 1. 提供了强大的监控功能,能够监控连接池行为和SQL执行情况,从而了解应用的数据库访问行为 2. Druid提供了SQL Parser,通过SQL Pars

Druid是阿里巴巴开源的数据库连接池
和常用的数据库连接池C3P0、BoneCP、Proxool相比,Druid提供了一些好用的功能,包括:
1. 提供了强大的监控功能,能够监控连接池行为和SQL执行情况,从而了解应用的数据库访问行为
2. Druid提供了SQL Parser,通过SQL Parser Druid可以在JDBC层拦截SQL做相应处理,比如说分库分表、防御SQL注入攻击等
3. Druid提供了基于一个完备的防御SQL注入攻击方案

从DBCP向Druid迁移成本非常低,有兴趣的同学可以尝试下~


Druid相关文档:
Druid Home
Source Code

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!