Calling stored procedures and functions using JDBC
Original Link: http://www.yiidian.com/jdbc/jdbc-callablestatement.html
1 CallableStatement interface
The CallableStatement interface is used to call stored procedures and functions.
By using stored procedures and functions, we can write business logic on the database, which will improve performance because they are precompiled.
2 What is the di ...
Posted by msurabbott on Wed, 18 Mar 2020 04:02:52 +0100
Talk about MySQL plugin of skywalking
order
This paper mainly studies MySQL plugin of skywalking
skywalking-plugin.def
skywalking-6.6.0/apm-sniffer/apm-sdk-plugin/mysql-8.x-plugin/src/main/resources/skywalking-plugin.def
mysql-8.x=org.apache.skywalking.apm.plugin.jdbc.mysql.v8.define.ConnectionImplCreateInstrumentation
mysql-8.x=org.apache.skywalking.apm.plugin.jdbc.mysql.v8.define ...
Posted by gj6kings on Sun, 15 Mar 2020 04:13:11 +0100
Spark SQL -- spark SQL performance optimization
Article directory
1. Cache table data in memory
2. Parameter optimization
1. Cache table data in memory
Performance tuning is mainly about putting data into memory. Caching data in memory can improve performance by directly reading the value of memory. In RDD, use rdd.cache or rdd.persist to cac ...
Posted by abgoosht on Fri, 13 Mar 2020 08:27:46 +0100
Redis - using Gearmand as mysql cache server
Redis - using Gearmand as mysql cache server
Article directory
Redis - using Gearmand as mysql cache server
1. What is gearland?
2. Deployment process
3. test
1. What is gearland?
Gearmand is a machine used to delegate work to other machines, distributed calls are more suitable for doing a c ...
Posted by onedumbcoder on Fri, 13 Mar 2020 07:53:45 +0100
Read the summary of chapter 11.3.2 The CHAR and VARCHAR Types in the official MySQL 5.7 document
Author: Wei Xinping, the 5th MySQL practical class student of zhishutang, the 10th MySQL optimization class student, now works as a teaching assistant.
Maximum length of varchar(n) and char(n)
I believe that as a dba, it is often asked this question. What is the maximum length. How many bytes or how many characters. In fact, this is not very ...
Posted by Andre_Ng on Wed, 11 Mar 2020 12:59:35 +0100
High performance mysql - group replication of MySQL (full synchronous replication)
Article directory
1. Basic concepts of full synchronous replication (Group replication)
1.1 group replication model:
1.2 group replication principle:
2. Realize group replication
server1: (initiating node)
Configure on server2 and server3:
Test:
1. Basic concepts of full synchronous replicat ...
Posted by shadow_blade47 on Wed, 11 Mar 2020 12:22:55 +0100
Build mysql NDB cluster
NDB cluster installation
introduce
https://dev.mysql.com/doc/refman/8.0/en/mysql-cluster-basics.html
NDBCLUSTER (also known as NDB )Is a memory storage engine that provides high availability and data persistence.
Of NDBCLUSTER The storage engine can be configured with a range of failover and load balancing options, but the simplest is to start ...
Posted by al3x8730 on Wed, 11 Mar 2020 10:41:43 +0100
Module 3, week 2, assignment 2, bidding website
1 problem description
Using the Scrapy framework, complete the collection of bidding information on the Internet. The collection fields are as follows:
2 Tips for problem solving
Some pages of the Internet must be logged in to get response. You need to log in manually and get the Cookie value in t ...
Posted by redmonkey on Tue, 10 Mar 2020 11:21:39 +0100
[spring annotation driven development] - auto assembly - @ Profile
Article directory
The role of @ profile
2 two ways to activate the environment
Source address of demo of this bloghttps://github.com/suchahaerkang/spring-annotation.git
The role of @ profile
@Function of Profile: switch between different environments, and register different components to the con ...
Posted by GroundZeroStudio on Sun, 08 Mar 2020 06:49:43 +0100
Notes on mysql special commands
1, Connect to database
Do not use database management software (such as Navicat, etc.), connect mysql server through dos, and then operate database
General format for connecting to database: mysql -P port number - h mysql host name or ip address - u user name - p
Explanation: (- P upper case P represe ...
Posted by Michael001 on Thu, 05 Mar 2020 07:45:26 +0100