当前位置:网站首页>DBPack SQL Tracing 功能及数据加密功能详解
DBPack SQL Tracing 功能及数据加密功能详解
2022-08-01 16:58:00 【InfoQ】
SQL Tracing
traceparenttraceparent00-85d85c3112590a76d0723eed4326dbd8-81e51018180f4913-01fmt.Sprintf("%.2x-%s-%s-%s",
supportedVersion,
sc.TraceID(),
sc.SpanID(),
flags)TraceIDSpanIDtraceparentupdate /*+ XID('gs/aggregationSvc/72343404027518979') TraceParent('00-85d85c3112590a76d0723eed4326dbd8-81e51018180f4913-01') */ product.inventory set available_qty = available_qty - ?, allocated_qty = allocated_qty + ? where product_sysno = ? and available_qty >= ?
trace:
jaeger_endpoint: http://jaeger:14268/api/traces # 替换为实际的 jaeger 地址
数据加密
WHERECryptoFilterexecutors:
- name: redirect
mode: sdb
config:
data_source_ref: employees
filters:
- cryptoFilter
filters:
- name: cryptoFilter
kind: CryptoFilter
conf:
column_crypto_list:
- table: departments
columns: ["dept_name"]
aeskey: 123456789abcdefgdepartmentsdept_name- 插入操作:
INSERT INTO departments (id,dept_no,dept_name) VALUES (1,'1001','sunset')
INSERT INTO departments (id,dept_no,dept_name) VALUES (1,'1001','3d244141cb5b6f921923f7f88f073941')
- 更新操作:
UPDATE departments SET dept_name='moonlight' WHERE id=1
UPDATE departments SET dept_name='5cdeb84b8fc3c22fd6c3e37ca6d837da' WHERE id=1
- 查询时会自动解密返回给用户
综述
链接
- dbpack: https://github.com/CECTC/dbpack
- dbpack-samples: https://github.com/CECTC/dbpack-samples
- dbpack-doc: https://github.com/CECTC/dbpack-doc
- 事件驱动分布式事务设计:https://mp.weixin.qq.com/s/r43JvRY3LCETMoZjrdNxXA
- 视频介绍:
- 《dbpack 分布式事务功能详解》 https://www.bilibili.com/video/BV1cg411X7Ek
- 《高性能分布式事务框架实践》https://www.bilibili.com/video/BV1Xr4y1L7kD
边栏推荐
- C#中关于DevExpress的常用操作和帮助类项目工程内容说明
- LeetCode Week 303
- 【R语言】线性混合模型进行重复测量设计分析
- 【Unity,C#】哨兵点位循迹模板代码
- OneFlow源码解析:Op、Kernel与解释器
- Using Canvas to achieve web page mouse signature effect
- The site is not found after the website is filed. You have not bound this domain name or IP to the corresponding site! The configuration file does not take effect!
- MySQL's maximum recommended number of rows is 2000w, is it reliable?
- 表达式;运算符,算子;取余计算;运算符优先顺序
- DateTime Helper Class for C#
猜你喜欢

MySQL's maximum recommended number of rows is 2000w, is it reliable?

2022 Strong Net Cup CTF---Strong Net Pioneer ASR wp

【R语言】对图片进行裁剪 图片批量裁剪

完全背包问题求组合数和排列数

泰国 好产品推荐!2022年最好的胶原蛋白评测有哪些? 喝出健康和美丽适合需要改善肌肤

The anxiety of the post-90s was cured by the vegetable market

暑气渐敛,8月让我们开源一夏!

今晚直播!

Ali's official Redis development specification

好家伙,公司服务器直接热崩掉了!
随机推荐
C#的DataTable帮助类
MySQL最大建议行数2000w, 靠谱吗?
Vulnhub target drone: HARRYPOTTER_ NAGINI
金仓数据库 KDTS 迁移工具使用指南(2. 简介)
Flask框架实战
等变图神经网络在药物研发中大放异彩
百度网盘下载速度提升100倍
深入分析类加载器
京东软件测试面试题,仅30题就已经拯救了50%的人
Financial products with high annualized returns
70后夫妻给苹果华为做“雨衣”,三年进账7.91亿
MySql 怎么查出符合条件的最新的数据行?
DateTime Helper Class for C#
金仓数据库KingbaseES安全指南--6.9. Ident身份验证
金仓数据库 MySQL 至 KingbaseES 迁移最佳实践(2. 概述)
C# LibUsbDotNet 在USB-CDC设备的上位机应用
银行案例|Zabbix跨版本升级指南,4.2-6.0不香吗?
完美指南|如何使用 ODBC 进行无代理 Oracle 数据库监控?
关于MySql中explain结果filtered的理解
金仓数据库KingbaseES安全指南--6.4. RADIUS身份验证