Detailed explanation of Druid configuration parameters

pom introduction <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.0.18</version> </dependency> Initialize connection In the configuration file of druid connecting to the database, there should be "init method =" init & ...

Added by r-it on Sun, 23 Jan 2022 12:51:13 +0200

leveldb sstable min max interval search source code analysis

Author: Wang DongyangMin in leveldb_ Max search analysisprefaceleveldb is a storage engine with excellent write performance. It is a typical LSM tree implementation. The core idea of LSM tree is to convert random writes into continuous writes, so as to improve the throughput of write operations. The overall architecture is as follows:Although a ...

Added by mecha_godzilla on Sat, 15 Jan 2022 07:00:02 +0200

Monitoring - Spring Boot + JVM + Druid + Prometheus + Grafana

1. Front Prometheus + Grafana are deployed in docker mode. If there is no docker, the following content will be very difficult The length is a little long, but there must be no problem following the steps. There will be a corresponding directory on the left or right, as well as at the beginning of the article The renderings are in 7, ...

Added by Warboss Alex on Sun, 02 Jan 2022 10:50:37 +0200

Spring Boot Tutorial 4: Using Druid and Monitoring Configuration

Druid is the best database connection pool in the Java language and provides powerful monitoring and extension capabilities. After comparing Druid with HikariCP, although HikariCP has a higher performance than Druid, Druid includes many dimensions of statistical and analytical functions, which is why everyone chooses t ...

Added by cwarn23 on Sat, 04 Jul 2020 18:32:49 +0300

SpringBoot 2.3 integrates the latest ShardingJdbc + Druid + MyBatis

Today, the project is not busy. I want to have a look at the sharding JDBC sub database and sub table. I want to achieve the following: Discard the xml configuration and use. yml or. properties file + java to configure spring. Use Druid as database connection pool, open monitoring interface at the same time, and support monitoring multiple dat ...

Added by htcilt on Thu, 11 Jun 2020 06:47:20 +0300

Database idle connection disconnection caused by firewall

catalog 1, Problem description 2, Step by step analysis of problems 1, java.net.SocketException : how is the broken pipe exception generated? What's the impact? 2. Why is the database TCP connection broken? 3. The effect of firewall cutting off database connection 3, Solutions 1. Adjust the cut-of ...

Added by Popcorn on Fri, 05 Jun 2020 10:51:02 +0300

Spring boot (9): spring boot uses Druid data source

Druid is a database connection pool implementation on Alibaba open source platform. It combines the advantages of C3P0, DBCP, PROXOOL and other DB pools, and adds log monitoring. It can monitor the connection of DB pool and the execution of SQL. It can be said that Druid is a DB connectio ...

Added by hpg4815 on Sun, 03 May 2020 00:27:55 +0300

Common Java database operations

1. JDBC Driver JDBC-driven loading: 1. Loading through containers: For Java applications with containers, the corresponding driver jar packages can be placed directly in the lib directory of the container, such as web applications using Tomcat as a container, and the driver can be copied to the lib subdirectory of tomcat. 2. Application Runtim ...

Added by Exoon on Mon, 17 Feb 2020 01:22:41 +0200

Java web simple registration and landing project case

core technology java web servlet: HttpServlet class, configuration of Servlet class based on @WebServlet() comment tomcat project deployment mysql database jdbc druid database connection pool html Software used java web integrated development environment: IntelliJ IDEA Server: tomcat Visualizatio ...

Added by tolli on Tue, 28 Jan 2020 04:11:37 +0200

Spring Boot integrates Mybatis (1)

New spring boot project, dependent <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc&l ...

Added by trexx on Fri, 03 Jan 2020 23:44:44 +0200