Files
mtusi2026lab2/evidence/query-study-final.svg
T

34 lines
1.7 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="900" height="610" viewBox="0 0 900 610">
<rect width="900" height="610" fill="white"/>
<g font-family="sans-serif" font-size="15" fill="#172033">
<text x="30" y="30" font-size="21">100 000 messages: warm PostgreSQL comparison</text>
<text x="30" y="65">SQL median, ms</text>
<text x="30" y="99">chat_only</text>
<rect x="140" y="80" width="530.00" height="24" fill="#d68439"/>
<text x="680.00" y="98">3.215</text>
<text x="30" y="132">composite</text>
<rect x="140" y="113" width="2.14" height="24" fill="#346dc4"/>
<text x="152.14" y="131">0.013</text>
<text x="30" y="195">INSERT 5000 + COMMIT, s</text>
<text x="30" y="229">chat_only</text>
<rect x="140" y="210" width="530.00" height="24" fill="#d68439"/>
<text x="680.00" y="228">0.0690227</text>
<text x="30" y="262">composite</text>
<rect x="140" y="243" width="289.04" height="24" fill="#346dc4"/>
<text x="439.04" y="261">0.0376425</text>
<text x="30" y="325">Index size, bytes</text>
<text x="30" y="359">chat_only</text>
<rect x="140" y="340" width="64.60" height="24" fill="#d68439"/>
<text x="214.60" y="358">720896</text>
<text x="30" y="392">composite</text>
<rect x="140" y="373" width="530.00" height="24" fill="#346dc4"/>
<text x="680.00" y="391">5.91462e+06</text>
<text x="30" y="455">WAL for INSERT 5000, bytes</text>
<text x="30" y="489">chat_only</text>
<rect x="140" y="470" width="420.37" height="24" fill="#d68439"/>
<text x="570.37" y="488">1.40879e+06</text>
<text x="30" y="522">composite</text>
<rect x="140" y="503" width="530.00" height="24" fill="#346dc4"/>
<text x="680.00" y="521">1.77618e+06</text>
<text x="30" y="595">3 phases/index; 7 reads/phase; same data and limits. SQL time is not HTTP time.</text>
</g></svg>