<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vectorized on digitalitem: Claude skills library and product lab</title><link>https://digitalitem.online/en/tags/vectorized/</link><description>Recent content in Vectorized on digitalitem: Claude skills library and product lab</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 22 Oct 2026 10:15:00 +0000</lastBuildDate><atom:link href="https://digitalitem.online/en/tags/vectorized/index.xml" rel="self" type="application/rss+xml"/><item><title>Database Kernel (3): Execution — Vectors, Chunks and the Vectorized Volcano Model</title><link>https://digitalitem.online/en/posts/plan-vector-execution/</link><pubDate>Thu, 22 Oct 2026 10:15:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/plan-vector-execution/</guid><description>&lt;p&gt;The plan tree settles &lt;em&gt;what&lt;/em&gt; to do; execution settles &lt;em&gt;how to do it batch by batch&lt;/em&gt;. The key here isn&amp;rsquo;t the algorithm — it&amp;rsquo;s &lt;strong&gt;memory layout&lt;/strong&gt;: the same data arranged differently can be an order of magnitude faster.&lt;/p&gt;
&lt;p&gt;Part three of the &lt;a href="https://github.com/daviszhen/plan"&gt;plan&lt;/a&gt; series.&lt;/p&gt;
&lt;h2 id="1-vector-logically-an-array-physically-maybe-not"&gt;1. vector: logically an array, physically maybe not&lt;/h2&gt;
&lt;p&gt;A &lt;code&gt;vector&lt;/code&gt; is logically a fixed-size array, but it has several physical representations:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Representation&lt;/th&gt;
&lt;th&gt;Use case&lt;/th&gt;
&lt;th&gt;Stores&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;FLAT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;default&lt;/td&gt;
&lt;td&gt;contiguous array, same as logical&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;CONSTANT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;whole column identical&lt;/td&gt;
&lt;td&gt;one value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;DICTIONARY&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;low-cardinality strings&lt;/td&gt;
&lt;td&gt;indices + dictionary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;SEQUENCE&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;increasing sequence&lt;/td&gt;
&lt;td&gt;base + increment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;UNIFIED&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;generic algorithms&lt;/td&gt;
&lt;td&gt;contiguous data + selection&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Why so many? Because many columns during execution are constant or repetitive:&lt;/p&gt;</description></item></channel></rss>