For druid understanding

First, what is Druid

  Druid is a high fault tolerance for real-time query and analysis of large data, high-performance open source distributed systems. Designed to quickly handle large-scale data, and the ability to achieve fast query and analysis. Especially when deploying the code occurs, the machine postings and other products down the system encounters a situation such as, Druid can maintain 100% uptime. Druid is a JDBC assembly, which consists of three parts: DruidDriver, Driver agent, capable of providing plug-in architecture based Filter-Chiain mode; DruidDdataSource Efficient management database connection pool; SQLParse

Two, Druid can do

    You can monitor database access performance. Druid built provides a powerful StatFilter plugin that detailed statistics on execution performance of SQL. For online access performance analysis database helpful

    Alternatively DBCP and C3P0 connection pool. Druid provides an efficient, powerful, scalable database connection pool.

    Database encryption. Write directly to the database password in the configuration file, which is not good behavior, easily lead to security problems. DruidDriuiver and DruidDataSource support PasswordCallback.

    SQL execution log. Druid offers different LogFiter, to support Common-Logging, log4j and JdkLog, you can press the need to select the appropriate logfiter, database monitoring visits your application.

Guess you like

Origin www.cnblogs.com/gxlaqj/p/11326504.html