-
dbpack
A db proxy for distributed transaction, read write splitting and sharding! Support any language! It can be deployed as a sidecar in a pod.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The design idea of dbpack is cloud-native, oriented to kubernetes environment, and runs as a sidecar. means that your service is to be deployed in a kubernetes cluster. The database connection is proxied by dbpack. The application client first connects to dbpack, and then dbpack connects to the physical database. Any SQL request of the application is proxied by dbpack. So you can specify a directory to have AuditLog output to. The format of the collected AuditLog is as follows: [timestamp],[username],[ip address],[connection id],[command type],[command],[sql text],[args],[affected row] The following is part of the AuditLog: 2022-06-14 07:15:44,dksl,172.18.0.1:60372,1,COM_QUERY,,SET NAMES utf8mb4,[],0 2022-06-14 07:15:45,dksl,172.18.0.1:60372,1,COM_STMT_EXECUTE,INSERT,INSERT INTO employees ( emp_no, birth_date, first_name, last_name, gender, hire_date ) VALUES (?, ?, ?, ?, ?, ?),['100000' '1992-01-07' 'scott' 'lewis' 'M' '2014-09-01'],1 2022-06-14 07:15:45,dksl,172.18.0.1:60372,1,COM_STMT_EXECUTE,DELETE,DELETE FROM employees WHERE emp_no = ?,['100000'],1 2022-06-14 07:15:45,dksl,172.18.0.1:60372,1,COM_STMT_EXECUTE,INSERT,INSERT INTO employees ( emp_no, birth_date, first_name, last_name, gender, hire_date ) VALUES (?, ?, ?, ?, ?, ?),['100001' '1992-01-07' 'scott' 'lewis' 'M' '2014-09-01'],1 2022-06-14 07:15:45,dksl,172.18.0.1:60372,1,COM_STMT_EXECUTE,SELECT,SELECT emp_no, birth_date, first_name, last_name, gender, hire_date FROM employees WHERE emp_no = ?,['100001'],0
Related posts
-
DBPack has released `sharding databases && tables` at v0.5.0
-
DBPack has released `sharding databases && tables` at v0.5.0
-
DBPack has released `sharding databases && tables` at v0.5.0
-
DBPack has released `sharding databases && tables` at v0.5.0
-
DBPack released read-write splitting function