![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
风竹夜
github: https://github.com/fengzhuye
开源软件, github,c/c++, linux,orocos,ros,ethercat,canopen, matlab etc.
展开
-
postgres 编译安装
postgres 编译安装原创 2021-12-01 10:27:21 · 1138 阅读 · 0 评论 -
postgres storage mark
http://rachbelaid.com/introduction-to-postgres-physical-storage/原创 2021-07-13 10:35:55 · 119 阅读 · 0 评论 -
flex & bison mark
this link: http://aquamentus.com/flex_bison.htmland this link: https://blog.csdn.net/GW569453350game/article/details/47807123Step1.在bison中定义需要使用的token, 并且根据上下文无关文法BNF定义规则Step2.在 flex 中定义 token 的规则, yytext -> yylval (union)Step3.在 bison gramma 解析的原创 2021-06-25 15:36:11 · 179 阅读 · 0 评论 -
ms sqlserver & sap ase 数据库server-client通讯协议 TDS
简介:Tabular Data Stream (TDS) 是一个在不断“进化”的协议,目前微软 sql server 和 SAP ASE 使用的最新版本如下DBMS Engine VersionsTDSVER or -V ValueTDS Protocol Version in useTDS Protocol Version preferred by DBMS EngineSybase ASE 16.x5.05.05.0Microsoft SQL Server 201原创 2021-06-21 10:35:56 · 1001 阅读 · 1 评论 -
DB continue...
https://my.oschina.net/fileoptions/blog/2988622https://my.oschina.net/fileoptions/blog/3061997原创 2020-12-30 14:38:16 · 153 阅读 · 0 评论 -
MySQL InnoDB Cluster + MySQL Router 8 + Async replication
MySQL 可扩展的 InnoDB 方案:在同一机房,或者邻近机房至少3台机器组成 InnoDB Cluster(网络连接较好)在网络连接较差的机房使用传统的 Master + Slave 异步 Replication, 其中的Master来之 InnoDB Cluster 中的任意一台机器。[mysqld]skip-host-cacheskip-name-resolvedatadir = /var/lib/mysql/general_log = OFFevent_scheduler=ON原创 2020-05-08 21:11:31 · 457 阅读 · 0 评论 -
http & Restfulapi encryption,如何确保获取的数据没有被篡改。
由于部署和性能如果不能采用 https, 可以使用 hybrid encryption 保证数据不被串改(不能防中间人攻击,也不能防止数据的泄漏——除非采用白名单)。hybrid encryption:client—> send RSA 非对称的公钥给 serverserver 随机生成 AES 对称密钥用于加密数据,并用 client 的公钥加密 AES 对称密钥server 将...原创 2020-04-15 11:26:12 · 354 阅读 · 0 评论 -
Cassandra Tracing, Hints, Read Repair, Metrics expained & Scylladb mark
https://thelastpickle.com/blog/2016/07/27/about-deletes-and-tombstones.htmlhttps://priyankvex.wordpress.com/2019/04/28/introduction-to-lsm-trees-may-the-logs-be-with-you/https://thelastpickle.com/b...原创 2020-04-01 11:14:55 · 1211 阅读 · 0 评论 -
MySQL 主从复制 Group Replication & InnoDB Cluster 总结
SHOW SLAVE STATUS; 各个参数的含义:Here are the itemsSeconds_Behind_Master : The number of seconds behind the slave is from the master based on the time in the Slave’s OS minus the TIMESTAMP of the latest q...原创 2019-11-20 22:20:14 · 1967 阅读 · 0 评论 -
C++ 串行化——A practical guide to C++ serialization
Boost 有很多种 archive 格式,例如 Text, XML, and Binary archives,但是基本上只用 Text 和 XML,因为 Binary 的不保证 32bit/64bit 大端/小端等平台兼容性。这里只介绍 Non Intrusive Version,也就是不需要修改原来的类定义:。一个简答例子:#include <boost/archive/te...原创 2018-08-17 14:37:03 · 1215 阅读 · 0 评论 -
how-databases-work mark一下。。。
http://coding-geek.com/how-databases-work/转载 2018-05-09 16:05:26 · 318 阅读 · 0 评论