Files
geedge-jira/md/OMPUB-1159.md
2025-09-14 22:27:11 +00:00

111 lines
2.9 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 江苏项目23.3.9.55版本Clickhouse适配
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-1159 | 2024-02-26T17:42:00.000+0800 | 戚岱杰 | 完成 |
---
江苏扬州反诈项目计划于2024.03.20上线其中OLAP部署规划如下
CK集群管局提供管局在他们的CK集群里给咱们开用户其他组件使用独立服务器部署。
根据之前用户反馈的信息江苏管局的CK版本为23.3.9.55需要OLAP进行适配申请研发支持。
**doufenghu** commented on *2024-03-04T09:42:09.829+0800*:
后续规划使用独立服务器部署ClickHouse基于TSG OALP 24.02使用CK版本为21.8.3。
---
**qidaijie** commented on *2024-03-12T13:58:59.093+0800*:
与现场沟通江苏管局提供的Clickhouse集群情况如下
* CK集群名称 js_datahouse
* 建表时须配置表TTL留存半年和字段注释
* 每个都是数据节点,使用 ReplicatedMergeTree 复制引擎。
* 集群没有对max_execution_time做限制需要在客户端做查询限制
* 不开放查询系统表的权限
* 集群非UTC时区
 
综上:
* TSG 24.02版本建表语句需进行修改调整为复制引擎增加表TTL
* Chproxy需根据现场集群修改负载配置
* 存储配额、TTL、Report功能可能受到影响需要测试
---
**qidaijie** commented on *2024-03-13T11:47:34.581+0800*:
现场共创建3个用户信息如下
* tsg_query    JSFZ@2024.query
* tsg_insert    JSFZ@2024.insert
* tsg_report    JSFZ@2024.report
---
**qidaijie** commented on *2024-03-14T14:53:02.075+0800*:
[~zhangzhihan] 按照现场需求修改的TSG 24.02版本建表语句:[^js-tsg-2402-create-table.sql]
* 增加字段注释、表TTL半年使用复制引擎
---
**qidaijie** commented on *2024-03-27T14:44:29.570+0800*:
基于现场CK环境情况修改的Chproxy配置文件[^config.yml]
* ^增加不同用户的查询执行时间等限制。^
---
**qidaijie** commented on *2024-04-09T15:35:14.577+0800*:
已根据现场情况完成相关部署TSG界面可查询到日志时区差异问题已解决。
!SESSION日志截图.png|thumbnail!!SECURITY日志截图.png|thumbnail!
---
# Attachments
Attachment: config.yml
[config.yml](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/54673/config.yml)
Attachment: js-tsg-2402-create-table.sql
[js-tsg-2402-create-table.sql](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/53619/js-tsg-2402-create-table.sql)
Attachment: SECURITY日志截图.png
![SECURITY日志截图.png](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/54678/SECURITY日志截图.png)
Attachment: SESSION日志截图.png
![SESSION日志截图.png](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/54679/SESSION日志截图.png)