当前位置:网站首页>Part V Druid data source introduction
Part V Druid data source introduction
2022-07-23 15:20:00 【nihui123】
Introduction
Everyone has been using Druid, But never studied Druid What is it ?Druid The first is a database connection pool .Druid Is the best database connection pool available , In the functional 、 performance 、 extensibility , All over the other database connection pool , Include DBCP、C3P0、BoneCP、Proxool、JBoss DataSource.Druid More than has been deployed in alibaba 600 Applications , After more than a year of large-scale deployment in production environments .Druid Is a database connection pool developed by alibaba that it claims was created for surveillance ! Now let's take you to study Druid.
Druid It's a JDBC Components , It mainly includes the following three parts
- DruidDriver agent Driver, Be able to provide based on Filter-Chain Pattern plug-in system
- DruidDataSource It can efficiently manage the database connection pool
- SQLParser
Druid What can be done ?
- 1、 It can monitor the performance related data of database access ,Druid Built in provides powerful StatFilter plug-in unit , Be able to count SQL Execution performance , It is very helpful for online analysis .
- 2、 To replace the DBCP and C3P0 Database connection pool .Druid Provides a more efficient 、 Powerful performance 、 Highly scalable database connection pool .
- 3、 Generally in development , We write the database password in the configuration file , Such operation is extremely unsafe ,DruidDruiver and DruidDataSource It's all supported PasswordCallback operation .
- 4、SQL Execution log ,Druid Offers a different one LogFilter, Able to support Common-Logging、Log4j and JDKlog, You can choose the corresponding LogFilter,
边栏推荐
- 工业物联网中的时序数据
- uniapp路由跳转的六种方式
- Kettle implements shared database connection and insert update component instances
- Simulation of synchronization performance of BOC modulation and demodulation based on MATLAB, output tracking curve and identification curve under different lead lag code distance
- Deep understanding of CAS (spin lock)
- Linked list review!
- Xlswriter - Excel export
- Full backpack!
- ESP三相SVPWM控制器的simulink仿真
- js拖拽元素
猜你喜欢

Force buckle monotone stack

他山之石 | 阿里多模态知识图谱探索与实践

Head pose estimation principle and visualization_ Loveliuzz's blog - Programmer's Homestead_ Head posture estimation

安全合理用电 收获清凉一“夏”

Leetcode: 17. letter combination of phone number

多项式承诺Polynomial commitment方案汇总

Redis | 非常重要的中间件

uniapp路由跳转的六种方式

基于matlab的CBOC信号调制解调仿真,输出其相关性,功率谱以及频偏跟踪

BGP联邦实验
随机推荐
粒子边界碰撞的处理
Matlab simulation of Turbo code error rate performance
VSCode 更新後與tab相關快捷鍵無法使用
如何加速矩阵乘法——优化GEMM (CPU单线程篇)
基于PSO优化的多目标最优值求解matlab仿真
Getting started with Prometheus (III)
Selenium in the crawler realizes automatic collection of CSDN bloggers' articles
[solve the exception] Flink uploads the jar package to the cluster environment, and the operation report does not serialize the exception
Smart headline: smart clothing forum will be held on August 4, and the whole house smart sales will exceed 10billion in 2022
Redis bloom filter
RSA加密的使用
智头条:智装论坛将于8月4日举行,2022全屋智能销售将破100亿
动态规划-力扣
AVX指令集加速矩阵乘法
什么是服务器托管及和虚拟主机的区别
Kettle實現共享數據庫連接及插入更新組件實例
Liunx:浅析vim编辑器基本使用
基于matlab的CBOC信号调制解调仿真,输出其相关性,功率谱以及频偏跟踪
Linked list review!
airserver在哪里下载?使用方法教程