[{"data":1,"prerenderedAt":297},["ShallowReactive",2],{"content-\u002Fplugins\u002Faio-starrocks":3,"children-\u002Fplugins\u002Faio-starrocks":291,"twin-\u002Fplugins\u002Faio-starrocks":285},{"id":4,"title":5,"author":6,"body":7,"budget_tier":6,"build_tags":6,"created":6,"description":281,"document_type":282,"extension":283,"game":6,"install":24,"investment_tier":6,"league":6,"meta":284,"navigation":285,"patch":6,"path":286,"plugin":6,"profit_per_hour":6,"ratings":6,"seo":287,"skills_count":271,"status":6,"stem":288,"strategy_tier":6,"tags":6,"updated":6,"version":289,"weight":6,"__hash__":290},"content\u002Fplugins\u002Faio-starrocks.md","aio-starrocks",null,{"type":8,"value":9,"toc":270},"minimark",[10,29,32,35,40,50,54,58,61,67,72,94,97,100,105,109,135,139,248,252],[11,12,13],"blockquote",{},[14,15,16,20,21,25,26],"p",{},[17,18,19],"strong",{},"Install:"," ",[22,23,24],"code",{},"\u002Fplugin install aio-starrocks@aiocean-plugins"," · ",[22,27,28],{},"v1.0.2",[30,31,5],"h1",{"id":5},[14,33,34],{},"StarRocks best practices and query tuning skills based on official documentation.",[36,37,39],"h2",{"id":38},"install","Install",[41,42,48],"pre",{"className":43,"code":45,"language":46,"meta":47},[44],"language-bash","\u002Fplugin install aio-starrocks@aiocean-plugins\n","bash","",[22,49,45],{"__ignoreMap":47},[36,51,53],{"id":52},"skills","Skills",[55,56,57],"h3",{"id":57},"aio-starrocks-best-practices",[14,59,60],{},"Table design best practices — partitioning strategy, sort key selection, bucketing decisions, Primary Key table tuning, authentication\u002Fauthorization, and resource group configuration.",[14,62,63,66],{},[17,64,65],{},"Use when:"," designing new tables, optimizing existing schemas, reviewing DDL, choosing partition\u002Fbucket\u002Fsort strategies, configuring access control and resource isolation.",[14,68,69],{},[17,70,71],{},"Covers:",[73,74,75,79,82,85,88,91],"ul",{},[76,77,78],"li",{},"Partitioning (time-first, tenant isolation, composite keys, granularity decisions)",[76,80,81],{},"Table clustering \u002F sort keys (selection playbook, prefix index, 36-byte limit)",[76,83,84],{},"Bucketing (hash vs random, colocated joins, tablet sizing, anti-patterns)",[76,86,87],{},"Primary Key table tuning (index types, memory management, performance balance)",[76,89,90],{},"Authentication & authorization (LDAP, OIDC, RBAC, Security Integration)",[76,92,93],{},"Audit log & resource groups (CPU\u002Fmemory\u002Fconcurrency allocation from audit data)",[55,95,96],{"id":96},"aio-starrocks-query-tuning",[14,98,99],{},"Query performance tuning — EXPLAIN plans, Query Profile analysis, operator metrics, tuning recipes, schema optimization, query hints, and text-based profile analysis.",[14,101,102,104],{},[17,103,65],{}," diagnosing slow queries, reading EXPLAIN output, analyzing query profiles, optimizing joins\u002Fscans\u002Faggregations, applying query hints, tuning StarRocks schema.",[14,106,107],{},[17,108,71],{},[73,110,111,114,117,120,123,126,129,132],{},[76,112,113],{},"5-step tuning methodology (identify, collect, locate, apply, validate)",[76,115,116],{},"EXPLAIN variants (LOGICAL, VERBOSE, COSTS, ANALYZE)",[76,118,119],{},"Query Profile configuration (enable_profile, big_query_profile_threshold, runtime profiles)",[76,121,122],{},"Text-based profile analysis (ANALYZE PROFILE, SHOW PROFILELIST, bottleneck highlighting)",[76,124,125],{},"Tuning recipes by operator (scan, aggregation, join, exchange, sort\u002Fwindow)",[76,127,128],{},"Schema tuning (table types, indexes, materialized views, flat vs star)",[76,130,131],{},"Query hints (SET_VAR, SET_USER_VARIABLE, join hints: SHUFFLE\u002FBROADCAST\u002FBUCKET\u002FCOLOCATE)",[76,133,134],{},"Operator metrics reference (15+ operator types with all metrics and tuning signals)",[36,136,138],{"id":137},"sources","Sources",[73,140,141,150,157,164,171,178,185,192,199,206,213,220,227,234,241],{},[76,142,143],{},[144,145,149],"a",{"href":146,"rel":147},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Foverview\u002F",[148],"nofollow","Best Practices Overview",[76,151,152],{},[144,153,156],{"href":154,"rel":155},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fpartitioning\u002F",[148],"Partitioning",[76,158,159],{},[144,160,163],{"href":161,"rel":162},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Ftable_clustering\u002F",[148],"Table Clustering",[76,165,166],{},[144,167,170],{"href":168,"rel":169},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fbucketing\u002F",[148],"Bucketing",[76,172,173],{},[144,174,177],{"href":175,"rel":176},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fprimarykey_table\u002F",[148],"Primary Key Table",[76,179,180],{},[144,181,184],{"href":182,"rel":183},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fauthentication_authorization\u002F",[148],"Authentication & Authorization",[76,186,187],{},[144,188,191],{"href":189,"rel":190},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Faudit_log_resource_group\u002F",[148],"Audit Log & Resource Group",[76,193,194],{},[144,195,198],{"href":196,"rel":197},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fquery_plan_intro\u002F",[148],"Query Plan Intro",[76,200,201],{},[144,202,205],{"href":203,"rel":204},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fquery_planning\u002F",[148],"Query Planning",[76,207,208],{},[144,209,212],{"href":210,"rel":211},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fquery_profile_overview\u002F",[148],"Query Profile Overview",[76,214,215],{},[144,216,219],{"href":217,"rel":218},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fquery_profile_tuning_recipes\u002F",[148],"Query Profile Tuning Recipes",[76,221,222],{},[144,223,226],{"href":224,"rel":225},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fschema_tuning\u002F",[148],"Schema Tuning",[76,228,229],{},[144,230,233],{"href":231,"rel":232},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fquery_profile_text_based_analysis\u002F",[148],"Text-Based Analysis",[76,235,236],{},[144,237,240],{"href":238,"rel":239},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fquery_hint\u002F",[148],"Query Hints",[76,242,243],{},[144,244,247],{"href":245,"rel":246},"https:\u002F\u002Fdocs.starrocks.io\u002Fdocs\u002Fbest_practices\u002Fquery_tuning\u002Fquery_profile_operator_metrics\u002F",[148],"Operator Metrics",[36,249,251],{"id":250},"skills-2","Skills (2)",[73,253,254,262],{},[76,255,256,261],{},[144,257,259],{"href":258},"\u002Fplugins\u002Faio-starrocks\u002Faio-starrocks-best-practices",[17,260,57],{}," — StarRocks table design best practices — partitioning strategy, sort key selection, bucketing decisions, Primary Key table tuning, authentication\u002Fauthorization,…",[76,263,264,269],{},[144,265,267],{"href":266},"\u002Fplugins\u002Faio-starrocks\u002Faio-starrocks-query-tuning",[17,268,96],{}," — StarRocks query performance tuning — EXPLAIN plans, Query Profile analysis, operator metrics, tuning recipes, schema optimization, query hints, and text-based p…",{"title":47,"searchDepth":271,"depth":271,"links":272},2,[273,274,279,280],{"id":38,"depth":271,"text":39},{"id":52,"depth":271,"text":53,"children":275},[276,278],{"id":57,"depth":277,"text":57},3,{"id":96,"depth":277,"text":96},{"id":137,"depth":271,"text":138},{"id":250,"depth":271,"text":251},"Design StarRocks tables and tune slow queries — partitioning, bucketing, sort keys, and PK tuning, plus EXPLAIN\u002FQuery Profile reading and concrete tuning recipes.","plugin","md",{},true,"\u002Fplugins\u002Faio-starrocks",{"title":5,"description":281},"plugins\u002Faio-starrocks","1.0.2","OWbeH9I2wgn66d1mZUr5fdaU6N09TddDQXxCv6UFTjI",[292,295],{"path":258,"title":57,"description":293,"document_type":294,"status":6,"budget_tier":6,"game":6,"league":6,"patch":6,"build_tags":6,"ratings":6,"strategy_tier":6,"profit_per_hour":6,"investment_tier":6,"updated":6,"created":6},"StarRocks table design best practices — partitioning strategy, sort key selection, bucketing decisions, Primary Key table tuning, authentication\u002Fauthorization, and resource group configuration.","skill",{"path":266,"title":96,"description":296,"document_type":294,"status":6,"budget_tier":6,"game":6,"league":6,"patch":6,"build_tags":6,"ratings":6,"strategy_tier":6,"profit_per_hour":6,"investment_tier":6,"updated":6,"created":6},"StarRocks query performance tuning — EXPLAIN plans, Query Profile analysis, operator metrics, tuning recipes, schema optimization, query hints, and text-based profile analysis.",1779712310227]