摘要:
使用参数:--no-ensure-ascii cat job_config.json | python -m json.tool --no-ensure-ascii > job_config_format.json 具体查询本机:/usr/XXXXX/pythonXXXXX/json/tool.py 阅读全文
摘要:
MySQL基础属性查询 查询事务提交机制 mysql> select @@autocommit ; + + | @@autocommit | + + | 0 | + + 1 row in set (0.00 sec) 0 是手动提交,1是自动提交。 事务隔离级别(默认是可重复读) mysql> se 阅读全文
摘要:
查询: show variables like '%group_concat_max%' ; 或者 select @@group_concat_max_len ; 设置: set session group_concat_max_len = 10240; 参见:https://stackoverfl 阅读全文
摘要:
https://stackoverflow.com/questions/9354022/inno-db-isolation-levels-and-locking 阅读全文
摘要:
show create table user_info_merge_tree_dt; CREATE TABLE default.user_info_merge_tree_dt ( `id` Int64, `name` String, `dt` Date ) ENGINE = ReplacingMer 阅读全文
摘要:
对于一个数据库表column 例如长度name varchar(8) 当用insert长度超过8的时候一般会报错,但有时候也会阶段报错。那具体跟什么有关系呢? 其实就是sql_mode的配置有关,具体结论如下: 1、sql_mode如果有STRICT_TRANS_TABLES这个配置项则会严格控制长 阅读全文
摘要:
The Request Payload - or to be more precise: payload body of a HTTP Request is the data normally send by a POST or PUT Request. It's the part after th 阅读全文
摘要:
mysql> CREATE TABLE jemp ( -> c JSON, -> g INT GENERATED ALWAYS AS (c->"$.id"), -> INDEX i (g) -> ); Query OK, 0 rows affected (0.28 sec) mysql> INSER 阅读全文
摘要:
参见:https://www.visual-paradigm.com/guide/uml-unified-modeling-language/uml-aggregation-vs-composition/ https://www.iteye.com/blog/stark-summer-981076 阅读全文
摘要:
1:Header是一个固定长度的Byte数组,具体数据结构参考IndexHeader实现 2:Slot是一块连续Byte数组用于存储Key/Value存储结构,其中Key是一个hash(key),Value是当前元素是第一个索引(也就是当前索引的序号),存储序号目的是便于检索,后面会详细描述。 3: 阅读全文