Web appOpen in Telegram
YYTsaurus Community Chat (EN)

YTsaurus Community Chat (EN)

@ytsaurus · group · Tech · indexed since 2026-05-27
537members−2 in a week
1writing in 30 days
1messages in 30 days
993messages in the index
П
Hey guys, what is a good number of tablets in a bundle? is too many tablets bad? I have this setup with miranda and mercuries, and using this in-house streaming platform to write into dynamic tables (a write heavy workload), but constantly get alerts with delays, AI says that it could be from too many cells per tablet instance and too many tablets, is this true? For example on mercuries i have 7k tablets, across 120 cells, 10 cells per instance on mercury, each instance is like 16 cpu cores and 64 gigs of ram. I store like less than 1TB of data so far, maybe i'll store like 10tb or so in the near future. How many tablets should i have and how many cells per instance? Should i also increase dynamic memory and keep static memory low if i have a write heavy workload?
  1. И
    Hi! Our best practice recommendation is to have tablets of about 5-10 GB compressed size and to have 5-10 tablet cells per node. Exact numbers do not matter too much, though there may be problems at the extreme points: too large tablets (100+ GB) make LSM algorithms less efficient, and too small tablets (< 100 MB) may induce overhead because of small chunks and dynamic stores. Other than that, the setup is rather flexible. Your setup looks pretty much OK. Regarding the memory — I would not recommend increasing tablet dynamic that much because it increases recovery time and does not help write throughput at all.
Whole thread · 1 reply →
П
Photo
click to show
Okay, but for some reason I get network delay alerts, they look something like this On this particular instance i am showing you, there's nothing above quota thresholds in regards to CPU/RAM/Network usage, the only graphs out of the ordinary are the ones called "tablet node write data weight rate"
П
I don't understand why I get network delay alerts if my setup looks okay
Whole thread · 3 replies →
П
Photo
click to show
btw, if i decrease the number of tablets, i have this thing happen... how do i rebalance/reshard these tablets so they fit into 500?
П
Photo
click to show
Hello guys. Could you please explain this to me? it says that the first min_data_versions values cannot be deleted, but then it says "at least one value (the last one) is always stored" i don't get it, this doc looks confusing if i have: min_data_versions=4 max_data_versions=5 how many will i end up with after compaction, 5 or 4?
П
In YQL is there a built-in function that transforms a list like ["a", "b", "a"] into a dict: {"a": 2, "b": 1} ?
    1. П
      is there a way to wrap what i wrote into a function? DictAggregate( ToMultiDict( ListNotNull(AGGREGATE_LIST( IF(val IS NOT NULL, AsTuple(val, 1), NULL) )) ), AggregationFactory("COUNT") ) i don't wanna write this bunch of code everywhere, for every column i want to aggregate
      1. А
        you can use dict/mutdict + listfold1 as follow: $foo = ($list) -> ( ListFold1($list, ($x) -> ({$x: 1}), ($new, $state) -> (SetUnion($state, {$new: 1}, ($k, $u, $v) -> (($u ?? 0) + ($v ?? 0)))) using mutdict it may be more efficient
  1. A
    $test = [1, 2, 3, 1, 4, 1, 3]; $dictCount = ($list) -> { $tuples = ListMap($list, ($item)->(AsTuple($item, Void()))); $tuplesWithCount = ListMap(DictItems(ToMultiDict($tuples)), ($tuple) -> (AsTuple($tuple.0, ListLength($tuple.1)))); return ToDict($tuplesWithCount); }; select $dictCount($test); More efficient method involves mutable dicts which are not available yet in released Query Tracker
Whole thread · 4 replies →
П
$data = [ <|id: 1, val: "a"|>, <|id: 1, val: "b"|>, <|id: 1, val: "a"|>, <|id: 2, val: "c"|>, <|id: 2, val: "a"|>, <|id: 2, val: "b"|>, ]; SELECT DictAggregate( ToMultiDict( ListNotNull(AGGREGATE_LIST( IF(val IS NOT NULL, AsTuple(val, 1), NULL) )) ), AggregationFactory("COUNT") ) AS counts from AS_TABLE($data) group by id; this seemed to work
П
alright thanks I used this (modified, from an earlier answer): $GetItemCounts = ($item_list) -> { $initial_dict = CAST({} as Dict<String, Int32>); RETURN ListFold( $item_list, $initial_dict, ($current_item, $acc_counts_dict) -> { $single_item_dict = {$current_item: 1}; RETURN SetUnion( $acc_counts_dict, $single_item_dict, ($key, $existing_count, $new_count) -> ( ($existing_count ?? 0) + ($new_count ?? 0) ) ); } ); };
M
Hi, could anyone please let me know what caused this error? = 'Error submitting rows for table //home/notus/legacy/retail/retail-global-item-v1' <== 'Tablet 506e-31b7e-102be-581caacf of table //home/notus/legacy/retail/retail-global-item-v1 is in \"freezing\" state'
  1. И
    There is a background tablet balancing process, it moves tablets sometimes. Tablet may appear frozen and unmounted during the movement.
  2. D
    That "freezing" state usually comes from the background tablet balancing process moving tablets between nodes, so it's often transient rather than a real failure. If you paste the surrounding log lines, SentX can help you read them and check whether it's just balancing or something else.
Whole thread · 3 replies →
Y
YTsaurus Community Chat (EN)
Hi everyone! We've released YTsaurus 25.4.0 🎉 Key updates include end-to-end Row-Level Security (RLS), bulk-insert under user transactions, and distributed file writes. More details in the blog.

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count