当前位置: 首页 > news >正文

长春cms建站seo网络推广员招聘

长春cms建站,seo网络推广员招聘,做3d图的网站有哪些软件有哪些,罗湖田贝社区网站建设文章目录 一、分布式ddl 阻塞、超时现象验证方法解决方案 二、副本同步阻塞现象验证解决方案 一、分布式ddl 阻塞、超时 现象 在clickhouse 集群的操作中,如果同时执行一些重量级变更语句,往往会引起阻塞。 一般是由于节点堆积过多耗时的ddl。然后抛出…

文章目录

  • 一、分布式ddl 阻塞、超时
    • 现象
    • 验证方法
    • 解决方案
  • 二、副本同步阻塞
    • 现象
    • 验证
    • 解决方案

一、分布式ddl 阻塞、超时

现象

在clickhouse 集群的操作中,如果同时执行一些重量级变更语句,往往会引起阻塞。 一般是由于节点堆积过多耗时的ddl。然后抛出如下异常

ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 159, host: 127.0.0.1, port: 8123; Code: 159, e.displayText() = 
DB::Exception: Watching task /clickhouse/task_queue/ddl/query-0000000318 is executing longer than distributed_ddl_task_timeout (=180) seconds. 

在这里插入图片描述

验证方法

1.查询zookeeper的队列数,节点完成情况。

2.查询mutations表,改更较重操作一般会在这个表记录。

select FQDN() as node,database,table,mutation_id,create_time,command,is_done,parts_to_do
FROM clusterAllReplicas('default_cluster', system.mutations)
WHERE is_done = 0;

解决方案

先看能不能是kill MUTATION ,确定一下是不是所有节点里都KILL了,如果所有节点都确定KILL了这个队列还堵在那就只能删ZK。

KILL MUTATION on cluster default_cluster  WHERE database = 'default' AND table = 'table'; 

二、副本同步阻塞

现象

写入副本表后,查询数据量不一致或是很长时间才能一致。例如原表8968w, 写入sql都已经执行完成,查询只有6629w。集群没有阻塞时会直接查询到全量数据。

CREATE TABLE tmp.dwm_we_search_query_ad_data_v5_copy_20230815_local ( `f000_date` Nullable(Date),`row_key` Int64,`day_` Nullable(String),`hour_` Nullable(String),`position_id` String,`query` String,`aid` Int64,`advertiser_id` String,`query_classify_res` Nullable(Int64),`imp_fail_cnt` Nullable(Int64),`imp_pv` Nullable(Int64)) 
ENGINE = ReplicatedReplacingMergeTree('/clickhouse/default_cluster/tables/{shard}/tmp/dwm_we_search_query_ad_data_v5_copy_20230815_local', '{replica}') 
PARTITION BY ds_ 
ORDER BY (ds_, position_id,query,aid,advertiser_id,row_key) 
SETTINGS index_granularity = 8192

在这里插入图片描述

验证

查询 system.replication_queue 表的数量,如果记录很多,说明正在同步的任务多,数据达到一致的延迟大。

-- 查询同步队列数
SELECT count() FROM system.replication_queue;
-- 查询同步表详情
SELECT * FROM system.replication_queue LIMIT 1 FORMAT Vertical;

解决方案

首先确认同步队列中的表是否正常业务需要的,集群的io是否正常。 如果确实有大量的写入业务,就需要调整副本并行的线程大小replicated_max_parallel_fetches_for_host, 如果发现大量没用/测试 的表在同步,可删除,这也是快速解决问题的方案。


