Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ClickHouse Cloud writer utilization (async-insert run)

For Blog 6 visuals **08a–08d**, see [writer preparation metrics](preparation-metrics/): SQL, source CSVs, exact chart values and dependency-free reproduction code.

This folder contains utilization screenshots for the ClickHouse Cloud write and ordering service used in the Snowpipe Streaming vs. async inserts benchmark run.

The service was responsible for the write side of the benchmark: receiving the continuous stock-quotes stream via **asynchronous inserts**, writing raw data into a sorted `MergeTree` table, maintaining pre-aggregations through incremental materialized views into an `AggregatingMergeTree` table, and keeping both tables query-ready while the read workload ran on a separate service.
Expand Down Expand Up @@ -72,7 +74,7 @@ CPU was well utilized but did not saturate. The service had enough work to do

## 6. Memory usage

This chart shows tracked memory usage on the writer service.
This chart shows memory usage on the writer service.

Memory stayed stable during the run, with normal variation but no sustained upward trend. That indicates the workload was bounded: async insert buffers were flushed continuously, and the service was not accumulating unmerged data or refresh state in memory.

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
progress,rows_ingested,value,parsing,sorting,pre-aggregation,compression,other-ingestion
0.0026574821011970838,300874128.0,100,58.38020035762902,19.113547312370052,2.558203116931752,9.407981939203783,10.540067273865407
0.019420151090384315,2198705693.0,100,58.36815663320781,19.050709774386654,2.6155005559618303,9.408352095612099,10.557280940831609
0.034993662149543275,3961903480.0,100,58.33666146112808,18.93317197863065,2.7349621313073875,9.39575407466199,10.599450354271898
0.05035769911763417,5701385083.0,100,58.3297551401438,18.804722562490376,2.861416128120534,9.34622087323528,10.657885296009999
0.06522587868690019,7384726830.0,100,58.38549436029202,18.687843310326304,2.9651530827113177,9.247489223941646,10.714020022728699
0.07986449976912531,9042078483.0,100,58.482468015367516,18.633715315435392,3.0289021435125187,9.122423886405397,10.7324906392792
0.09424666113933719,10670394346.0,100,58.54831226875488,18.682079104345352,3.0566273653692146,9.013884067087238,10.699097194443327
0.10840486113103613,12273353807.0,100,58.54289526047752,18.798489304245123,3.058941970726631,8.942021130433767,10.657652334116955
0.12332633477587011,13962729389.0,100,58.48810221982441,18.891711445495226,3.03907235115361,8.89795311436885,10.683160869157883
0.13877435948007846,15711719894.0,100,58.40925745986717,18.909280980144814,3.0064491141650938,8.883197605046774,10.791814840776153
0.15409031103495055,17445757375.0,100,58.29186937239862,18.894208367764623,2.981153701336807,8.916064638363133,10.916703920136822
0.16931177718824325,19169097432.0,100,58.127743797615,18.924673816932827,2.9742878107926565,9.003943164896205,10.969351409763325
0.18399220328120441,20831182154.0,100,57.983495817131725,19.012565385208127,2.970644184783881,9.111175414489034,10.922119198387204
0.1984066341250303,22463151494.0,100,57.942866666320704,19.088225553277894,2.946455978960593,9.18855114958844,10.83390065185235
0.21234030152033329,24040689881.0,100,58.02942615504798,19.07129767553952,2.907452194883507,9.202085041036959,10.78973893349203
0.2271497326304813,25717380260.0,100,58.19118382581193,18.956398089564402,2.882305560630851,9.146325321507213,10.823787202485608
0.24155498956777932,27348310951.0,100,58.3665576518768,18.809944263158254,2.8882485881555415,9.040070543380137,10.895178953429257
0.2560942827389294,28994416922.0,100,58.514472099008366,18.698659196533068,2.9209176289765053,8.926032509262754,10.939918566219312
0.2710632978804735,30689175045.0,100,58.60825853613842,18.634390031190826,2.9673287057594813,8.848579716600678,10.941443010310573
0.28569203227037226,32345407349.0,100,58.63036809467953,18.572374699185822,3.022612796076194,8.83886918573986,10.935775224318583
0.2998551905749696,33948928178.999996,100,58.59238432764028,18.470531286298133,3.084162598036913,8.890361801305465,10.962559986719183
0.3136528160260774,35511064204.0,100,58.5212237348359,18.34079329099993,3.143359929902758,8.969103654183627,11.025519390077761
0.32719790049720676,37044608109.0,100,58.43531657687462,18.235588203754574,3.1866961076331926,9.041986558149516,11.10041255358809
0.34055329806717727,38556676091.0,100,58.33591757113553,18.200219474929412,3.208695176525663,9.103465790335848,11.151701987073551
0.35451610143433276,40137513187.0,100,58.23054269660454,18.244207921266906,3.21107215228733,9.163813028363151,11.150364201478075
0.3680757298977995,41672703730.0,100,58.14258508646515,18.35587701810803,3.199743844971977,9.222164468275345,11.079629582179527
0.38196344213784195,43245039178.0,100,58.08099911957129,18.513729809564964,3.1839244990845548,9.255727391203154,10.965619180576041
0.3957485082590179,44805753264.0,100,58.03207709044853,18.68032511057996,3.1685439359732546,9.256969680447519,10.86208418255074
0.4089016102240116,46294917794.0,100,57.98492058770047,18.806837050676133,3.1573247202529213,9.245512732929463,10.805404908441012
0.4225225880198324,47837054170.0,100,57.96405937736109,18.852854233719775,3.148201379775771,9.260423096112499,10.774461913030885
0.4361216165088219,49376705495.0,100,58.00789468861943,18.818652016803284,3.135633235172535,9.30889721518434,10.728922844220424
0.45041792032999944,50995300760.0,100,58.116699316883214,18.73814248279606,3.120223163509881,9.36649267225869,10.65844236455216
0.4649285746156905,52638164301.0,100,58.24702628407839,18.641669443722854,3.1119985151969884,9.39756111292913,10.601744644072623
0.4779416885500847,54111479702.0,100,58.34183655196241,18.542119470444376,3.1292729445416314,9.389262423385984,10.597508609665597
0.4913018654680732,55624088791.0,100,58.38420103588713,18.439483186375462,3.178423966285953,9.36190645603974,10.635985355411712
0.5051269370322412,57189332202.99999,100,58.38778195629505,18.342605114404666,3.2404526916406375,9.35340494160987,10.675755296049779
0.5185807829426775,58712546284.00001,100,58.39159176842611,18.260762415771108,3.283865563958503,9.380666212953773,10.683114038890505
0.5314011941500522,60164044317.00001,100,58.43873837673955,18.178823849890588,3.2936112016846333,9.420054915778596,10.66877165590662
0.5438734839796634,61576128833.00001,100,58.55158571343297,18.067138102354832,3.2839070571756683,9.418434482052133,10.678934644984409
0.556725627951494,63031219578.0,100,58.71710501045683,17.926699353451315,3.2704967111550354,9.337243908841074,10.748455016095724
0.5698206564487391,64513809161.0,100,58.895316146452956,17.807078398416184,3.2371391911741814,9.185164044775448,10.875302219181183
0.5828208713802963,65985664166.0,100,59.04348136983681,17.765849707442644,3.1440407295219464,9.019083504211682,11.027544688986888
0.5960304777833632,67481226001.0,100,59.12041069990287,17.83744711240236,2.977269238635043,8.893814105542267,11.171058843517466
0.6084232372258779,68884306266.0,100,59.100445145068825,18.013032947506353,2.7762906909103044,8.831556275742807,11.278674940771698
0.621591641491907,70375203288.0,100,59.00103582758101,18.25743210194348,2.6057430281733867,8.811244520020042,11.324544522282052
0.6342096400013516,71803784612.0,100,58.87967366617747,18.517151844573622,2.5098269267588647,8.80378059824871,11.289566964241343
0.6464515385151026,73189784743.0,100,58.80092383138312,18.726052155405082,2.4855797725899023,8.798323776543505,11.18912046407838
0.6597645219118717,74697050688.0,100,58.77097535481571,18.84947760126123,2.5122243942480873,8.783262284564243,11.084060365110705
0.6726829813457509,76159649520.0,100,58.757635626240216,18.890162292530903,2.5800977879944753,8.74675953574165,11.025344757492759
0.6849600316463356,77549629457.0,100,58.730156377730424,18.866174342366552,2.6932875685922637,8.697346940208693,11.013034771102094
0.696784273127155,78888343401.0,100,58.68474113181495,18.77747091492003,2.8490388937468567,8.682824694366776,11.005924365151378
0.7085981258035405,80225881148.0,100,58.64379242279546,18.61281670107109,3.0162914887599093,8.748822210377554,10.97827717699599
0.7201707366033897,81536106034.0,100,58.6195231401028,18.40390358696932,3.148734238378079,8.880592202581413,10.94724683196839
0.7311030927797895,82773842736.0,100,58.59202830422424,18.24384628467672,3.21966489792471,8.998996703230492,10.945463809943847
0.7433074062485401,84155587573.0,100,58.510894578792325,18.243044117282654,3.236374300436991,9.040540425001032,10.96914657848699
0.756924078456004,85697236480.0,100,58.33287203532937,18.43307796854695,3.2306375954014066,9.0139584394602,10.989453961262075
0.7711381380575233,87306520240.0,100,58.06377948671243,18.753517299044525,3.2278956651906783,8.971048728240302,10.983758820812028
0.7854764566798741,88929872326.0,100,57.78666530006574,19.086606903573035,3.236402011529139,8.946671619164537,10.943654165667517
0.7992812888723614,90492824282.0,100,57.62028483240644,19.325411266865384,3.24285309013521,8.94258872468437,10.868862085908585
0.8129932638356179,92045263152.0,100,57.61978189208597,19.43215909784549,3.2301333337901283,8.945193427293303,10.772732248985108
0.8258059806130397,93495890039.0,100,57.73895016931967,19.432111536941626,3.1958153719422566,8.943828751569846,10.689294170226601
0.8396871206677139,95067481399.0,100,57.86546225788855,19.36589560834181,3.1650508406152604,8.934918626722347,10.668672666432018
0.852802744390754,96552402727.0,100,57.91673303376492,19.25110795083458,3.1700383331381214,8.926100083289832,10.736020598972567
0.867456399768321,98211456529.0,100,57.8933838452737,19.096410235785093,3.2119831242713217,8.947742955964772,10.850479838705098
0.8813545666240362,99784975625.0,100,57.848989274067605,18.925951478395937,3.258734595491168,9.023292508977585,10.943032143067738
0.8948622009583471,101314279510.0,100,57.8394004889709,18.778292898108738,3.2745423103394398,9.12281209629343,10.98495220628746
0.9076231518128917,102759045576.0,100,57.88181005228697,18.685423041369006,3.249042258201372,9.178394692170846,11.005329955971796
0.9197574208899633,104132860145.0,100,57.9480487006179,18.658349093075568,3.2009333892350917,9.148363657694844,11.044305159376608
0.9322173055262594,105543540173.0,100,57.962794995689194,18.71166611390398,3.1523785754424773,9.072134384466889,11.101025930497462
0.9440240373753602,106880271716.0,100,57.88421342733033,18.854925012782655,3.113907895326964,9.01353220554514,11.133421459014913
0.9552899951825023,108155778042.0,100,57.729257797726596,19.061360841631686,3.091807236417777,8.998400668478036,11.119173455745921
0.968448187815973,109645518926.0,100,57.552185754799865,19.262386167550577,3.0989535003588973,9.011585271919058,11.074889305371592
0.9809940372724748,111065931697.0,100,57.39920666319718,19.380180791756594,3.1409937146610813,9.045848386095944,11.033770444289216
0.9950369276267599,112655836061.0,100,57.280852690306006,19.379920520909923,3.209401400925936,9.111705165252603,11.01812022260554
1.0,113217743918.0,100,57.21360042753193,19.31761277250267,3.264002580539117,9.1769383116643,11.027845907761998
Loading
Loading