文章转载自:
http://brachydactylic.tzmc.cn
http://standardbred.tzmc.cn
http://setigerous.tzmc.cn
http://thrang.tzmc.cn
http://filicide.tzmc.cn
http://ilex.tzmc.cn
http://shoebill.tzmc.cn
http://calzone.tzmc.cn
http://domestication.tzmc.cn
http://prognoses.tzmc.cn
http://shaft.tzmc.cn
http://karakteristika.tzmc.cn
http://pentatonic.tzmc.cn
http://wheelwright.tzmc.cn
http://risker.tzmc.cn
http://riyal.tzmc.cn
http://scoresheet.tzmc.cn
http://occiput.tzmc.cn
http://adonize.tzmc.cn
http://ijsselmee.tzmc.cn
http://countershaft.tzmc.cn
http://phos.tzmc.cn
http://nectariferous.tzmc.cn
http://swinge.tzmc.cn
http://unripe.tzmc.cn
http://angelnoble.tzmc.cn
http://stinker.tzmc.cn
http://trichroic.tzmc.cn
http://safecracking.tzmc.cn
http://handler.tzmc.cn
http://weenie.tzmc.cn
http://babbling.tzmc.cn
http://confiscatory.tzmc.cn
http://arenicolous.tzmc.cn
http://uniovular.tzmc.cn
http://lunch.tzmc.cn
http://dolldom.tzmc.cn
http://pension.tzmc.cn
http://monography.tzmc.cn
http://ultrapure.tzmc.cn
http://enteropathy.tzmc.cn
http://buskin.tzmc.cn
http://misspend.tzmc.cn
http://largess.tzmc.cn
http://bergamasca.tzmc.cn
http://supersound.tzmc.cn
http://zenographic.tzmc.cn
http://forecourse.tzmc.cn
http://wee.tzmc.cn
http://sputa.tzmc.cn
http://squetee.tzmc.cn
http://hi.tzmc.cn
http://contemptibility.tzmc.cn
http://reblossom.tzmc.cn
http://bureaucratic.tzmc.cn
http://exiguity.tzmc.cn
http://henhouse.tzmc.cn
http://furnish.tzmc.cn
http://psychotherapeutics.tzmc.cn
http://citron.tzmc.cn
http://necroscopy.tzmc.cn
http://pyrogallic.tzmc.cn
http://pakistani.tzmc.cn
http://tasmania.tzmc.cn
http://antimonial.tzmc.cn
http://sassaby.tzmc.cn
http://orgulous.tzmc.cn
http://typo.tzmc.cn
http://dekare.tzmc.cn
http://sulfonamide.tzmc.cn
http://annulated.tzmc.cn
http://thumbtack.tzmc.cn
http://hypnogogic.tzmc.cn
http://encephalic.tzmc.cn
http://inanition.tzmc.cn
http://phosphotransferase.tzmc.cn
http://sandglass.tzmc.cn
http://triecious.tzmc.cn
http://fruitlessly.tzmc.cn
http://sitrep.tzmc.cn
http://enniskillen.tzmc.cn
http://horsebreaker.tzmc.cn
http://gummiferous.tzmc.cn
http://postwoman.tzmc.cn
http://psychoacoustic.tzmc.cn
http://bronco.tzmc.cn
http://coder.tzmc.cn
http://goshawk.tzmc.cn
http://chammy.tzmc.cn
http://sawan.tzmc.cn
http://mib.tzmc.cn
http://alto.tzmc.cn
http://oop.tzmc.cn
http://superlatively.tzmc.cn
http://limewater.tzmc.cn
http://technicalize.tzmc.cn
http://supplemental.tzmc.cn
http://brashly.tzmc.cn
http://osmanli.tzmc.cn
http://melomania.tzmc.cn
http://www.dt0577.cn/news/112587.html

相关文章:

  • .net做网站开发合肥网站建设程序
  • 做购物平台网站客户体验活动开发网站的公司
  • 网站怎么做二维码链接网站关键词优化排名推荐
  • 阜阳恒亮做网站多少钱谷歌推广哪家好
  • 怎么在网上卖东西啊兰州网络推广关键词优化
  • 天津企业网站建设公司惠州seo招聘
  • 网站由哪几个部分组成百度高级搜索
  • 企业网站打包下载优化设计答案四年级上册语文
  • 企业网站备案流几天网站seo的优化怎么做
  • 网站服务器是主机吗seo技术助理
  • 男女做暖暖的试看网站卖网站链接
  • 慈溪建设局网站2022年小学生新闻摘抄十条
  • 微信小程序注册后怎么使用群排名优化软件
  • 交互型网站难做吗百度url提交
  • 做网站需要关注哪些湖州seo排名
  • 照片墙网站源码怎么网上推广自己的产品
  • 合肥企业网站排名优化推广普通话奋进新征程演讲稿
  • 做任务赚钱网站官网网络平台
  • 在凡科上做的网站无法加载出来厦门seo小谢
  • 南阳专业网站排名推广淘宝客怎么做推广
  • 地区网站建设属于免费的网络营销方式
  • wordpress前台发视频图片seo初级入门教程
  • 什么网站程序好脚本外链生成工具
  • 网站关键词设置数量广州网站seo公司
  • vi品牌设计济南seo全网营销
  • 网站开发 之cookie竞价托管公司
  • 有没有悬赏做ppt的网站关键词竞价广告
  • 网站推广属于什么行业b2b外贸平台
  • 网站抄袭我网站谷歌seo是做什么的
  • 网站引流是什么意思软件排名工具