<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >
<channel>
    <title>MariaDB.org-Planet-Feed</title>
    <atom:link href="https://mariadb.org/planet-rss" rel="self" type="application/rss+xml"/>
    <link>https://mariadb.org/planet/</link>
    <description>Supporting continuity and open collaboration</description>
    <lastBuildDate>Wed, 02 Dec 2026 19:12:09 +0000</lastBuildDate>
    <language></language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
        <item>
        <title>RDS Extended Support Cost: What You Pay and 5 Proven Ways to Cut It</title>
        <link>https://minervadb.com/rds-extended-support-cost/</link>
        <pubDate>Wed, 02 Dec 2026 19:12:09 +0000</pubDate>
        <dc:creator>MinervaDB Corporation</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/rds-extended-support-cost-what-you-pay-and-5-proven-ways-to-cut-it/</guid>
        <source url="https://minervadb.com/">MinervaDB</source>
        <description><![CDATA[<p>RDS Extended Support cost is the surcharge AWS adds when a database keeps running a major version past its end of standard support. Nobody has to order it. Amazon RDS enrolls the instance automatically, and [...]</p>
<p><a href="https://minervadb.com/rds-extended-support-cost/">RDS Extended Support Cost: What You Pay and 5 Proven Ways to Cut It</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>RDS Extended Support cost is the surcharge AWS adds when a database keeps running a major version past its end of standard support. Nobody has to order it. Amazon RDS enrolls the instance automatically, and a per-vCPU line appears on the bill beside the instance, storage and backup charges.</p>
<p>At the verification date below, the charge applies to RDS for PostgreSQL 11, 12 and 13, to RDS for MySQL 5.7 and 8.0, and to Aurora clusters on PostgreSQL 11 to 13 or Aurora MySQL version 2. The next deadline is PostgreSQL 14: standard support ends on 28 February 2027 and billing starts on 1 March 2027. We explain how RDS Extended Support cost is built, how to find every instance that pays it, and five ways to reduce it. Pricing and dates verified against AWS documentation on 3 December 2026.</p>
<h2>What RDS Extended Support is, and what you get for the money</h2>
<p><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html" target="_blank" rel="noopener">Amazon RDS Extended Support</a> lets a database stay on a major engine version after the RDS end of standard support date, for an additional charge. AWS lists three things in return.</p>
<ul>
<li>Security updates for critical and high CVEs, including the database engine.</li>
<li>Bug fixes and patches for critical issues.</li>
<li>The ability to open support cases and get troubleshooting help within the standard RDS service level agreement.</li>
</ul>
<p>The list is short on purpose. It contains no new features, no fixes for medium or low severity issues, and no performance work. The community has stopped releasing that major version, so the engine stays frozen apart from the patches above. We treat RDS Extended Support cost as rent on extra time, and the offer is described by AWS in the same terms: more time to upgrade.</p>
<h3>How automatic enrollment works</h3>
<p>Enrollment needs no action. If RDS Extended Support was not disabled when the instance was created or restored, RDS enrolls it once the end of standard support date passes. AWS states that enrollment does not change the engine and does not affect uptime or performance. RDS also moves the instance to the last minor version released before that date, if it is not already there.</p>
<p>New databases are covered too. RDS still allows the creation of an instance on a major version that is past standard support, enrolls it, and charges for it. The controlling setting is <code>EngineLifecycleSupport</code>.</p>
<h2>How RDS Extended Support cost is calculated</h2>
<p>The <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support-charges.html" target="_blank" rel="noopener">RDS Extended Support charges</a> page and the <a href="https://aws.amazon.com/rds/postgresql/pricing/" target="_blank" rel="noopener">RDS for PostgreSQL pricing</a> page define RDS Extended Support cost. It is billed per vCPU per hour, and the rate depends on the AWS Region and on how long the version has been past standard support.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">monthly_charge = billable_vcpus x rate_per_vcpu_hour x hours_in_month

US East (Ohio) and US East (N. Virginia), provisioned instances
  years 1 and 2 : USD 0.100 per vCPU-hour
  year 3        : USD 0.200 per vCPU-hour

Asia Pacific (Mumbai), provisioned instances
  years 1 and 2 : USD 0.114 per vCPU-hour
  year 3        : USD 0.228 per vCPU-hour</pre>
<p>Four rules sit behind the RDS Extended Support cost formula. The charge is added on top of instance, storage, backup and data transfer charges. Partial hours are billed in one-second increments with a 10-minute minimum. Billing starts the day after the end of standard support date. Reserved Instance discounts do not apply, because AWS treats the charge as independent of instance charges.</p>
<div>
<table>
<thead>
<tr>
<th>Component</th>
<th>Charged?</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>Primary instance</td>
<td>Yes</td>
<td>All vCPUs of the instance class</td>
</tr>
<tr>
<td>Multi-AZ standby</td>
<td>Yes</td>
<td>Primary and standby are both charged</td>
</tr>
<tr>
<td>Multi-AZ DB cluster readable standbys</td>
<td>Yes</td>
<td>The primary and both readable standbys are charged</td>
</tr>
<tr>
<td>Read replicas</td>
<td>Yes</td>
<td>When the replica runs a major version past standard support</td>
</tr>
<tr>
<td>Snapshots</td>
<td>No</td>
<td>Stored snapshots carry no Extended Support charge</td>
</tr>
<tr>
<td>Restore from snapshot</td>
<td>Yes</td>
<td>The restored instance is charged if it runs an out-of-support version</td>
</tr>
<tr>
<td>Reserved Instances</td>
<td>No discount</td>
<td>RI pricing does not reduce the charge</td>
</tr>
</tbody>
</table>
</div>
<p>Table 1: what counts toward RDS Extended Support cost, per the AWS pricing FAQ.</p>
<h3>Worked example</h3>
<p><strong>Illustrative, at list price; check your own region and instance.</strong> The instance class is db.r6g.2xlarge, which AWS lists at 8 vCPUs. The Region is US East (Ohio), and a month is taken as 730 hours.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">Multi-AZ deployment, no replicas
  billable vCPUs    = 8 (primary) + 8 (standby)            = 16
  years 1 and 2     = 16 x 0.100 x 730                     = USD 1,168 per month
                    = 1,168 x 12                           = USD 14,016 per year
  year 3            = 16 x 0.200 x 730                     = USD 2,336 per month
                    = 2,336 x 12                           = USD 28,032 per year
  three-year total  = 14,016 + 14,016 + 28,032             = USD 56,064

Same deployment with 2 single-AZ read replicas
  billable vCPUs    = 16 + 8 + 8                           = 32
  years 1 and 2     = 32 x 0.100 x 730 x 12                = USD 28,032 per year
  year 3            = 32 x 0.200 x 730 x 12                = USD 56,064 per year
  three-year total  = 28,032 + 28,032 + 56,064             = USD 112,128</pre>
<p><img decoding="async" src="image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTgwIDMzMCIgd2lkdGg9IjExODAiIGhlaWdodD0iMzMwIj48ZGVmcz48bWFya2VyIGlkPSJhIiBtYXJrZXJXaWR0aD0iMTAiIG1hcmtlckhlaWdodD0iOCIgcmVmWD0iOSIgcmVmWT0iNCIgb3JpZW50PSJhdXRvIj48cGF0aCBkPSJNMCwwIEwxMCw0IEwwLDggeiIgZmlsbD0iIzBhMWEyZiIvPjwvbWFya2VyPjwvZGVmcz48cmVjdCB3aWR0aD0iMTE4MCIgaGVpZ2h0PSIzMzAiIGZpbGw9IiNmZmZmZmYiLz48cmVjdCB4PSIyMCIgeT0iMTYiIHdpZHRoPSIxMTQwIiBoZWlnaHQ9IjUwIiByeD0iOCIgZmlsbD0iIzBhMWEyZiIgc3Ryb2tlPSIjMGExYTJmIiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSI1OTAiIHk9IjQ2IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiNmZmZmZmYiPldoaWNoIHZDUFVzIGFyZSBiaWxsZWQgZm9yIEV4dGVuZGVkIFN1cHBvcnQgaW4gdGhlIHdvcmtlZCBleGFtcGxlPC90ZXh0PjxyZWN0IHg9IjIwIiB5PSI5NiIgd2lkdGg9IjI3MCIgaGVpZ2h0PSIxMDAiIHJ4PSI4IiBmaWxsPSIjZmRmM2UzIiBzdHJva2U9IiNjNzc3MDAiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjE1NSIgeT0iMTI5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPlByaW1hcnk8L3RleHQ+PHRleHQgeD0iMTU1IiB5PSIxNTEiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+ZGIucjZnLjJ4bGFyZ2U8L3RleHQ+PHRleHQgeD0iMTU1IiB5PSIxNzMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+OCB2Q1BVcyBiaWxsZWQ8L3RleHQ+PHJlY3QgeD0iMzEwIiB5PSI5NiIgd2lkdGg9IjI3MCIgaGVpZ2h0PSIxMDAiIHJ4PSI4IiBmaWxsPSIjZmRmM2UzIiBzdHJva2U9IiNjNzc3MDAiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjQ0NSIgeT0iMTI5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPk11bHRpLUFaIHN0YW5kYnk8L3RleHQ+PHRleHQgeD0iNDQ1IiB5PSIxNTEiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+ZGIucjZnLjJ4bGFyZ2U8L3RleHQ+PHRleHQgeD0iNDQ1IiB5PSIxNzMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+OCB2Q1BVcyBiaWxsZWQ8L3RleHQ+PHJlY3QgeD0iNjAwIiB5PSI5NiIgd2lkdGg9IjI3MCIgaGVpZ2h0PSIxMDAiIHJ4PSI4IiBmaWxsPSIjZmRmM2UzIiBzdHJva2U9IiNjNzc3MDAiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjczNSIgeT0iMTI5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPjIgcmVhZCByZXBsaWNhczwvdGV4dD48dGV4dCB4PSI3MzUiIHk9IjE1MSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE0IiBmb250LXdlaWdodD0iNDAwIiBmaWxsPSIjMGExNDI0Ij5kYi5yNmcuMnhsYXJnZSBlYWNoPC90ZXh0Pjx0ZXh0IHg9IjczNSIgeT0iMTczIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGZvbnQtd2VpZ2h0PSI0MDAiIGZpbGw9IiMwYTE0MjQiPjE2IHZDUFVzIGJpbGxlZDwvdGV4dD48cmVjdCB4PSI4OTAiIHk9Ijk2IiB3aWR0aD0iMjcwIiBoZWlnaHQ9IjEwMCIgcng9IjgiIGZpbGw9IiNlOWY3ZWYiIHN0cm9rZT0iIzFlOGU1YSIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iMTAyNSIgeT0iMTI5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPlNuYXBzaG90czwvdGV4dD48dGV4dCB4PSIxMDI1IiB5PSIxNTEiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+bm90IGJpbGxlZDwvdGV4dD48dGV4dCB4PSIxMDI1IiB5PSIxNzMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+dW50aWwgcmVzdG9yZWQ8L3RleHQ+PHJlY3QgeD0iMjAiIHk9IjIyNiIgd2lkdGg9IjExNDAiIGhlaWdodD0iNzYiIHJ4PSI4IiBmaWxsPSIjZjRmNWY3IiBzdHJva2U9IiNkY2RlZTQiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjU5MCIgeT0iMjU4IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPjMyIGJpbGxhYmxlIHZDUFVzIGluIHRvdGFsPC90ZXh0Pjx0ZXh0IHg9IjU5MCIgeT0iMjgwIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGZvbnQtd2VpZ2h0PSI0MDAiIGZpbGw9IiMwYTE0MjQiPlJlc2VydmVkIEluc3RhbmNlIGRpc2NvdW50cyBkbyBub3QgcmVkdWNlIHRoaXMgY2hhcmdlPC90ZXh0Pjwvc3ZnPg==" alt="Billable vCPUs that drive RDS Extended Support cost in a Multi-AZ deployment with read replicas"></p>
<p>Figure 1: the billable vCPUs behind the RDS Extended Support cost in the worked example.</p>
<p>Two points stand out in this RDS Extended Support cost example. The standby doubles the charge although it serves no traffic. Each read replica then adds its full vCPU count again. An estate with many small replicas can carry a higher RDS Extended Support cost than one with a single large primary.</p>
<p><img decoding="async" src="image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTgwIDQzMCIgd2lkdGg9IjExODAiIGhlaWdodD0iNDMwIj48ZGVmcz48bWFya2VyIGlkPSJhIiBtYXJrZXJXaWR0aD0iMTAiIG1hcmtlckhlaWdodD0iOCIgcmVmWD0iOSIgcmVmWT0iNCIgb3JpZW50PSJhdXRvIj48cGF0aCBkPSJNMCwwIEwxMCw0IEwwLDggeiIgZmlsbD0iIzBhMWEyZiIvPjwvbWFya2VyPjwvZGVmcz48cmVjdCB3aWR0aD0iMTE4MCIgaGVpZ2h0PSI0MzAiIGZpbGw9IiNmZmZmZmYiLz48cmVjdCB4PSIyMCIgeT0iMTYiIHdpZHRoPSIxMTQwIiBoZWlnaHQ9IjUwIiByeD0iOCIgZmlsbD0iIzBhMWEyZiIgc3Ryb2tlPSIjMGExYTJmIiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSI1OTAiIHk9IjQ2IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiNmZmZmZmYiPklsbHVzdHJhdGl2ZTogeWVhcmx5IEV4dGVuZGVkIFN1cHBvcnQgY2hhcmdlLCBkYi5yNmcuMnhsYXJnZSBNdWx0aS1BWiwgVVMgRWFzdCAoT2hpbyk8L3RleHQ+PHJlY3QgeD0iMTQwIiB5PSIyMzYiIHdpZHRoPSIyNDAiIGhlaWdodD0iMTEwIiByeD0iOCIgZmlsbD0iI2ZkZjNlMyIgc3Ryb2tlPSIjYzc3NzAwIiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSIyNjAiIHk9IjI4NSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5ZZWFyIDE8L3RleHQ+PHRleHQgeD0iMjYwIiB5PSIzMDciIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+VVNEIDE0LDAxNjwvdGV4dD48cmVjdCB4PSI0NzAiIHk9IjIzNiIgd2lkdGg9IjI0MCIgaGVpZ2h0PSIxMTAiIHJ4PSI4IiBmaWxsPSIjZmRmM2UzIiBzdHJva2U9IiNjNzc3MDAiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjU5MCIgeT0iMjg1IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPlllYXIgMjwvdGV4dD48dGV4dCB4PSI1OTAiIHk9IjMwNyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE0IiBmb250LXdlaWdodD0iNDAwIiBmaWxsPSIjMGExNDI0Ij5VU0QgMTQsMDE2PC90ZXh0PjxyZWN0IHg9IjgwMCIgeT0iMTI2IiB3aWR0aD0iMjQwIiBoZWlnaHQ9IjIyMCIgcng9IjgiIGZpbGw9IiNmZGU4ZTYiIHN0cm9rZT0iI2MwMzkyYiIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iOTIwIiB5PSIyMTkiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzBhMTQyNCI+WWVhciAzPC90ZXh0Pjx0ZXh0IHg9IjkyMCIgeT0iMjQxIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGZvbnQtd2VpZ2h0PSI0MDAiIGZpbGw9IiMwYTE0MjQiPlVTRCAyOCwwMzI8L3RleHQ+PHRleHQgeD0iOTIwIiB5PSIyNjMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+cmF0ZSBkb3VibGVzPC90ZXh0PjxsaW5lIHgxPSI4MCIgeTE9IjM0OCIgeDI9IjExMDAiIHkyPSIzNDgiIHN0cm9rZT0iIzBhMWEyZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PHJlY3QgeD0iMjAiIHk9IjM2NiIgd2lkdGg9IjExNDAiIGhlaWdodD0iNDgiIHJ4PSI4IiBmaWxsPSIjZjRmNWY3IiBzdHJva2U9IiNkY2RlZTQiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjU5MCIgeT0iMzk1IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPklsbHVzdHJhdGl2ZSBhcml0aG1ldGljIGF0IGxpc3QgcHJpY2U6IDE2IGJpbGxhYmxlIHZDUFVzIHggcmF0ZSB4IDczMCBob3VycyB4IDEyIG1vbnRoczwvdGV4dD48L3N2Zz4=" alt="Illustrative RDS Extended Support cost by year for a Multi-AZ instance"></p>
<p>Figure 2: illustrative RDS Extended Support cost per year for the Multi-AZ deployment without replicas.</p>
<h2>RDS Extended Support cost timeline for PostgreSQL, MySQL and Aurora</h2>
<p>RDS Extended Support cost follows the same four phases for every affected version. The dates differ by engine and version, and the rate doubles at the start of year 3.</p>
<p><img decoding="async" src="image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTgwIDQ2NCIgd2lkdGg9IjExODAiIGhlaWdodD0iNDY0Ij48ZGVmcz48bWFya2VyIGlkPSJhIiBtYXJrZXJXaWR0aD0iMTAiIG1hcmtlckhlaWdodD0iOCIgcmVmWD0iOSIgcmVmWT0iNCIgb3JpZW50PSJhdXRvIj48cGF0aCBkPSJNMCwwIEwxMCw0IEwwLDggeiIgZmlsbD0iIzBhMWEyZiIvPjwvbWFya2VyPjwvZGVmcz48cmVjdCB3aWR0aD0iMTE4MCIgaGVpZ2h0PSI0NjQiIGZpbGw9IiNmZmZmZmYiLz48cmVjdCB4PSIyMCIgeT0iMTYiIHdpZHRoPSIxMTQwIiBoZWlnaHQ9IjUwIiByeD0iOCIgZmlsbD0iIzBhMWEyZiIgc3Ryb2tlPSIjMGExYTJmIiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSI1OTAiIHk9IjQ2IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiNmZmZmZmYiPlJEUyBFeHRlbmRlZCBTdXBwb3J0IGNvc3QgdGltZWxpbmU6IGZyb20gc3RhbmRhcmQgc3VwcG9ydCB0byBmb3JjZWQgdXBncmFkZTwvdGV4dD48cmVjdCB4PSIyMCIgeT0iODYiIHdpZHRoPSIxNjAiIGhlaWdodD0iODQiIHJ4PSI4IiBmaWxsPSIjZjRmNWY3IiBzdHJva2U9IiM1YjY0NzIiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjEwMCIgeT0iMTIyIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPlBoYXNlPC90ZXh0Pjx0ZXh0IHg9IjEwMCIgeT0iMTQ0IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGZvbnQtd2VpZ2h0PSI0MDAiIGZpbGw9IiMwYTE0MjQiPndoYXQgeW91IHBheTwvdGV4dD48cmVjdCB4PSIxOTAiIHk9Ijg2IiB3aWR0aD0iMjM1IiBoZWlnaHQ9Ijg0IiByeD0iOCIgZmlsbD0iI2U5ZjdlZiIgc3Ryb2tlPSIjMWU4ZTVhIiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSIzMDcuNSIgeT0iMTIyIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPlN0YW5kYXJkIHN1cHBvcnQ8L3RleHQ+PHRleHQgeD0iMzA3LjUiIHk9IjE0NCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE0IiBmb250LXdlaWdodD0iNDAwIiBmaWxsPSIjMGExNDI0Ij5ubyBzdXJjaGFyZ2U8L3RleHQ+PHJlY3QgeD0iNDM1IiB5PSI4NiIgd2lkdGg9IjIzNSIgaGVpZ2h0PSI4NCIgcng9IjgiIGZpbGw9IiNmZGYzZTMiIHN0cm9rZT0iI2M3NzcwMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iNTUyLjUiIHk9IjExMSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5FeHRlbmRlZCBTdXBwb3J0PC90ZXh0Pjx0ZXh0IHg9IjU1Mi41IiB5PSIxMzMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+eWVhcnMgMSBhbmQgMjwvdGV4dD48dGV4dCB4PSI1NTIuNSIgeT0iMTU1IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGZvbnQtd2VpZ2h0PSI0MDAiIGZpbGw9IiMwYTE0MjQiPlVTRCAwLjEwIHBlciB2Q1BVLWhvdXI8L3RleHQ+PHJlY3QgeD0iNjgwIiB5PSI4NiIgd2lkdGg9IjIzNSIgaGVpZ2h0PSI4NCIgcng9IjgiIGZpbGw9IiNmZGU4ZTYiIHN0cm9rZT0iI2MwMzkyYiIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iNzk3LjUiIHk9IjExMSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5FeHRlbmRlZCBTdXBwb3J0PC90ZXh0Pjx0ZXh0IHg9Ijc5Ny41IiB5PSIxMzMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+eWVhciAzPC90ZXh0Pjx0ZXh0IHg9Ijc5Ny41IiB5PSIxNTUiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjQwMCIgZmlsbD0iIzBhMTQyNCI+VVNEIDAuMjAgcGVyIHZDUFUtaG91cjwvdGV4dD48cmVjdCB4PSI5MjUiIHk9Ijg2IiB3aWR0aD0iMjM1IiBoZWlnaHQ9Ijg0IiByeD0iOCIgZmlsbD0iI2VlZjNmYiIgc3Ryb2tlPSIjMGY2MmZlIiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSIxMDQyLjUiIHk9IjEyMiIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5Gb3JjZWQgdXBncmFkZTwvdGV4dD48dGV4dCB4PSIxMDQyLjUiIHk9IjE0NCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE0IiBmb250LXdlaWdodD0iNDAwIiBmaWxsPSIjMGExNDI0Ij5FeHRlbmRlZCBTdXBwb3J0IGVuZHM8L3RleHQ+PGxpbmUgeDE9IjQyNSIgeTE9IjEyOCIgeDI9IjQzMyIgeTI9IjEyOCIgc3Ryb2tlPSIjMGExYTJmIiBzdHJva2Utd2lkdGg9IjIuNSIgbWFya2VyLWVuZD0idXJsKCNhKSIvPjxsaW5lIHgxPSI2NzAiIHkxPSIxMjgiIHgyPSI2NzgiIHkyPSIxMjgiIHN0cm9rZT0iIzBhMWEyZiIgc3Ryb2tlLXdpZHRoPSIyLjUiIG1hcmtlci1lbmQ9InVybCgjYSkiLz48bGluZSB4MT0iOTE1IiB5MT0iMTI4IiB4Mj0iOTIzIiB5Mj0iMTI4IiBzdHJva2U9IiMwYTFhMmYiIHN0cm9rZS13aWR0aD0iMi41IiBtYXJrZXItZW5kPSJ1cmwoI2EpIi8+PHJlY3QgeD0iMjAiIHk9IjE5MCIgd2lkdGg9IjE2MCIgaGVpZ2h0PSI1NiIgcng9IjgiIGZpbGw9IiMwYTFhMmYiIHN0cm9rZT0iIzBhMWEyZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iMTAwIiB5PSIyMjMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iI2ZmZmZmZiI+UG9zdGdyZVNRTCAxMzwvdGV4dD48cmVjdCB4PSIxOTAiIHk9IjE5MCIgd2lkdGg9IjIzNSIgaGVpZ2h0PSI1NiIgcng9IjgiIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0iI2RjZGVlNCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iMzA3LjUiIHk9IjIyMyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5lbmRzIDI4IEZlYiAyMDI2PC90ZXh0PjxyZWN0IHg9IjQzNSIgeT0iMTkwIiB3aWR0aD0iMjM1IiBoZWlnaHQ9IjU2IiByeD0iOCIgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjZGNkZWU0IiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSI1NTIuNSIgeT0iMjIzIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPmZyb20gMSBNYXIgMjAyNjwvdGV4dD48cmVjdCB4PSI2ODAiIHk9IjE5MCIgd2lkdGg9IjIzNSIgaGVpZ2h0PSI1NiIgcng9IjgiIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0iI2RjZGVlNCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iNzk3LjUiIHk9IjIyMyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5mcm9tIDEgTWFyIDIwMjg8L3RleHQ+PHJlY3QgeD0iOTI1IiB5PSIxOTAiIHdpZHRoPSIyMzUiIGhlaWdodD0iNTYiIHJ4PSI4IiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiNkY2RlZTQiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjEwNDIuNSIgeT0iMjIzIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwYTE0MjQiPmFmdGVyIDI4IEZlYiAyMDI5PC90ZXh0PjxyZWN0IHg9IjIwIiB5PSIyNjAiIHdpZHRoPSIxNjAiIGhlaWdodD0iNTYiIHJ4PSI4IiBmaWxsPSIjMGExYTJmIiBzdHJva2U9IiMwYTFhMmYiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjEwMCIgeT0iMjkzIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiNmZmZmZmYiPlBvc3RncmVTUUwgMTQ8L3RleHQ+PHJlY3QgeD0iMTkwIiB5PSIyNjAiIHdpZHRoPSIyMzUiIGhlaWdodD0iNTYiIHJ4PSI4IiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiNkY2RlZTQiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjMwNy41IiB5PSIyOTMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzBhMTQyNCI+ZW5kcyAyOCBGZWIgMjAyNzwvdGV4dD48cmVjdCB4PSI0MzUiIHk9IjI2MCIgd2lkdGg9IjIzNSIgaGVpZ2h0PSI1NiIgcng9IjgiIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0iI2RjZGVlNCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iNTUyLjUiIHk9IjI5MyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5mcm9tIDEgTWFyIDIwMjc8L3RleHQ+PHJlY3QgeD0iNjgwIiB5PSIyNjAiIHdpZHRoPSIyMzUiIGhlaWdodD0iNTYiIHJ4PSI4IiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiNkY2RlZTQiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9Ijc5Ny41IiB5PSIyOTMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzBhMTQyNCI+ZnJvbSAxIE1hciAyMDI5PC90ZXh0PjxyZWN0IHg9IjkyNSIgeT0iMjYwIiB3aWR0aD0iMjM1IiBoZWlnaHQ9IjU2IiByeD0iOCIgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjZGNkZWU0IiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSIxMDQyLjUiIHk9IjI5MyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5hZnRlciAyOCBGZWIgMjAzMDwvdGV4dD48cmVjdCB4PSIyMCIgeT0iMzMwIiB3aWR0aD0iMTYwIiBoZWlnaHQ9IjU2IiByeD0iOCIgZmlsbD0iIzBhMWEyZiIgc3Ryb2tlPSIjMGExYTJmIiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSIxMDAiIHk9IjM2MyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjZmZmZmZmIj5NeVNRTCA4LjA8L3RleHQ+PHJlY3QgeD0iMTkwIiB5PSIzMzAiIHdpZHRoPSIyMzUiIGhlaWdodD0iNTYiIHJ4PSI4IiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiNkY2RlZTQiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9IjMwNy41IiB5PSIzNjMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzBhMTQyNCI+ZW5kcyAzMSBKdWwgMjAyNjwvdGV4dD48cmVjdCB4PSI0MzUiIHk9IjMzMCIgd2lkdGg9IjIzNSIgaGVpZ2h0PSI1NiIgcng9IjgiIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0iI2RjZGVlNCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iNTUyLjUiIHk9IjM2MyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5mcm9tIDEgQXVnIDIwMjY8L3RleHQ+PHJlY3QgeD0iNjgwIiB5PSIzMzAiIHdpZHRoPSIyMzUiIGhlaWdodD0iNTYiIHJ4PSI4IiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiNkY2RlZTQiIHN0cm9rZS13aWR0aD0iMiIvPjx0ZXh0IHg9Ijc5Ny41IiB5PSIzNjMiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzBhMTQyNCI+ZnJvbSAxIEF1ZyAyMDI4PC90ZXh0PjxyZWN0IHg9IjkyNSIgeT0iMzMwIiB3aWR0aD0iMjM1IiBoZWlnaHQ9IjU2IiByeD0iOCIgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjZGNkZWU0IiBzdHJva2Utd2lkdGg9IjIiLz48dGV4dCB4PSIxMDQyLjUiIHk9IjM2MyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMGExNDI0Ij5hZnRlciAzMSBKdWwgMjAyOTwvdGV4dD48cmVjdCB4PSIyMCIgeT0iNDA0IiB3aWR0aD0iMTE0MCIgaGVpZ2h0PSI0NCIgcng9IjgiIGZpbGw9IiNmNGY1ZjciIHN0cm9rZT0iI2RjZGVlNCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHRleHQgeD0iNTkwIiB5PSI0MzEiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzBhMTQyNCI+UmF0ZXMgYXJlIFVTIEVhc3QgKE9oaW8pIGxpc3QgcHJpY2VzIGZvciBwcm92aXNpb25lZCBpbnN0YW5jZXM7IG90aGVyIFJlZ2lvbnMgZGlmZmVyPC90ZXh0Pjwvc3ZnPg==" alt="RDS Extended Support cost timeline for PostgreSQL and MySQL versions"></p>
<p>Figure 3: RDS Extended Support cost timeline for PostgreSQL 13, PostgreSQL 14 and MySQL 8.0.</p>
<h3>RDS for PostgreSQL</h3>
<div>
<table>
<thead>
<tr>
<th>Version</th>
<th>End of standard support</th>
<th>Year 1 pricing starts</th>
<th>Year 3 pricing starts</th>
<th>End of Extended Support</th>
</tr>
</thead>
<tbody>
<tr>
<td>PostgreSQL 11</td>
<td>29 Feb 2024</td>
<td>1 Apr 2024</td>
<td>1 Apr 2026</td>
<td>31 Mar 2027</td>
</tr>
<tr>
<td>PostgreSQL 12</td>
<td>28 Feb 2025</td>
<td>1 Mar 2025</td>
<td>1 Mar 2027</td>
<td>29 Feb 2028</td>
</tr>
<tr>
<td>PostgreSQL 13</td>
<td>28 Feb 2026</td>
<td>1 Mar 2026</td>
<td>1 Mar 2028</td>
<td>28 Feb 2029</td>
</tr>
<tr>
<td>PostgreSQL 14</td>
<td>28 Feb 2027</td>
<td>1 Mar 2027</td>
<td>1 Mar 2029</td>
<td>28 Feb 2030</td>
</tr>
</tbody>
</table>
</div>
<p>Table 2: RDS Extended Support cost dates from the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-release-calendar.html" target="_blank" rel="noopener">RDS for PostgreSQL release calendar</a>.</p>
<p>PostgreSQL 11 is already on year 3 pricing and reaches the end of Extended Support on 31 March 2027. PostgreSQL 12 steps up to the year 3 rate on 1 March 2027. After the end date AWS upgrades the major version automatically, on its schedule and not ours. PostgreSQL 14 estates still have until 28 February 2027 to avoid RDS Extended Support cost altogether.</p>
<h3>RDS for MySQL</h3>
<div>
<table>
<thead>
<tr>
<th>Version</th>
<th>End of standard support</th>
<th>Year 1 pricing starts</th>
<th>Year 3 pricing starts</th>
<th>End of Extended Support</th>
</tr>
</thead>
<tbody>
<tr>
<td>MySQL 5.7</td>
<td>29 Feb 2024</td>
<td>1 Mar 2024</td>
<td>1 Mar 2026</td>
<td>30 Jun 2029</td>
</tr>
<tr>
<td>MySQL 8.0</td>
<td>31 Jul 2026</td>
<td>1 Aug 2026</td>
<td>1 Aug 2028</td>
<td>31 Jul 2029</td>
</tr>
<tr>
<td>MySQL 8.4</td>
<td>31 Jul 2029</td>
<td>1 Aug 2029</td>
<td>1 Aug 2031</td>
<td>31 Jul 2032</td>
</tr>
</tbody>
</table>
</div>
<p>Table 3: RDS Extended Support cost dates from the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Concepts.VersionMgmt.html" target="_blank" rel="noopener">MySQL on Amazon RDS versions</a> page.</p>
<p>MySQL 5.7 has been at the year 3 rate since 1 March 2026. MySQL 8.0 entered Extended Support on 1 August 2026, so every RDS for MySQL 8.0 instance now carries RDS Extended Support cost. MySQL 8.4 remains in standard support until 31 July 2029, which makes it the natural upgrade target for both.</p>
<h3>Aurora</h3>
<p>The <a href="https://aws.amazon.com/rds/aurora/pricing/" target="_blank" rel="noopener">Aurora pricing</a> page states that Aurora Extended Support is priced per vCPU per hour for provisioned instances and per Aurora Capacity Unit per hour for Aurora serverless.</p>
<div>
<table>
<thead>
<tr>
<th>Aurora version</th>
<th>End of standard support</th>
<th>Year 1 pricing starts</th>
<th>Year 3 pricing starts</th>
<th>End of Extended Support</th>
</tr>
</thead>
<tbody>
<tr>
<td>Aurora PostgreSQL 11</td>
<td>29 Feb 2024</td>
<td>1 Apr 2024</td>
<td>1 Apr 2026</td>
<td>31 Mar 2027</td>
</tr>
<tr>
<td>Aurora PostgreSQL 12</td>
<td>28 Feb 2025</td>
<td>1 Mar 2025</td>
<td>1 Mar 2027</td>
<td>29 Feb 2028</td>
</tr>
<tr>
<td>Aurora PostgreSQL 13</td>
<td>28 Feb 2026</td>
<td>1 Mar 2026</td>
<td>1 Mar 2028</td>
<td>28 Feb 2029</td>
</tr>
<tr>
<td>Aurora PostgreSQL 14</td>
<td>28 Feb 2027</td>
<td>1 Mar 2027</td>
<td>1 Mar 2029</td>
<td>28 Feb 2030</td>
</tr>
<tr>
<td>Aurora MySQL version 2 (5.7)</td>
<td>31 Oct 2024</td>
<td>1 Dec 2024</td>
<td>1 Dec 2026</td>
<td>30 Jun 2029</td>
</tr>
<tr>
<td>Aurora MySQL version 3 (8.0)</td>
<td>30 Apr 2028</td>
<td>1 May 2028</td>
<td>Not applicable</td>
<td>31 Jul 2029</td>
</tr>
</tbody>
</table>
</div>
<p>Table 4: Aurora RDS Extended Support cost dates from the Aurora PostgreSQL and Aurora MySQL release calendars.</p>
<h2>Find every instance that is paying RDS Extended Support cost</h2>
<p>An inventory comes first, because RDS Extended Support cost hides in accounts nobody watches. These commands are read-only. Set <code>${AWS_PROFILE}</code> and <code>${AWS_REGION}</code> for the account and Region in question.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">aws rds describe-db-instances 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --query 'DBInstances[].[DBInstanceIdentifier,Engine,EngineVersion,DBInstanceClass,MultiAZ,EngineLifecycleSupport,ReadReplicaSourceDBInstanceIdentifier]' 
  --output table

aws rds describe-db-clusters 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --query 'DBClusters[].[DBClusterIdentifier,Engine,EngineVersion,DBClusterInstanceClass,MultiAZ,EngineLifecycleSupport]' 
  --output table</pre>
<p>The first command covers RDS instances and their replicas. The second covers Aurora clusters and Multi-AZ DB clusters. An <code>EngineLifecycleSupport</code> value of <code>open-source-rds-extended-support</code> means the resource is enrolled or will be enrolled when its version ages out.</p>
<p>AWS also exposes the support dates through the CLI. The command is <code>describe-db-major-engine-versions</code>, and it returns start and end dates for both standard support and Extended Support.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">aws rds describe-db-major-engine-versions 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --engine postgres 
  --query 'DBMajorEngineVersions[].[Engine,MajorEngineVersion,SupportedEngineLifecycles[].[LifecycleSupportName,LifecycleSupportStartDate,LifecycleSupportEndDate]]' 
  --output json</pre>
<p>Large estates spread across Regions, so we loop over all of them.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">for region in $(aws ec2 describe-regions --profile "${AWS_PROFILE}" 
    --query 'Regions[].RegionName' --output text); do
  echo "== $region"
  aws rds describe-db-instances 
    --profile "${AWS_PROFILE}" --region "$region" 
    --query 'DBInstances[].[DBInstanceIdentifier,Engine,EngineVersion,DBInstanceClass,MultiAZ,EngineLifecycleSupport]' 
    --output text
done</pre>
<h3>Billing evidence</h3>
<p>The inventory shows exposure. The bill shows the RDS Extended Support cost actually paid. In Cost Explorer, open the Usage Type filter and search for <code>ExtendedSupport</code>. The same search works from the CLI by grouping on usage type and filtering the result.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">aws ce get-cost-and-usage 
  --profile "${AWS_PROFILE}" 
  --time-period Start=2026-11-01,End=2026-12-01 
  --granularity MONTHLY --metrics UnblendedCost 
  --group-by Type=DIMENSION,Key=USAGE_TYPE 
  --query "ResultsByTime[].Groups[?contains(Keys[0], 'ExtendedSupport')].[Keys[0], Metrics.UnblendedCost.Amount]" 
  --output table</pre>
<p>For resource-level detail we query the Cost and Usage Report in Athena. The report records these charges in <code>line_item_usage_type</code> values that contain <code>ExtendedSupport</code>. Replace the database, table and partition names with your own.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="sql">SELECT line_item_usage_account_id AS account_id,
       product_region AS region,
       line_item_resource_id AS resource_id,
       line_item_usage_type AS usage_type,
       SUM(line_item_usage_amount) AS vcpu_hours,
       SUM(line_item_unblended_cost) AS extended_support_cost
FROM cur_database.cur_table
WHERE line_item_usage_type LIKE '%ExtendedSupport%'
  AND line_item_line_item_type = 'Usage'
  AND year = '2026'
  AND month = '11'
GROUP BY line_item_usage_account_id,
         product_region,
         line_item_resource_id,
         line_item_usage_type
ORDER BY extended_support_cost DESC;</pre>
<p>Reconcile the two lists. A resource in the billing output that is missing from the inventory is usually a forgotten replica or a restored test instance.</p>
<h2>5 proven ways to cut RDS Extended Support cost</h2>
<p>The five are listed in order of effect. Only the first removes RDS Extended Support cost completely. The others shrink it or stop it from spreading. Test each change outside production first, and keep backups current before any of them.</p>
<h3>1. Upgrade the major version</h3>
<p>RDS Extended Support cost stops on the day an upgrade to a version in standard support completes. AWS offers three routes. Blue/Green Deployments are supported for RDS for MySQL 5.7, 8.0 and 8.4 and for RDS for PostgreSQL 11.1 and higher. A PostgreSQL major upgrade through blue/green uses logical replication, and AWS excludes older source minors such as 13.11 and lower or 14.8 and lower. The other routes are an in-place modify and self-managed logical replication to a new instance.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash"># Which targets does AWS allow from the current version?
aws rds describe-db-engine-versions 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --engine postgres --engine-version "${SOURCE_ENGINE_VERSION}" 
  --query 'DBEngineVersions[].ValidUpgradeTarget[?IsMajorVersionUpgrade==`true`].EngineVersion'

# Route A: blue/green deployment
aws rds create-blue-green-deployment 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --blue-green-deployment-name "${DB_INSTANCE_ID}-major-upgrade" 
  --source "${SOURCE_DB_ARN}" 
  --target-engine-version "${TARGET_ENGINE_VERSION}" 
  --target-db-parameter-group-name "${TARGET_PARAMETER_GROUP}"

# Route B: in-place upgrade in the maintenance window
aws rds modify-db-instance 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --db-instance-identifier "${DB_INSTANCE_ID}" 
  --engine-version "${TARGET_ENGINE_VERSION}" 
  --db-parameter-group-name "${TARGET_PARAMETER_GROUP}" 
  --allow-major-version-upgrade --no-apply-immediately

# MySQL 8.0 to 8.4: run the MySQL Shell upgrade checker first
mysqlsh --uri "${DB_USER}@${DB_HOST}:3306" 
  -- util check-for-server-upgrade --target-version=8.4.0</pre>
<pre class="EnlighterJSRAW" data-enlighter-language="sql">-- PostgreSQL pre-upgrade check: every extension needs a build for the target.
SELECT extname,
       extversion
FROM pg_extension
ORDER BY extname;</pre>
<p><strong>What to check:</strong> the target appears in <code>ValidUpgradeTarget</code>; every extension has a version for the target; the new parameter group carries the custom settings; the upgrade checker reports no errors. <strong>Risk:</strong> application incompatibility and plan changes after the upgrade. <strong>Rollback:</strong> before switchover, delete the green environment. An in-place upgrade cannot be downgraded, so take a manual snapshot first and restore from it if needed. Our <a href="https://minervadb.com/postgresql-19-consulting-support/">PostgreSQL upgrade steps</a> and <a href="https://minervadb.com/mysql-26-7-performance-scalability-high-availability/">MySQL LTS notes</a> cover the engine side.</p>
<h3>2. Right-size before you upgrade</h3>
<p>The charge follows vCPUs, so an oversized instance pays twice: once for the instance and once for Extended Support. Halving the instance class halves this part of the RDS Extended Support cost immediately, without waiting for the upgrade project.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">aws cloudwatch get-metric-statistics 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --namespace AWS/RDS --metric-name CPUUtilization 
  --dimensions Name=DBInstanceIdentifier,Value="${DB_INSTANCE_ID}" 
  --start-time 2026-11-01T00:00:00Z --end-time 2026-12-01T00:00:00Z 
  --period 3600 --extended-statistics p95 p99

aws rds modify-db-instance 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --db-instance-identifier "${DB_INSTANCE_ID}" 
  --db-instance-class db.r6g.xlarge --no-apply-immediately</pre>
<p><strong>What to check:</strong> p95 and p99 CPU over a full month, plus the database load chart in Performance Insights against the vCPU line. Check freeable memory too, because the smaller class also has less RAM. <strong>Risk:</strong> memory pressure and slower peaks. <strong>Rollback:</strong> modify the instance back to the previous class.</p>
<h3>3. Remove idle read replicas and orphaned instances</h3>
<p>An idle replica is pure RDS Extended Support cost: a full vCPU count and no traffic.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">aws rds describe-db-instances 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --query 'DBInstances[?ReadReplicaSourceDBInstanceIdentifier!=null].[DBInstanceIdentifier,EngineVersion,DBInstanceClass,ReadReplicaSourceDBInstanceIdentifier]' 
  --output table

aws cloudwatch get-metric-statistics 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --namespace AWS/RDS --metric-name DatabaseConnections 
  --dimensions Name=DBInstanceIdentifier,Value="${REPLICA_ID}" 
  --start-time 2026-11-01T00:00:00Z --end-time 2026-12-01T00:00:00Z 
  --period 86400 --statistics Maximum

# CONFIRMATION GATE: run only after the owner has approved in writing
# and the query above shows zero connections for the whole period.
aws rds delete-db-instance 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --db-instance-identifier "${REPLICA_ID}" --skip-final-snapshot</pre>
<p><strong>What to check:</strong> maximum connections of zero across the period, and no application or reporting endpoint that points at the replica. Afterwards, confirm that the identifier no longer appears in the inventory. <strong>Risk:</strong> a monthly or quarterly job that still uses it. <strong>Rollback:</strong> create a new read replica from the source. For a standalone orphan, replace <code>--skip-final-snapshot</code> with <code>--final-db-snapshot-identifier</code> so a restore remains possible.</p>
<h3>4. Prevent new enrollments</h3>
<p>New instances and restores enroll by default, which adds RDS Extended Support cost without anyone deciding to. For versions we intend to leave, we set the lifecycle option at creation and restore time.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">aws rds restore-db-instance-from-db-snapshot 
  --profile "${AWS_PROFILE}" --region "${AWS_REGION}" 
  --db-instance-identifier "${NEW_DB_INSTANCE_ID}" 
  --db-snapshot-identifier "${SNAPSHOT_ID}" 
  --engine-lifecycle-support open-source-rds-extended-support-disabled</pre>
<p><strong>Warning:</strong> AWS states that if enrollment is disabled on an instance or cluster that is already past its standard support end date, it is automatically upgraded to the next supported major version. Never flip this setting on a production database as a way to stop the bill. <strong>What to check:</strong> <code>EngineLifecycleSupport</code> in the inventory output. <strong>Risk:</strong> on restore, RDS tries to upgrade the snapshot to a version in standard support, which changes the engine version the application sees. <strong>Rollback:</strong> restore again with <code>open-source-rds-extended-support</code>.</p>
<h3>5. Plan around the year-3 step-up</h3>
<p>The rate doubles on a known date for each version. We build one calendar per estate, ordered by annual RDS Extended Support cost, and schedule the most expensive instances first. The query below runs on an inventory table loaded from the CLI output.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="sql">SELECT db_instance_id,
       engine,
       major_version,
       billable_vcpus,
       billable_vcpus * rate_per_vcpu_hour * 8760 AS annual_cost_usd,
       year3_start_date,
       extended_support_end_date
FROM rds_upgrade_inventory
WHERE lifecycle_support = 'open-source-rds-extended-support'
ORDER BY annual_cost_usd DESC,
         year3_start_date ASC;</pre>
<p><strong>What to check:</strong> every instance has an owner, a target version and a date before <code>year3_start_date</code>. <strong>Risk:</strong> upgrades bunching up in the last month. <strong>Rollback:</strong> none is needed for a plan, but each upgrade on it keeps its own.</p>
<h2>Upgrade or pay? A decision framework</h2>
<div>
<table>
<thead>
<tr>
<th>Situation</th>
<th>Pay Extended Support</th>
<th>Upgrade now</th>
</tr>
</thead>
<tbody>
<tr>
<td>Application compatibility testing time</td>
<td>Testing cannot finish before the end of standard support</td>
<td>Testing fits inside the remaining window</td>
</tr>
<tr>
<td>Upgrade project cost versus 12 months of charges</td>
<td>Project cost is higher and the system retires within the year</td>
<td>Project cost is lower than the next 12 months of charges</td>
</tr>
<tr>
<td>Compliance and audit</td>
<td>Auditor accepts a version covered by vendor security patches</td>
<td>Policy requires a community-supported version</td>
</tr>
<tr>
<td>Year 3 rate within 12 months</td>
<td>Only with a dated exit plan</td>
<td>Default choice</td>
</tr>
</tbody>
</table>
</div>
<p>Table 5: when paying RDS Extended Support cost is reasonable and when it is not.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="bash">extended_support_12m = billable_vcpus x rate_per_vcpu_hour x 8,760
upgrade_project_cost = engineering_hours x hourly_rate + test_environment_cost + cutover_cost
months_to_break_even = upgrade_project_cost / (extended_support_12m / 12)

Upgrade now when months_to_break_even is shorter than the time the database will stay in service.</pre>
<p>Fill the placeholders with your own figures. Remember that the first line doubles in year 3, so a comparison made at the year 1 rate understates the saving.</p>
<h2>FAQ: RDS Extended Support cost</h2>
<h3>Can I opt out of RDS Extended Support cost?</h3>
<p>Yes, through the <code>EngineLifecycleSupport</code> setting. Create or restore the instance with <code>--engine-lifecycle-support open-source-rds-extended-support-disabled</code>, or modify an existing one. The catch matters: if the instance is already past its standard support end date, disabling enrollment makes RDS upgrade it automatically to the next supported major version. Opting out is safe only on versions that are still in standard support or on test systems.</p>
<h3>Do Reserved Instances cover RDS Extended Support cost?</h3>
<p>No. The AWS pricing FAQ says the charges are independent of instance charges, so Reserved Instance discounts do not apply. A reserved db.r6g.2xlarge still pays the full per-vCPU rate for every hour it runs an out-of-support major version. Budget the surcharge as a separate line from the reserved commitment, and include the standby and replicas in the vCPU count.</p>
<h3>Are read replicas included in RDS Extended Support cost?</h3>
<p>Yes. AWS charges any read replica that runs a major version past its end of standard support date, at the same per-vCPU rate as the primary. Multi-AZ standbys are charged as well, and in a Multi-AZ DB cluster both readable standbys count. Removing an unused replica therefore reduces the bill straight away, and it is often the fastest saving available.</p>
<h3>What happens to RDS Extended Support cost at the end of year 3?</h3>
<p>It ends, because the offer ends. AWS makes RDS Extended Support available for up to three years past the end of standard support. After that, if the major version has not been upgraded, Amazon RDS upgrades it automatically. The exact end date for each version is in the release calendars, and RDS for MySQL 5.7 is listed with a later date of 30 June 2029.</p>
<h3>Does Aurora have an RDS Extended Support cost too?</h3>
<p>Yes. The Aurora pricing page prices it per vCPU per hour for provisioned instances and per Aurora Capacity Unit per hour for Aurora serverless. Aurora PostgreSQL 11, 12 and 13 and Aurora MySQL version 2 are past standard support. Aurora MySQL version 3 stays in standard support until 30 April 2028, and Aurora PostgreSQL 14 until 28 February 2027.</p>
<h2>How MinervaDB helps</h2>
<p>MinervaDB works with 900+ enterprises and brings 15+ years of company depth in database operations to this problem. We start with an Extended Support exposure review across every account and Region, which produces the inventory, the billed amounts and the dated upgrade calendar. Our engineers then carry out the major-version upgrades: PostgreSQL, MySQL 8.0 to 8.4, and Aurora, with rehearsals and a tested rollback for each. During cutover our 24&#215;7 support team stays on the bridge until the workload is stable. To review your RDS Extended Support cost and plan the exit, talk to our <a href="https://minervadb.com/amazon-rds-support/">Amazon RDS support</a> team.</p>
<p><a href="https://minervadb.com/rds-extended-support-cost/">RDS Extended Support Cost: What You Pay and 5 Proven Ways to Cut It</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>The Full Power of MariaDB Enterprise, Now Approved for the DOD</title>
        <link>https://mariadb.com/resources/blog/the-full-power-of-mariadb-enterprise-now-approved-for-the-dod/</link>
        <pubDate>Tue, 01 Dec 2026 16:59:53 +0000</pubDate>
        <dc:creator>Roger Eisentrager</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/the-full-power-of-mariadb-enterprise-now-approved-for-the-dod/</guid>
        <source url="https://mariadb.com/">MariaDB</source>
        <description><![CDATA[<p>DISA approves a new STIG for MariaDB Enterprise Server, opening the latest capabilities of the leading open source database to […]</p>
<p><a href="https://mariadb.com/resources/blog/the-full-power-of-mariadb-enterprise-now-approved-for-the-dod/">The Full Power of MariaDB Enterprise, Now Approved for the DOD</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>DISA approves a new STIG for MariaDB Enterprise Server, opening the latest capabilities of the leading open source database to defense users MariaDB today announced that the Defense Information Systems Agency (DISA) has approved a new Security Technical Implementation Guide (STIG) for MariaDB Enterprise Server. This comes on the heels of an announcement by MariaDB that they recently announced…</p>
<p><a href="https://mariadb.com/resources/blog/the-full-power-of-mariadb-enterprise-now-approved-for-the-dod/" rel="nofollow">Source</a></p>
<p><a href="https://mariadb.com/resources/blog/the-full-power-of-mariadb-enterprise-now-approved-for-the-dod/">The Full Power of MariaDB Enterprise, Now Approved for the DOD</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>From MySQL 8.0 to MariaDB 11.8 LTS: The Bagisto Experience</title>
        <link>https://mariadb.org/from-mysql-8-0-to-mariadb-11-8-lts-the-bagisto-experience/</link>
        <pubDate>Tue, 01 Dec 2026 13:46:21 +0000</pubDate>
        <dc:creator>Frédéric Descamps</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/from-mysql-8-0-to-mariadb-11-8-lts-the-bagisto-experience/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>The Bagisto team are back! After sharing their experience using our MariaDB Vector for semantic search in their e-commerce platform Bagisto, the open-source platform built on Laravel, the Bagisto team is now focusing on another topic that is close to our hearts at the MariaDB Foundation: migrating from MySQL to MariaDB. How much effort is […]<br />
From MySQL 8.0 to MariaDB 11.8 LTS: The Bagisto Experience appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/from-mysql-8-0-to-mariadb-11-8-lts-the-bagisto-experience/">From MySQL 8.0 to MariaDB 11.8 LTS: The Bagisto Experience</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>The Bagisto team are back! After sharing their experience using our MariaDB Vector for semantic search in their e-commerce platform Bagisto, the open-source platform built on Laravel, the Bagisto team is now focusing on another topic that is close to our hearts at the MariaDB Foundation: migrating from MySQL to MariaDB. How much effort is […]</p>
<p><a href="https://mariadb.org/from-mysql-8-0-to-mariadb-11-8-lts-the-bagisto-experience/">From MySQL 8.0 to MariaDB 11.8 LTS: The Bagisto Experience</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/from-mysql-8-0-to-mariadb-11-8-lts-the-bagisto-experience/">From MySQL 8.0 to MariaDB 11.8 LTS: The Bagisto Experience</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB Foundation Newsletter – 1 December 2026</title>
        <link>https://mariadb.org/mariadb-foundation-newsletter-1-december-2026/</link>
        <pubDate>Tue, 01 Dec 2026 12:16:43 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadb-foundation-newsletter-1-december-2026/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>141 community contributors and a thank-you, MariaDB Server 13.1 goes Stable with DENY, TideSQL joins the storage engine family, the Junction 2026 winners, and a live database clean-up with Atarim on 3 December.<br />
MariaDB Foundation Newsletter – 1 December 2026 appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/mariadb-foundation-newsletter-1-december-2026/">MariaDB Foundation Newsletter – 1 December 2026</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>141 community contributors and a thank-you, MariaDB Server 13.1 goes Stable with DENY, TideSQL joins the storage engine family, the Junction 2026 winners, and a live database clean-up with Atarim on 3 December.</p>
<p><a href="https://mariadb.org/mariadb-foundation-newsletter-1-december-2026/">MariaDB Foundation Newsletter – 1 December 2026</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/mariadb-foundation-newsletter-1-december-2026/">MariaDB Foundation Newsletter – 1 December 2026</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>DBaaS Beyond the Hyperscalers, Part 3: Cost Efficiency</title>
        <link>https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency/</link>
        <pubDate>Tue, 01 Dec 2026 07:25:43 +0000</pubDate>
        <dc:creator>Bogdan Degtyariov</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>DBaaS Beyond the Hyperscalers, Part 3: Cost Efficiency Part 3 of the series. Part 1 compared the raw performance of managed MySQL on Scaleway, UpCloud, Vultr, OVHcloud and Exoscale, and Part 2 did the same for their managed PostgreSQL. The full test setup is described in the Test Setup and Methodology reference. Why cost matters … Continued<br />
The post DBaaS Beyond the Hyperscalers, Part 3: Cost Efficiency appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency/">DBaaS Beyond the Hyperscalers, Part 3: Cost Efficiency</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<h2>DBaaS Beyond the Hyperscalers, Part 3: Cost Efficiency</h2>
<p><em>Part 3 of the series. <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-1-mysql-performance" target="_blank" rel="noopener">Part 1</a> compared the raw performance of managed MySQL on Scaleway, UpCloud, Vultr, OVHcloud and Exoscale, and <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance" target="_blank" rel="noopener">Part 2</a> did the same for their managed PostgreSQL. The full test setup is described in the <a href="https://github.com/Percona-Lab-results/2026-cloud-nhs/blob/main/README.md" target="_blank" rel="noopener">Test Setup and Methodology reference</a>.</em></p>
<h4>Why cost matters as much as speed</h4>
<p>Having a well-performing database is important, but the cost of the service is equally important. Each service performs differently, so in the same amount of time they process a different number of transactions. The question for this part is how many transactions $1 buys on each provider.</p>
<h4>What each service costs</h4>
<p>All providers in this review bill for the time the managed service exists. The total hourly cost below includes any extra charges needed to run the tested configuration, such as additional storage, bandwidth and public IP addresses. The managed PostgreSQL plans cost the same per hour as the MySQL plans.</p>
<table border="1" width="100%" cellpadding="5">
<thead>
<tr>
<th>Provider</th>
<th>Cost in USD per 1 hour</th>
</tr>
</thead>
<tbody>
<tr>
<td>Scaleway</td>
<td>$0.570</td>
</tr>
<tr>
<td>UpCloud</td>
<td>$0.301</td>
</tr>
<tr>
<td>Vultr</td>
<td>$0.429</td>
</tr>
<tr>
<td>OVHcloud</td>
<td>$0.490</td>
</tr>
<tr>
<td>Exoscale</td>
<td>$0.650</td>
</tr>
</tbody>
</table>
<h4>MySQL: transactions per dollar</h4>
<p>We divide each service’s peak throughput by its hourly cost to get the number of transactions $1 can buy. Initialization and ramp-up are excluded, and the database is assumed to be busy most of the time. The <a href="https://github.com/Percona-Lab-results/2026-cloud-nhs/blob/main/README.md#calculation" target="_blank" rel="noopener">reference document</a> explains the calculation in detail.</p>
<p><strong>Graph 1: MySQL cost efficiency</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?go=cost" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?go=cost&amp;tables=cost" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/c9c43617a96ec4fa6f3931d450c01d20147005dd/analysis-mysql/cost-efficiency-light.png" alt="MySQL transactions per $1 by provider" width="100%"></p>
<p>UpCloud buys the most work per dollar: about 23.1 million transactions per $1, roughly twice as many as Exoscale (12.3 million), Vultr (11.3 million) and OVHcloud (10.1 million). Scaleway buys the fewest, about 5.6 million.</p>
<p>The result shows that the fastest-performing service is not always the most cost-efficient one.</p>
<h4>PostgreSQL: transactions per dollar</h4>
<p>The calculation for PostgreSQL is the same as for MySQL. The hourly costs are the same for both databases, but their performance differs, so the ranking changes.</p>
<p><strong>Graph 2: PostgreSQL cost efficiency</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?go=cost" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?go=cost&amp;tables=cost" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/c9c43617a96ec4fa6f3931d450c01d20147005dd/analysis-pg/cost-efficiency-light.png" alt="PostgreSQL transactions per $1 by provider" width="100%"></p>
<p>UpCloud again buys the most work per dollar: about 19.5 million transactions per $1. Vultr (14.8 million) and Exoscale (13.9 million) follow, and Scaleway (8.6 million) and OVHcloud (8.3 million) buy the fewest.</p>
<h4>Reliability is part of the price</h4>
<p>Despite its high cost efficiency, UpCloud was the only provider that had problems during benchmarking. Under elevated load, its managed MySQL service kept switching the server into read-only mode, which interrupted testing, and not all runs produced results. Its managed PostgreSQL service ran without disruptions, as did those of the other providers. A low price per transaction is worth less if the service cannot sustain the load.</p>
<h4>Summary</h4>
<p>Choosing a DBaaS provider is more complicated than picking the fastest one. For the 4 shared vCPU / 16 GB RAM shape, we observed differences across providers in performance, latency and cost per transaction. No provider had a clear advantage in every area for both databases.</p>
<p>The cost efficiency here applies to a database that is active and running close to the maximum capacity of its hardware. All services in this review bill for provisioned time, which suits query-intensive workloads such as benchmarking. Tenants with relatively few requests may find consumption-based billing more attractive and cost-efficient.</p>
<p>Several factors were outside the scope of this research, including region, database versions, backup options and multi-node performance. See the <a href="https://github.com/Percona-Lab-results/2026-cloud-nhs/blob/main/README.md#out-of-scope" target="_blank" rel="noopener">reference document</a> for the full list.</p>
<p>The post <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency/">DBaaS Beyond the Hyperscalers, Part 3: Cost Efficiency</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency/">DBaaS Beyond the Hyperscalers, Part 3: Cost Efficiency</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>DBaaS Beyond the Hyperscalers, Part 2: PostgreSQL Performance</title>
        <link>https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance/</link>
        <pubDate>Tue, 01 Dec 2026 07:22:45 +0000</pubDate>
        <dc:creator>Bogdan Degtyariov</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>DBaaS Beyond the Hyperscalers, Part 2: PostgreSQL Performance Part 2 of the series. Part 1 compared the performance of managed MySQL on Scaleway, UpCloud, Vultr, OVHcloud and Exoscale. This part tests the managed PostgreSQL services of the same providers, and Part 3 compares cost efficiency. The full test setup is described in the Test Setup … Continued<br />
The post DBaaS Beyond the Hyperscalers, Part 2: PostgreSQL Performance appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance/">DBaaS Beyond the Hyperscalers, Part 2: PostgreSQL Performance</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<h2>DBaaS Beyond the Hyperscalers, Part 2: PostgreSQL Performance</h2>
<p><em>Part 2 of the series. <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-1-mysql-performance" target="_blank" rel="noopener">Part 1</a> compared the performance of managed MySQL on Scaleway, UpCloud, Vultr, OVHcloud and Exoscale. This part tests the managed PostgreSQL services of the same providers, and <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency" target="_blank" rel="noopener">Part 3</a> compares cost efficiency. The full test setup is described in the <a href="https://github.com/Percona-Lab-results/2026-cloud-nhs/blob/main/README.md" target="_blank" rel="noopener">Test Setup and Methodology reference</a>.</em></p>
<h4>What we tested</h4>
<p>Each provider’s managed PostgreSQL was tested on the same plan as its MySQL service in Part 1 (4 shared vCPU, 16 GB RAM), at the same hourly cost. The data set sizes, ramp-up, run length and number of runs are the same as in Part 1, with one exception: PostgreSQL was benchmarked with HammerDB (TPC-C) only, without Sysbench.</p>
<table border="1" width="100%" cellpadding="5">
<thead>
<tr>
<th>Provider</th>
<th>Plan / Tier</th>
<th>PostgreSQL Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Scaleway</td>
<td>DB-PRO2-XS</td>
<td>17.11</td>
</tr>
<tr>
<td>UpCloud</td>
<td>Managed Database – Standard</td>
<td>18.6</td>
</tr>
<tr>
<td>Vultr</td>
<td>Startup General Purpose Optimised</td>
<td>18.6</td>
</tr>
<tr>
<td>OVHcloud</td>
<td>Discovery B3-16</td>
<td>18.6</td>
</tr>
<tr>
<td>Exoscale</td>
<td>Startup-16</td>
<td>18.6</td>
</tr>
</tbody>
</table>
<p> </p>
<h4>Key findings</h4>
<ul>
<li>Exoscale had the highest throughput, as it did with MySQL.</li>
<li>The other four providers got closer throughput with higher numbers of virtual users.</li>
<li>For most providers, throughput stayed flat as the number of virtual users grew, unlike MySQL.</li>
<li>Larger data sets lowered throughput, but all providers handled them, and none had disruptions or server crashes.</li>
</ul>
<h4>HammerDB throughput</h4>
<p><strong>Exoscale leads, and the other four providers converge as the load grows.</strong></p>
<p><strong>Graph 1: HammerDB with 160 warehouses</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=160&amp;go=hammerdb" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=160&amp;tables=hammerdb-throughput&amp;go=hammerdb" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-pg/hammerdb-nopm-vs-vu-160w-light.png" alt="HammerDB NOPM vs virtual users, 160 warehouses" width="100%"></p>
<p>With PostgreSQL, the leader in throughput is the same as with MySQL: Exoscale is in first place. The other providers contend with each other and move closely at higher numbers of virtual users.</p>
<p>A notable difference from MySQL is that for most PostgreSQL providers the lines on the graph are flat, without a significant trend towards growth or decline of the throughput.</p>
<h4>Larger data sets</h4>
<p><strong>More data lowers throughput, but every provider handles it.</strong></p>
<p>Increasing the data size predictably lowered the throughput, but nothing catastrophic happened. The providers handled 320 warehouses (twice the amount of RAM) and 640 warehouses (four times the amount of RAM) without issues.</p>
<p><strong>Graph 2: HammerDB with 320 warehouses</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=320&amp;go=hammerdb" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=320&amp;tables=hammerdb-throughput&amp;go=hammerdb" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-pg/hammerdb-nopm-vs-vu-320w-light.png" alt="HammerDB NOPM vs virtual users, 320 warehouses" width="100%"></p>
<p>HammerDB with 640 warehouses went without many surprises, which can be checked on [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=640&amp;go=hammerdb" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=640&amp;tables=hammerdb-throughput&amp;go=hammerdb" target="_blank" rel="noopener">table</a> ]</p>
<h4>Peak throughput</h4>
<p><strong>The peak throughput was reached with the 160-warehouse workload.</strong></p>
<p><strong>Graph 3: HammerDB peak output with 160 warehouses</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=160&amp;go=peak" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=160&amp;go=peak&amp;tables=hammerdb-peak" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-pg/hammerdb-peak-nopm-160w-light.png" alt="Peak HammerDB NOPM per provider, 160 warehouses" width="100%"></p>
<h4>P95 latency</h4>
<p><strong>Latency follows throughput: the fastest provider has the lowest latency.</strong></p>
<p><strong>Graph 4: P95 latency with 160 warehouses</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=160&amp;go=p95" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-pg/?hammerdb=160&amp;go=p95&amp;tables=hammerdb-p95" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-pg/hammerdb-p95-vs-vu-160w-light.png" alt="HammerDB New-Order p95 latency vs virtual users, 160 warehouses" width="100%"></p>
<h4>A note on reliability</h4>
<p>None of the providers had disruptions or server crashes during the PostgreSQL benchmarks. Vultr’s PostgreSQL results are the mean of two runs (the 3rd run could not be done in time for non-technical reasons); the other providers ran three times.</p>
<h4>Next: cost efficiency</h4>
<p>Raw speed is only half of the picture. <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency" target="_blank" rel="noopener">Part 3</a> compares what each service costs per hour and how many transactions $1 buys on each one, for both MySQL and PostgreSQL.</p>
<p>The post <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance/">DBaaS Beyond the Hyperscalers, Part 2: PostgreSQL Performance</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance/">DBaaS Beyond the Hyperscalers, Part 2: PostgreSQL Performance</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance</title>
        <link>https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-1-mysql-performance/</link>
        <pubDate>Tue, 01 Dec 2026 07:20:59 +0000</pubDate>
        <dc:creator>Bogdan Degtyariov</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/dbaas-beyond-the-hyperscalers-part-1-mysql-performance/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance Research objective In this series of posts we want to look at the non-hyperscaler cloud providers that offer MySQL and PostgreSQL DBaaS (DataBase as a Service) and answer two questions: which service delivers the most throughput out of the box, and which one gives the best cost … Continued<br />
The post DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-1-mysql-performance/">DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<h2>DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance</h2>
<h4>Research objective</h4>
<p>In this series of posts we want to look at the non-hyperscaler cloud providers that offer MySQL and PostgreSQL DBaaS (DataBase as a Service) and answer two questions: which service delivers the most throughput out of the box, and which one gives the best cost efficiency per transaction.</p>
<p>The providers may sell the same shapes, but their performance can be very different. Also, the transaction cost is another factor apart from performance.</p>
<p>The current part covers MySQL performance. <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance" target="_blank" rel="noopener">Part 2</a> covers PostgreSQL performance, and <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency" target="_blank" rel="noopener">Part 3</a> covers cost efficiency for both. Details of the setup, workloads and metrics are in the <a href="https://github.com/Percona-Lab-results/2026-cloud-nhs/blob/main/README.md" target="_blank" rel="noopener">Test Setup and Methodology reference</a>.</p>
<h4>What we tested</h4>
<p>Each provider’s managed MySQL was tested at the same size, a typical startup-level general purpose tier: <strong>4 shared vCPU, 16 GB RAM and 150 to 350 GB of SSD/NVMe storage</strong>. The services were benchmarked with Sysbench and HammerDB at three data set sizes (about 16, 32 and 64 GB), using the default configuration each provider applies.</p>
<table border="1" width="100%" cellpadding="5">
<thead>
<tr>
<th>Provider</th>
<th>Plan / Tier</th>
<th>MySQL Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Scaleway</td>
<td>DB-PRO2-XS</td>
<td>8.0.21</td>
</tr>
<tr>
<td>UpCloud</td>
<td>Managed Database – Standard</td>
<td>8.4.11</td>
</tr>
<tr>
<td>Vultr</td>
<td>Startup General Purpose Optimised</td>
<td>8.4.11</td>
</tr>
<tr>
<td>OVHcloud</td>
<td>Discovery B3-16</td>
<td>8.4.11</td>
</tr>
<tr>
<td>Exoscale</td>
<td>Startup-16</td>
<td>8.4.11</td>
</tr>
</tbody>
</table>
<p> </p>
<h4>Key findings</h4>
<ul>
<li>Exoscale was the fastest in every Sysbench scenario, with peak throughput almost 3.5 times that of the slowest provider (Scaleway).</li>
<li>Vultr, UpCloud and OVHcloud performed close to each other, between the two.</li>
<li>Scaleway was the slowest and had the highest latency. It is the only provider still on MySQL 8.0, which may explain part of the gap.</li>
<li>UpCloud did better in HammerDB than in Sysbench, but its service switched to read-only mode under heavy load, so not all runs completed.</li>
</ul>
<h4>Sysbench throughput</h4>
<p><strong>Exoscale leads, Scaleway trails, and the other three are close together.</strong></p>
<p><strong>Graph 1: Sysbench with 10M rows per table</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=10" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=10&amp;tables=sysbench-throughput" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-mysql/sysbench-tps-vs-threads-10m-light.png" alt="sysbench transactions per second vs threads, 10M rows per table" width="100%"></p>
<p>Exoscale is the clear leader in TPS. Vultr, UpCloud and OVHcloud are close to each other, and Scaleway showed the lowest performance. Since Scaleway is the only provider running MySQL 8.0 (the others use MySQL 8.4), the older server version may account for at least part of the difference.</p>
<p>The providers keep the same order with partially buffered data (20M rows per table) and in the more I/O-bound scenario (40M rows per table). See the interactive graphs for <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=20" target="_blank" rel="noopener">20M rows</a> and <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=40" target="_blank" rel="noopener">40M rows</a>.</p>
<h4>Sysbench peak throughput</h4>
<p><strong>Exoscale’s peak is almost 3.5 times Scaleway’s.</strong></p>
<p><strong>Graph 2: Sysbench peak output with 10M rows per table</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=10&amp;go=peak" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=20&amp;go=peak&amp;tables=sysbench-peak" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-mysql/sysbench-peak-tps-10m-light.png" alt="Peak sysbench throughput per provider, 10M rows per table" width="100%"></p>
<h4>P95 latency</h4>
<p><strong>Latency follows throughput: the fastest service responds quickest.</strong></p>
<p><strong>Graph 3: P95 latency</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=10&amp;go=p95" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=10&amp;go=p95&amp;tables=sysbench-p95" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-mysql/sysbench-p95-vs-threads-10m-light.png" alt="sysbench p95 latency vs threads, 10M rows per table" width="100%"></p>
<p>Exoscale has the lowest latency and Scaleway the highest, with the other providers grouped in the middle. Latency for <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=20&amp;go=p95" target="_blank" rel="noopener">20M rows</a> and <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?sysbench=40&amp;go=p95" target="_blank" rel="noopener">40M rows</a> per table shows the same pattern.</p>
<p>The higher latency for Scaleway is likely coming from the bandwidth limitation of 350 Mbps imposed on its compute instances used to run the benchmarks. While some providers put the transfer limit and charge extra cost for out of limit use, nobody else limited the network speed of the client to such a low number. Interesting that the database service had no speed limit, the weak link was the client connection. Even though it affected the throughput, running a client compute outside of the Scaleway network would cost even higher delays. Higher network speeds were available for disproportionally larger and expensive compute shapes compared to the database itself. In other words, the full potential of a startup Scaleway database service could not be fully realized using solutions for startup use alone.</p>
<h4>HammerDB (TPC-C)</h4>
<p><strong>The ranking is similar to Sysbench, with UpCloud doing better.</strong></p>
<p><strong>Graph 4: HammerDB with 160 warehouses</strong> [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?hammerdb=160&amp;go=hammerdb" target="_blank" rel="noopener">graph</a> ] [ <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?hammerdb=160&amp;tables=hammerdb-throughput&amp;go=hammerdb" target="_blank" rel="noopener">table</a> ]</p>
<p><img decoding="async" src="https://raw.githubusercontent.com/Percona-Lab-results/2026-cloud-nhs/db2f2af20704ce2361dc900262b1df193b6fb9fb/analysis-mysql/hammerdb-nopm-vs-vu-160w-light.png" alt="HammerDB NOPM vs virtual users, 160 warehouses" width="100%"></p>
<p>The performance distribution in HammerDB is similar to Sysbench, but UpCloud performs better here. Interactive graphs: <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?hammerdb=320&amp;go=hammerdb" target="_blank" rel="noopener">320 warehouses</a> and <a href="https://percona-lab-results.github.io/2026-cloud-nhs/analysis-mysql/?hammerdb=640&amp;go=hammerdb" target="_blank" rel="noopener">640 warehouses</a>.</p>
<h4>A note on reliability</h4>
<p>All benchmarks ran three times to reduce noise from neighboring tenants on shared vCPUs. UpCloud’s managed MySQL did not always handle the elevated load: it kept switching the server into read-only mode, which disrupted testing, so not all of its runs produced results.</p>
<h4>Next: PostgreSQL performance</h4>
<p><a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-2-postgresql-performance" target="_blank" rel="noopener">Part 2</a> runs the managed PostgreSQL services of the same providers through HammerDB. <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-3-cost-efficiency" target="_blank" rel="noopener">Part 3</a> compares what each service costs per hour and how many transactions $1 buys on each one, for both databases.</p>
<p>The post <a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-1-mysql-performance/">DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/dbaas-beyond-the-hyperscalers-part-1-mysql-performance/">DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>November 19 &#8211; GTA VI and PostgreSQL 19, same day yet different freedom</title>
        <link>https://percona.community/blog/2026/11/30/november-19-gta-vi-and-postgresql-19-same-day-yet-different-freedom/</link>
        <pubDate>Mon, 30 Nov 2026 11:00:00 +0000</pubDate>
        <dc:creator>Source Author</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/november-19-gta-vi-and-postgresql-19-same-day-yet-different-freedom/</guid>
        <source url="https://percona.community/blog/">Percona Community Blog - learn about MySQL, MariaDB, PostgreSQL, and MongoDB</source>
        <description><![CDATA[<p>November 19, 2026, was a pretty unusual day for software releases.</p>
<p><a href="https://percona.community/blog/2026/11/30/november-19-gta-vi-and-postgresql-19-same-day-yet-different-freedom/">November 19 &#8211; GTA VI and PostgreSQL 19, same day yet different freedom</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>November 19, 2026, was a pretty unusual day for software releases.</p>
<p>Two highly anticipated products finally reached general availability. Both had been delayed, both had people eagerly awaiting their arrival, and both have passionate communities that have followed their development.</p>
<p>One was <a href="https://www.rockstargames.com/newswire/article/39akk424a9oo53/grand-theft-auto-vi-now-available" target="_blank" rel="noopener noreferrer">Grand Theft Auto VI</a>. The other was <a href="https://www.postgresql.org/about/news/postgresql-19-released-3449/" target="_blank" rel="noopener noreferrer">PostgreSQL 19</a>.</p>
<p>Now, I realize that the overlap between people eagerly waiting for a new PostgreSQL release and those taking a day off to play GTA might not be huge. But I happen to be in that intersection.</p>
<h2>Two great products, worth the wait</h2>
<p>Let’s start with the obvious. Both GTA and PostgreSQL are fantastic products, even if they serve slightly different purposes. One lets you steal cars, while the other makes sure your transactions are ACID-compliant.</p>
<div>
<p><figure><img decoding="async" width="3344" height="1882" src="https://percona.community/blog/2026/11/Jan-PG-GTA-first_hu_c57770c8ebe4cb83.webp" alt="PG and GTA have some commonalities" loading="lazy"></figure>
</p>
</div>
<p>But there are similarities:</p>
<ul>
<li><strong>Both were delayed.</strong> GTA VI arrived 13 years after GTA V, following several postponements. <a href="https://www.rockstargames.com/newswire/article/ak3ak31a49a221/grand-theft-auto-vi-is-now-set-to-launch-november-19-2026" target="_blank" rel="noopener noreferrer">Rockstar explained the delay</a> as necessary to deliver the expected level of polish. PostgreSQL 19 also missed its usual September/October release window as the community worked to stabilize the release, address bugs, and remove features that weren’t ready. The huge number of CVE reports that in part led to the delay became known as the “Vulnapocalypse,” and <a href="https://percona.community/blog/2026/10/15/apologies-for-delaying-postgres-19/" target="_blank" rel="noopener noreferrer">Zsolt has covered how LLM-assisted reviews impacted this release</a>.</li>
<li><strong>Both represent an enormous amount of work.</strong> GTA VI’s development budget has been rumored to exceed $1.5 billion. Some estimates even surpassed the <a href="https://www.ice.org.uk/what-is-civil-engineering/infrastructure-projects/burj-khalifa" target="_blank" rel="noopener noreferrer">$1.5 billion it cost to construct the Burj Khalifa</a>, though Rockstar hasn’t yet confirmed these numbers. PostgreSQL, meanwhile, is the result of <a href="https://www.postgresql.org/about/press/faq/" target="_blank" rel="noopener noreferrer">over three decades of open source development</a>, thousands of contributions, and a global community working in the open.</li>
</ul>
<h2>Everyone is talking about GTA. Almost nobody is talking about its license.</h2>
<p>The GTA VI launch became a cultural event.</p>
<div>
<p><figure><img decoding="async" width="1448" height="1086" src="https://percona.community/blog/2026/11/Jan-PG-GTA-ads_hu_b34db92d69f5b3a8.webp" alt="Hype about GTA spilled to marketing all around" loading="lazy"></figure>
</p>
</div>
<p>Major brands couldn’t resist joining the party. <a href="https://www.marketing-interactive.com/stealing-more-than-cars-brands-hijack-the-gta-6-conversation" target="_blank" rel="noopener noreferrer">Heineken</a> reminded people not to drink and drive stolen cars. <a href="https://www.instagram.com/reel/Df1mMe-xQww/" target="_blank" rel="noopener noreferrer">KitKat</a> staged a police chase involving a van full of chocolate. <a href="https://www.instagram.com/p/Df2GneglAer/" target="_blank" rel="noopener noreferrer">BMW</a>, <a href="https://www.instagram.com/reel/Df4SiTMFZzQ/" target="_blank" rel="noopener noreferrer">DHL</a>, <a href="https://www.instagram.com/p/Df2qSisy7Fy/" target="_blank" rel="noopener noreferrer">Firefox</a>, <a href="https://www.instagram.com/p/Df5PJ3NF6em/" target="_blank" rel="noopener noreferrer">Pizza Hut</a>, and even <a href="https://www.instagram.com/p/Df4u609Iaaq/" target="_blank" rel="noopener noreferrer">Volvo</a> joined the conversation with their own GTA-inspired campaigns.</p>
<p>Then came the memes about people calling in sick, taking holidays, or disappearing from work for days. It wasn’t just memes either. <a href="https://www.bamboohr.com/resources/data-at-work/data-stories/gta-pto" target="_blank" rel="noopener noreferrer">BambooHR reported</a> a nearly 13% increase in time-off requests for November 19 compared with equivalent days in previous years, while 18% of surveyed salaried workers said they planned to take the day off. <a href="https://www.shrm.org/topics-tools/news/benefits-compensation/logitech-giving-employees-day-off-to-play-video-games-gta" target="_blank" rel="noopener noreferrer">Logitech even introduced a dedicated gaming day off</a> for its employees.</p>
<p>Don’t get me wrong. I’m also hyped, and I certainly don’t think proprietary software is inherently bad. But something about this launch bothered me. The End User License Agreement (EULA) and the privacy terms that come with it.</p>
<p>With all this excitement, how many people actually read what they accepted before playing?</p>
<p>A quick survey among a few friends who installed GTA VI on launch day revealed that none had read the terms. They’d already paid for the game, so they just wanted to get through the agreement and start playing.</p>
<p>It’s nothing new. <a href="https://www.theguardian.com/technology/blog/2011/apr/29/apple-tracking-south-park" target="_blank" rel="noopener noreferrer">South Park already made fun of people not reading Apple’s user agreement</a> more than 15 years ago in the “HUMANCENTiPAD” episode. Seems like the absurd comedy from 2011 is even more relevant today…</p>
<h2>What exactly are we agreeing to?</h2>
<div>
<p><figure><img decoding="async" width="1671" height="941" src="https://percona.community/blog/2026/11/Jan-PG-GTA-license_hu_286d5a62a9e47083.webp" alt="Reading the license before hitting Accept" loading="lazy"></figure>
</p>
</div>
<p>I read through the <a href="https://www.rockstargames.com/privacy" target="_blank" rel="noopener noreferrer">Rockstar’s privacy policy</a>, updated in March 2026. Let’s say parts of it raised my eyebrows.</p>
<p>In “Internet / Electronic Activity,” Rockstar lists collecting web and app browsing information associated with its services, gameplay information, details about the games and platforms used, and other information relating to installed applications.</p>
<p>It also describes collecting hardware and software details, device identifiers, and information used to build personalized profiles for advertising.</p>
<p>I understand why a game might need information about your hardware, gameplay, or interactions with online services. But why does a game publisher need information about other installed applications? Which applications? What information about them? And for what purpose?</p>
<p>The policy is broad enough that I can’t answer these questions. As a privacy concerned person it actually prevents me from playing.</p>
<p>To be clear, this doesn’t prove that GTA VI scans every installed application or monitors everything you do. <a href="https://www.rockstargames.com/newswire/article/39akk424a9oo53/grand-theft-auto-vi-now-available" target="_blank" rel="noopener noreferrer">It launched on consoles only</a>, where applications are generally more isolated than on PCs. The policy also covers Rockstar’s services generally, not just GTA VI.</p>
<p>Still, that’s quite a broad scope for something most people think of as simply playing a game.</p>
<p>And then there’s data retention.</p>
<p><a href="https://www.rockstargames.com/privacy" target="_blank" rel="noopener noreferrer">Rockstar’s policy</a> says it retains personal information for as long as necessary to provide services, fulfill legal obligations, or defend its rights. It may also retain certain information after an account becomes inactive.</p>
<p>So how long, exactly? That’s not particularly clear to me as a potential user and sure does read like “however long we like”.</p>
<h2>Can I just say no and keep playing?</h2>
<p>Rockstar’s <a href="https://www.rockstargames.com/legal" target="_blank" rel="noopener noreferrer">Terms of Service</a> explicitly state that if you don’t agree to the terms, you’re not permitted to use its services.</p>
<p>But accepting contractual terms and agreeing to every possible use of your personal information are two different things.</p>
<p>Rockstar does offer <a href="https://www.rockstargames.com/ccpa" target="_blank" rel="noopener noreferrer">privacy controls and advertising opt-outs</a>. Its policy also recognizes the right to withdraw consent where consent is the legal basis for processing.</p>
<p>Some collection is justified as necessary to provide services, particularly online functionality. Other processing relies on legal obligations or legitimate interests, while some activities rely on consent.</p>
<p>But I couldn’t find in the published documentation what happens if I only want to play the story?</p>
<p><a href="https://www.playstation.com/en-us/games/grand-theft-auto-vi/" target="_blank" rel="noopener noreferrer">PlayStation confirms that GTA VI supports offline single-player gameplay</a>. Can I refuse nonessential data collection and still enjoy the game I’ve purchased? Does Rockstar collect information about other installed applications during offline play, or is that relevant only to particular services?</p>
<p>I couldn’t find a clear, GTA VI-specific answer.</p>
<p>I cannot say a way for a user to do so exists and I’m tempted enough to buy the game just to try it.</p>
<h2>But isn’t Europe protected by GDPR?</h2>
<div>
<p><figure><img decoding="async" width="1448" height="1086" src="https://percona.community/blog/2026/11/Jan-PG-GTA-GDPR_hu_baefc92004e5045e.webp" alt="GDPR billboards over Vice City" loading="lazy"></figure>
</p>
</div>
<p>This is where I got confused. I live in Europe and I thought we’d already sorted out some of these issues.</p>
<p>Anyone who’s gone through corporate GDPR training has probably heard about <a href="https://commission.europa.eu/law/law-topic/data-protection/information-business-and-organisations/principles-gdpr_en" target="_blank" rel="noopener noreferrer">purpose limitation, data minimization, transparency, and storage limitation</a>.</p>
<p>My understanding is simple: collect what you need, explain why you need it, and don’t keep it longer than necessary.</p>
<p>A broadly worded privacy policy doesn’t guarantee a GDPR violation. There is no universal maximum retention period, and not all processing requires consent.</p>
<p>But European data-protection authorities define that for consent to be valid, it must meet four cumulative criteria and be: <a href="https://www.edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-052020-consent-under-regulation-2016679_en" target="_blank" rel="noopener noreferrer">freely given, specific, informed, and unambiguous</a>. So bundling optional processing into a mandatory agreement doesn’t make it valid consent.</p>
<p>What information is necessary to play GTA VI, particularly offline? What collection is optional? Can I refuse nonessential processing without losing access to a product I’ve already purchased?</p>
<p>Rockstar does provide a <a href="https://www.take2games.com/data-request" target="_blank" rel="noopener noreferrer">way to request access to personal information</a>, as required under GDPR. That’s good. But shouldn’t I be able to understand what’s being collected without having to file a data-access request?</p>
<p>Perhaps Rockstar has perfectly reasonable answers. I’d would very much like to hear them. My hope is that more people will be concerned and ask these loud enough for us to get the answers. For now surprisingly there is the no real discussion about this. The launch hype focused around graphics, performance, delays, and whether the game was worth the wait. But not much talk around terms under which we’re allowed to enjoy the game.</p>
<p>Did we over the years simply got used to clicking Accept?</p>
<h2>And this is where PostgreSQL shines</h2>
<p>PostgreSQL takes a radically different approach.</p>
<p>It is distributed under the <a href="https://www.postgresql.org/about/licence/" target="_blank" rel="noopener noreferrer">PostgreSQL License</a>, a permissive open source license that is refreshingly short (not like this blog post is shaping up to be…).</p>
<p>You can use it for virtually any purpose, study it, modify it, redistribute it, and build products around it. You don’t need permission from the PostgreSQL Global Development Group to use it commercially, and you don’t have to agree to send telemetry to its developers.</p>
<p>You can even build a competing database product using PostgreSQL! Plenty of companies do, contributing to a growing ecosystem.</p>
<p>Being open source doesn’t automatically guarantee privacy. But it gives users something particularly valuable: control.</p>
<p>The source code is <a href="https://git.postgresql.org/gitweb/?p=postgresql.git" target="_blank" rel="noopener noreferrer">available for inspection</a>, development happens <a href="https://www.postgresql.org/list/pgsql-hackers/" target="_blank" rel="noopener noreferrer">in public</a>, and you can decide where and how to run the software. You can operate PostgreSQL entirely on infrastructure you control, without sending usage information to a vendor.</p>
<p>And you can walk away from a commercial provider without walking away from the database itself.</p>
<p>That’s what software freedom means to me. Not everything being free of charge, but not having to surrender control simply to use excellent software.</p>
<h2>Happy to support PostgreSQL 19 from day one</h2>
<p>November 19 was also special for another reason.</p>
<div>
<p><figure><img decoding="async" width="1122" height="1402" src="https://percona.community/blog/2026/11/Jan-PG-GTA-Percona_hu_a8d1b8ee9da07b1c.webp" alt="PostgreSQL 19 Major Release Edition game box from Percona" loading="lazy"></figure>
</p>
</div>
<p>Just hours after the PostgreSQL Global Development Group announced PostgreSQL 19, Percona released Percona Distribution for PostgreSQL 19.0.1.</p>
<p>Releasing PostgreSQL packages on the same day as upstream is already an achievement. Doing it with a complete distribution is another beast.</p>
<p>We’re talking about PostgreSQL together with the <a href="https://docs.percona.com/percona-for-postgresql/" target="_blank" rel="noopener noreferrer">open source tools enterprises need</a> for high availability, backups, monitoring, security, and day-to-day operations.</p>
<p>Including two capabilities especially close to my heart, and particularly important in regulated environments:</p>
<ul>
<li><a href="https://docs.percona.com/pg-tde/index.html" target="_blank" rel="noopener noreferrer">Transparent Data Encryption (TDE) with pg_tde</a></li>
<li><a href="https://www.percona.com/blog/postgresql-oidc-authentication-with-pg_oidc_validator/" target="_blank" rel="noopener noreferrer">OpenID Connect (OIDC) authentication with pg_oidc_validator</a></li>
</ul>
<p>Both represent something I deeply believe in: sophisticated enterprise capabilities shouldn’t require surrendering the open source values.</p>
<p>Getting all these components ready for a major PostgreSQL release takes far more than recompiling a database server. Just a year ago, delivering our PostgreSQL 18 distribution took roughly two months after upstream. This time, it took hours.</p>
<p>I’m hugely grateful to our developers, QA, and packaging engineers. Thank you for showing what a focused and determined team can accomplish!</p>
<h2>Two releases, two philosophies</h2>
<p>I’ll probably enjoy GTA VI as much as everyone else. And I have enormous respect for the people who spent years building it. Great software deserves recognition regardless of its licensing model.</p>
<p>But November 19 reminded me that there’s something worth celebrating beyond the software itself.</p>
<p>One product comes with lengthy conditions governing how you can use it. The other gives you the freedom to build your own.</p>
<p>And while the streets of Vice City may be more exciting than a PostgreSQL instance on most occasions, every experienced DBA knows that databases aren’t always (unfortunatelly) boring either.</p>
<p>Happy release day to both communities.</p>
<p>And congratulations to everyone who made PostgreSQL 19 happen.</p>
<p><a href="https://percona.community/blog/2026/11/30/november-19-gta-vi-and-postgresql-19-same-day-yet-different-freedom/">November 19 &#8211; GTA VI and PostgreSQL 19, same day yet different freedom</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Getting Started with Percona PXC Operator</title>
        <link>https://percona.community/blog/2026/11/30/getting-started-with-percona-pxc-operator/</link>
        <pubDate>Mon, 30 Nov 2026 07:16:13 +0000</pubDate>
        <dc:creator>Source Author</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/getting-started-with-percona-pxc-operator/</guid>
        <source url="https://percona.community/blog/">Percona Community Blog - learn about MySQL, MariaDB, PostgreSQL, and MongoDB</source>
        <description><![CDATA[<p>As part of many conversations I had during Percona Live I was asked why we didn’t use the Percona Operator for MySQL based on Percona XtraDB Cluster. We are currently running hundreds of PXC clusters across many Kubernetes environments all deployed with our own in-house operator. As part of the evaluation I needed to set up a repeatable environment with S3 compatible storage that could run locally so I’ve documented my setup in the hope it will help others.</p>
<p><a href="https://percona.community/blog/2026/11/30/getting-started-with-percona-pxc-operator/">Getting Started with Percona PXC Operator</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>As part of many conversations I had during Percona Live I was asked why we didn’t use the Percona Operator for MySQL based on Percona XtraDB Cluster. We are currently running hundreds of PXC clusters across many Kubernetes environments all deployed with our own in-house operator. As part of the evaluation I needed to set up a repeatable environment with S3 compatible storage that could run locally so I’ve documented my setup in the hope it will help others.</p>
<p>I’ve tried not to dig too deeply into the operations of PXC cluster as I felt it would add too much complexity to the article and really needs more in-depth explanations than I could give here. There are lots of good articles around explaining the concepts introduced here so I would recommend further research if you are interested.</p>
<p>Parts of this article are the same as the getting started with <a href="https://percona.community/blog/2026/10/29/getting-started-with-percona-postgresql-operator/" target="_blank" rel="noopener noreferrer">PostgreSQL</a>, this isn’t laziness it’s my way of keeping things simple. I try and create the same development process for most environments, so the setup should be the same.</p>
<p>Full disclaimer: I’ve used this setup on an Arm-based MacBook. I’m assuming it will work on Linux pretty much the same but for Windows I have no idea. I’ve not touched Windows in a long time but it <em>should</em> work the same.</p>
<p>Installing kind is pretty simple and will depend on your host O/S &#8211; full details are <a href="https://kind.sigs.k8s.io/docs/user/quick-start/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>The scripts used below can be found on <a href="https://github.com/statefulops/mysql-scripts.git" target="_blank" rel="noopener noreferrer">GitHub</a> in the directory <code>Percona-Operator-PXC</code></p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-0" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">git clone https://github.com/statefulops/mysql-scripts.git
</span></span><span class="line"><span class="cl"><span class="nb">cd</span> mysql-scripts/Percona-Operator-PXC</span></span></code></pre>
</div>
</div>
</div>
<h2>Deploy a base cluster with an object store</h2>
<p>The first step is to deploy a multi-node Kind cluster with a way of simulating an S3 compatible object store (in this example using <a href="https://rustfs.com/" target="_blank" rel="noopener noreferrer">RustFS</a>). Using something like RustFS ensures we avoid any cloud costs when testing backups and restores.</p>
<p>The quick and dangerous way is to run a script from GitHub</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-1" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">curl -fsSL https://raw.githubusercontent.com/statefulops/kind-scripts/main/s3/create-cluster.sh <span class="p">|</span> bash -s -- v1.37.0 percona-pxc</span></span></code></pre>
</div>
</div>
</div>
<p>The safer way is to download the script, check it’s not doing anything harmful and then execute it yourself</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-2" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">curl -fsSL https://raw.githubusercontent.com/statefulops/kind-scripts/main/s3/create-cluster.sh -o create-cluster.sh
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">less create-cluster.sh
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">chmod +x create-cluster.sh
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">./create-cluster.sh v1.37.0 percona-pxc</span></span></code></pre>
</div>
</div>
</div>
<p>This will deploy a control-plane node and 3 workers with zone labels, and a container running RustFS, using Kubernetes 1.37. I tend to always use zone labels even locally as it simulates multiple zone deployments.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-3" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl get nodes -L topology.kubernetes.io/zone</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">text</span><button class="code-block__copy" type="button" data-copy-target="codeblock-4" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">NAME STATUS ROLES AGE VERSION ZONE
</span></span><span class="line"><span class="cl">percona-pxc-control-plane Ready control-plane 3m39s v1.37.0
</span></span><span class="line"><span class="cl">percona-pxc-worker Ready  3m25s v1.37.0 AZ-A
</span></span><span class="line"><span class="cl">percona-pxc-worker2 Ready  3m25s v1.37.0 AZ-B
</span></span><span class="line"><span class="cl">percona-pxc-worker3 Ready  3m25s v1.37.0 AZ-C</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-5" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl get po -n rustfs</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">text</span><button class="code-block__copy" type="button" data-copy-target="codeblock-6" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">NAME READY STATUS RESTARTS AGE
</span></span><span class="line"><span class="cl">rustfs-574c7b89d7-5dl4d 1/1 Running 0 4m1s</span></span></code></pre>
</div>
</div>
</div>
<p>A nodeport is set automatically so the RustFS UI will be available on <a href="http://localhost:9001/" target="_blank" rel="noopener noreferrer">http://localhost:9001</a>. The user is set to <em>myadminuser</em> and the script sets a random value for the secret password in a Kubernetes secret. To get the password run</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-7" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl get secret rustfs-admin-credentials -n rustfs -o <span class="nv">jsonpath</span><span class="o">=</span><span class="s1">'{.data.secret-key}'</span> <span class="p">|</span> base64 -d</span></span></code></pre>
</div>
</div>
</div>
<p>UI on <a href="http://localhost:9001/" target="_blank" rel="noopener noreferrer">http://localhost:9001</a></p>
<p><figure><img decoding="async" width="2318" height="1206" src="https://percona.community/blog/2026/10/getting-started-pg-rustfs-logon_hu_d2b2c89d1f4111d4.webp" alt="Rust FS Login" loading="lazy"></figure>
</p>
<p><figure><img decoding="async" width="3398" height="696" src="https://percona.community/blog/2026/10/getting-started-pg-rustfs-ui_hu_47774d553765ae19.webp" alt="Rust FS UI" loading="lazy"></figure>
</p>
<p>Standard AWS CLI commands work as well &#8211; make sure you run the make_bucket command as it is needed later.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-8" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_ACCESS_KEY_ID</span><span class="o">=</span>myadminuser
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_SECRET_ACCESS_KEY</span><span class="o">=</span><span class="k">$(</span>kubectl get secret rustfs-admin-credentials -n rustfs -o <span class="nv">jsonpath</span><span class="o">=</span><span class="s1">'{.data.secret-key}'</span> <span class="p">|</span> base64 -d<span class="k">)</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_DEFAULT_REGION</span><span class="o">=</span>us-east-1
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">aws --endpoint-url http://localhost:9000 s3 mb s3://my-kind-bucket</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">text</span><button class="code-block__copy" type="button" data-copy-target="codeblock-9" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">make_bucket: my-kind-bucket</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-10" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">aws --endpoint-url http://localhost:9000 s3 ls</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">text</span><button class="code-block__copy" type="button" data-copy-target="codeblock-11" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">2026-10-12 12:14:49 my-kind-bucket</span></span></code></pre>
</div>
</div>
</div>
<h2>Install the Percona PXC Operator 1.20.1</h2>
<p>Add the Percona Helm repo:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-12" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">helm repo add percona https://percona.github.io/percona-helm-charts/
</span></span><span class="line"><span class="cl">helm repo update</span></span></code></pre>
</div>
</div>
</div>
<p>Safety check — only ever run this against a local kind cluster: <em>I might have learnt this lesson the hard way</em> <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-13" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="nv">CURRENT_CONTEXT</span><span class="o">=</span><span class="k">$(</span>kubectl config current-context<span class="k">)</span>
</span></span><span class="line"><span class="cl"><span class="k">case</span> <span class="s2">"</span><span class="nv">$CURRENT_CONTEXT</span><span class="s2">"</span> in
</span></span><span class="line"><span class="cl">*kind*<span class="o">)</span> <span class="nb">echo</span> <span class="s2">"OK: using kind context '</span><span class="nv">$CURRENT_CONTEXT</span><span class="s2">'"</span> <span class="p">;;</span>
</span></span><span class="line"><span class="cl">*<span class="o">)</span> <span class="nb">echo</span> <span class="s2">"ABORT: context '</span><span class="nv">$CURRENT_CONTEXT</span><span class="s2">' is not a kind cluster"</span><span class="p">;</span> <span class="nb">exit</span> <span class="m">1</span> <span class="p">;;</span>
</span></span><span class="line"><span class="cl"><span class="k">esac</span></span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-14" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl create namespace pxc-operator
</span></span><span class="line"><span class="cl">helm install pxc-operator percona/pxc-operator --version 1.20.1 --namespace pxc-operator
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">kubectl config set-context --current --namespace<span class="o">=</span>pxc-operator</span></span></code></pre>
</div>
</div>
</div>
<h2>Deploy the cluster</h2>
<p>This is a simple deployment that will deploy a 3 node PXC cluster with 3 HAProxy nodes.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-15" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl apply -f cr.yaml</span></span></code></pre>
</div>
</div>
</div>
<p>Check status:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-16" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl get perconaxtradbcluster</span></span></code></pre>
</div>
</div>
</div>
<p>While initializing:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">text</span><button class="code-block__copy" type="button" data-copy-target="codeblock-17" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">NAME ENDPOINT STATUS PXC PROXYSQL HAPROXY AGE
</span></span><span class="line"><span class="cl">cluster1 cluster1-haproxy.pxc-operator initializing 1 3 3m16s</span></span></code></pre>
</div>
</div>
</div>
<p>Once ready:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">text</span><button class="code-block__copy" type="button" data-copy-target="codeblock-18" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">NAME ENDPOINT STATUS PXC PROXYSQL HAPROXY AGE
</span></span><span class="line"><span class="cl">cluster1 cluster1-haproxy.pxc-operator ready 3 3 5m23s</span></span></code></pre>
</div>
</div>
</div>
<p><em>This will take some time to install based on internet speeds etc</em></p>
<p>Eventually you should get a running cluster</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-19" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl get po
</span></span><span class="line"><span class="cl">NAME READY STATUS RESTARTS AGE
</span></span><span class="line"><span class="cl">cluster1-haproxy-0 2/2 Running <span class="m">0</span> 12m
</span></span><span class="line"><span class="cl">cluster1-haproxy-1 2/2 Running <span class="m">0</span> 10m
</span></span><span class="line"><span class="cl">cluster1-haproxy-2 2/2 Running <span class="m">0</span> 10m
</span></span><span class="line"><span class="cl">cluster1-pxc-0 3/3 Running <span class="m">0</span> 12m
</span></span><span class="line"><span class="cl">cluster1-pxc-1 3/3 Running <span class="m">0</span> 10m
</span></span><span class="line"><span class="cl">cluster1-pxc-2 3/3 Running <span class="m">0</span> 9m14s
</span></span><span class="line"><span class="cl">pxc-operator-64d6bd6f58-dn6mw 1/1 Running <span class="m">0</span> 14m</span></span></code></pre>
</div>
</div>
</div>
<h2>Connect to the cluster via the CLI</h2>
<p>Get the root password from the new Kubernetes secret:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-20" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl get secret cluster1-secrets --template<span class="o">=</span><span class="s1">'{{.data.root | base64decode}}{{"n"}}'</span></span></span></code></pre>
</div>
</div>
</div>
<p>Launch a client pod and connect to the command line:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-21" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl run -i --rm --tty percona-client --image<span class="o">=</span>percona/percona-xtradb-cluster:8.4 --restart<span class="o">=</span>Never -- bash -il</span></span></code></pre>
</div>
</div>
</div>
<p>Inside the client pod:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-22" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">mysql -u root -p -h cluster1-haproxy</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-23" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span><span class="w"> </span><span class="k">select</span><span class="w"> </span><span class="o">@@</span><span class="n">hostname</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="o">@@</span><span class="n">hostname</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">cluster1</span><span class="o">-</span><span class="n">pxc</span><span class="o">-</span><span class="mi">0</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="w"> </span><span class="k">in</span><span class="w"> </span><span class="k">set</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">00</span><span class="w"> </span><span class="n">sec</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span></span></span></code></pre>
</div>
</div>
</div>
<p>The connection to the MySQL instance from <code>cluster1-haproxy</code> is via several hops.</p>
<ul>
<li><code>cluster1-haproxy</code> is a Kubernetes service that points to the 3 HAProxy nodes.</li>
<li>The HAProxy nodes route the connection to one of the active MySQL nodes in the cluster.</li>
</ul>
<p>So as long as your client connection is well behaved and performs retries correctly your connection should remain connected to the cluster during a node failure.</p>
<p>From the client pod started above check what MySQL node you are connected to.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-24" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span><span class="w"> </span><span class="k">select</span><span class="w"> </span><span class="o">@@</span><span class="n">hostname</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="o">@@</span><span class="n">hostname</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">cluster1</span><span class="o">-</span><span class="n">pxc</span><span class="o">-</span><span class="mi">0</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="w"> </span><span class="k">in</span><span class="w"> </span><span class="k">set</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">00</span><span class="w"> </span><span class="n">sec</span><span class="p">)</span></span></span></code></pre>
</div>
</div>
</div>
<p>In a separate terminal terminate the node you are connected to.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-25" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl delete po cluster1-pxc-0 </span></span></code></pre>
</div>
</div>
</div>
<p>While the pod is terminating in the original terminal re-try the select.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-26" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span><span class="w"> </span><span class="k">select</span><span class="w"> </span><span class="o">@@</span><span class="n">hostname</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="n">ERROR</span><span class="w"> </span><span class="mi">2013</span><span class="w"> </span><span class="p">(</span><span class="n">HY000</span><span class="p">):</span><span class="w"> </span><span class="n">Lost</span><span class="w"> </span><span class="k">connection</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">MySQL</span><span class="w"> </span><span class="n">server</span><span class="w"> </span><span class="n">during</span><span class="w"> </span><span class="n">query</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">No</span><span class="w"> </span><span class="k">connection</span><span class="p">.</span><span class="w"> </span><span class="n">Trying</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">reconnect</span><span class="p">...</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">Connection</span><span class="w"> </span><span class="n">id</span><span class="p">:</span><span class="w"> </span><span class="mi">3163</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">Current</span><span class="w"> </span><span class="k">database</span><span class="p">:</span><span class="w"> </span><span class="o">***</span><span class="w"> </span><span class="k">NONE</span><span class="w"> </span><span class="o">***</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="o">@@</span><span class="n">hostname</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">cluster1</span><span class="o">-</span><span class="n">pxc</span><span class="o">-</span><span class="mi">2</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------+
</span></span></span><span class="line"><span class="cl"><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="w"> </span><span class="k">in</span><span class="w"> </span><span class="k">set</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">01</span><span class="w"> </span><span class="n">sec</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span></span></span></code></pre>
</div>
</div>
</div>
<p>So the mysql client noticed the connection had broken, re-established it and this time HAProxy sent the connection to <code>cluster1-pxc-2</code> which was still active.</p>
<h2>Backup to RustFS</h2>
<p>Before running the backup run a MySQL client again and create a table with some data</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-27" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">create</span><span class="w"> </span><span class="k">schema</span><span class="w"> </span><span class="n">test</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="n">use</span><span class="w"> </span><span class="n">test</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">CREATE</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="n">phonebook</span><span class="p">(</span><span class="n">phone</span><span class="w"> </span><span class="nb">VARCHAR</span><span class="p">(</span><span class="mi">32</span><span class="p">)</span><span class="w"> </span><span class="k">PRIMARY</span><span class="w"> </span><span class="k">KEY</span><span class="p">,</span><span class="w"> </span><span class="n">firstname</span><span class="w"> </span><span class="nb">VARCHAR</span><span class="p">(</span><span class="mi">32</span><span class="p">),</span><span class="w"> </span><span class="n">lastname</span><span class="w"> </span><span class="nb">VARCHAR</span><span class="p">(</span><span class="mi">32</span><span class="p">),</span><span class="w"> </span><span class="n">address</span><span class="w"> </span><span class="nb">VARCHAR</span><span class="p">(</span><span class="mi">64</span><span class="p">));</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">INSERT</span><span class="w"> </span><span class="k">INTO</span><span class="w"> </span><span class="n">phonebook</span><span class="p">(</span><span class="n">phone</span><span class="p">,</span><span class="w"> </span><span class="n">firstname</span><span class="p">,</span><span class="w"> </span><span class="n">lastname</span><span class="p">,</span><span class="w"> </span><span class="n">address</span><span class="p">)</span><span class="w"> </span><span class="k">VALUES</span><span class="p">(</span><span class="s1">'+1 123 456 7890'</span><span class="p">,</span><span class="w"> </span><span class="s1">'John'</span><span class="p">,</span><span class="w"> </span><span class="s1">'Doe'</span><span class="p">,</span><span class="w"> </span><span class="s1">'North America'</span><span class="p">);</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="n">phonebook</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-28" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span><span class="w"> </span><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="n">phonebook</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">-----------------+-----------+----------+---------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">phone</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">firstname</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">lastname</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">address</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">-----------------+-----------+----------+---------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="o">+</span><span class="mi">1</span><span class="w"> </span><span class="mi">123</span><span class="w"> </span><span class="mi">456</span><span class="w"> </span><span class="mi">7890</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">John</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">Doe</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">North</span><span class="w"> </span><span class="n">America</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">-----------------+-----------+----------+---------------+
</span></span></span><span class="line"><span class="cl"><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="w"> </span><span class="k">in</span><span class="w"> </span><span class="k">set</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">00</span><span class="w"> </span><span class="n">sec</span><span class="p">)</span></span></span></code></pre>
</div>
</div>
</div>
<p>Create the backup S3 secret from the RustFS admin credentials:</p>
<p>Either a quick one-liner:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-29" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl create secret generic my-cluster-name-backup-s3 --from-literal<span class="o">=</span><span class="nv">AWS_ACCESS_KEY_ID</span><span class="o">=</span><span class="s2">"</span><span class="k">$(</span>kubectl get secret rustfs-admin-credentials -n rustfs -o <span class="nv">jsonpath</span><span class="o">=</span><span class="s1">'{.data.access-key}'</span> <span class="p">|</span> base64 -d<span class="k">)</span><span class="s2">"</span> --from-literal<span class="o">=</span><span class="nv">AWS_SECRET_ACCESS_KEY</span><span class="o">=</span><span class="s2">"</span><span class="k">$(</span>kubectl get secret rustfs-admin-credentials -n rustfs -o <span class="nv">jsonpath</span><span class="o">=</span><span class="s1">'{.data.secret-key}'</span> <span class="p">|</span> base64 -d<span class="k">)</span><span class="s2">"</span> --dry-run<span class="o">=</span>client -o yaml <span class="p">|</span> kubectl apply -f -</span></span></code></pre>
</div>
</div>
</div>
<p>or get the base64-encoded values:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-30" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl get secret rustfs-admin-credentials -n rustfs -o <span class="nv">jsonpath</span><span class="o">=</span><span class="s1">'{.data.access-key}'</span>
</span></span><span class="line"><span class="cl">kubectl get secret rustfs-admin-credentials -n rustfs -o <span class="nv">jsonpath</span><span class="o">=</span><span class="s1">'{.data.secret-key}'</span></span></span></code></pre>
</div>
</div>
</div>
<p>Add the values above to the <code>data:</code> section of <code>backup-secret-s3.yaml</code> and apply it</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-31" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl apply -f backup-secret-s3.yaml</span></span></code></pre>
</div>
</div>
</div>
<p>Run a backup:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-32" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl apply -f backup.yaml</span></span></code></pre>
</div>
</div>
</div>
<p>Find the backup pod and check its logs:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-33" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl get po <span class="p">|</span> grep xb-backup1
</span></span><span class="line"><span class="cl">kubectl logs xb-backup1-bnrwj</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-34" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">2026-11-14 09:08:38.992 INFO: SST script finished with <span class="nb">exit</span> code: <span class="m">0</span>
</span></span><span class="line"><span class="cl">2026-11-14 09:08:39.096 INFO: Exiting main loop with code OK
</span></span><span class="line"><span class="cl">2026-11-14 09:08:39.096 INFO: Garbd returns <span class="m">0</span>
</span></span><span class="line"><span class="cl">+ <span class="nv">GARBD_EXIT_CODE</span><span class="o">=</span><span class="m">0</span>
</span></span><span class="line"><span class="cl">+ <span class="k">case</span> <span class="si">${</span><span class="nv">GARBD_EXIT_CODE</span><span class="si">}</span> in
</span></span><span class="line"><span class="cl">+ log INFO <span class="s1">'Backup was finished successfully'</span>
</span></span><span class="line"><span class="cl">+ <span class="nb">exit</span> <span class="m">0</span>
</span></span><span class="line"><span class="cl">2026-11-14 09:08:39 <span class="o">[</span>INFO<span class="o">]</span> Backup was finished successfully</span></span></code></pre>
</div>
</div>
</div>
<p>Verify the backup landed in S3:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-35" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_ACCESS_KEY_ID</span><span class="o">=</span>myadminuser
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_SECRET_ACCESS_KEY</span><span class="o">=</span><span class="k">$(</span>kubectl get secret rustfs-admin-credentials -n rustfs -o <span class="nv">jsonpath</span><span class="o">=</span><span class="s1">'{.data.secret-key}'</span> <span class="p">|</span> base64 -d<span class="k">)</span>
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">AWS_DEFAULT_REGION</span><span class="o">=</span>us-east-1
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">aws --endpoint-url http://localhost:9000 s3 ls my-kind-bucket/</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-36" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"> PRE cluster1-2026-11-14-09:07:52-full.sst_info/
</span></span><span class="line"><span class="cl"> PRE cluster1-2026-11-14-09:07:52-full/
</span></span><span class="line"><span class="cl">2026-11-14 09:08:38 <span class="m">26667</span> cluster1-2026-11-14-09:07:52-full.md5
</span></span><span class="line"><span class="cl">2026-11-14 09:08:23 <span class="m">128</span> cluster1-2026-11-14-09:07:52-full.sst_info.md5</span></span></code></pre>
</div>
</div>
</div>
<h2>Restore</h2>
<p>Before doing the restore remove the table created earlier to check the restore worked.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-37" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="n">use</span><span class="w"> </span><span class="n">test</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">drop</span><span class="w"> </span><span class="k">table</span><span class="w"> </span><span class="n">phonebook</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<p>Disable any binlog processing before running a restore.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-38" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl patch pxc cluster1 <span class="se">
</span></span></span><span class="line"><span class="cl"> --type merge <span class="se">
</span></span></span><span class="line"><span class="cl"> -p <span class="s1">'{"spec":{"backup":{"pitr":{"enabled":false}}}}'</span></span></span></code></pre>
</div>
</div>
</div>
<p>In this case you should see the following message as it wasn’t enabled</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-39" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">perconaxtradbcluster.pxc.percona.com/cluster1 patched <span class="o">(</span>no change<span class="o">)</span></span></span></code></pre>
</div>
</div>
</div>
<p>Trigger a restore and watch the pods get recreated</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-40" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">cat <span class="s">&lt;</span></span><span class="line"><span class="cl"><span class="s">apiVersion: "pxc.percona.com/v1"
</span></span></span><span class="line"><span class="cl"><span class="s">kind: "PerconaXtraDBClusterRestore"
</span></span></span><span class="line"><span class="cl"><span class="s">metadata:
</span></span></span><span class="line"><span class="cl"><span class="s"> name: "restore1"
</span></span></span><span class="line"><span class="cl"><span class="s">spec:
</span></span></span><span class="line"><span class="cl"><span class="s"> pxcCluster: "cluster1"
</span></span></span><span class="line"><span class="cl"><span class="s"> backupName: "backup1"
</span></span></span><span class="line"><span class="cl"><span class="s">EOF</span></span></span></span></code></pre>
</div>
</div>
</div>
<p>Once the restore has been completed check the table is back.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-41" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span><span class="w"> </span><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="n">phonebook</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="n">ERROR</span><span class="w"> </span><span class="mi">2013</span><span class="w"> </span><span class="p">(</span><span class="n">HY000</span><span class="p">):</span><span class="w"> </span><span class="n">Lost</span><span class="w"> </span><span class="k">connection</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">MySQL</span><span class="w"> </span><span class="n">server</span><span class="w"> </span><span class="n">during</span><span class="w"> </span><span class="n">query</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">No</span><span class="w"> </span><span class="k">connection</span><span class="p">.</span><span class="w"> </span><span class="n">Trying</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">reconnect</span><span class="p">...</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">Connection</span><span class="w"> </span><span class="n">id</span><span class="p">:</span><span class="w"> </span><span class="mi">1117</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">Current</span><span class="w"> </span><span class="k">database</span><span class="p">:</span><span class="w"> </span><span class="n">test</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">-----------------+-----------+----------+---------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">phone</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">firstname</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">lastname</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">address</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">-----------------+-----------+----------+---------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="o">+</span><span class="mi">1</span><span class="w"> </span><span class="mi">123</span><span class="w"> </span><span class="mi">456</span><span class="w"> </span><span class="mi">7890</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">John</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">Doe</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">North</span><span class="w"> </span><span class="n">America</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">-----------------+-----------+----------+---------------+
</span></span></span><span class="line"><span class="cl"><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="w"> </span><span class="k">in</span><span class="w"> </span><span class="k">set</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">03</span><span class="w"> </span><span class="n">sec</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="n">mysql</span><span class="o">&gt;</span></span></span></code></pre>
</div>
</div>
</div>
<h2>Enabling binlog syncing</h2>
<p>Realistically you are going to want to back up the Binary Logs (binlogs) to minimise data loss.</p>
<p>Apply the updated cr which will enable the binlog syncing.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">bash</span><button class="code-block__copy" type="button" data-copy-target="codeblock-42" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl apply -f cr-binlogs.yaml</span></span></code></pre>
</div>
</div>
</div>
<p>Verify pods:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-43" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl get po</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-44" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">NAME READY STATUS RESTARTS AGE
</span></span><span class="line"><span class="cl">cluster1-haproxy-0 2/2 Running <span class="m">0</span> 17m
</span></span><span class="line"><span class="cl">cluster1-haproxy-1 2/2 Running <span class="m">0</span> 16m
</span></span><span class="line"><span class="cl">cluster1-haproxy-2 2/2 Running <span class="m">0</span> 16m
</span></span><span class="line"><span class="cl">cluster1-pitr-7dc984dcd9-rs7xn 1/1 Running <span class="m">0</span> 47s
</span></span><span class="line"><span class="cl">cluster1-pxc-0 3/3 Running <span class="m">0</span> 17m
</span></span><span class="line"><span class="cl">cluster1-pxc-1 3/3 Running <span class="m">0</span> 16m
</span></span><span class="line"><span class="cl">cluster1-pxc-2 3/3 Running <span class="m">0</span> 15m</span></span></code></pre>
</div>
</div>
</div>
<p>To get some binlogs being created start the sysbench container</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-45" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl apply -f sysbench.yaml</span></span></code></pre>
</div>
</div>
</div>
<p>Once it has been running for a few minutes you should now be able to see binlogs being backed-up into the S3 bucket.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-46" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">aws --endpoint-url http://localhost:9000 s3 ls my-kind-bucket/</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-47" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"> PRE cluster1-2026-11-14-16:40:02-full.sst_info/
</span></span><span class="line"><span class="cl"> PRE cluster1-2026-11-14-16:40:02-full/
</span></span><span class="line"><span class="cl">2026-11-14 17:05:50 <span class="m">19973933</span> binlog_1794675888_000025_40ab6621c720a080c20710905ef86632
</span></span><span class="line"><span class="cl">2026-11-14 17:05:50 <span class="m">43</span> binlog_1794675888_000025_40ab6621c720a080c20710905ef86632-gtid-set
</span></span><span class="line"><span class="cl">2026-11-14 16:40:29 <span class="m">26815</span> cluster1-2026-11-14-16:40:02-full.md5
</span></span><span class="line"><span class="cl">2026-11-14 16:40:15 <span class="m">128</span> cluster1-2026-11-14-16:40:02-full.sst_info.md5
</span></span><span class="line"><span class="cl">2026-11-14 17:05:50 <span class="m">346</span> gtid-binlog-cache.json
</span></span><span class="line"><span class="cl">2026-11-14 17:05:50 <span class="m">43</span> last-binlog-set-d41f08dc-e04a-11f1-b333-4b79bd8eb077</span></span></code></pre>
</div>
</div>
</div>
<h2>Cluster Operation Overview</h2>
<p>This section was originally earlier on but I moved it later to avoid hitting some of the more complex bits early on. While this article is focused on Percona XtraDB Cluster (PXC) the basic principles are the same for Galera cluster, MariaDB Galera Cluster and PXC. They all go back to the same work done by Codership Oy back in the 2000s. I’m going to avoid commenting on the current state of the product and the purchase of Codership by MariaDB but focus on Percona’s PXC as it’s a stable supported version.</p>
<p>PXC adds the two following extra components to the running mysqld instance to form the cluster:</p>
<ul>
<li>The Group Communication System (GCS), this provides a private network between the nodes to manage cluster membership, order transactions globally and provide failure detection.</li>
<li>The wsrep API provides write-set replication as a plugin to MySQL</li>
</ul>
<p>These together allow the cluster to run a near full master-master replication allowing well behaved clients to write to any of the nodes simultaneously, in the right environment. Please note both caveats, a well-behaved client and the right environment.</p>
<ul>
<li>
<p>Dropping an existing poorly written application into PXC and expecting it to solve all of the problems you have isn’t going to work. The application needs to understand that it might get deadlocked and to try again and if it reads from another node it may not see the data it has just written. The reason for this is briefly explained below.</p>
</li>
<li>
<p>PXC nodes need to be able to talk to each other quickly to maintain state. In reality keeping the nodes in the same cloud region is probably a best practice. Nodes spread across availability zones in AWS seems to be a sweet spot. Spreading them around the globe will probably not work, yes I’ve seen it done but you start to stretch the laws of physics and end up with a very unstable environment. A more fault tolerant solution is needed for this use case.</p>
</li>
</ul>
<p>The process of modifying data within the MySQL instance is now more complex than with a single node as it needs to be coordinated across all the nodes. The simplified steps are:</p>
<ol>
<li>A transaction is completed on a local node and the client issues a commit, at this point the client has to wait before getting a response back</li>
<li>wsrep creates a write-set containing all the modifications in the commit. This is now broadcast to all the other nodes</li>
<li>Certification of the write-set is now carried out on all the nodes ensuring it can be applied everywhere.</li>
<li>If there is no conflict the write-set is certified, the original transaction is allowed to commit successfully, and the other nodes add the write-set to their applier queues to be applied.</li>
<li>If there is a conflict and the write-set can’t be applied to all nodes the transaction gets rolled back and it’s not applied. This means the original client transaction fails and needs to be retried.</li>
</ol>
<p>For the client a detail in step 4 is important, while the update is made on the original node it could still be on the applier queue on one of the other nodes meaning there is a small window when the data is different. The client needs to be aware of this and ensure if it needs to read its own writes it always connects to the same node (or uses <code>wsrep_sync_wait</code>). If the applier queue gets too large the cluster will pause updates until it is processed.</p>
<p>Updates can be performed as long as the cluster has <em>quorum</em>. More than 50% of the nodes have to be available and online to achieve quorum. This is why clusters are normally 3 nodes (or at least an odd number of nodes) as it allows for one node to be down and the cluster will continue to operate.</p>
<h2>Recovery Modes IST vs SST</h2>
<p>When nodes fail the cluster will recover the failed nodes using two different approaches.</p>
<ul>
<li>
<p>IST (Incremental State Transfer), this is used when the node has been down for a short period and the missing write-sets exist in a donor node’s gcache. Once the failed (joiner) node is restarted it will connect to a donor node and apply the missing write-sets before joining the node into the cluster.</p>
</li>
<li>
<p>SST (State Snapshot Transfer), if the missing write-sets are not available, or it’s a new node, an SST will be triggered. This essentially takes a full backup from a donor node and rebuilds the node from this backup. This can obviously take some time to complete with a large dataset. The donor will stay available but will have the extra load of the backup running.</p>
</li>
</ul>
<p>To see the two options first of all check the cluster is healthy and the sysbench load is running.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-48" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">show</span><span class="w"> </span><span class="n">status</span><span class="w"> </span><span class="k">like</span><span class="w"> </span><span class="s1">'wsrep_cluster%'</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-49" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------------------+--------------------------------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">Variable_name</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">Value</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------------------+--------------------------------------+
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">wsrep_cluster_weight</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="mi">30</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">wsrep_cluster_capabilities</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">wsrep_cluster_conf_id</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="mi">3</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">wsrep_cluster_size</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="mi">3</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">wsrep_cluster_state_uuid</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="n">ec51ce68</span><span class="o">-</span><span class="n">e0d6</span><span class="o">-</span><span class="mi">11</span><span class="n">f1</span><span class="o">-</span><span class="mi">808</span><span class="n">a</span><span class="o">-</span><span class="mi">03</span><span class="n">de7cc64daa</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">|</span><span class="w"> </span><span class="n">wsrep_cluster_status</span><span class="w"> </span><span class="o">|</span><span class="w"> </span><span class="k">Primary</span><span class="w"> </span><span class="o">|</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="o">+</span><span class="c1">----------------------------+--------------------------------------+
</span></span></span><span class="line"><span class="cl"><span class="mi">6</span><span class="w"> </span><span class="k">rows</span><span class="w"> </span><span class="k">in</span><span class="w"> </span><span class="k">set</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">.</span><span class="mi">00</span><span class="w"> </span><span class="n">sec</span><span class="p">)</span></span></span></code></pre>
</div>
</div>
</div>
<p>Cluster status should be <code>Primary</code> and cluster size should be 3.</p>
<p>Sysbench should be pottering along generating load</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-50" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl logs sysbench-8dd57985c-hbcv7</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">text</span><button class="code-block__copy" type="button" data-copy-target="codeblock-51" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">[ 570s ] thds: 4 tps: 20.90 qps: 418.00 (r/w/o: 292.60/45.60/79.80) lat (ms,95%): 7.43 err/s: 0.00 reconn/s: 0.00
</span></span><span class="line"><span class="cl">[ 570s ] queue length: 0, concurrency: 0
</span></span><span class="line"><span class="cl">[ 580s ] thds: 4 tps: 18.50 qps: 370.00 (r/w/o: 259.00/41.90/69.10) lat (ms,95%): 9.22 err/s: 0.00 reconn/s: 0.00
</span></span><span class="line"><span class="cl">[ 580s ] queue length: 0, concurrency: 0</span></span></code></pre>
</div>
</div>
</div>
<p>First to trigger an IST just delete one of the pods.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-52" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl delete po cluster1-pxc-2</span></span></code></pre>
</div>
</div>
</div>
<p>Once the pod has recovered review the MySQL logs to see what method was chosen.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-53" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl logs cluster1-pxc-2 -c logs <span class="p">|</span> cut -d <span class="s2">"""</span> -f4</span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-54" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">2026-11-15T09:49:34.020065Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Check <span class="k">if</span> state gap can be serviced using IST<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.020077Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> <span class="c1">####### IST uuid:ec51ce68-e0d6-11f1-808a-03de7cc64daa f: 14710, l: 14998, STRv: 3n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.020121Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> IST receiver addr using ssl://10.244.1.7:4568<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.020138Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> IST receiver using ssl<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.020233Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Prepared IST receiver <span class="k">for</span> 14710-14998, listening at: ssl://10.244.1.7:4568<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.021071Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Member 1.0 <span class="o">(</span>cluster1-pxc-2<span class="o">)</span> requested state transfer from <span class="s1">'cluster1-pxc-1,'</span>. Selected 0.0 <span class="o">(</span>cluster1-pxc-1<span class="o">)(</span>SYNCED<span class="o">)</span> as donor.<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.021089Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Shifting PRIMARY -&gt; JOINER <span class="o">(</span>TO: 15027<span class="o">)</span><span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.021116Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Requesting state transfer: success, donor: 0<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.304854Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> joiner: <span class="o">=</span>&gt; Rate:<span class="o">[</span> <span class="m">487</span> B/s<span class="o">]</span> Avg:<span class="o">[</span> <span class="m">487</span> B/s<span class="o">]</span> Elapsed:0:00:00 Bytes: <span class="m">244</span> B <span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.820780Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> xtrabackup_ist received from donor: Running IST<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.820809Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Running post-processing...........<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.823184Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Skipping mysql_upgrade <span class="o">(</span>ist<span class="o">)</span><span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.823310Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> ...........post-processing <span class="k">done</span><span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T09:49:34.824151Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Galera co-ords from recovery: ec51ce68-e0d6-11f1-808a-03de7cc64daa:14709<span class="se">n</span></span></span></code></pre>
</div>
</div>
</div>
<p>To ensure we trigger an SST this time we will first schedule the underlying PVC for deletion, as the PVC is in use the <code>--wait=false</code> ensures the command completes, the PVC is not deleted yet but will be when the pod releases it.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-55" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl delete pvc datadir-cluster1-pxc-2 --wait<span class="o">=</span>false</span></span></code></pre>
</div>
</div>
</div>
<p>Then delete the pod again.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-56" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kubectl delete po cluster1-pxc-2</span></span></code></pre>
</div>
</div>
</div>
<p>This time the logs will show an IST wasn’t possible and a full SST was triggered from another node.</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-57" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">2026-11-15T10:07:29.878548Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP<span class="o">]</span> Prepared SST request: xtrabackup-v2<span class="p">|</span>10.244.1.10:4444/xtrabackup_sst//1<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.878586Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Check <span class="k">if</span> state gap can be serviced using IST<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.878595Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Local UUID: 00000000-0000-0000-0000-000000000000 !<span class="o">=</span> Group UUID: ec51ce68-e0d6-11f1-808a-03de7cc64daa<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.878599Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> <span class="c1">####### IST uuid:00000000-0000-0000-0000-000000000000 f: 0, l: 35746, STRv: 3n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.878672Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> IST receiver addr using ssl://10.244.1.10:4568<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.878693Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> IST receiver using ssl<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.878780Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Prepared IST receiver <span class="k">for</span> 0-35746, listening at: ssl://10.244.1.10:4568<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.879207Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Member 1.0 <span class="o">(</span>cluster1-pxc-2<span class="o">)</span> requested state transfer from <span class="s1">'cluster1-pxc-1,'</span>. Selected 0.0 <span class="o">(</span>cluster1-pxc-1<span class="o">)(</span>SYNCED<span class="o">)</span> as donor.<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.879288Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Shifting PRIMARY -&gt; JOINER <span class="o">(</span>TO: 35805<span class="o">)</span><span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.879332Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Requesting state transfer: success, donor: 0<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.879380Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Resetting GCache seqno map due to different histories.<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:29.879422Z <span class="m">2</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> GCache <span class="nb">history</span> reset: 00000000-0000-0000-0000-000000000000:0 -&gt; ec51ce68-e0d6-11f1-808a-03de7cc64daa:35746<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:30.173225Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> joiner: <span class="o">=</span>&gt; Rate:<span class="o">[</span> <span class="m">325</span> B/s<span class="o">]</span> Avg:<span class="o">[</span> <span class="m">325</span> B/s<span class="o">]</span> Elapsed:0:00:00 Bytes: <span class="m">166</span> B <span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:30.715773Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Using PXB option --lock-ddl<span class="o">=</span>REDUCED <span class="k">for</span> SST<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:30.734386Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Proceeding with SST.........<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:30.745528Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> ............Waiting <span class="k">for</span> SST streaming to complete!<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:45.945092Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> joiner: <span class="o">=</span>&gt; Rate:<span class="o">[</span>0.00 B/s<span class="o">]</span> Avg:<span class="o">[</span>0.00 B/s<span class="o">]</span> Elapsed:0:00:10 Bytes: 0.00 B <span class="se">r</span> joiner: <span class="o">=</span>&gt; Rate:<span class="o">[</span>12.4MiB/s<span class="o">]</span> Avg:<span class="o">[</span>12.4MiB/s<span class="o">]</span> Elapsed:0:00:15 Bytes: 188MiB <span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:45.949894Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Decompressing the backup at /var/lib/mysql//sst-xb-tmpdir<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:45.950708Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> 0.0 <span class="o">(</span>cluster1-pxc-1<span class="o">)</span>: State transfer to 1.0 <span class="o">(</span>cluster1-pxc-2<span class="o">)</span> complete.<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:45.951436Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>Galera<span class="o">]</span> Member 0.0 <span class="o">(</span>cluster1-pxc-1<span class="o">)</span> synced with group.<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:46.080311Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Preparing the backup at /var/lib/mysql//sst-xb-tmpdir<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:49.343928Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Moving the backup to /var/lib/mysql/<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:49.456464Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Running post-processing...........<span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:49.458896Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Skipping mysql_upgrade <span class="o">(</span>sst<span class="o">)</span>: <span class="nb">local</span> version <span class="o">(</span>8.4.8<span class="o">)</span> <span class="o">==</span> donor version <span class="o">(</span>8.4.8<span class="o">)</span><span class="se">n</span>
</span></span><span class="line"><span class="cl">2026-11-15T10:07:49.482932Z <span class="m">0</span> <span class="o">[</span>Note<span class="o">]</span> <span class="o">[</span>MY-000000<span class="o">]</span> <span class="o">[</span>WSREP-SST<span class="o">]</span> Waiting <span class="k">for</span> server instance to start..... This may take some time<span class="se">n</span></span></span></code></pre>
</div>
</div>
</div>
<p>Once the pod is back, <code>wsrep_cluster_size</code> should return to 3.</p>
<h2>Tidy up</h2>
<p>Drop the kind cluster</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">shell</span><button class="code-block__copy" type="button" data-copy-target="codeblock-58" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">kind delete cluster --name percona-pxc</span></span></code></pre>
</div>
</div>
</div>
<p><a href="https://percona.community/blog/2026/11/30/getting-started-with-percona-pxc-operator/">Getting Started with Percona PXC Operator</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Slides: On indexing JSON data in MySQL and MariaDB</title>
        <link>https://petrunia.net/2026/11/27/slides-on-indexing-json-data-in-mysql-and-mariadb/</link>
        <pubDate>Fri, 27 Nov 2026 11:28:33 +0000</pubDate>
        <dc:creator>spetrunia2</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/slides-on-indexing-json-data-in-mysql-and-mariadb/</guid>
        <source url="https://petrunia.net/">Sergei Petrunia&#039;s blog</source>
        <description><![CDATA[<p>The slides are here: Indexing JSON data. Topics covered: MySQL’s ARRAY index. How it indexes JSON data and what problems it has. What we’re implementing as MariaDB’s variant of ARRAY index. What we could do in MariaDB to implement a “wildcard index” (borrowing the term from MongoDB), which would allow searching JSON data without deciding […]</p>
<p><a href="https://petrunia.net/2026/11/27/slides-on-indexing-json-data-in-mysql-and-mariadb/">Slides: On indexing JSON data in MySQL and MariaDB</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p class="wp-block-paragraph">The slides are here: <a href="https://github.com/spetrunia/misc-data/blob/main/slides/2026/json-indexing-optimizer-istanbul2026.pdf">Indexing JSON data</a>. Topics covered:</p>
<ul class="wp-block-list">
<li>MySQL’s ARRAY index. How it indexes JSON data and what problems it has.</li>
<li>What we’re implementing as MariaDB’s variant of ARRAY index.</li>
<li>What we could do in MariaDB to implement a “wildcard index” (borrowing the term from MongoDB), which would allow searching JSON data without deciding at index creation time which paths or types to index.</li>
</ul>
<p class="wp-block-paragraph">
<p><a href="https://petrunia.net/2026/11/27/slides-on-indexing-json-data-in-mysql-and-mariadb/">Slides: On indexing JSON data in MySQL and MariaDB</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Community Contribution Spotlight: Fixing the Netstat TCP Panel in PMM</title>
        <link>https://percona.community/blog/2026/11/27/netstat-tcp-counters-rate/</link>
        <pubDate>Fri, 27 Nov 2026 10:00:00 +0000</pubDate>
        <dc:creator>Source Author</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/community-contribution-spotlight-fixing-the-netstat-tcp-panel-in-pmm/</guid>
        <source url="https://percona.community/blog/">Percona Community Blog - learn about MySQL, MariaDB, PostgreSQL, and MongoDB</source>
        <description><![CDATA[<p>When your application reports dropped or slow connections to the database, one of the first places to look in Percona Monitoring and Management (PMM) is the Netstat: TCP panel on the Network Details dashboard (Operating system &#62; Network in the PMM menu). It shows how many connections the node opens, accepts, and loses, and how much traffic it has to resend.</p>
<p><a href="https://percona.community/blog/2026/11/27/netstat-tcp-counters-rate/">Community Contribution Spotlight: Fixing the Netstat TCP Panel in PMM</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>When your application reports dropped or slow connections to the database, one of the first places to look in Percona Monitoring and Management (PMM) is the <strong>Netstat: TCP</strong> panel on the <strong>Network Details</strong> dashboard (<strong>Operating system &gt; Network</strong> in the PMM menu). It shows how many connections the node opens, accepts, and loses, and how much traffic it has to resend.</p>
<p>Up to PMM 3.10.0, that panel couldn’t answer the question. Its lines sat in the hundreds of thousands and only ever climbed, so you couldn’t tell when a connection storm started or whether it was over.</p>
<p>Bastian Triller, an engineer at Placetel in Cologne, spotted why: the panel plotted running totals instead of rates. He sent a fix as a <a href="https://github.com/percona/pmm/pull/5913" target="_blank" rel="noopener noreferrer">pull request</a>, and the PMM team reviewed and refined it. Starting with PMM 3.11.0, the panel shows what’s happening on your node right now.</p>
<p>Read on to see what the panel shows now, how to use it to track down connection problems, and how Bastian and the PMM team got the fix into PMM. If you build your own dashboards, you’ll also learn how to check them for the same mistake.</p>
<h2>What the panel showed before 3.11.0</h2>
<p>On one of our test nodes, the <code>activeOpens</code> line read about 340,000. That wasn’t how many connections the node was opening. It was how many it had opened since it last booted. The other counter lines were running totals too, so you couldn’t tell a quiet hour from a busy one, or when a problem started.</p>
<p>The <code>established</code> line, the number of connections open right now, had a different problem. It was about 100 on the same node. On a shared scale that went up to hundreds of thousands, it looked like a flat line at zero.</p>
<p>Here’s the panel in PMM 3.10.0 during a two-minute burst of short connections on a test node. The burst shows up as a climb, but after it ends, the lines stay up, so the panel can’t tell you whether the problem is still happening:</p>
<p><figure><img decoding="async" width="2344" height="824" src="https://percona.community/blog/2026/11/netstat-tcp-before_hu_65c8668097548a38.webp" alt="The Netstat: TCP panel in PMM 3.10.0. The lines show running totals, climb during a connection burst at 10:53, and stay high after it ends." loading="lazy"></figure>
</p>
<h2>What you see now</h2>
<p>After you upgrade PMM Server to 3.11.0, the panel shows two kinds of information on two scales:</p>
<ul>
<li><strong>Left scale, events per second:</strong> how often connections are opened, reset, or fail, and how many TCP segments are resent. On the test node where <code>activeOpens</code> read about 340,000, these lines now read between 0 and 12 per second.</li>
<li><strong>Right scale, Connections:</strong> how many connections are open right now.</li>
</ul>
<p>Here’s the same burst on the updated panel. New connections jump to almost 2,000 per second and drop back to zero when the burst ends. Open connections on the right scale rise from about 70 to almost 400, then fall back:</p>
<p><figure><img decoding="async" width="2344" height="824" src="https://percona.community/blog/2026/11/netstat-tcp-after_hu_418828dbcfa8d51d.webp" alt="The Netstat: TCP panel in PMM 3.11.0. During the same burst, activeOpens and passiveOpens spike to almost 2,000 per second and drop back to zero, and established connections rise and fall on the right scale." loading="lazy"></figure>
</p>
<h2>Use the panel to troubleshoot connection problems</h2>
<p>When users report connection errors or slowness:</p>
<ol>
<li>
<p>Open <strong>Operating system &gt; Network</strong>, select the node that runs your database, and set the time range to cover the incident.</p>
</li>
<li>
<p>In <strong>Netstat: TCP</strong>, look for lines that jump at the time of the problem. Each line points you in a different direction:</p>
<table>
<thead>
<tr>
<th>Line</th>
<th>What a spike usually means</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>passiveOpens</code></td>
<td>Clients opened many new connections at once, for example after an application restart or without connection pooling.</td>
</tr>
<tr>
<td><code>activeOpens</code></td>
<td>The node itself opened many outgoing connections, for example to other databases or services.</td>
</tr>
<tr>
<td><code>attemptfails</code></td>
<td>Connection attempts failed, for example because the target port wasn’t listening or a firewall blocked it.</td>
</tr>
<tr>
<td><code>estabResets</code></td>
<td>Open connections were dropped abruptly, for example by a crashed process, a timeout, or a load balancer.</td>
</tr>
<tr>
<td><code>retransSegs</code></td>
<td>The node had to resend data, which usually means packet loss or a congested network.</td>
</tr>
</tbody>
</table>
</li>
<li>
<p>Check <code>established</code> on the right scale. A sudden drop matches dropped connections. A line that keeps rising without coming back down can mean that connections aren’t being closed.</p>
</li>
<li>
<p>Compare the time of the spike with the connection panels on your database dashboard to see whether the database or the network is the cause.</p>
</li>
</ol>
<h2>Why the old panel showed totals</h2>
<p>If you build your own dashboards, this part is for you.</p>
<p>Five of the six lines on the panel come from TCP counters that the node exporter reads from <code>/proc/net/snmp</code>. A counter only goes up, and it resets to zero when the host restarts. The sixth, <code>established</code>, is a gauge: a snapshot that goes up and down.</p>
<p>Before the fix, each counter used this query:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">promql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-0" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-promql" data-lang="promql"><span class="line"><span class="cl"><span class="kr">max_over_time</span><span class="o">(</span><span class="nv">node_netstat_Tcp_ActiveOpens</span><span class="p">{</span><span class="nl">node_name</span><span class="o">=~</span><span class="p">"</span><span class="s">$node_name</span><span class="p">"}[</span><span class="err">$interval</span><span class="p">]</span><span class="o">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="ow">or</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="kr">max_over_time</span><span class="o">(</span><span class="nv">node_netstat_Tcp_ActiveOpens</span><span class="p">{</span><span class="nl">node_name</span><span class="o">=~</span><span class="p">"</span><span class="s">$node_name</span><span class="p">"}[</span><span class="s">5m</span><span class="p">]</span><span class="o">)</span></span></span></code></pre>
</div>
</div>
</div>
<p><code>max_over_time()</code> returns the highest value in each time step. For a counter, the highest value is always the latest one, so the query returned the total since boot.</p>
<p>The counters now use this query:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">promql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-1" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-promql" data-lang="promql"><span class="line"><span class="cl"><span class="kr">rate</span><span class="o">(</span><span class="nv">node_netstat_Tcp_ActiveOpens</span><span class="p">{</span><span class="nl">node_name</span><span class="o">=~</span><span class="p">"</span><span class="s">$node_name</span><span class="p">"}[</span><span class="err">$interval</span><span class="p">]</span><span class="o">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="ow">or</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="kr">irate</span><span class="o">(</span><span class="nv">node_netstat_Tcp_ActiveOpens</span><span class="p">{</span><span class="nl">node_name</span><span class="o">=~</span><span class="p">"</span><span class="s">$node_name</span><span class="p">"}[</span><span class="s">5m</span><span class="p">]</span><span class="o">)</span></span></span></code></pre>
</div>
</div>
</div>
<ul>
<li><code>rate()</code> returns the average increase per second in each time step, and handles counter resets after a reboot.</li>
<li><code>irate()</code> is the fallback when the time step is too short for <code>rate()</code> to return a value. The <strong>TCP Segments</strong> and <strong>Netstat: UDP</strong> panels on the same dashboard use the same pattern.</li>
</ul>
<p><code>established</code> keeps its <code>max_over_time()</code> query, which suits a gauge because it keeps short peaks inside each time step. It’s now on its own right axis, labeled <strong>Connections</strong>.</p>
<p>This mistake is easy to make with any dashboard. By convention, Prometheus counter names end in <code>_total</code>, but these come straight from the kernel, and the node exporter reports them as <code>untyped</code>. Nothing in the metric tells you it’s a counter. To check your own panels:</p>
<ul>
<li><strong>Look at the shape.</strong> A line that only climbs, with dips only at restarts, is almost always a raw counter.</li>
<li><strong>Look at the size.</strong> If a panel that should show activity shows six or seven digits on a quiet host, check the query.</li>
<li><strong>Match the function to the type.</strong> For counters, use <code>rate()</code>, <code>irate()</code>, or <code>increase()</code>. For gauges, use the raw value, <code>max_over_time()</code>, or <code>avg_over_time()</code>.</li>
</ul>
<h2>How the fix reached PMM</h2>
<p>Bastian first sent this fix in January 2025, to the old <code>percona/grafana-dashboards</code> repository, where it wasn’t merged. When the PMM dashboards moved into the main <code>percona/pmm</code> repository, he sent it again as <a href="https://github.com/percona/pmm/pull/5913" target="_blank" rel="noopener noreferrer">percona/pmm#5913</a> and filed <a href="https://perconadev.atlassian.net/browse/PMM-15559" target="_blank" rel="noopener noreferrer">PMM-15559</a>: use rates for the TCP counters, and give open connections their own axis.</p>
<p>Mattia Simonato from the PMM team reproduced the problem on a test node and confirmed the numbers. On top of Bastian’s commit, he switched the counters from <code>irate()</code> to <code>rate()</code> to match the other panels on the dashboard, kept the original query for <code>established</code>, and added a release note. The PR merged on 11 November 2026.</p>
<p>Thank you, Bastian, and thanks for sticking with it.</p>
<h2>Get the fix</h2>
<p>The fix is in <a href="https://docs.percona.com/percona-monitoring-and-management/3/release-notes/3.11.0.html" target="_blank" rel="noopener noreferrer">PMM 3.11.0</a>, released on 26 November 2026. Upgrade PMM Server, and the <a href="https://docs.percona.com/percona-monitoring-and-management/3/reference/dashboards/dashboard-network-details.html" target="_blank" rel="noopener noreferrer"><strong>Netstat: TCP</strong></a> panel shows rates for all your nodes. You don’t need to change anything on PMM Client.</p>
<h2>Found a panel that looks wrong?</h2>
<p>If a PMM panel shows numbers that don’t make sense, you can:</p>
<ul>
<li>File a ticket in the <a href="https://perconadev.atlassian.net/jira/software/c/projects/PMM/issues" target="_blank" rel="noopener noreferrer">PMM Jira project</a> with the dashboard and panel name, and a screenshot. That alone is a useful contribution.</li>
<li>Fix it yourself, as Bastian did. Most PMM dashboards are JSON files in the <a href="https://github.com/percona/pmm/tree/main/dashboards" target="_blank" rel="noopener noreferrer"><code>dashboards/</code> directory of percona/pmm</a>. Send a PR with the Jira key in the title, and the team will help with the rest.</li>
<li>Ask on the <a href="https://forums.percona.com/" target="_blank" rel="noopener noreferrer">Percona Community Forum</a> if you’re not sure whether it’s a bug.</li>
</ul>
<p>Which PMM panel have you stopped trusting? Tell us, or better, open a ticket.</p>
<p><a href="https://percona.community/blog/2026/11/27/netstat-tcp-counters-rate/">Community Contribution Spotlight: Fixing the Netstat TCP Panel in PMM</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>A Practical Guide to Adding and Updating MySQL Replication Filters</title>
        <link>https://www.percona.com/blog/a-practical-guide-to-adding-and-updating-mysql-replication-filters/</link>
        <pubDate>Fri, 27 Nov 2026 04:11:52 +0000</pubDate>
        <dc:creator>Bhuvanes Waran</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/a-practical-guide-to-adding-and-updating-mysql-replication-filters/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>Managing MySQL replication filters in a live production environment doesn’t have to mean rebuilding your replicas from scratch. In this post, we’ll walk through how to safely exclude specific tables from replication and cleanly re-sync and add live tables back into the replication stream using mydumper and binlog coordinates, without ever touching the primary server. … Continued<br />
The post A Practical Guide to Adding and Updating MySQL Replication Filters appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/a-practical-guide-to-adding-and-updating-mysql-replication-filters/">A Practical Guide to Adding and Updating MySQL Replication Filters</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p><span>Managing MySQL replication filters in a live production environment doesn’t have to mean rebuilding your replicas from scratch. In this post, we’ll walk through how to safely exclude specific tables from replication and </span><span>cleanly re-sync and add live tables back into the</span> <span>replication stream using</span> <span>mydumper</span> <span>and binlog coordinates,</span><span> without ever touching the primary server.</span></p>
<h2><span>Why use replication filters?</span></h2>
<p><span>In MySQL, the primary-replica (formerly master-slave) architecture is the most widely used deployment pattern. Replication filters let you build replicas that hold only the data a team needs. Some teams need transaction data, others need analytics data, and a multi-source replica may combine data from several sources. Replicating less also reduces resource use.</span></p>
<p><span>Needs change over time, so you will often have to update a replica’s filters, either to stop replicating some tables or schemas, or to start replicating them again. </span></p>
<h2><span>Ignoring a table on the replica is a quick filter change</span></h2>
<p><span>Stopping replication for the tables/schemas is easy. Just stop the replication, add/update the tables/schemas in the replication filters, and start the replication. See the example below to stop replication for the table sbtest.sbtest3. </span></p>
<p><span>Example:</span></p>
<p><span>Replication status before adding the filters:</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">*************************** 1. row ***************************
             Replica_IO_State: Waiting for source to send event
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000023
          Read_Source_Log_Pos: 802000814
               Relay_Log_File: ip-172-31-88-61-relay-bin.000012
                Relay_Log_Pos: 285467877
        Relay_Source_Log_File: binlog.000022
           Replica_IO_Running: Yes
          Replica_SQL_Running: Yes
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: 
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 285467666
              Relay_Log_Space: 1875763218
              Until_Condition: None
               Until_Log_File: 
                Until_Log_Pos: 0
        Seconds_Behind_Source: 868
                Last_IO_Error: 
               Last_SQL_Error:</pre>
<p><span>Adding the table sbtest.sbtest3 to the replication filters:</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; STOP REPLICA;
Query OK, 0 rows affected (0.02 sec)
mysql&gt; CHANGE REPLICATION FILTER REPLICATE_IGNORE_TABLE = (sbtest.sbtest3);
Query OK, 0 rows affected (0.00 sec)
mysql&gt; START REPLICA;
Query OK, 0 rows affected (0.01 sec)
mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: Waiting for source to send event
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000023
          Read_Source_Log_Pos: 945759470
               Relay_Log_File: ip-172-31-88-61-relay-bin.000012
                Relay_Log_Pos: 342686043
        Relay_Source_Log_File: binlog.000022
           Replica_IO_Running: Yes
          Replica_SQL_Running: Yes
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: sbtest.sbtest3
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 342685832
              Relay_Log_Space: 2019522262
              Until_Condition: None
               Until_Log_File: 
                Until_Log_Pos: 0
        Seconds_Behind_Source: 914
                Last_IO_Error: 
               Last_SQL_Error:</pre>
</p>
<h2><span>Check that the table gets no more writes</span></h2>
<p><span>Hashing the same value three times means the table is no longer receiving writes from the primary.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; pager md5sum;
PAGER set to 'md5sum'
mysql&gt; select * from sbtest.sbtest3;
b3454182d67ebeb29a453cc18f5d50e6  -
100000 rows in set (0.38 sec)
mysql&gt; select * from sbtest.sbtest3;
b3454182d67ebeb29a453cc18f5d50e6  -
100000 rows in set (0.07 sec)
mysql&gt; select * from sbtest.sbtest3;
b3454182d67ebeb29a453cc18f5d50e6  -
100000 rows in set (0.07 sec)</pre>
</p>
<h2><span>Why restoring a dump isn’t enough for a live table?</span></h2>
<p><span>When the requirement is to add or update a table or database in the filters to replicate data from the primary to the replica, we need to work carefully; a small mistake can cause a replication error on the replica, and we may end up rebuilding it from scratch.</span></p>
<p><span>For this, we usually think that just taking a dump backup from the primary or another replica and restoring it on the replica may work. But this will not be enough for the live tables/databases. We also need to stop the replication and start replication with the correct file/position. The high-level plan for this task is below.</span></p>
<ol>
<li><span>Stop replication on the target replica where filters need to be added or updated.</span></li>
<li><span>Take a consistent mydumper backup from the primary or another suitable replica. Make sure to capture the primary’s binlog file and position corresponding to the backup snapshot.</span></li>
<li><span>Start replication on the  target replica until the binlog file  and position we got from mydumper</span></li>
<li><span>Restore the dump on the target replica</span></li>
<li><span>Add/update the replication filter on the target replica.</span></li>
<li><span>Start the replication</span></li>
</ol>
<p><span>Here is an example of how I added the table </span><i><span>sbtest.sbtest3  </span></i><span>back into the replication. </span></p>
<h3><span>Step 1: Stop replication cleanly on the target replica</span></h3>
<p><span>The target replica uses multi-threaded replication. START REPLICA UNTIL SQL_AFTER_MTS_GAPS lets the parallel applier threads fill any gaps, ensuring the replica’s position is consistent, after which the SQL thread stops automatically. With a single applier thread, you can skip this and run STOP REPLICA.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; STOP REPLICA;
Query OK, 0 rows affected (0.01 sec)
mysql&gt; START REPLICA UNTIL SQL_AFTER_MTS_GAPS;
Query OK, 0 rows affected (0.01 sec)
mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: Waiting for source to send event
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000026
          Read_Source_Log_Pos: 660328628
               Relay_Log_File: ip-172-31-88-61-relay-bin.000017
                Relay_Log_Pos: 212025835
        Relay_Source_Log_File: binlog.000023
           Replica_IO_Running: Yes
          Replica_SQL_Running: No
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: sbtest.sbtest3
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 904847198
              Relay_Log_Space: 3881619155
              Until_Condition: DONE
               Until_Log_File: 
                Until_Log_Pos: 0
        Seconds_Behind_Source: NULL</pre>
</p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; stop replica;
Query OK, 0 rows affected (0.01 sec)
mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: 
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000026
          Read_Source_Log_Pos: 665926304
               Relay_Log_File: ip-172-31-88-61-relay-bin.000017
                Relay_Log_Pos: 212025835
        Relay_Source_Log_File: binlog.000023
           Replica_IO_Running: No
          Replica_SQL_Running: No
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: sbtest.sbtest3
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 904847198
              Relay_Log_Space: 3887216831
              Until_Condition: DONE
               Until_Log_File: 
                Until_Log_Pos: 0
        Seconds_Behind_Source: NULL
                Last_IO_Error: 
               Last_SQL_Error:</pre>
</p>
<h3><span>Step 2: Take a mydumper backup from another replica</span></h3>
<p><span>Take a dump from another replica using </span><span>mydumper</span><span> with the </span><span>–replica-data</span><span> option to capture the primary’s binlog file and position. This allows you to avoid touching the primary.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">root@ip-172-31-88-61:/home/ubuntu# mydumper --host=172.31.94.154 -u root -p Percona@1234  --tables-list=sbtest.sbtest3 --trx-tables --threads=4 --outputdir=/tmp/mydump_export --replica-data
** (mydumper:13763): WARNING **: 07:03:16.178: Using --trx-tables options, binlog coordinates will not be accurate if you are writing to non transactional tables.
root@ip-172-31-88-61:/home/ubuntu# echo $?
0
root@ip-172-31-88-61:/home/ubuntu# ls -lrth /tmp/mydump_export
total 19M
-rw-r----- 1 root root  405 Oct 31 07:03 sbtest-schema-create.sql
-rw-r----- 1 root root  548 Oct 31 07:03 sbtest.sbtest3-schema.sql
-rw-r----- 1 root root 4.8M Oct 31 07:03 sbtest.sbtest3.00002.sql
-rw-r----- 1 root root 4.8M Oct 31 07:03 sbtest.sbtest3.00000.sql
-rw-r----- 1 root root 5.4M Oct 31 07:03 sbtest.sbtest3.00001.sql
-rw-r----- 1 root root 4.2M Oct 31 07:03 sbtest.sbtest3.00003.sql
-rw-r--r-- 1 root root 2.6K Oct 31 07:03 metadata
root@ip-172-31-88-61:/home/ubuntu#</pre>
<p><span>The </span><span>metadata</span><span> file records where the primary’s binary log was when the dump was taken. We need that position for the next step, to stop the target replica at the same point.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">root@ip-172-31-88-61:/home/ubuntu# cat /tmp/mydump_export/metadata
# Started dump at: 2026-10-31 07:03:16
[config]
quote-character = BACKTICK
[myloader_session_variables]
SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ONLY_FULL_GROUP_BY,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' /*!40101
[source]
# Channel_Name = '' # It can be use to setup replication FOR CHANNEL
# SOURCE_LOG_FILE = "ip-172-31-94-154-bin.000006"
# SOURCE_LOG_POS = 655712715
[replication]
SOURCE_LOG_FILE = "binlog.000024"
SOURCE_LOG_POS = 950744300
#SOURCE_AUTO_POSITION = {0|1}
# Replica_IO_State = 'Waiting for source to send event'
# Source_Host = '172.31.92.195'
# Source_User = 'repl_user'
# Source_Port = 3306
# Connect_Retry = 60</pre>
</p>
<h3><span>Step 3: Start replication until the dump’s position</span></h3>
<p><span>Get the primary binlog and position from the metadata file, start replication until the primary binlog and position match, and wait a while for it to sync with the file and position.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: 
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000026
          Read_Source_Log_Pos: 665926304
               Relay_Log_File: ip-172-31-88-61-relay-bin.000017
                Relay_Log_Pos: 212025835
        Relay_Source_Log_File: binlog.000023
           Replica_IO_Running: No
          Replica_SQL_Running: No
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: sbtest.sbtest3
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 904847198
              Relay_Log_Space: 3887216831
              Until_Condition: DONE
               Until_Log_File: 
                Until_Log_Pos: 0
        Seconds_Behind_Source: NULL
                Last_IO_Error: 
               Last_SQL_Error: 

mysql&gt; START REPLICA UNTIL SOURCE_LOG_FILE='binlog.000024', SOURCE_LOG_POS=950744300;
Query OK, 0 rows affected, 1 warning (0.01 sec)

mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: Waiting for source to send event
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000026
          Read_Source_Log_Pos: 722233290
               Relay_Log_File: ip-172-31-88-61-relay-bin.000017
                Relay_Log_Pos: 213572791
        Relay_Source_Log_File: binlog.000023
           Replica_IO_Running: Yes
          Replica_SQL_Running: Yes
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: sbtest.sbtest3
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 906394154
              Relay_Log_Space: 3943524205
              Until_Condition: Source
               Until_Log_File: binlog.000024
                Until_Log_Pos: 950744300
        Seconds_Behind_Source: 2986
                Last_IO_Error: 
               Last_SQL_Error:</pre>
<p><span>After some time, the SQL thread stopped once it reached the file and position</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: Waiting for source to send event
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000030
          Read_Source_Log_Pos: 964722776
               Relay_Log_File: ip-172-31-88-61-relay-bin.000020
                Relay_Log_Pos: 950744511
        Relay_Source_Log_File: binlog.000024
           Replica_IO_Running: Yes
          Replica_SQL_Running: No
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: sbtest.sbtest3
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 950744300
              Relay_Log_Space: 7407279616
              Until_Condition: Source
               Until_Log_File: binlog.000024
                Until_Log_Pos: 950744300
        Seconds_Behind_Source: NULL
                Last_IO_Error: 
               Last_SQL_Error:</pre>
</p>
<h3><span>Step 4: Restore the dump on the target replica</span></h3>
<p><span>Restore the dump to the target replica where we need to update the filters. </span><span>The replication</span> <span>SQL</span> <span>thread is paused at the dump’s position, so the restore won’t conflict with any changes the replica is</span> <span>applying.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">root@ip-172-31-88-61:/home/ubuntu# myloader --database=sbtest --directory=/tmp/mydump_export --threads=4 -o --queries-per-transaction=5000 -u root -p Percona@1234
root@ip-172-31-88-61:/home/ubuntu# echo $?
0
root@ip-172-31-88-61:/home/ubuntu#</pre>
</p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: Waiting for source to send event
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000031
          Read_Source_Log_Pos: 384516500
               Relay_Log_File: ip-172-31-88-61-relay-bin.000020
                Relay_Log_Pos: 950744511
        Relay_Source_Log_File: binlog.000024
           Replica_IO_Running: Yes
          Replica_SQL_Running: No
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: sbtest.sbtest3
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 950744300
              Relay_Log_Space: 7900841683
              Until_Condition: Source
               Until_Log_File: binlog.000024
                Until_Log_Pos: 950744300
        Seconds_Behind_Source: NULL
                Last_IO_Error: 
               Last_SQL_Error:</pre>
</p>
<h3><span>Step 5: Remove the table from the filter</span></h3>
<p><span>Remove the replication filter so it defaults to replicating all the data from the primary. </span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; stop replica;
Query OK, 0 rows affected (0.01 sec)
mysql&gt; CHANGE REPLICATION FILTER REPLICATE_IGNORE_TABLE = ();
Query OK, 0 rows affected (0.00 sec)
mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: 
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000031
          Read_Source_Log_Pos: 391339868
               Relay_Log_File: ip-172-31-88-61-relay-bin.000020
                Relay_Log_Pos: 950744511
        Relay_Source_Log_File: binlog.000024
           Replica_IO_Running: No
          Replica_SQL_Running: No
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: 
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 950744300
              Relay_Log_Space: 7907665051
              Until_Condition: Source
               Until_Log_File: binlog.000024
                Until_Log_Pos: 950744300
        Seconds_Behind_Source: NULL
                Last_IO_Error: 
               Last_SQL_Error:</pre>
<p><span>In this example, there is a single table to remove, so I used empty braces. If multiple tables are added to the replication filter, you may need to remove the specific table while keeping the others.</span></p>
<p><span>Example:</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">CHANGE REPLICATION FILTER REPLICATE_IGNORE_TABLE = (myschema.table1, myschema.table2, myschema.table3);</pre>
</p>
<h3><span>Step 6: Start replication</span></h3>
</p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; start replica;
Query OK, 0 rows affected (0.03 sec)
mysql&gt; show replica statusG
*************************** 1. row ***************************
             Replica_IO_State: Waiting for source to send event
                  Source_Host: 172.31.92.195
                  Source_User: repl_user
                  Source_Port: 3306
              Source_Log_File: binlog.000031
          Read_Source_Log_Pos: 416723216
               Relay_Log_File: ip-172-31-88-61-relay-bin.000020
                Relay_Log_Pos: 953071929
        Relay_Source_Log_File: binlog.000024
           Replica_IO_Running: Yes
          Replica_SQL_Running: Yes
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: 
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Error: 
          Exec_Source_Log_Pos: 953071718
              Relay_Log_Space: 7933048787
              Until_Condition: None
               Until_Log_File: 
                Until_Log_Pos: 0
        Seconds_Behind_Source: 3756
                Last_IO_Error: 
               Last_SQL_Error:</pre>
<p><span>Verify that the table is receiving writes from the primary and that there are no replication errors. You can also use pt-table-checksum to verify the data consistency.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; pager md5sum;
PAGER set to 'md5sum'
mysql&gt; select * from sbtest.sbtest3;
42b34b3393caab1ad5c897e3dd51452d  -
100000 rows in set (0.08 sec)
mysql&gt; select * from sbtest.sbtest3;
9db2089cf1c0db893d36a9714f213364  -
100000 rows in set (0.06 sec)
mysql&gt; select * from sbtest.sbtest3;
15614dd6f04015a19b8df8c0bff69031  -
100000 rows in set (0.07 sec)
mysql&gt; show replica statusG
af2a62818210a0ca679f3b29d3eb0832  -
1 row in set (0.00 sec)</pre>
<p><span>Please note the replication status output above is trimmed to make the blog post short.</span></p>
<h2>Conclusion</h2>
<p><span>This structured approach ensures data consistency while minimising maintenance overhead. I hope the above example gives ideas for how to play with replication filters and helps update MySQL replication in live production without ever touching the primary. </span><span>Using the above approach, you can add/update multiple tables or schemas in the replication filters. </span><span> Please comment if you have any questions/comments.</span></p>
<p>The post <a href="https://www.percona.com/blog/a-practical-guide-to-adding-and-updating-mysql-replication-filters/">A Practical Guide to Adding and Updating MySQL Replication Filters</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/a-practical-guide-to-adding-and-updating-mysql-replication-filters/">A Practical Guide to Adding and Updating MySQL Replication Filters</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Grand Team Assemble: Percona Meet-up at Phuket</title>
        <link>https://www.percona.com/blog/grand-team-assemble-percona-meet-up-at-phuket/</link>
        <pubDate>Thu, 26 Nov 2026 16:20:19 +0000</pubDate>
        <dc:creator>Kedar Vaijanapurkar</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/grand-team-assemble-percona-meet-up-at-phuket/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>On November 19, half the planet was staring at a progress bar, waiting for 212 GB of Vice City to download. GTA VI went on to do $3.79 billion on day one. Biggest entertainment launch ever. A few weeks earlier, a different crew had already loaded into its own open world. No controllers. Just laptops, … Continued<br />
The post Grand Team Assemble: Percona Meet-up at Phuket appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/grand-team-assemble-percona-meet-up-at-phuket/">Grand Team Assemble: Percona Meet-up at Phuket</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p><span>On November 19, half the planet was staring at a progress bar, waiting for 212 GB of Vice City to download. GTA VI went on to do $3.79 billion on day one. Biggest entertainment launch ever.</span></p>
<p><span>A few weeks earlier, a different crew had already loaded into its own open world. No controllers. Just laptops, sunscre</span>Hello @here,</p>
<p>We’ve received the following alert:</p>
<p><span>We’re reviewing this.Hello @here,<br />
We’ve received the following alert:<br />
We’re reviewing this.</span><span>en and a lot of people saying, “Oh, </span><i><span>you’re the</span></i><span> Special K! I know you from the ticket queue.”</span></p>
<p><span>That was Percona’s EMEA and APAC teams meeting in Phuket, Thailand.</span></p>
<p><span>I was highly excited to meet some of my colleagues in person after years of Slack and Zoom. And there they were, real, in flesh and blood. One of them, we had worked together for 12 years, and this was the first time we had actually met.</span></p>
<p><span>I am going to share my mission log. Grab a coconut (or any beverage of choice).</span></p>
<h2 class="wp-block-heading">Why a remote-only company flies everyone across the map</h2>
<p>Percona is <a href="https://percona.com/about">remote-only</a> and spread across 50+ countries. On a normal day my teammates are a timezone, a Slack status and occasionally a failed football team logo on camera.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-large wp-image-56633" src="https://www.percona.com/wp-content/uploads/2026/11/02-map-grand-team-assemble-1024x576.jpg" alt="" width="1024" height="576"></p>
<p><span>That works well for databases but doesn’t do so well for humans. I am going to leak our CEO’s internal email (with approvals) as I think it is important to share Percona value and to complete the answer.</span></p>
<p><span>“We are a truly global team dealing with different cultures and a lot of non-native English speakers (</span><i><span>even if my own speling and grammer has have had been always impecabel</span></i><span>).”</span></p>
<p><span>“Percona has always pushed for face to face meetings because they make everyday work easier. It gives us a chance to sync up and create memories together. Sometimes it’s the first time we actually meet.”</span></p>
<p><span>You won’t believe how much I relate to this being remote for 14+ years… and the line that stuck with me most:</span></p>
<p><span>“When we trust each other, we can move much faster.”</span></p>
<p><span>As a DBA, during a production incident, you don’t have time to wonder whether the person on the other end of the call has your back. Text and emojis don’t share emotions but when you know your colleague well, it’s all a different game.</span></p>
<p><span>BTW this isn’t new for us at Percona. This goes back in blog records in 2007, the whole company met in</span><a href="https://www.percona.com/blog/back-from-company-meeting-in-hurghada-egypt/"> <span>Hurghada, Egypt</span></a><span>. Back then Peter Zaitsev wrote that because we are a completely distributed team, meetings are very important for us. Nearly twenty years later, in the year Percona</span><a href="https://www.percona.com/blog/percona-at-20-why-our-open-source-services-led-model-still-works/"> <span>turned 20</span></a><span>, the team is many times bigger and the reason is the same. Thus we do it in chunks and groups to ensure the customer services are not affected and yet we can improve the team connections.</span></p>
<h2 class="wp-block-heading">Main missions: the talks</h2>
<p><span>Between the team syncs and internal planning, we ran sessions for each other. No outside speakers, just colleagues teaching colleagues. Here are the main missions.</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-large wp-image-56844" src="https://www.percona.com/wp-content/uploads/2026/11/session-gta-screens-1024x768.png" alt="" width="1024" height="768"></p>
<h3><b>Mission 1: “The art of customer warfare” (Peter Sylvester)</b></h3>
<p><span>We Perconians wage war on the issues that affect our customers. This session gave us guidelines and best practices from Peter’s services  experience. How to handle hard escalations, read what the customer actually needs, and stay on their side when things go wrong. We at Percona put customer first and this talk is the “customer first” idea in its rawest form.</span></p>
<h3><b>Mission 2: “Percona Community: what we do and how you can join” (Daniil Bazhenov)</b></h3>
<p><span>This is the part of Percona I’d explain to anyone who asks what we’re about. Our software is open source: no features locked behind an “enterprise” edition, no lock-in, and we work “with” the upstream projects instead of around them. Daniil showed community programs, blog/forum contributions, Percona universities / meet-ups we arrange and how we help the community to grow with us. The message: you don’t need to be an employee to be part of the crew. Come say hi on the</span><a href="https://forums.percona.com/"> <span>Percona Community Forum</span></a><span>.</span></p>
<h3><b>Mission 3: “PDS demo and feedback session” (Andrey Glazkov)</b></h3>
<p><span>Think of the</span><a href="https://pds.percona.com/"> <span>Percona Database Service</span></a><span> as the safehouse: the front door where customers come in for managed services. Andrey demoed PDS and its capabilities. We did what Perconians do best: gave honest, unfiltered feedback in the interest of the customers and community. You’re invited to try it. It is, have-no-doubt, open source.</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-large wp-image-56635" src="https://www.percona.com/wp-content/uploads/2026/11/04-pds-demo-1024x768.jpg" alt="" width="1024" height="768"></p>
<h3><b>Mission 4 &amp; 5: “MCP for PMM + AI in Managed Services” (Adamo Tonete) + </b><b><br />
</b><b>“AI-assisted troubleshooting with PMM/Sixta” (Alok Pathak)</b></h3>
<p><span>These two belong together. Adamo showed how to wire PMM to AI assistants through MCP so you can ask your monitoring questions in plain language. Alok showed how Sixta pulls PMM metrics into a troubleshooting flow to ease the DBA workload. My takeaway: AI isn’t replacing the DBA. It’s a weapon upgrade. Same player, better gear, fewer 3 AM rabbit holes, faster customer service.</span></p>
<p><span>We also heard stellar presentations from Ananias, Jobin, and other colleagues, but now it’s time to explore the side quests.</span></p>
<p> </p>
<h2 class="wp-block-heading">Meet-up Side Quests</h2>
<h3 class="wp-block-heading">1. The Mini-Olympics</h3>
<p><span>Every open world needs side quests. Ours was the Mini-Olympics, where people who normally argue about </span><span>innodb_buffer_pool_size</span><span> got to argue about tug-of-war rules instead.</span></p>
<p><span>We had 4 teams formed from EMEA, APAC &amp; other timezones from different technologies, who had rarely worked together came together to win. That’s the “trust each other, move faster” line from the CEO’s email, running in real time.</span></p>
<p><img decoding="async" loading="lazy" class="alignnone size-large wp-image-56636" src="https://www.percona.com/wp-content/uploads/2026/11/05-mini-olympics-teams-1024x773.jpg" alt="" width="1024" height="773"></p>
<figure class="wp-block-image size-large"><figcaption class="wp-element-caption"><em>“Four teams, four wins. The only thing that got WASTED in Phuket: vendor lock-in.”</em></figcaption></figure>
<p>Well, I almost broke my foot during the football event, but thanks to the care and love from my team-mates I was saved from amputation.</p>
<h3 class="wp-block-heading">2. Team Gym and Indoor Games</h3>
<p><span>Remember GTA San Andreas, where every trip to the gym nudged that little “Muscle” bar a bit higher? Remote work does wonders for uptime, but it doesn’t tell you much about your colleagues’ fitness stats. So, in Phuket, we decided to level up the old-fashioned way: together. What started as a casual conversation over drinks somehow led us to the gym, where we found ourselves sharing fitness journeys, routines and experiences.</span></p>
<p><span>For some of us, the hotel gym became a regular stop. We compared reps instead of replication lag, exchanged techniques, and got inspired by colleagues who “hate themselves at the gym”. We also found table-tennis champions and chess prodigies among us.</span></p>
<p><span>None of this was on the agenda, and that’s precisely the point of Percona in-person meet-ups. Nobody was asking who works on MySQL, PostgreSQL or MongoDB. It was simply a bunch of Perconians getting to know each other beyond their job titles, finding out who has the meanest backhand and who should never be trusted with the bishops.</span></p>
<p><img decoding="async" loading="lazy" class="alignnone size-large wp-image-56637" src="https://www.percona.com/wp-content/uploads/2026/11/06-gym-and-indoor-games-1024x1003.jpg" alt="" width="1024" height="1003"></p>
<p><strong>Mission Passed. Respect +100.</strong></p>
<p> </p>
<h2 class="wp-block-heading">Health restore: the food</h2>
<p><span>In GTA, you eat to refill your health bar. In Phuket, we must have refilled ours at least six times a day, maybe more. Who was keeping count anyway! Breakfast, coffee breaks, lunch, another coffee break, the pool bar, dinner, late-night drinks at the shack… you name it, we had it!</span></p>
<p><span>Food also turned out to be the best icebreaker. Put a Canadian, an Indian and a Pole in front of the same plate of spicy som tam and you’ll learn a lot about each other’s spice tolerance and childhood food. Not much about MySQL, though.</span></p>
<p><span>And the hospitality? The people in Phuket were so courteous and generous when offering food that saying no simply wasn’t an option. </span><b>Khob khun khrap, Thailand.</b></p>
<p><img decoding="async" loading="lazy" class="alignnone size-large wp-image-56638" src="https://www.percona.com/wp-content/uploads/2026/11/07-food-1024x1024.jpg" alt="" width="1024" height="1024"></p>
<p> </p>
<h2 class="wp-block-heading">Open world: Marriott, Phuket</h2>
<p>GTA VI has Leonida: beaches, neon and sunsets that look photoshopped. Phuket said, “Hold my coconut.”</p>
<p><img decoding="async" loading="lazy" class="alignnone size-large wp-image-56639" src="https://www.percona.com/wp-content/uploads/2026/11/08-open-world-phuket-1024x1003.jpg" alt="" width="1024" height="1003"></p>
<p><span>The location for the Percona APAC / EMEA meetup was </span><span><span>Phuket Marriott Resort &amp; Spa</span></span><span><span> at Merlin Beach</span>. The place is beautiful and some of our colleagues visited the places around Phuket after office hours. Some of them stayed back after the meetup to explore the beauty of Phuket. That said, at the resort the best conversations didn’t happen in the meeting room. They happened on the pool-bar, beach side shack or on the lawns. That’s when you find out that the MySQL expert is a great cook, dumb charades champion or that your on-call buddy once worked at an airport!</span></p>
<p> </p>
<h2 class="wp-block-heading">Cheat codes I’m bringing home</h2>
<p>Here are the cheat-codes I picked up in Phuket. Unlike the game, these work in production.</p>
<figure class="wp-block-table">
<table>
<thead>
<tr>
<th>Cheat code</th>
<th>What it unlocks</th>
<th>Percona value</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>TEAMTRUST</code></td>
<td>Meet in person once and the next hundred Slack threads go smoother</td>
<td>Get Stuff Done</td>
</tr>
<tr>
<td><code>NOLOCKIN</code></td>
<td>Open source with no paywalled “enterprise” features, so customers stay because they want to, not because they have to</td>
<td>Quality + Value</td>
</tr>
<tr>
<td><code>CUSTOMER1ST</code></td>
<td>Customer &gt; Percona &gt; Team &gt; Me. Even at a beach resort, someone was handling alerts.</td>
<td>Customer &gt; Percona &gt; Team &gt; Me</td>
</tr>
<tr>
<td><code>BETTERWAY</code></td>
<td>AI, MCP, PMM and Sixta: same DBA, better tools</td>
<td>Find A Better Way</td>
</tr>
<tr>
<td><code>OPENSOURCE</code></td>
<td>Fix it for everyone, not just for us</td>
<td>Open source commitment</td>
</tr>
</tbody>
</table>
</figure>
<p>The last one is the one I’d underline. Percona’s <a href="https://percona.com/about">about page</a> is blunt about it: <strong>we believe in open source</strong>, full stop. Sitting in a room with the people who live that every day, on tickets, in forum answers and in upstream bug reports, made it feel less like a slogan and more like Percona crew’s shared code.</p>
<h2 class="wp-block-heading">Conclusion: Mission Passed</h2>
<p>Percona has been live since 2006: a remote-only company across <a href="https://percona.com/about">more than 50 countries</a> that still believes the fastest way to build trust is to look each other in the eye. Phuket wasn’t a break from the work. It <em>was</em> the work.</p>
<p><img decoding="async" loading="lazy" class="alignnone size-large wp-image-56846" src="https://www.percona.com/wp-content/uploads/2026/11/percona-phuket-the-way-is-open-gta-1024x665.jpg" alt="" width="1024" height="665"></p>
<p><span>The CEO called it “the true Percona spirit, maybe in a different format, but with the personal touch and some of the weirdness we are known for.” I can confirm the weirdness.</span></p>
<p><b>That’s the Percona way.</b><span> Open source. No lock-in. No features hidden behind an “enterprise” paywall. Open code, open doors and open conversations, even the uncomfortable ones. We don’t keep customers by trapping them. We keep them by being the team they would choose anyway. The trust we built on that beach now goes straight into every ticket, every incident response, every forum answer and every customer call. Our bond as a team grew stronger, ready to embrace the AI era and help customer in the transformation, push boundaries, and take our services to the next level.</span></p>
<p><span>If that sounds like your kind of crew,</span><a href="https://www.percona.com/careers/"> <span>Percona is hiring</span></a><span> and the</span><a href="https://percona.community/"> <span>community</span></a><span> is always open. </span><b>The way is open.</b></p>
<p><span>As for me, I’m heading home with a camera roll full of sand-sea-skies, one nearly broken foot, Percona goodies, resort souvenir and something far better: great memories of smart brains who are now good friends.</span></p>
<p><strong>Mission Passed. Respect +∞.</strong></p>
<p> </p>
<p>The post <a href="https://www.percona.com/blog/grand-team-assemble-percona-meet-up-at-phuket/">Grand Team Assemble: Percona Meet-up at Phuket</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/grand-team-assemble-percona-meet-up-at-phuket/">Grand Team Assemble: Percona Meet-up at Phuket</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>archive.mariadb.org is for history, not for production</title>
        <link>https://mariadb.org/archive-mariadb-org-is-for-history-not-for-production/</link>
        <pubDate>Wed, 25 Nov 2026 13:51:56 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/archive-mariadb-org-is-for-history-not-for-production/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>archive.mariadb.org is overloaded. Keep it for End-of-Life releases and pull supported MariaDB Server versions from mirror.mariadb.org instead.<br />
archive.mariadb.org is for history, not for production appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/archive-mariadb-org-is-for-history-not-for-production/">archive.mariadb.org is for history, not for production</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>archive.mariadb.org is overloaded. Keep it for End-of-Life releases and pull supported MariaDB Server versions from mirror.mariadb.org instead.</p>
<p><a href="https://mariadb.org/archive-mariadb-org-is-for-history-not-for-production/">archive.mariadb.org is for history, not for production</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/archive-mariadb-org-is-for-history-not-for-production/">archive.mariadb.org is for history, not for production</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Your Cloud Backup Won’t Save You: Independent MariaDB Backups with Databasus</title>
        <link>https://mariadb.org/your-cloud-backup-wont-save-you-independent-mariadb-backups-with-databasus/</link>
        <pubDate>Wed, 25 Nov 2026 08:22:22 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/your-cloud-backup-wont-save-you-independent-mariadb-backups-with-databasus/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Your cloud provider has backups. Your provider can also go dark for hours, lock your account by mistake, or lose a whole region. When that happens, the backups go dark with it. That is why we recently added Databasus to MariaDB EcoHub. Databasus is an open source tool for scheduled MariaDB backups to S3 and […]<br />
Your Cloud Backup Won’t Save You: Independent MariaDB Backups with Databasus appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/your-cloud-backup-wont-save-you-independent-mariadb-backups-with-databasus/">Your Cloud Backup Won’t Save You: Independent MariaDB Backups with Databasus</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Your cloud provider has backups. Your provider can also go dark for hours, lock your account by mistake, or lose a whole region. When that happens, the backups go dark with it. That is why we recently added Databasus to MariaDB EcoHub. Databasus is an open source tool for scheduled MariaDB backups to S3 and […]</p>
<p><a href="https://mariadb.org/your-cloud-backup-wont-save-you-independent-mariadb-backups-with-databasus/">Your Cloud Backup Won’t Save You: Independent MariaDB Backups with Databasus</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/your-cloud-backup-wont-save-you-independent-mariadb-backups-with-databasus/">Your Cloud Backup Won’t Save You: Independent MariaDB Backups with Databasus</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>GooshCloud Builds Sovereign DBaaS on ClusterControl and FishOS</title>
        <link>https://severalnines.com/blog/gooshcloud-builds-sovereign-dbaas-on-clustercontrol-and-fishos/</link>
        <pubDate>Wed, 25 Nov 2026 08:00:00 +0000</pubDate>
        <dc:creator>Kyle Buzzell</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/gooshcloud-builds-sovereign-dbaas-on-clustercontrol-and-fishos/</guid>
        <source url="https://severalnines.com/">Severalnines</source>
        <description><![CDATA[<p>Dutch cloud provider extends its existing Ansible and WHMCS automation with Severalnines’ ClusterControl, running on Sardina Systems’ FishOS, to deliver managed MySQL, PostgreSQL and Valkey from European data centers. AMSTERDAM and STOCKHOLM, 25 November 2026 — GooshCloud has integrated Severalnines’ ClusterControl into its managed database service on Sardina Systems’ FishOS cloud platform. The Dutch provider […]<br />
The post GooshCloud Builds Sovereign DBaaS on ClusterControl and FishOS appeared first on Severalnines.</p>
<p><a href="https://severalnines.com/blog/gooshcloud-builds-sovereign-dbaas-on-clustercontrol-and-fishos/">GooshCloud Builds Sovereign DBaaS on ClusterControl and FishOS</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p><strong>Dutch cloud provider extends its existing Ansible and WHMCS automation with Severalnines’ ClusterControl, running on Sardina Systems’ FishOS, to deliver managed MySQL, PostgreSQL and Valkey from European data centers.</strong></p>
<p>AMSTERDAM and STOCKHOLM, 25 November 2026 — GooshCloud has integrated Severalnines’ ClusterControl into its managed database service on Sardina Systems’ FishOS cloud platform. The Dutch provider now delivers Galera MySQL, PostgreSQL and Valkey clusters from European data centers, with full database lifecycle operations handled by ClusterControl while GooshCloud retains control of the platform, data and customer relationship.</p>
<h2 class="wp-block-heading">Sovereignty as control, not just location</h2>
<p>For GooshCloud’s customers, sovereignty is a question of control rather than geography alone. European hosting settles where data sits. It does not settle who operates the service, whether the databases can be moved, or what happens when a provider changes its commercial terms. GooshCloud’s managed database service is built so the provider runs the platform itself, on open-source database engines its customers can take elsewhere, with an operating model those customers can inspect.</p>
<blockquote class="wp-acf-block-quote ">
<p>We built our cloud on open-source because portability is a promise you can only keep with technology a customer can take elsewhere. ClusterControl lets us deliver that promise for databases,  under our ISO 27001-certified management system, with the operational maturity customers expect from a fully managed European service.</p>
<p>					<cite>Bas Scholte in &#8216;t Hoff, CEO, GooshCloud</cite>
			</p></blockquote>
<p>European organizations are re-examining what they run and where. Gartner forecasts that European spending on sovereign cloud infrastructure as a service (IaaS) will rise 83 percent in 2026, from $6.9 billion in 2025 to $12.6 billion, identifying governments as the main buyers globally, followed by regulated industries and critical infrastructure organizations.</p>
<p>Regulation points the same way. The EU Data Act has obliged providers to support customer switching since September 2025, and from 12 January 2027 switching charges are prohibited outright. The European Commission’s proposed Cloud and AI Development Act, published in June 2026, would introduce a graded sovereignty assessment into public-sector cloud procurement.</p>
<p>What this changes for providers is the value of portability. A service assembled from open, replaceable components is not merely cheaper to leave, it becomes something to sell. GooshCloud’s customers can see what they are running and move it if they choose, which is the argument the company now takes to buyers who treat their data infrastructure as a competitive advantage rather than as plumbing.</p>
<p>GooshCloud originally ran its database service on an in-house Ansible setup. That approach carried the service through its early years, but as the customer base grew and workloads became more demanding, maintaining bespoke automation across the database layer of a widening estate became the limit on how quickly the service could grow. ClusterControl now takes over the database operations that Ansible previously handled, while Ansible remains in place for server provisioning and WHMCS for service management.</p>
<h2 class="wp-block-heading">A database operations layer, not a replacement platform</h2>
<p>ClusterControl was implemented as a focused database operations layer inside GooshCloud’s existing service platform, rather than as a new platform to migrate onto. GooshCloud’s continuing use of Ansible and WHMCS shaped the requirement: the company needed something lightweight and API-accessible that fit alongside its existing provisioning and service-management workflows.</p>
<p>ClusterControl handles full database lifecycle operations — deployment, monitoring, backup, recovery, failover and scaling — covering the Day 2 work behind a managed database service. The implementation covers Galera-based MySQL, PostgreSQL, and Valkey clusters.</p>
<blockquote class="wp-acf-block-quote ">
<p>Sovereignty should not mean having to build and maintain every layer of the data stack yourself. That is the trade-off pushing providers towards hyperscaler dependency: either you own everything, or you give up control. GooshCloud has shown there is a third option — keep the platform and the customer relationship, and bring in specialized automation for the layer where it earns its place.</p>
<p>					<cite>Vinay Joosery, CEO and co-founder, Severalnines</cite>
			</p></blockquote>
<h2 class="wp-block-heading">Three layers, open at the core, all under the provider’s control</h2>
<p>GooshCloud operates an OpenStack-based cloud managed with FishOS across Europe, with teams in the Netherlands and Portugal. FishOS, a cloud management platform by Sardina Systems, provides the cloud foundation for GooshCloud. ClusterControl provides the database automation. GooshCloud operates the service for its customers.</p>
<p>OpenStack and open-source database engines provide the foundation for the service, supporting portability as GooshCloud’s platform evolves. A customer can take its databases elsewhere; GooshCloud can evolve its platform without renegotiating with a hyperscaler.</p>
<p>GooshCloud operates its platform under an ISO 27001-certified information security management system, with GDPR compliance and NIS2 readiness forming part of its security and governance approach.</p>
<blockquote class="wp-acf-block-quote ">
<p>European providers need two things at once: control over their infrastructure and data, and operations that stay predictable as the business grows. An open-source foundation gives them the first. FishOS delivers the second, automating the operations, monitoring, and upgrades of the cloud, just as ClusterControl does for databases. We expect more European providers to follow GooshCloud on this practical path to sovereign infrastructure.</p>
<p>					<cite>Kenneth Tan, Executive Director, Sardina Systems</cite>
			</p></blockquote>
<h2 class="wp-block-heading">Availability</h2>
<p>GooshCloud’s managed database services are available now from its European regions at <a href="https://www.gooshcloud.com/managed-databases">https://www.gooshcloud.com/managed-databases</a>.</p>
<p>The post <a href="https://severalnines.com/blog/gooshcloud-builds-sovereign-dbaas-on-clustercontrol-and-fishos/">GooshCloud Builds Sovereign DBaaS on ClusterControl and FishOS</a> appeared first on <a href="https://severalnines.com/">Severalnines</a>.</p>
<p><a href="https://severalnines.com/blog/gooshcloud-builds-sovereign-dbaas-on-clustercontrol-and-fishos/">GooshCloud Builds Sovereign DBaaS on ClusterControl and FishOS</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>KubeCon NA 2026: The Percona Goat at Booth 242</title>
        <link>https://percona.community/blog/2026/11/25/kubecon-na-2026-the-percona-goat-at-booth-242/</link>
        <pubDate>Wed, 25 Nov 2026 00:00:00 +0000</pubDate>
        <dc:creator>Source Author</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/kubecon-na-2026-the-percona-goat-at-booth-242/</guid>
        <source url="https://percona.community/blog/">Percona Community Blog - learn about MySQL, MariaDB, PostgreSQL, and MongoDB</source>
        <description><![CDATA[<p>Just got home from KubeCon + CloudNativeCon North America 2026 in Salt Lake City, and what a week it was! At Percona, everything we do starts with our community and our users, and KubeCon is one of the best places to meet them in person. If you walked past booth 242, you couldn’t miss us: a crew in neon yellow shirts, a life-size mountain goat in a Percona scarf, and a banner promising “Making databases on Kubernetes boring since 2018.”</p>
<p><a href="https://percona.community/blog/2026/11/25/kubecon-na-2026-the-percona-goat-at-booth-242/">KubeCon NA 2026: The Percona Goat at Booth 242</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Just got home from KubeCon + CloudNativeCon North America 2026 in Salt Lake City, and what a week it was! At Percona, everything we do starts with our community and our users, and KubeCon is one of the best places to meet them in person. If you walked past booth 242, you couldn’t miss us: a crew in neon yellow shirts, a life-size mountain goat in a Percona scarf, and a banner promising “Making databases on Kubernetes boring since 2018.”</p>
<p>Here’s how the week went, in the order the camera roll tells it.</p>
<h2>Monday: setup, and the goat arrives</h2>
<p>The hall was still half cardboard when we got in on Monday. Before the monitors were up or the shirts unpacked, the most important piece of booth equipment came out of its box: a life-size mountain goat, the unofficial mascot of a KubeCon in Utah.</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-goat-setup_hu_9f29984a04c31daa.webp" alt="The mountain goat unboxed at the Percona booth during setup" loading="lazy"></figure>
<p><em>Setup day. Priorities.</em></p>
<p>He’d spend the rest of the week wearing a Percona scarf and making friends across the expo floor.</p>
<p>That evening Kate Obiidykhata gave the first Percona talk of the week, a lightning talk at LearnKube Day.</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-kate-learnkube_hu_ab0de6bd104d8ab0.webp" alt="Kate Obiidykhata speaking at LearnKube Day" loading="lazy"></figure>
</p>
<h2>Tuesday: doors open</h2>
<p>Tuesday morning the welcome banner was up, badge pickup had a queue, and the expo hall opened.</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-welcome_hu_448cfc0e451a2a90.webp" alt="KubeCon + CloudNativeCon North America 2026 welcome banner" loading="lazy"></figure>
</p>
<p>We were in the neon yellow Percona shirts, which made us easy to find and impossible to miss in photos.</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-booth-shirts_hu_65a25fbfdb03dac4.webp" alt="The Percona team in neon yellow shirts at booth 242" loading="lazy"></figure>
</p>
<p>Nothing makes us happier than contributors to our open source operators coming by to say hi.</p>
<p>At the booth we ran “Databases on K8s. Solved live.”, a set of live demos built together with <a href="https://solanica.io/" target="_blank" rel="noopener noreferrer">Solanica</a> and <a href="https://coroot.com/" target="_blank" rel="noopener noreferrer">Coroot</a>. Short animations showed what the Percona Operators do for you, from multi-region replication and volume resizing to a PostgreSQL 17 to 18 blue/green upgrade, snapshot backups and encryption with a single <code>kubectl apply</code>. Then the live part: Percona Monitoring and Management staying healthy through a node loss, Coroot tracing a failing service back to its Postgres and Valkey dependencies, and <a href="https://openeverest.io/" target="_blank" rel="noopener noreferrer">OpenEverest</a> running PostgreSQL, MySQL and Valkey side by side in one UI.</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-demos_hu_1bd88212550ae25e.webp" alt="Live demo screens at the Percona booth" loading="lazy"></figure>
<p><em>The booth demos, guarded by the “kubectl delete stress –all” hoodie.</em></p>
<p>Later that afternoon I gave a lightning talk, Closing the Gap Between Ready and Usable in a DBaaS Platform, at the booth of the <a href="https://cloudnativeplatforms.com/" target="_blank" rel="noopener noreferrer">CNCF Platform Engineering Technical Community Group</a>. Thanks to the community for hosting the lightning talks! The slides are <a href="https://github.com/gkech/presentations/tree/main/kubecon-na-2026-ready-vs-usable-slides" target="_blank" rel="noopener noreferrer">on GitHub</a>.</p>
<p><figure><img decoding="async" width="1600" height="1200" src="https://percona.community/blog/2026/11/kubecon-na-2026-lightning-talk_hu_c9285e7afb7044e7.webp" alt="George Kechagias giving a lightning talk at the Platform Engineering booth" loading="lazy"></figure>
<p><em>Ready is a promise the platform makes. Lightning talk at the Platform Engineering booth.</em></p>
<p>Tuesday evening Valkey and Percona hosted After Hours Drinks and Networking at Lake Effect. The cocktail list had a Thor and an Odin on it, which tells you someone on the events team had fun with the menu.</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-cocktail-menu_hu_3fc02ba968e4e0af.webp" alt="Cocktail menu for the Valkey and Percona after-hours event" loading="lazy"></figure>
</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-after-hours_hu_821c8e8688e172ba.webp" alt="Attendees talking at the after-hours event at Lake Effect" loading="lazy"></figure>
</p>
<h2>Wednesday: breakfast with Percona and Valkey</h2>
<p>Wednesday started early with Breakfast with Percona &amp; Valkey. Round tables, coffee, and people who actually run these systems comparing notes before the hall opened.</p>
<p><figure><img decoding="async" width="1600" height="900" src="https://percona.community/blog/2026/11/kubecon-na-2026-breakfast-screen_hu_7911915bbcebc8ca.webp" alt="Breakfast with Percona and Valkey welcome screen" loading="lazy"></figure>
</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-breakfast-tables_hu_b8906d289fc48b40.webp" alt="Attendees at round tables during the breakfast" loading="lazy"></figure>
</p>
<p>Back on the floor, the goat went visiting. He found SUSE’s Geeko and they got along fine.</p>
<p><figure><img decoding="async" width="1200" height="1600" src="https://percona.community/blog/2026/11/kubecon-na-2026-goat-geeko_hu_2075bb6bcaedf83.webp" alt="The Percona goat meeting SUSE’s Geeko" loading="lazy"></figure>
</p>
<p>By lunch the whole crew was at the booth for a photo, goat included, plus the sign that summed up a lot of our conversations: “GitOps runs my databases now.”</p>
<p><figure><img decoding="async" width="1600" height="1200" src="https://percona.community/blog/2026/11/kubecon-na-2026-team-photo_hu_b0009850f1c78f7a.webp" alt="The Percona team with the goat at booth 242" loading="lazy"></figure>
</p>
<h2>The conversations</h2>
<p>There’s nothing like chatting with our users in person and hearing their feedback firsthand. A lot of people stopped by with their own setups and real questions, and we got to dig into them together right there at the booth. Some were already running our operators, some were in the middle of a proof of concept, and some were just starting to think about moving their databases to Kubernetes. Every team’s path with their databases looks different, and wherever they are on it, we at Percona are here to help them get the best out of their databases.</p>
<p>Setting up and running Postgres on Kubernetes came up in almost every conversation, with MongoDB and Valkey close behind. We also talked about what’s new in Kubernetes itself, like in-place pod resize and volume snapshots, and how databases running on it can make use of them. And we got to share recent and upcoming developments in the Percona Operators, and to hear our users’ suggestions for what we should build next. Those ideas are already on their way to the team, so if you shared one with us, keep an eye on our <a href="https://github.com/percona/roadmap" target="_blank" rel="noopener noreferrer">public roadmap</a>. Or better yet, contribute to the operators yourself by opening a GitHub issue or sending a PR.</p>
<h2>Thursday: last day</h2>
<p>We packed up booth 242 with one last team photo.</p>
<p><figure><img decoding="async" width="1600" height="1200" src="https://percona.community/blog/2026/11/kubecon-na-2026-last-day_hu_ed7220fe0de85205.webp" alt="The Percona team’s last photo at booth 242" loading="lazy"></figure>
</p>
<p>I feel so lucky to be part of the amazing Cloud Native team at Percona, building open source database software for our users. A big thank you to the Percona Community team, especially Laura Czajkowski and Kyle Flanagan, for making the week happen.</p>
<p>Thanks also to everyone who stopped by, asked us something hard, took a hoodie, or got their passport stamped. If we promised you a follow-up, it’s coming. And if you didn’t make it to Salt Lake City, the operators are all on GitHub: <a href="https://github.com/percona/percona-postgresql-operator" target="_blank" rel="noopener noreferrer">PostgreSQL</a>, <a href="https://github.com/percona/percona-server-mongodb-operator" target="_blank" rel="noopener noreferrer">MongoDB</a>, <a href="https://github.com/percona/percona-xtradb-cluster-operator" target="_blank" rel="noopener noreferrer">MySQL based on Percona XtraDB Cluster</a> and <a href="https://github.com/percona/percona-server-mysql-operator" target="_blank" rel="noopener noreferrer">MySQL based on Percona Server for MySQL</a>.</p>
<p><a href="https://percona.community/blog/2026/11/25/kubecon-na-2026-the-percona-goat-at-booth-242/">KubeCon NA 2026: The Percona Goat at Booth 242</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Building a MariaDB Performance History Library with Hetzner Sponsorship and TAF</title>
        <link>https://mariadb.org/building-a-mariadb-performance-history-library-with-hetzner-sponsorship-and-taf/</link>
        <pubDate>Tue, 24 Nov 2026 22:36:15 +0000</pubDate>
        <dc:creator>Jonathan Miller</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/building-a-mariadb-performance-history-library-with-hetzner-sponsorship-and-taf/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Performance testing becomes much more useful when the infrastructure used for one investigation helps with the next one. Over time, the benchmark host I use for TAF has accumulated a large library of MariaDB installations covering years of releases. The library was not created specifically for one performance investigation. It has grown as different test […]<br />
Building a MariaDB Performance History Library with Hetzner Sponsorship and TAF appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/building-a-mariadb-performance-history-library-with-hetzner-sponsorship-and-taf/">Building a MariaDB Performance History Library with Hetzner Sponsorship and TAF</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Performance testing becomes much more useful when the infrastructure used for one investigation helps with the next one. Over time, the benchmark host I use for TAF has accumulated a large library of MariaDB installations covering years of releases. The library was not created specifically for one performance investigation. It has grown as different test […]</p>
<p><a href="https://mariadb.org/building-a-mariadb-performance-history-library-with-hetzner-sponsorship-and-taf/">Building a MariaDB Performance History Library with Hetzner Sponsorship and TAF</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/building-a-mariadb-performance-history-library-with-hetzner-sponsorship-and-taf/">Building a MariaDB Performance History Library with Hetzner Sponsorship and TAF</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Hypernode and MariaDB Foundation collaborate on MariaDB migration enablement for Magento and Adobe Commerce</title>
        <link>https://mariadb.org/hypernode-and-mariadb-foundation-collaborate-on-mariadb-migration-enablement-for-magento-and-adobe-commerce/</link>
        <pubDate>Tue, 24 Nov 2026 20:03:14 +0000</pubDate>
        <dc:creator>Anna Widenius</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/hypernode-and-mariadb-foundation-collaborate-on-mariadb-migration-enablement-for-magento-and-adobe-commerce/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Hypernode and MariaDB Foundation are joining forces to make the move from MySQL to MariaDB easier for Magento and Adobe Commerce users. As the Adobe Commerce and Magento Open Source ecosystem moves toward MariaDB, merchants, agencies and hosting providers need a clear and practical migration path. The collaboration between Hypernode and MariaDB Foundation will focus […]<br />
Hypernode and MariaDB Foundation collaborate on MariaDB migration enablement for Magento and Adobe Commerce appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/hypernode-and-mariadb-foundation-collaborate-on-mariadb-migration-enablement-for-magento-and-adobe-commerce/">Hypernode and MariaDB Foundation collaborate on MariaDB migration enablement for Magento and Adobe Commerce</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Hypernode and MariaDB Foundation are joining forces to make the move from MySQL to MariaDB easier for Magento and Adobe Commerce users. As the Adobe Commerce and Magento Open Source ecosystem moves toward MariaDB, merchants, agencies and hosting providers need a clear and practical migration path. The collaboration between Hypernode and MariaDB Foundation will focus […]</p>
<p><a href="https://mariadb.org/hypernode-and-mariadb-foundation-collaborate-on-mariadb-migration-enablement-for-magento-and-adobe-commerce/">Hypernode and MariaDB Foundation collaborate on MariaDB migration enablement for Magento and Adobe Commerce</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/hypernode-and-mariadb-foundation-collaborate-on-mariadb-migration-enablement-for-magento-and-adobe-commerce/">Hypernode and MariaDB Foundation collaborate on MariaDB migration enablement for Magento and Adobe Commerce</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Percona Database Service Is Now Open Source</title>
        <link>https://www.percona.com/blog/percona-database-service-open-source/</link>
        <pubDate>Tue, 24 Nov 2026 19:03:50 +0000</pubDate>
        <dc:creator>Andrey Glazkov</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/percona-database-service-is-now-open-source/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>We have some exciting news to share: Percona Database Service (PDS) is now open source! The source code is available on GitHub under the Apache 2.0 license, and we’ve also launched a redesigned PDS website to make it easier to explore and get started. When we first introduced PDS, our goal was simple: make deploying … Continued<br />
The post Percona Database Service Is Now Open Source appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/percona-database-service-open-source/">Percona Database Service Is Now Open Source</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>We have some exciting news to share: <strong>Percona Database Service (PDS) is now open source!</strong> The source code is available on <a href="https://github.com/percona/pds" target="_blank" rel="noopener">GitHub</a> under the Apache 2.0 license, and we’ve also launched a redesigned <a href="https://pds.percona.com/" target="_blank" rel="noopener">PDS website</a> to make it easier to explore and get started.</p>
<p>When we first introduced PDS, our goal was simple: make deploying and managing open source databases easier without requiring users to give up control of their infrastructure or data.</p>
<p>Now we’re taking the next step by opening the project to the community.</p>
<h2>What’s new?</h2>
<h3>PDS is available on GitHub</h3>
<p>You can now explore the source code, experiment with the platform, suggest improvements, and contribute to its development.</p>
<p>PDS is built on <a href="https://openeverest.io/" target="_blank" rel="noopener">OpenEverest</a> and Percona’s database operators. It provides a control plane for managing MySQL and PostgreSQL databases running on Kubernetes, with capabilities including:</p>
<ul>
<li>Database provisioning using predefined Dev, Staging, and Production profiles</li>
<li>Scaling, backups, and restores</li>
<li>Database monitoring with Percona Monitoring and Management (PMM)</li>
<li>Private and controlled public database access</li>
<li>Integration with Percona Support</li>
</ul>
<p>You can also run PDS locally using Docker and kind, without provisioning an AWS environment. The repository includes instructions for setting up a local development environment.</p>
<h3>A new home for PDS</h3>
<p>We’ve redesigned <a href="https://pds.percona.com/" target="_blank" rel="noopener">pds.percona.com</a> to make it easier to discover what PDS can do, explore its capabilities, and start working with the platform.</p>
<h3>Database management meets AI agents</h3>
<p>We’re also exploring how database operations can become part of AI-assisted development workflows.</p>
<p>PDS provides an MCP (Model Context Protocol) interface and integrations for tools such as Claude Code and Cursor. These allow AI agents to interact with PDS to provision databases, inspect their status, and perform supported management operations.</p>
<p>Agent access is governed by explicit permissions and user authorization, including controls over changes and destructive operations.</p>
<h2>Help us shape what’s next</h2>
<p>PDS remains an experimental project in alpha, and we’re actively exploring its direction.</p>
<p>We’re particularly interested in feedback from users. What works well? What’s missing? How could PDS fit into your development or operational workflows?</p>
<p>Making PDS open source is an important step toward answering these questions together with the community.</p>
<h3>Ready to explore?</h3>
<p>Visit <a href="https://pds.percona.com/" target="_blank" rel="noopener">pds.percona.com</a> to try PDS, or head to our <a href="https://github.com/percona/pds" target="_blank" rel="noopener">GitHub repository</a> to explore the code, run it locally, and contribute.</p>
<p>We’d love to hear what you think.</p>
<p>The post <a href="https://www.percona.com/blog/percona-database-service-open-source/">Percona Database Service Is Now Open Source</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/percona-database-service-open-source/">Percona Database Service Is Now Open Source</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Oracle’s November CSPU and Percona for MySQL</title>
        <link>https://www.percona.com/blog/oracle-november-2026-cspu-mysql/</link>
        <pubDate>Tue, 24 Nov 2026 17:44:08 +0000</pubDate>
        <dc:creator>Dennis Kittrell</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/oracles-november-cspu-and-percona-for-mysql/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>Oracle published its November 2026 CSPU (Critical Security Patch Update) on November 17, with 10 new security patches for MySQL. Three of them can be exploited over the network without authentication. Percona tracks every Oracle security release, and we’re already working on this one. Oracle published the MySQL 8.4 source code for these fixes on … Continued<br />
The post Oracle’s November CSPU and Percona for MySQL appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/oracle-november-2026-cspu-mysql/">Oracle’s November CSPU and Percona for MySQL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Oracle published its November 2026 CSPU (Critical Security Patch Update) on November 17, with 10 new security patches for MySQL. Three of them can be exploited over the network without authentication.</p>
<p>Percona tracks every Oracle security release, and we’re already working on this one. Oracle published the MySQL 8.4 source code for these fixes on November 24, and our engineering team has merged it and is testing the fixes now. Here’s what we know and what you can do.</p>
<h2>The three CVEs to look at first</h2>
<p>Most of the November 2026 CSPU fixes need an attacker who already has a MySQL account with privileges. These three do not, so start your risk review here. All details come from <a href="https://www.oracle.com/security-alerts/cspunov2026.html">Oracle’s November 2026 CSPU advisory</a>.</p>
<div>
<table>
<thead>
<tr>
<th>CVE</th>
<th>CVSS 3.1</th>
<th>Component</th>
<th>Protocol</th>
<th>Affected upstream versions</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://www.oracle.com/security-alerts/cspunov2026.html">CVE-2026-115557</a></td>
<td><strong>9.8</strong></td>
<td>MySQL Shell<br />
Core Client (Python)</td>
<td>HTTP</td>
<td>MySQL Shell 26.10.0</td>
</tr>
<tr>
<td><a href="https://www.oracle.com/security-alerts/cspunov2026.html">CVE-2026-114952</a></td>
<td><strong>9.1</strong></td>
<td>MySQL Server<br />
Client programs</td>
<td>MySQL Protocol</td>
<td>8.4.0 to 8.4.13<br />
9.7.0 to 9.7.4<br />
26.10</td>
</tr>
<tr>
<td><a href="https://www.oracle.com/security-alerts/cspunov2026.html">CVE-2026-92392</a></td>
<td><strong>8.1</strong></td>
<td>MySQL Server<br />
Packaging (curl)</td>
<td>HTTP/2</td>
<td>8.4.0 to 8.4.13<br />
9.7.0 to 9.7.4<br />
26.10</td>
</tr>
</tbody>
</table>
</div>
<p>The other seven MySQL CVEs score between 2.5 and 7.2. Five of them are in the server (Replication, Optimizer, Logging, and GIS) and require an authenticated user.</p>
<p>None of this is new territory. Oracle has published MySQL CVEs with the same scores and attack profile before. CVE-2026-115557 is similar to <a href="https://www.oracle.com/security-alerts/cpuapr2026.html#AppendixMSQL">CVE-2025-15467</a>, <a href="https://www.oracle.com/security-alerts/cpuoct2025.html#AppendixMSQL">CVE-2025-6965</a>, <a href="https://www.oracle.com/security-alerts/cspujun2026.html#AppendixMSQL">CVE-2026-46860</a>, and <a href="https://www.oracle.com/security-alerts/cpuoct2026.html#AppendixMSQL">CVE-2026-9547</a>, and CVE-2026-114952 is similar to <a href="https://www.oracle.com/security-alerts/cpujan2025.html#AppendixMSQL">CVE-2024-11053</a>. The next section covers where each fix stands for Percona Server for MySQL.</p>
<h2>Where the fixes stand in Percona Server for MySQL</h2>
<p>Percona Server for MySQL is built on Oracle’s upstream code, so we merge, test, and ship the fixes for each branch once Oracle releases its code. Oracle published the MySQL 8.4 code on November 24. Its 9.7 code isn’t out yet.</p>
<h3>MySQL Shell (CVE-2026-115557)</h3>
<p>This vulnerability is in the Python runtime that MySQL Shell bundles, not in the MySQL server. We’ve rebuilt the MySQL Shell packages we ship for Percona Server for MySQL 8.4 and 9.7 with a fixed Python, and they’re in testing now.</p>
<h3>curl (CVE-2026-92392)</h3>
<p>Oracle fixed this by upgrading the curl library it bundles with MySQL. Percona Server for MySQL packages use your operating system’s curl library instead of a bundled copy, so apply your OS vendor’s curl updates.</p>
<h3>Client programs (CVE-2026-114952) and the server CVEs</h3>
<p>The 8.4 fixes are in the code Oracle published, and we’ve merged them into Percona Server for MySQL 8.4 now. We’ll do the same for 9.7 once Oracle publishes that code.</p>
<h3>Releases</h3>
<p>The fixes will ship in Percona Server for MySQL and Percona XtraDB Cluster (PXC) 8.4.13-13 and 9.7.4-4 releases.</p>
<p>This is the same process we follow for every Oracle CPU and CSPU. Each quarterly CPU this year and the June CSPU included high-severity MySQL fixes, and we delivered each of them in Percona Server for MySQL releases once the upstream code was out.</p>
<h2>What you can do now</h2>
<p>These are standard hardening steps, and they match the general workarounds in Oracle’s advisory. If you already follow them, your exposure is lower. None of them replaces the patch. No configuration change is confirmed to mitigate these CVEs yet. None of them involve X Protocol, so turning off X Plugin (mysqlx=OFF) won’t help with this CSPU. We’re reviewing the code now and will share any config-level mitigation we find.</p>
<ol>
<li><strong>Restrict network access.</strong> Only known application hosts and admin networks should reach your MySQL ports. Block everything else at the firewall or security group.</li>
<li><strong>Tighten privileges.</strong> Most of these CVEs need an authenticated user. Remove accounts and grants nobody uses, especially broad admin and replication privileges.</li>
<li><strong>Update MySQL Shell and curl.</strong> Move to our rebuilt MySQL Shell packages once they’re released, and keep your operating system’s curl package current.</li>
<li><strong>Test before production.</strong> Network and privilege changes can break applications and replication. Try them in a non-production environment first.</li>
</ol>
<h2>Next steps</h2>
<p>Start with the three unauthenticated CVEs, lock down network access and privileges, and watch this post for release details. The 8.4 fixes are being merged into Percona Server for MySQL now, and 9.7 follows once Oracle publishes that code.</p>
<p>Need help assessing your exposure? Percona Expert Support for MySQL can review your configuration and plan the upgrade with you. If you’re already a Percona customer, reach out to your account team or open a support ticket. If not, <a href="https://www.percona.com/contact-us/">contact us</a>.</p>
<p>The post <a href="https://www.percona.com/blog/oracle-november-2026-cspu-mysql/">Oracle’s November CSPU and Percona for MySQL</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/oracle-november-2026-cspu-mysql/">Oracle’s November CSPU and Percona for MySQL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Meet Otaria: the MariaDB client that stops treating MariaDB like MySQL</title>
        <link>https://mariadb.org/meet-otaria-the-mariadb-client-that-stops-treating-mariadb-like-mysql/</link>
        <pubDate>Tue, 24 Nov 2026 17:39:45 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/meet-otaria-the-mariadb-client-that-stops-treating-mariadb-like-mysql/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Otaria is a free, open source desktop client that puts MariaDB features like time travel, binlog flashback, vectors and Galera right in the interface. Community contributor Mohamed Touhami Rhaima shows how it works.<br />
Meet Otaria: the MariaDB client that stops treating MariaDB like MySQL appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/meet-otaria-the-mariadb-client-that-stops-treating-mariadb-like-mysql/">Meet Otaria: the MariaDB client that stops treating MariaDB like MySQL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Otaria is a free, open source desktop client that puts MariaDB features like time travel, binlog flashback, vectors and Galera right in the interface. Community contributor Mohamed Touhami Rhaima shows how it works.</p>
<p><a href="https://mariadb.org/meet-otaria-the-mariadb-client-that-stops-treating-mariadb-like-mysql/">Meet Otaria: the MariaDB client that stops treating MariaDB like MySQL</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/meet-otaria-the-mariadb-client-that-stops-treating-mariadb-like-mysql/">Meet Otaria: the MariaDB client that stops treating MariaDB like MySQL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Why You Should Upgrade Your Software, and How to Do It</title>
        <link>https://mariadb.com/resources/blog/why-you-should-upgrade-your-software-and-how-to-do-it/</link>
        <pubDate>Tue, 24 Nov 2026 15:43:56 +0000</pubDate>
        <dc:creator>Hans van Dijk</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/why-you-should-upgrade-your-software-and-how-to-do-it/</guid>
        <source url="https://mariadb.com/">MariaDB</source>
        <description><![CDATA[<p>Updates do not only fix security issues. Most fixes in a maintenance release address crashes, replication problems, data consistency issues, and performance regressions found...</p>
<p><a href="https://mariadb.com/resources/blog/why-you-should-upgrade-your-software-and-how-to-do-it/">Why You Should Upgrade Your Software, and How to Do It</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>To stay relevant, software companies develop new features to help existing customers and attract new ones. Because new features can change the way customers work, vendors bundle them into a new release. Each release has a guaranteed lifespan, during which the vendor maintains it and fixes defects (bugs), including security issues. When that lifespan ends, the vendor stops publishing fixes for…</p>
<p><a href="https://mariadb.com/resources/blog/why-you-should-upgrade-your-software-and-how-to-do-it/" rel="nofollow">Source</a></p>
<p><a href="https://mariadb.com/resources/blog/why-you-should-upgrade-your-software-and-how-to-do-it/">Why You Should Upgrade Your Software, and How to Do It</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB Server 13.1 Is Now Stable, and 13.2 Reaches Release Candidate</title>
        <link>https://mariadb.org/mariadb-server-13-1-is-now-stable-and-13-2-reaches-release-candidate/</link>
        <pubDate>Tue, 24 Nov 2026 14:09:53 +0000</pubDate>
        <dc:creator>Frédéric Descamps</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadb-server-13-1-is-now-stable-and-13-2-reaches-release-candidate/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Two new releases, two major milestones! The MariaDB Foundation is pleased to announce the availability of MariaDB Server 13.1.2 (Stable) and MariaDB Server 13.2.1 (Release Candidate). MariaDB 13.1 has completed its journey from Preview to GA, and MariaDB 13.2 is now one step closer to becoming our next Stable rolling release. Both of the releases […]<br />
MariaDB Server 13.1 Is Now Stable, and 13.2 Reaches Release Candidate appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/mariadb-server-13-1-is-now-stable-and-13-2-reaches-release-candidate/">MariaDB Server 13.1 Is Now Stable, and 13.2 Reaches Release Candidate</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Two new releases, two major milestones! The MariaDB Foundation is pleased to announce the availability of MariaDB Server 13.1.2 (Stable) and MariaDB Server 13.2.1 (Release Candidate). MariaDB 13.1 has completed its journey from Preview to GA, and MariaDB 13.2 is now one step closer to becoming our next Stable rolling release. Both of the releases […]</p>
<p><a href="https://mariadb.org/mariadb-server-13-1-is-now-stable-and-13-2-reaches-release-candidate/">MariaDB Server 13.1 Is Now Stable, and 13.2 Reaches Release Candidate</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/mariadb-server-13-1-is-now-stable-and-13-2-reaches-release-candidate/">MariaDB Server 13.1 Is Now Stable, and 13.2 Reaches Release Candidate</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB Server CLA assistant HOWTO</title>
        <link>https://mariadb.org/mariadb-server-cla-assistant-howto/</link>
        <pubDate>Tue, 24 Nov 2026 12:12:56 +0000</pubDate>
        <dc:creator>Georgi Kodinov</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadb-server-cla-assistant-howto/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>If you have ever contributed code to the MariaDB server (by submitting a GitHub pull request) you’d probably have noticed this little BuildBot check: addressing this check is also by far the easiest way for me (your friendly preliminary reviewer) to verify that the pull request can be processed further. NOTE: The CLA Assistant is […]<br />
MariaDB Server CLA assistant HOWTO appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/mariadb-server-cla-assistant-howto/">MariaDB Server CLA assistant HOWTO</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>If you have ever contributed code to the MariaDB server (by submitting a GitHub pull request) you’d probably have noticed this little BuildBot check: addressing this check is also by far the easiest way for me (your friendly preliminary reviewer) to verify that the pull request can be processed further. NOTE: The CLA Assistant is […]</p>
<p><a href="https://mariadb.org/mariadb-server-cla-assistant-howto/">MariaDB Server CLA assistant HOWTO</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/mariadb-server-cla-assistant-howto/">MariaDB Server CLA assistant HOWTO</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Announcing MariaDB Community Server 13.1 GA</title>
        <link>https://mariadb.com/resources/blog/announcing-mariadb-community-server-13-1-ga/</link>
        <pubDate>Mon, 23 Nov 2026 17:06:24 +0000</pubDate>
        <dc:creator>Ralf Gebhardt</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/announcing-mariadb-community-server-13-1-ga/</guid>
        <source url="https://mariadb.com/">MariaDB</source>
        <description><![CDATA[<p>MariaDB Community Server 13.1.2 GA adds negative grants with DENY, JSON arrow operators and formatted JSON_TABLE columns, auto-extending partitions and […]</p>
<p><a href="https://mariadb.com/resources/blog/announcing-mariadb-community-server-13-1-ga/">Announcing MariaDB Community Server 13.1 GA</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>MariaDB Community Server 13.1.2 GA adds negative grants with , JSON arrow operators and formatted columns, auto-extending partitions and deeper package support for Oracle compatibility, broader observability through a new table and config validation, and per-table control over the InnoDB adaptive hash index. We are excited to announce the General Availability of MariaDB…</p>
<p><a href="https://mariadb.com/resources/blog/announcing-mariadb-community-server-13-1-ga/" rel="nofollow">Source</a></p>
<p><a href="https://mariadb.com/resources/blog/announcing-mariadb-community-server-13-1-ga/">Announcing MariaDB Community Server 13.1 GA</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Putting Sixta to the Test: AI-Assisted MySQL Troubleshooting with PMM</title>
        <link>https://www.percona.com/blog/putting-sixta-to-the-test-ai-assisted-mysql-troubleshooting-with-pmm/</link>
        <pubDate>Mon, 23 Nov 2026 14:51:49 +0000</pubDate>
        <dc:creator>Alok Pathak</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/putting-sixta-to-the-test-ai-assisted-mysql-troubleshooting-with-pmm/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>Sixta is an AI agent that investigates database problems the way a DBA would. We wanted to evaluate how effectively it could diagnose MySQL problems using only the monitoring data already available in Percona Monitoring and Management (PMM). To test this, we set up a Percona Server for MySQL 8.0 primary-replica environment monitored by PMM. … Continued<br />
The post Putting Sixta to the Test: AI-Assisted MySQL Troubleshooting with PMM appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/putting-sixta-to-the-test-ai-assisted-mysql-troubleshooting-with-pmm/">Putting Sixta to the Test: AI-Assisted MySQL Troubleshooting with PMM</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p><span><a href="https://www.sixta.ai/">Sixta</a> is an AI agent that investigates database problems the way a DBA would. We wanted to evaluate how effectively it could diagnose MySQL problems using only the monitoring data already available in <a href="https://www.percona.com/monitoring/">Percona Monitoring and Management (PMM)</a>.</span></p>
<p><span>To test this, we set up a Percona Server for MySQL 8.0 primary-replica environment monitored by PMM. We introduced several test scenarios, ranging from simulated database failures and performance issues to proactive health checks. For each scenario, we asked Sixta to investigate through Slack, relying exclusively on PMM metrics and monitoring data, without direct access to the database servers.</span></p>
<p><span>In this blog post, we share how Sixta works, the scenarios we tested, how it analyzed the available data, and the insights it provided. We also highlight where Sixta performed well, its limitations, and the situations where human DBA expertise remains essential.</span></p>
<h2><b>1. What is Sixta?</b></h2>
<p><span><a href="https://www.sixta.ai/">Sixta</a> is an AI-assisted database diagnostics layer. It reads the monitoring data a DBA would read, runs a structured investigation, and writes up what it found and what it concluded.</span></p>
<p><span>In our setup, Sixta worked alongside PMM. We asked it a question in Slack, and it investigated using PMM metrics, Query Analytics (QAN), and alerts, then replied with its findings.</span></p>
<h3><b>How it works</b></h3>
<p><span>Sixta runs as two processes on the PMM host. Nothing is installed on the database hosts, and Sixta never connects to them.</span></p>
<ul>
<li><b>sixta-mcp-tools</b><span> is a read-only tool server. It exposes bounded diagnostic reads of PMM, such as </span><span>pmm_get_query_analytics</span><span>, </span><span>pmm_query_metrics</span><span>, and </span><span>pmm_get_alerts</span><span>, over the Model Context Protocol (MCP). It reads PMM with a viewer-role token and holds no database credential.</span></li>
<li><b>sixta-backend</b><span> runs the investigation engine and keeps a causal memory of earlier investigations on each database.</span></li>
<li><b>sixta-relay</b><span> is a hosted bridge for two-way Slack messaging. This is how we asked Sixta questions.</span></li>
</ul>
<p><span>During an investigation, the model (Claude, through Anthropic’s API by default) calls the diagnostic tools it needs and reads Sixta’s memory of earlier investigations on that database. It then produces a conclusion in a fixed shape: what happened, the likely cause, the evidence, the severity, and whether action is needed. Each investigation has a ten-minute budget.</span></p>
<h2><b>2. How did we test it?</b></h2>
<p><span>We used a dedicated three-server test environment with the following setup:</span></p>
<ul>
<li><strong>Monitor server:</strong> Hosted Percona Monitoring and Management (PMM), with the Sixta Agent installed and connected to PMM using a dedicated service account.</li>
<li><strong>db1 (Primary):</strong> Ran Percona Server for MySQL 8.0 and served as the primary database instance.</li>
<li><strong>db2 (Replica):</strong> Ran Percona Server for MySQL 8.0 and replicated data from db1.</li>
<li><strong>Server specifications:</strong> Both database servers were provisioned with 2 CPU cores and 4 GB of RAM, using a basic MySQL configuration.</li>
</ul>
<p><span>Sixta could see only what PMM collects. It could not run SQL against the databases, read MySQL error logs, or log in to the hosts.  We integrated Sixta into Slack and asked it questions in plain English by tagging </span><strong>@sixta</strong><span>, the same way you would ask a colleague. This tells us how far the agent can get with PMM data alone.</span></p>
<p><span>We introduced controlled problems: extra workload, configuration changes, schema changes, an uncommitted transaction, direct changes on the replica, and a restart into read-only mode. For each one, we prompted Sixta to find the cause and recommend a fix, then compared its answer with what we had actually done. </span></p>
<h2><b>3. What problems did we create?</b></h2>
<p><span>We ran five scenarios:</span></p>
<table border="1" cellspacing="0" cellpadding="8">
<tbody>
<tr>
<td><span><b>#</b></span></td>
<td><span><b>What we did</b></span></td>
<td><span><b>How it showed up</b></span></td>
</tr>
<tr>
<td><span>1</span></td>
<td><span>Ran a sysbench read/write workload with 8 threads on db1</span></td>
<td><span>Threads_Running spike</span></td>
</tr>
<tr>
<td><span>2</span></td>
<td><span>Changed innodb_flush_log_at_trx_commit from 2 to 1 and sync_binlog from 1000 to 1 on db1</span></td>
<td><span>Throughput fell from about 6,000 to 4,000 QPS</span></td>
</tr>
<tr>
<td><span>3</span></td>
<td><span>Dropped the primary key of sbtest1 on the replica</span></td>
<td><span>Replication lag</span></td>
</tr>
<tr>
<td><span>4</span></td>
<td><span>Opened a transaction on db1, ran a query, and did not commit</span></td>
<td><span>InnoDB history list length increase</span></td>
</tr>
<tr>
<td><span>5</span></td>
<td><span>Set read_only=1 in my.cnf on db1 and restarted MySQL</span></td>
<td><span>Application writes failed with error 1290</span></td>
</tr>
</tbody>
</table>
<h3></h3>
<h3><b>Scenario 1: Threads_running spike</b></h3>
<p><span><b>What we did:</b><span> Ran a sysbench read/write workload with 8 threads on db1.</span></span></p>
<p><span><b>How it showed up:</b><span> Threads_Running spike alert on db1</span></span></p>
<p><span><b>Sixta’s response:</b></span></p>
<blockquote>
<p><em><span>This is a load test, not an organic problem. At 18:37 UTC a sysbench-style benchmark started on db1: QPS jumped from ∼7/s to ∼5,500-6,000/s, connections doubled from 2 to 10, and threads_running went from a baseline of 1-2 to 9-10. QAN for that window is dominated by the classic sysbench query patterns against sbtest1–sbtest10 (∼30k executions each of </span><span>SELECT c FROM sbtestN WHERE id BETWEEN ? AND ? ORDER BY c</span><span> in 20 minutes). </span></em></p>
<p><em><span>The alert fires when avg threads_running per CPU exceeds 3; the firing value is 3.5, so on this small box even a modest benchmark trips it. The queries themselves are healthy (sub-millisecond, ∼200 rows examined per 100 returned).</span></em></p>
<p><em><span>Fix options: stop the benchmark if it’s not supposed to be running, or if it’s intentional, either lower the sysbench thread count or silence/suppress this rule for db1 while the test runs. Nothing is wrong with the database itself.</span></em></p>
</blockquote>
<p><span><b>Our analysis:</b> </span></p>
<p><span><span>Sixta identified the benchmark workload by analyzing query patterns in PMM Query Analytics (QAN). It supported its findings by correlating the workload with changes in QPS, database connections, and running threads observed around 18:37 UTC.</span></span></p>
<p><span>Sixta also explained why the alert was triggered. Since the alert threshold is normalized by CPU count, even a benchmark running with a relatively small number of threads can exceed the threshold on a server with limited CPU resources.</span></p>
<p><span>Sixta’s recommended actions were also appropriate: stop the benchmark, reduce the number of benchmark threads, or temporarily silence the alert during planned load testing.</span></p>
<p> </p>
<h3><b>Scenario 2: Throughput drop after a configuration change</b></h3>
<p><span><b>What we did:</b><span> Changed </span><span>innodb_flush_log_at_trx_commit</span><span> from 2 to 1 and </span><span>sync_binlog</span><span> from 1000 to 1 on db1.</span></span></p>
<p><span> <b>How it showed up:</b><span> Throughput dropped from about 6,000 to 4,000 QPS.</span></span></p>
<p><span> <b>Sixta’s response:</b></span></p>
<blockquote>
<p><em><span>This is a durability config change, not a query problem. At 19:00 UTC on db1-mysql, innodb_flush_log_at_trx_commit was changed from 2 → 1 and sync_binlog from 1000 → 1 (both visible in the exporter’s variable metrics). That makes MySQL fsync the redo log and binlog on every commit instead of batching. The effect is unambiguous: InnoDB fsyncs jumped from ∼10/s to ∼500/s at exactly 19:00, iowait rose while user CPU actually dropped (the server has spare CPU but commits are now stalling on disk flushes), and QPS fell from ∼6k to ∼3.7–4k at the same minute.</span></em></p>
<p><em><span>To restore throughput, revert to:</span></em></p>
<pre class="urvanov-syntax-highlighter-plain-tag">SET GLOBAL innodb_flush_log_at_trx_commit = 2; 
SET GLOBAL sync_binlog = 1000; (both dynamic, no restart)</pre>
<p><em><span>The trade-off: the current settings are the fully durable ones — reverting means up to ∼1s of committed transactions could be lost on a crash. On this sysbench test box that’s presumably fine; if you need full durability and higher throughput, the fix is faster fsync (better disk) or binlog group-commit tuning rather than query changes.</span></em></p>
</blockquote>
<p><span> <b>Our analysis:</b> </span></p>
<p><span><span>It found both variable changes at the exact minute throughput fell, and confirmed the mechanism with three independent signals: fsyncs up from about 10 to 500 per second, iowait up, and user CPU down. That combination shows the server was waiting on disk flushes, not short of CPU.</span></span></p>
<p><span>The fix came with the right trade-off. Sixta did not simply recommend reverting; it stated the data-loss risk of doing so and named the alternatives if full durability must stay.</span></p>
<h3><b>Scenario 3: Replica lag after dropping a primary key on the replica</b></h3>
<p><span> <b>What we did:</b><span> We dropped the primary key from the </span><span>sbtest1</span><span> table directly on the replica to simulate a scenario where the absence of a primary key can slow down row-based replication. Without a primary key, MySQL may need to scan more rows to locate records for UPDATE and DELETE operations, potentially causing replication lag. We then asked Sixta to investigate the increasing lag, identify the underlying cause.</span></span></p>
<p><span> <b>How it showed up:</b><span> Replication lag started increasing after the primary key was dropped, indicating that the replica was struggling to keep up with changes from the primary.</span></span></p>
<p><span> <b>Sixta’s response:</b></span></p>
<blockquote>
<p><em><span>Replica is falling behind, lag is now ∼220s, growing ∼60s/min (i.e. near-zero effective apply). The cause is in db2’s QAN: someone ran </span><span>ALTER TABLE sbtest1 MODIFY id INTEGER NOT NULL, DROP PRIMARY KEY</span><span> directly on the replica at ∼19:15 ( it did NOT run on the primary). With no primary key on the replica’s copy of sbtest1, row-based replication must full-scan the table for every replicated row change — rows read are pegged at ∼400k/s with a CPU core burning, and apply collapsed from ∼300 to ∼7 trx/s. </span></em></p>
<p><em><span>Fix — restore the key on the replica:</span></em></p>
<pre class="urvanov-syntax-highlighter-plain-tag">ALTER TABLE sbtest.sbtest1 MODIFY id INT NOT NULL AUTO_INCREMENT, ADD PRIMARY KEY (id);</pre>
<p><em><span>The ALTER will take a minute or two (table rebuild behind the stalled applier), then apply should jump back to full speed and burn down the backlog. Worth finding out who’s running DDL on this replica.</span></em></p>
</blockquote>
<p><span><b>Our analysis:</b> </span></p>
<p><span><span>It found the real cause of the lag in the replica’s QAN, confirmed the DDL had run only on the replica, and explained the mechanism: without a primary key, every replicated row change becomes a full table scan. Rows read at about 400,000 per second and apply falling from about 300 to 7 transactions per second backed that up. The fix was precise and included the expected rebuild time.</span></span></p>
<h3><b>Scenario 4: InnoDB history list length growing</b></h3>
<p><span> <b>What we did:</b><span> Opened a transaction on db1, ran a query and left it uncommitted.</span></span></p>
<p><span> <b>How it showed up:</b><span> InnoDB history list length kept rising on the primary.</span></span></p>
<p><span> <b>Sixta’s response:</b></span></p>
<blockquote>
<p><em><span>Confirmed — history list length on db1 was near zero all day, ran at a healthy 50–300 after the sysbench-style read/write workload on the sbtest* tables started at 18:37 UTC, then went into runaway growth at ∼19:30 UTC: 215 → 10,884 → 27,357 → 41,196 in three minutes, still climbing ∼14k/min.</span></em></p>
<p><em><span>The write rate is what rules out “just heavy load”: updates held steady at ∼550–600/s and commits at ∼280–300/s across the transition, and connections stayed flat at 10. Undo generation didn’t change — purge stopped reclaiming. That pattern is almost always a long-running transaction (or a stale read view, e.g. an idle session that ran BEGIN and never committed) opened right around 19:30 that pins the oldest read view, so InnoDB can’t purge any undo created after it.</span></em></p>
<p><em><span>I only have PMM access to this host, so I can’t see information_schema.INNODB_TRX directly. To find and fix it, run on the primary:</span></em></p>
<pre class="urvanov-syntax-highlighter-plain-tag">SELECT trx_id, trx_started, trx_mysql_thread_id, trx_rows_modified, trx_query FROM information_schema.INNODB_TRX ORDER BY trx_started LIMIT 5;</pre>
<p><em><span>Expect one transaction started ∼19:30 UTC. If it’s abandoned (Sleep state, no query), KILL that thread id or have the owner commit/rollback — HLL should drain back down within minutes once released. If left alone, undo will keep accumulating (disk growth in the undo tablespace, and progressively slower reads as queries wade through old row versions).</span></em></p>
<p><em><span>Purge-lag tunables (innodb_purge_threads, innodb_max_purge_lag) aren’t the fix here — purge isn’t slow, it’s blocked.</span></em></p>
</blockquote>
<p><span> <b>Our analysis:</b> </span></p>
<p><span><span>Sixta could not see the open transaction itself, yet it reached the right conclusion by ruling out the alternative. A steady write rate and flat connections meant undo generation had not changed, so the growth had to come from purge being blocked. That pointed to exactly what we had done: a transaction left open around 19:30.</span></span></p>
<p><span>It was also clear about its limits. It said PMM-only access could not show </span><span>INNODB_TRX</span><span>, gave the query to find the session, and explained how to resolve it safely.</span></p>
<h3><b>Scenario 5: Application writes rejected by a read-only primary</b></h3>
<p><span> <b>What we did:</b><span> Set </span><span>read_only=1</span><span> on db1 and restarted MySQL.</span></span></p>
<p><span> <b>How it showed up:</b><span> The application failed with error 1290: “The MySQL server is running with the –read-only option so it cannot execute this statement” for </span><span>UPDATE sbtest1 SET k=k+1 WHERE id=50342</span><span>.</span></span></p>
<p><span> <b>Sixta’s response:</b></span></p>
<blockquote>
<p><em><span>Found it — the error is coming from the primary (db1) itself, which is now read-only. Its mysqld restarted at ∼20:01 UTC (uptime counter reset from 13 days to 50s), and it came back up with read_only=ON at 20:02 — the app’s UPDATEs against sbtest1 started failing with error 1290 at that point. The MySQLPrimaryReadOnly alert went pending at 20:02:30 confirming this. The restart freed ∼1.7 GB of memory on the host; whether it was a crash/OOM kill or a deliberate restart I can’t tell from metrics alone — worth checking the mysqld error log and journalctl on db1.</span></em></p>
<p><em><span>Suggested path: confirm nobody is mid-switchover, then re-enable writes on db1 (</span><span>SET GLOBAL super_read_only=0; SET GLOBAL read_only=0;</span><span>) and check whether read-only was recently added to db1’s my.cnf — if it was, that’s why the restart flipped it and it’ll recur on the next restart. […]</span></em></p>
</blockquote>
<p><span> <b>Our analysis:</b> </span></p>
<p><span><span>Sixta went from an application error message to the cause in one step. It linked three signals on the primary: the uptime reset at about 20:01, </span><span>read_only</span><span> turning on at 20:02, and the primary-read-only alert. It was honest that metrics alone could not show whether the restart was deliberate or a crash, and pointed to the error log and </span><span>journalctl</span><span>.</span></span></p>
<p><span>Its suggested path matched what we had done. It recommended checking </span><span>my.cnf</span><span> for a recently added read-only setting, which matches how we set up this scenario, and warned it would recur on the next restart. It also noticed that both nodes were now read-only, so no node in the pair could accept writes.</span></p>
<h2><b>5. What worked well?</b></h2>
<p><span>These are the strengths we saw most often.</span></p>
<ul>
<li><b>It built timelines from evidence.</b><span> Answers named the minute something changed and the metrics that moved with it: fsync rates, history list length, buffer pool data, rows read. That made each claim easy to check against PMM.</span></li>
<li><b>It combined metrics, configuration, QAN, and alerts.</b><span> The throughput drop was traced through variable metrics, the replica lag through a DDL statement in QAN, and the read-only error through an uptime reset plus a variable change plus an alert.</span></li>
<li><b>It ruled out alternatives, not just confirmed a guess.</b><span> It used a steady write rate to show history list length growth was blocked purge, not heavy load. </span></li>
<li><b>It remembered earlier findings and kept issues apart.</b><span> Sixta remembered findings from previous investigations  and referenced them in subsequent responses without confusing the two issues.</span></li>
<li><b>Its fixes came with trade-offs.</b><span> Reverting durability settings was paired with the data-loss risk; relaxing durability on the replica was paired with the cost of a rebuild after a replica crash.</span></li>
<li><b>It was fast.</b><span> Sixta returned these findings within minutes. </span></li>
</ul>
<h2><b>6. Where did it struggle?</b></h2>
<p><span>Sixta’s main limitation was visibility: it could see only what PMM collects. Some details needed to confirm a cause required direct database or operating system checks.</span></p>
<p><span>In our tests, these included:</span></p>
<ul>
<li><span>The specific blocking transaction behind the history list length growth.</span></li>
<li><span>Whether a restart was deliberate or a crash.</span></li>
</ul>
<p><span>In each of these cases Sixta asked for the right check. But it could not close the investigation by itself.</span></p>
<h2><b>7. How should DBAs use something like this?</b></h2>
<p><span>Based on our tests, treat an agent like Sixta as a fast first investigator, not as the final word.</span></p>
<ol>
<li><b>Use it for the first pass on an alert.</b><span> It turned a raw alert into a timeline, a likely cause, and next steps in minutes.</span></li>
<li><b>Verify before you act or share.</b><span> Run the confirmation checks it suggests, and review its recommendations before applying them or sending them to a wider audience.</span></li>
<li><b>Treat “inferred” as a hypothesis.</b><span> When Sixta labels a conclusion as inferred, or says PMM cannot confirm it, run the check it suggests before acting.</span></li>
<li><b>Ask follow-up questions.</b><span> Sixta maintained context across conversations, allowing us to build on previous findings. Asking targeted follow-up questions was often necessary to investigate issues in greater depth, narrow down possible causes, and help Sixta identify the root cause.</span></li>
<li><b>Know what it can see.</b><span> Its answers are bounded by its data sources. With PMM-only access, the plan for the DBA to run the database and operating system checks  it requests.</span></li>
</ol>
<h2><b>8. Conclusion</b></h2>
<p><span>Overall, Sixta’s performance in our evaluation looks promising. Relying solely on PMM metrics, it accurately diagnosed throughput loss, replication lag, blocked purge, and a read-only primary instance with precise timestamps, supporting evidence, and actionable fixes. Moreover, it transparently flagged the boundaries of its visibility whenever PMM metrics were insufficient and asked for the appropriate checks.</span></p>
<p><span>While its insights remain bounded by the available monitoring data and still benefit from human review, Sixta demonstrates strong potential as an AI-assisted diagnostic layer to help DBAs rapidly investigate and resolve database issues.</span></p>
<p><span> <i><strong>A note from the Sixta team:</strong><br />
</i></span></p>
<p><span>If you run PMM, Sixta can investigate your own alerts from the data you already have. It reads PMM through a viewer-role token, installs nothing on your database hosts, and answers in Slack, Teams, or its own web interface. We’re taking on a small number of teams at the moment.</span></p>
<p><a href="https://sixta.ai/pmm?utm_source=percona_blog&amp;utm_medium=referral&amp;utm_campaign=pmm_evaluation"><b>Tell us about your setup → sixta.ai/pmm</b></a></p>
<p><span><i></i><br />
</span></p>
<p>The post <a href="https://www.percona.com/blog/putting-sixta-to-the-test-ai-assisted-mysql-troubleshooting-with-pmm/">Putting Sixta to the Test: AI-Assisted MySQL Troubleshooting with PMM</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/putting-sixta-to-the-test-ai-assisted-mysql-troubleshooting-with-pmm/">Putting Sixta to the Test: AI-Assisted MySQL Troubleshooting with PMM</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>How to Monitor Readyset with Percona Monitoring and Management</title>
        <link>https://www.percona.com/blog/how-to-monitor-readyset-with-percona-monitoring-and-management/</link>
        <pubDate>Mon, 23 Nov 2026 14:05:47 +0000</pubDate>
        <dc:creator>Tibor Korocz</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/how-to-monitor-readyset-with-percona-monitoring-and-management/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>In a previous blog post, I showed how to add external exporters to Percona Monitoring and Management (PMM) and monitor Valkey/Redis. This time, let’s do the same with Readyset. Readyset is a caching layer that sits between your application and your MySQL or PostgreSQL database. It is wire-compatible with the database, so your application connects … Continued<br />
The post How to Monitor Readyset with Percona Monitoring and Management appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/how-to-monitor-readyset-with-percona-monitoring-and-management/">How to Monitor Readyset with Percona Monitoring and Management</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>In a <a href="https://www.percona.com/blog/how-to-monitor-valkey-redis-with-percona-monitoring-and-management/">previous blog post</a>, I showed how to add external exporters to <a href="https://www.percona.com/software/database-tools/percona-monitoring-and-management">Percona Monitoring and Management</a> (PMM) and monitor Valkey/Redis. This time, let’s do the same with <a href="https://readyset.io/">Readyset</a>.</p>
<p>Readyset is a caching layer that sits between your application and your MySQL or PostgreSQL database. It is wire-compatible with the database, so your application connects to Readyset instead of the database. Readyset serves the cached queries from memory and proxies everything else to the upstream database.</p>
<p>This also means that once you put Readyset in front of your database, it is part of your critical path. If it goes down, or it stops serving queries from the cache, your database will feel it immediately. So you want to see it in the same place where you already monitor your databases: PMM.</p>
<p>The good news is that Readyset already exposes Prometheus metrics, so this time we do not even need a separate exporter. Let’s see how it works.</p>
<h2>Readyset metrics</h2>
<p>Readyset has a built-in HTTP endpoint on port 6034 (you can change it with <code>--metrics-address</code>). It serves the Prometheus metrics on <code>/metrics</code> and a health check on <code>/health</code>. In the version I tested, the Prometheus metrics are enabled by default. If you run an older version, start Readyset with <code>--prometheus-metrics</code> (or <code>PROMETHEUS_METRICS=true</code> in Docker).</p>
<p>For this blog post, I started Readyset in Docker in front of a MySQL 8.4 server:</p>
<pre class="urvanov-syntax-highlighter-plain-tag">&gt; docker run -d --name readyset -p 3307:3307 -p 6034:6034 
    -e UPSTREAM_DB_URL='mysql://{{USER}}:{{PASSWORD}}@mysql-host:3306/testdb' 
    -e LISTEN_ADDRESS=0.0.0.0:3307 
    -e STORAGE_DIR=/state 
    readysettech/readyset:latest</pre>
<p>The application connects to port 3307, and the metrics are on port 6034. Let’s check them:</p>
<pre class="urvanov-syntax-highlighter-plain-tag">&gt; curl -s http://127.0.0.1:6034/metrics | grep readyset_query_log_execution_count
readyset_query_log_execution_count{upstream_db_type="mysql",deployment="rslab",database_type="readyset",query_id="q_8c2f9257a2c7f9f7"} 308584
readyset_query_log_execution_count{upstream_db_type="mysql",deployment="rslab",database_type="upstream",query_id="q_b6da3b41d15621ce"} 1545</pre>
<p>The <code>database_type</code> label tells you who answered the query: <code>readyset</code> means it was served from the cache, <code>upstream</code> means it was proxied to the database. The <code>query_id</code> is the same ID you see in <code>SHOW CACHES</code> and <code>SHOW PROXIED QUERIES</code>.</p>
<p>One more thing worth knowing: recent Readyset versions create <em>shallow</em> caches by default. These cache the result for a TTL and refresh it from the database. With <code>CACHE_MODE=deep</code>, Readyset creates <em>deep</em> caches, which replicate from the binary log (or WAL on PostgreSQL) and keep the results up to date incrementally. I tested both modes, and they expose a few different metrics. Readyset has dashboards for both.</p>
<p>I used Readyset stable-261022, MySQL 8.4, and PMM 3.10.0 for all the tests.</p>
<h2>Adding Readyset to PMM</h2>
<p>Now, we have to tell the PMM Client to collect the metrics from port 6034. If you do not have a PMM Server or Client configured yet, please follow this <a href="https://www.percona.com/software/pmm/quickstart">link</a>. On the Readyset server, run:</p>
<pre class="urvanov-syntax-highlighter-plain-tag">&gt; pmm-admin add external --service-name=readyset --listen-port=6034 --group=readyset
Connection check failed: Unexpected exporter's response format: text format parsing error in line 213: second TYPE line for metric name "readyset_query_status_cache_id_to_status_size", or TYPE reported after samples.</pre>
<p>Well, this did not work on the first try. Readyset has two internal metrics, <code>readyset_query_status_cache.id_to_status.size</code> and <code>readyset_query_status_cache_id_to_status_size</code>. Prometheus does not allow dots in metric names, so the dots become underscores, and we end up with the same metric twice on the <code>/metrics</code> page. The connection check in <code>pmm-admin</code> uses a strict parser and refuses it, but the collector in PMM (vmagent) does not mind. So we can simply skip the check:</p>
<pre class="urvanov-syntax-highlighter-plain-tag">&gt; pmm-admin add external --service-name=readyset --listen-port=6034 --group=readyset --skip-connection-check
External Service added.
Service ID  : e644afbd-acf8-442c-9219-cb2432cd2131
Service name: readyset
Group       : readyset</pre>
<p>The <code>--group=readyset</code> option adds an <code>external_group="readyset"</code> label to every metric, which will be useful for the alerts later.</p>
<p>Let’s check it:</p>
<pre class="urvanov-syntax-highlighter-plain-tag">&gt; pmm-admin list
Service type             Service name        Address and port        Service ID
External:readyset        readyset                                    e644afbd-acf8-442c-9219-cb2432cd2131

Agent type               Status           Metrics Mode        Agent ID                                    Service ID                                  Port
pmm_agent                Connected                            e131e7e0-9e65-4de3-b45a-6b3fba24f4a0                                                    0
node_exporter            Running          push                332240dd-8e63-4698-b1c7-5890ddc1f8f5                                                    42000
external-exporter        Unknown          push                938d3163-e786-4fff-94fd-5fab90ea3035        e644afbd-acf8-442c-9219-cb2432cd2131        6034
vmagent                  Running          push                8150b3ee-e0f6-4938-a086-e17cff32472a                                                    42001</pre>
<p>In my test, the external exporter status stayed <code>Unknown</code>, but the metrics arrived without any problem. With this command, PMM collected 113 different Readyset metrics.</p>
<h2>Dashboards</h2>
<p>Now, let’s visualize the data we collect. For Valkey/Redis, we simply imported a dashboard from the <a href="https://grafana.com/grafana/dashboards/">Grafana</a> website. For Readyset, there is a better place: Readyset keeps its dashboards in its own repository, in <a href="https://github.com/readysettech/readyset/tree/stable-261022/build/docker/grafana/dashboards">build/docker/grafana/dashboards</a>. These are the dashboards of Readyset’s own Grafana image, and they use the current metric names. Download them from the tag that matches your Readyset version (I used stable-261022). There is also a Readyset dashboard on grafana.com, but it is from February 2024 and uses old metric names, so I would not use that one.</p>
<p>The dashboards work in PMM.</p>
<p>Two dashboards also run SQL commands on Readyset: Query Metrics runs <code>SHOW CACHES</code> and <code>SHOW PROXIED QUERIES</code>, and the Uptime panel runs <code>SHOW READYSET STATUS</code>. For these, add a MySQL data source in PMM that points to Readyset (port 3307 in my example), and name it <strong>DS_READYSET</strong>, like in Readyset’s own Grafana, because the dashboards find it by this name. The quickest way is to open <code>https:///graph/connections/datasources/new</code> and choose MySQL. I only tested this with MySQL.</p>
<p>Now, to load a dashboard into PMM, navigate to All dashboards -&gt; New -&gt; Import, upload the JSON file, and select <strong>Metrics</strong> for <code>DS_PROMETHEUS</code> (and <strong>DS_READYSET</strong> for <code>DS_READYSET</code> on the Query Metrics dashboard). Then pick your Readyset deployment in the <code>deployment</code> drop-down. This is the <code>DEPLOYMENT</code> setting of Readyset, and it is <code>readyset.db</code> if you did not set it.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-56674" src="https://www.percona.com/wp-content/uploads/2026/11/readyset-pmm-import-query-metrics-scaled.png" alt="Importing the Readyset Query Metrics dashboard into PMM" width="2560" height="2000"></p>
<p>These are the dashboards I found the most useful:</p>
<ul>
<li><strong>Operation</strong> (<code>ops.json</code>): the overview, with the query hit ratio, queries per second, connections, memory, and uptime.</li>
<li><strong>Adapter metrics</strong> (<code>adapter_metrics.json</code>): queries per second and p50/p99 latency, separately for cached and proxied queries, plus connections and query parsing errors.</li>
<li><strong>Query Metrics</strong> (<code>query_overview.json</code>): a table of the cached and proxied queries with their query text, counts, and latencies.</li>
<li><strong>Shallow Caching</strong> (<code>shallow_caching.json</code>): hits, misses, and refreshes of shallow caches.</li>
<li><strong>Replication Performance</strong>, <strong>Memory Usage</strong>, and <strong>Evictions</strong>: replication for deep caches, memory, and cache evictions.</li>
</ul>
<p>The folder also has dashboards for benchmarking, ProxySQL, and Readyset internals (<code>perf_debugging.json</code>), which you do not need for day-to-day monitoring. I also skipped Specific Query (<code>query_specific.json</code>), because some of its panels did not work in my test.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-56675" src="https://www.percona.com/wp-content/uploads/2026/11/readyset-pmm-operation-dashboard-scaled.png" alt="The Readyset Operation dashboard in PMM" width="2560" height="2240"></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-56676" src="https://www.percona.com/wp-content/uploads/2026/11/readyset-pmm-query-metrics-dashboard-scaled.png" alt="The Readyset Query Metrics dashboard in PMM with the cached and proxied queries" width="2560" height="1760"></p>
<p>The Prometheus metrics only have the query ID, not the query text. This is why the Query Metrics dashboard needs the <code>DS_READYSET</code> data source: it takes the query text from <code>SHOW CACHES</code> and <code>SHOW PROXIED QUERIES</code>, and the numbers from the metrics. Readyset also has a verbose query log mode that adds the query text as a label, but that creates a lot more time series.</p>
<p>In my test, the cached query took about 2 µs on average with a shallow cache and 4.5 µs with a deep cache. When the same query was a cache miss and went to MySQL, it took about 97 µs. These are numbers from a small test on my laptop, so your numbers will be different, but you can see the difference right away.</p>
<h2>Alerting</h2>
<p>We also want an alert if Readyset is unavailable. PMM creates an <code>up</code> metric for every exporter: it is 1 if PMM can collect the metrics, and 0 if it cannot. Follow these steps to set up the alert:</p>
<ol>
<li>Go to Alerts -&gt; Alert rules and click New alert rule.</li>
<li>Use the following query: <code>max by (service_name, node_name) (max_over_time(up{external_group="readyset"}[1m]))</code></li>
<li>Set the Threshold expression to <strong>Is below 1</strong>.</li>
<li>Set an evaluation interval that works for you. In this example, it is 30s, and the pending period is 1 minute.</li>
<li>Under the no data and error handling, set <strong>Alerting</strong> for no data, so you also get an alert if the metrics disappear (for example, the PMM Client is stopped).</li>
</ol>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-56677" src="https://www.percona.com/wp-content/uploads/2026/11/readyset-pmm-alert-rule-scaled.png" alt="The Readyset is down alert rule: query, threshold, and the firing instance" width="2560" height="2000"></p>
<p>The <code>max_over_time</code> returns 0 only if every collection failed in the last minute, so a single slow scrape will not wake you up at night.</p>
<p>The second alert I recommend is when Readyset cannot reach the database. Readyset checks the upstream database every 10 seconds and sets <code>readyset_upstream_server_up</code> to 0 if it is down. Create a second rule the same way with this query, and leave the no data handling on <strong>Normal</strong> (if Readyset itself is down, the first rule covers it):</p>
<pre class="urvanov-syntax-highlighter-plain-tag">min by (service_name, server) (readyset_upstream_server_up{external_group="readyset"})</pre>
<p>Of course, I wanted to see them working, so I paused the Readyset container and stopped MySQL. Both alerts fired within about two minutes, and they went back to normal after I started everything again.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-56678" src="https://www.percona.com/wp-content/uploads/2026/11/readyset-pmm-alerts-firing-scaled.png" alt="Both Readyset alert rules firing in PMM" width="2560" height="2000"></p>
<p>If you use deep caches, an alert on <code>readyset_replicator_replication_lag</code> is also a good idea. Just be careful with the threshold: the value is in bytes for PostgreSQL and for MySQL with file-based positions, and in transactions for MySQL with GTID.</p>
<h2>The most useful metrics</h2>
<p>Readyset exposes more than 100 metrics, and most of them are about its internals.</p>
<p>If you want to build your own panels or alerts, you can find a short description of each metric in the <a href="https://github.com/readysettech/readyset/tree/main/metric/src">metric directory</a> of the Readyset source code.</p>
<h2>Patching the dashboards for PMM</h2>
<p>The Readyset dashboards are made for Readyset’s own Grafana, so in PMM, three small things look wrong. The Uptime panel shows an error, because it uses a fixed data source ID. The links at the top of each dashboard list every PMM dashboard. And the <code>rate()</code> graphs look like barcodes, because PMM collects external exporters every 10 seconds, but its Metrics data source has a 1-second scrape interval. This loop downloads the dashboards and fixes all three with <code>sed</code> and <code>jq</code>:</p>
<pre class="urvanov-syntax-highlighter-plain-tag">&gt; for f in ops query_overview adapter_metrics shallow_caching replication_performance memory evictions; do
    curl -sL https://raw.githubusercontent.com/readysettech/readyset/stable-261022/build/docker/grafana/dashboards/$f.json 
    | sed 's/PC9D4D8333A565E9C/DS_READYSET/' 
    | jq '(.. | objects | select(has("targets")) | .interval) = "1m" | .links = []' &gt; $f.json
  done</pre>
</p>
<h3>Conclusion</h3>
<p>Monitoring Readyset with PMM is even simpler than Valkey/Redis, because Readyset already has a Prometheus endpoint, and there is no exporter to install. The only surprise was the connection check that needs <code>--skip-connection-check</code>. With Readyset’s own dashboards and the two alerts above, you can see how much load Readyset takes off your database, and you will know right away if it stops doing that.</p>
<p>Percona Monitoring and Management is a best-of-breed open source database monitoring solution tool for MySQL, PostgreSQL, MongoDB, and the servers on which they run. It allows you to monitor, manage, and improve the performance of your databases, no matter where they are located or deployed.</p>
<p><a href="https://www.percona.com/software/database-tools/percona-monitoring-and-management">Download Percona Monitoring and Management Today</a></p>
<p>The post <a href="https://www.percona.com/blog/how-to-monitor-readyset-with-percona-monitoring-and-management/">How to Monitor Readyset with Percona Monitoring and Management</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/how-to-monitor-readyset-with-percona-monitoring-and-management/">How to Monitor Readyset with Percona Monitoring and Management</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>When did I start contributing to pgBackRest, exactly?</title>
        <link>https://percona.community/blog/2026/11/23/when-did-i-start-contributing-to-pgbackrest-exactly/</link>
        <pubDate>Mon, 23 Nov 2026 09:00:00 +0000</pubDate>
        <dc:creator>Source Author</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/when-did-i-start-contributing-to-pgbackrest-exactly/</guid>
        <source url="https://percona.community/blog/">Percona Community Blog - learn about MySQL, MariaDB, PostgreSQL, and MongoDB</source>
        <description><![CDATA[<p>In October, I was in the audience at PGConf.EU for “The Monday We Learned Who Maintains Our Backups”, by David Steele and Jan Wieremjewicz. I was happy to hear how pgBackRest was born, straight from the person who wrote it.</p>
<p><a href="https://percona.community/blog/2026/11/23/when-did-i-start-contributing-to-pgbackrest-exactly/">When did I start contributing to pgBackRest, exactly?</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>In October, I was in the audience at PGConf.EU for <a href="https://www.postgresql.eu/events/pgconfeu2026/schedule/session/7963-the-monday-we-learned-who-maintains-our-backups/" target="_blank" rel="noopener noreferrer">“The Monday We Learned Who Maintains Our Backups”</a>, by David Steele and Jan Wieremjewicz. I was happy to hear how pgBackRest was born, straight from the person who wrote it.</p>
<p><figure><img decoding="async" width="600" height="450" src="https://percona.community/blog/2026/11/the-monday-we-learned-who-maintains-our-backups_hu_66d1c7e5dfc42bff.webp" alt="David Steele and Jan Wieremjewicz on stage" loading="lazy"></figure>
</p>
<p>One slide listed the project’s founding major contributors: David, Cynthia Shang, Stephen Frost, and Reid Thompson. The next slide added “Next:” above my own name.</p>
<p>I knew I had been around for a while. But I didn’t realize how long it had been. So I sat there wondering: when did I start contributing, exactly? I decided to go back through the GitHub history to find out.</p>
<h2>When did I start, exactly?</h2>
<p>February 2019. My first pull request, <a href="https://github.com/pgbackrest/pgbackrest/pull/675" target="_blank" rel="noopener noreferrer">#675</a>, is dated 12 February 2019. It proposed adding a check to the <code>info</code> command to verify that the WAL segments needed by the backups were actually present in the repository. David answered the next day.</p>
<p>That pull request was never merged. David was concerned about adding that much I/O to a command that has to stay fast, and I ended up implementing the check in <a href="https://github.com/pgstef/check_pgbackrest" target="_blank" rel="noopener noreferrer">check_pgbackrest</a>, the monitoring plugin I had started back then.</p>
<p>But one line in the patch fixed a real bug: <code>info</code> was not showing the minimum and maximum archived WAL segments when a stanza was specified. David committed that line on 21 February 2019 with the words “Fixed by Stefan Fercot”, and it shipped in v2.11 on 11 March. So my first <a href="https://github.com/pgbackrest/pgbackrest/commit/80df1114bdc9" target="_blank" rel="noopener noreferrer">contribution to land</a> in pgBackRest was a one-line fix, nine days after I showed up.</p>
<p>Over the following months, I gradually got more involved:</p>
<ul>
<li><strong>July 2019:</strong> my first issue, <a href="https://github.com/pgbackrest/pgbackrest/issues/781" target="_blank" rel="noopener noreferrer">#781</a>, a question about S3 configuration with MinIO.</li>
<li><strong>April 2020:</strong> my second contribution to the code, showing in <code>info</code> when a backup or expiration operation is running.</li>
<li><strong>June 2020:</strong> my first comment on one of David’s pull requests, <a href="https://github.com/pgbackrest/pgbackrest/pull/1068" target="_blank" rel="noopener noreferrer">#1068</a>, about <code>repo-ls</code>.</li>
<li><strong>July 2020:</strong> my first answer to a user’s issue, <a href="https://github.com/pgbackrest/pgbackrest/issues/1096" target="_blank" rel="noopener noreferrer">#1096</a>, and my first two pull requests merged through GitHub: the <a href="https://github.com/pgbackrest/pgbackrest/pull/1098" target="_blank" rel="noopener noreferrer">expire-auto</a> option and automatic cipher passphrase detection in <a href="https://github.com/pgbackrest/pgbackrest/pull/1095" target="_blank" rel="noopener noreferrer">repo-get</a>.</li>
</ul>
<p>Then it became a habit. Between July 2020 and September 2023, I opened 27 pull requests, and 23 were merged: <code>archive-mode-check</code>, <code>db-exclude</code>, <code>repo-retention-history</code>, <code>restore --type=lsn</code>, and more.</p>
<h2>Reviewing a patch back then</h2>
<p>Reviewing a patch was time-consuming. I read the diff, then the code around it, until I understood what the change was supposed to do.</p>
<p>Then I had to see it work. That meant building pgBackRest from the branch, installing it in a local test environment by hand, and checking that it behaved the way the patch said it should.</p>
<p>The check_pgbackrest test suite helped me with that. It uses Ansible to deploy typical setups with either a shared repository or a dedicated repository host. It can build pgBackRest from source and run an activity script against POSIX, S3, or Azure repositories. I had written it to test the monitoring plugin, but it also became my test environment for reviewing patches.</p>
<h2>The numbers back then</h2>
<p>“Back then”, for me, is July 2020 to September 2023: the thirty-nine months when I contributed code and reviews regularly. Here is what the GitHub history shows for that period.</p>
<ul>
<li><strong>Issues:</strong> 740 issues were opened (excluding bots), about 19 a month. Among the 730 that received an answer, the median time to first answer was 8.3 hours. Two thirds of all issues got an answer within a day. I gave the first answer to 37% of all issues, and David on 52%.</li>
<li><strong>Pull requests:</strong> 366 were opened, about 9 a month. David opened 222 of them, and everyone else opened 144.</li>
<li><strong>First review:</strong> among the pull requests that received a formal GitHub review, the median time to first review was about 20 hours.</li>
<li><strong>Merge:</strong> among merged pull requests, the median time to merge was 47 hours. Of all pull requests opened during that period, 72% were merged within a week.</li>
<li><strong>My reviews:</strong> I reviewed 74 pull requests, about two a month, and 67 of them were David’s. My first formal review came a median of 17.5 hours after the pull request was opened.</li>
</ul>
<p>Then came a period when I no longer had time at work to contribute code. I still tried to help by answering GitHub issues and advocating for the project.</p>
<h2>Back at it, at a different speed</h2>
<p>Thanks to Percona, I have work time for pgBackRest again, and the first thing I noticed was the speed.</p>
<p>Let’s compare three periods: July 2020 to September 2023 (“Back then”), October 2023 to August 2026 (“In between”), and 1 September to 18 November 2026 (“Now”).</p>
<table>
<thead>
<tr>
<th>Measure</th>
<th>Back then</th>
<th>In between</th>
<th>Now</th>
</tr>
</thead>
<tbody>
<tr>
<td>Issues opened per month</td>
<td>19.0</td>
<td>12.7</td>
<td>10.4</td>
</tr>
<tr>
<td>Median issue body length</td>
<td>1,782 characters</td>
<td>1,883 characters</td>
<td>2,693 characters</td>
</tr>
<tr>
<td>Median time to first answer on an issue</td>
<td>8.3 hours</td>
<td>7.4 hours</td>
<td>14.5 hours</td>
</tr>
<tr>
<td>Pull requests opened per month</td>
<td>9.4</td>
<td>5.8</td>
<td>21.3</td>
</tr>
<tr>
<td>Pull requests opened by David per month</td>
<td>5.7</td>
<td>3.5</td>
<td>13.2</td>
</tr>
<tr>
<td>Median time to first formal review</td>
<td>19.6 hours</td>
<td>29.7 hours</td>
<td>17.4 hours</td>
</tr>
<tr>
<td>Median time to merge (merged pull requests only)</td>
<td>46.6 hours</td>
<td>99.4 hours</td>
<td>39.3 hours</td>
</tr>
<tr>
<td>Pull requests merged within a week (at least a week old)</td>
<td>72.4%</td>
<td>51.7%</td>
<td>57.1%</td>
</tr>
<tr>
<td>Distinct pull requests I formally reviewed per month</td>
<td>1.9</td>
<td>1.3</td>
<td>8.1</td>
</tr>
</tbody>
</table>
<p><strong>Issue reports are longer.</strong> There are fewer of them per month, but the median issue body is now about 2,700 characters long, compared with 1,800 back then. Markdown headings appear in 44% of reports (12 of 27), compared with 8%. Longer reports are not necessarily easier to resolve, of course.</p>
<p><strong>We receive a lot of pull requests.</strong> There have been 55 since 1 September, more than twice the monthly rate back then. David alone opened 34, including 20 in November by the time I collected the data. And 12 people opened their first pgBackRest pull request, compared with 23 over the full thirty-nine months back then.</p>
<p><strong>Reviews are still moving quickly.</strong> Among pull requests that received a formal review, the median time to first review is about 17 hours, compared with 20 back then. Among merged pull requests, the median time to merge is 39 hours, compared with 47. Six of the 55 recent pull requests had not received a formal review when I collected the data, so those medians do not describe every submission.</p>
<p><strong>My own activity has really picked up in November.</strong> Between July 2020 and September 2023, I reviewed 74 pull requests, about two a month. Since September 2026, I’ve reviewed 21, including 19 in November alone. Of the pull requests opened since September, 17 were merged after I reviewed them. For those, the median time from my first formal review to merge was 3.9 hours, compared with 24 hours back then.</p>
<p><strong>Many pull requests from other contributors are still open.</strong> Of the 21 opened since September by people other than David, 13 are still open. Twenty were at least a week old when I collected the data; seven of those had been merged within their first week. That is 35%, compared with 62% back then. These pull requests also add more code: a median of 161 lines, compared with 93.</p>
<p><em>Numbers were extracted from the GitHub API on 18 November 2026.</em></p>
<h2>Reviewing a pull request today</h2>
<p>Today, I no longer build a test environment by hand for each pull request. Thanks to the wizardry of my colleague <a href="https://github.com/dutow" target="_blank" rel="noopener noreferrer">Zsolt</a>, the process is partly <a href="https://percona.community/blog/2026/09/25/reviewing-large-projects-with-ai-contributing-in-a-meaningful-way/" target="_blank" rel="noopener noreferrer">automated</a>.</p>
<p>The automation picks up every pull request David opens, and I queue the others manually when needed. A new commit on a pull request I follow triggers another review.</p>
<p>The review process runs in Docker. A container fetches the pull request and its discussion, then builds both the proposed changes and the base branch.</p>
<p>An LLM reviews the change in six phases: overview, design, code review, validation, cross-checking against the discussion, and summary. The prompt includes pgBackRest’s own practices: the coding standards, the 100% coverage rule, and a reminder that this is not PostgreSQL code.</p>
<p>Every finding has to be backed up. Depending on the finding, that means tracing the code path, writing a test and running it through pgBackRest’s test harness, or running an actual backup and restore with the latest version of PostgreSQL. Findings that do not hold up are discarded.</p>
<p>For me, one of the hardest parts of both development and review is still getting the regression test right. It needs to catch the bug and prevent it from coming back, while staying focused and easy to understand. Finding that balance remains a challenge.</p>
<p>Then comes my own review. I read the summary, then I read the pull request itself. If I do not understand something, I ask questions until I can explain the change in my own words.</p>
<p>I do not want to approve a pull request without a comment. So I write down what I tested and how I understand the change. Ten of my November reviews led David to make a change: a fix, a regression test, a release note, some help text, or even a new pull request.</p>
<p>The tools help me work through more pull requests, but I still want to understand and explain what I’m approving.</p>
<h2>Releases follow a new rhythm</h2>
<p><figure><img decoding="async" src="https://percona.community/blog/2026/11/pgbackrest-release-timeline.svg" alt="Timeline of every pgBackRest release since v2.00, one dot per release: patch releases appear in June 2024 and make up 9 of the 17 releases since then"></figure>
</p>
<p><em>Source: pgBackRest release notes, from v2.00 (23 February 2018) to v2.60.1 (16 November 2026).</em></p>
<p>The release rhythm has changed too. For years, every release was a full release, roughly every four to six weeks while the code was being migrated to C, then roughly every nine weeks from 2021 to mid-2024. An urgent fix either waited for the next one or forced a full release early, as happened with v2.43, six days after v2.42 in November 2022.</p>
<p>Patch releases changed that. The schedule is now written down in the <a href="https://pgbackrest.org/release.html" target="_blank" rel="noopener noreferrer">release documentation</a>: “Feature releases are scheduled for the third Monday of January, April, July, and October. Patch releases are scheduled for the third Monday of any other month as required.”</p>
<p>Feature releases are now scheduled once a quarter, and an important bug or security fix can go out between them. An urgent patch release can also come ahead of the scheduled Monday: v2.59.3 fixed a weak encryption subkey bug one week after v2.59.2.</p>
<p>That means fixes can reach users sooner. In 2026, 15 of the 21 bug fixes that came through a pull request went out in a patch release. The median time from merge to release was 11 days, compared with 18 days from 2021 to 2023.</p>
<h2>New contributors and the reviews we are missing</h2>
<p>Since September, 12 people have opened their first pgBackRest pull request.</p>
<p>That is good news, and it raises two questions. Do they come back? And do they review?</p>
<table>
<thead>
<tr>
<th>First pull request</th>
<th>People</th>
<th>Opened a second one</th>
<th>Reviewed someone else’s</th>
</tr>
</thead>
<tbody>
<tr>
<td>Jul 2020 – Sep 2023</td>
<td>23</td>
<td>10 (43%)</td>
<td>7 (30%)</td>
</tr>
<tr>
<td>Oct 2023 – Aug 2026</td>
<td>40</td>
<td>14 (35%)</td>
<td>3 (8%)</td>
</tr>
<tr>
<td>Since Sep 2026</td>
<td>12</td>
<td>2 so far</td>
<td>1 so far</td>
</tr>
</tbody>
</table>
<p><strong>Many come back.</strong> Across the project’s GitHub pull request history, 94 people other than David have opened a pull request, and 40 have opened at least two. Of the 12 newcomers since September, 2 already have. The older groups have had much longer to contribute again, so we cannot compare those return rates directly.</p>
<p><strong>Fewer take part in reviews.</strong> Only 14 of those 94 people have submitted a formal GitHub review on someone else’s pull request. By the time I collected the data, 7 of the 23 newcomers from July 2020 to September 2023 had done so, compared with 3 of the 40 who arrived between October 2023 and August 2026.</p>
<p>The gap is visible in the last few months too. Since September, 18 people have opened 55 pull requests. Only three people have submitted formal reviews on those pull requests: Douglas J Hunley, David, and me.</p>
<p>David put it plainly on 17 November, when a new contributor asked what else was needed to get a pull request reviewed: “<a href="https://github.com/pgbackrest/pgbackrest/issues/2888#issuecomment-6950141671" target="_blank" rel="noopener noreferrer">Just a bit of patience. Right now we have a lot of patches and few reviewers.</a>”</p>
<p>So if you are new here, please be patient, and consider offering reviews too. You do not need commit rights or years of experience with the project to read someone else’s pull request, build it, test it, and share what you tried and what you understood.</p>
<h2>One thing has not changed</h2>
<p>Almost eight years after that one-line fix, pgBackRest is receiving more than twice as many pull requests per month as it did during my earlier period of regular contributions. For the pull requests that get reviewed and merged, the median review and merge times remain comparable.</p>
<p>As of 18 November, every one of the 574 pull requests merged through GitHub was merged by David.</p>
<p>So if your first pull request waits a little, please be patient. Every merge still goes through one person. And while you wait, review someone else’s.</p>
<p><a href="https://percona.community/blog/2026/11/23/when-did-i-start-contributing-to-pgbackrest-exactly/">When did I start contributing to pgBackRest, exactly?</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Meet the FOSDEM 2027 M-Ecosystem Devroom Selection Committee!</title>
        <link>https://mariadb.org/meet-the-fosdem-2027-m-ecosystem-devroom-selection-committee/</link>
        <pubDate>Fri, 20 Nov 2026 06:30:13 +0000</pubDate>
        <dc:creator>Frédéric Descamps</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/meet-the-fosdem-2027-m-ecosystem-devroom-selection-committee/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Different projects. Different angles. One community. The M-Ecosystem is all about diversity. It’s built on MySQL, MariaDB, Percona Server, VillageSQL, AliSQL, and all the various tools and technologies that go with them. It’s a collection of people with very different experiences, ideas, and opinions on how a database should work. And that’s precisely what makes […]<br />
Meet the FOSDEM 2027 M-Ecosystem Devroom Selection Committee! appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/meet-the-fosdem-2027-m-ecosystem-devroom-selection-committee/">Meet the FOSDEM 2027 M-Ecosystem Devroom Selection Committee!</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Different projects. Different angles. One community. The M-Ecosystem is all about diversity. It’s built on MySQL, MariaDB, Percona Server, VillageSQL, AliSQL, and all the various tools and technologies that go with them. It’s a collection of people with very different experiences, ideas, and opinions on how a database should work. And that’s precisely what makes […]</p>
<p><a href="https://mariadb.org/meet-the-fosdem-2027-m-ecosystem-devroom-selection-committee/">Meet the FOSDEM 2027 M-Ecosystem Devroom Selection Committee!</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/meet-the-fosdem-2027-m-ecosystem-devroom-selection-committee/">Meet the FOSDEM 2027 M-Ecosystem Devroom Selection Committee!</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>What&#8217;s left in Postgres 19</title>
        <link>https://percona.community/blog/2026/11/20/whats-left-in-postgres-19/</link>
        <pubDate>Fri, 20 Nov 2026 00:00:00 +0000</pubDate>
        <dc:creator>Source Author</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/whats-left-in-postgres-19/</guid>
        <source url="https://percona.community/blog/">Percona Community Blog - learn about MySQL, MariaDB, PostgreSQL, and MongoDB</source>
        <description><![CDATA[<p>Yesterday, PostgreSQL 19 was finally released after multiple delays. Everyone already knows about the many reverts that happened, but what actually remains? Is it still an interesting release?</p>
<p><a href="https://percona.community/blog/2026/11/20/whats-left-in-postgres-19/">What&#8217;s left in Postgres 19</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Yesterday, PostgreSQL 19 was finally released after multiple delays.<br />
Everyone already knows about the <a href="https://percona.community/blog/2026/10/15/apologies-for-delaying-postgres-19/" target="_blank" rel="noopener noreferrer">many reverts</a> that happened, but what actually remains? Is it still an interesting release?</p>
<p>This blog post doesn’t aim to be a complete list:<br />
the <a href="https://www.postgresql.org/docs/release/19.0/" target="_blank" rel="noopener noreferrer">release notes</a> are there for that.</p>
<p>It is only a short highlight of some of the more interesting additions.</p>
<h1>We lost some interesting features</h1>
<p>While I do not want to go into the details about the “lost features” again, the list is long.</p>
<p>We expected to have things like property graph queries, temporal updates and deletes (<code>FOR PORTION OF</code>), partition merging and splitting, online data checksum transitions, GROUP BY ALL… most of them ambitious additions, and all of them clearly worth a mention in the release notes.</p>
<p>Hopefully we will see them again in PostgreSQL 20 or later, making that also an interesting release.</p>
<p>Also, if we look at the above list, we can clearly see that 4 of the 5 would have been visible to any user of PostgreSQL 19, not only DBAs, the only exception being online data checksum transitions.</p>
<p>Let’s start our feature tour in this direction:<br />
what changes will anybody be able to notice in PostgreSQL 19?</p>
<h1>REPACK (CONCURRENTLY)</h1>
<p>Previously we had <code>VACUUM FULL</code> and <code>CLUSTER</code>:<br />
two very different sounding commands, sharing the same internal implementation.<br />
Both rewrote the entire table, the difference was just how it was organized.</p>
<p>In 19, meet <code>REPACK</code>, the non-concurrent version:<br />
instead of 2 names, now we have 3 names for the same thing!</p>
<ul>
<li><code>REPACK mytable;</code> is basically <code>VACUUM FULL mytable;</code></li>
<li><code>REPACK mytable USING INDEX mytable_pk;</code> is basically <code>CLUSTER mytable USING mytable_pk;</code></li>
</ul>
<p>This itself is not that interesting, other than that people no longer have to use two different and somewhat confusing names, but it doesn’t stop here:<br />
we also have <code>REPACK (CONCURRENTLY) mytable [USING INDEX mytable_pk];</code>.</p>
<p><figure><img decoding="async" width="1672" height="941" src="https://percona.community/blog/2026/11/pg19-repack-doors_hu_7e7949a61181dd1f.webp" alt="Three names for the same door, and a new one that stays open" loading="lazy"></figure>
</p>
<p>The difference is in the name:<br />
while the previous variants, even with the new <code>REPACK</code> name, take an exclusive lock and block access to the table in question, the new concurrent repack allows reads and writes to the table while it runs.<br />
It still blocks DDL, <code>VACUUM</code> (including autovacuum) and other <code>REPACK</code> runs on the same table, as it holds a <code>SHARE UPDATE EXCLUSIVE</code> lock during the entire operation.</p>
<p>This itself isn’t strictly new, as extensions such as <a href="https://reorg.github.io/pg_repack/" target="_blank" rel="noopener noreferrer">pg_repack</a> (even sharing the same name) or <a href="https://github.com/cybertec-postgresql/pg_squeeze" target="_blank" rel="noopener noreferrer">pg_squeeze</a> already did this, but until now it wasn’t a core feature.</p>
<p>Despite the similar name, the two work somewhat differently.<br />
The basic idea of both approaches is the same:<br />
instead of exclusively locking the table for the entire operation, keep that lock as short as possible.<br />
Create a new table, start capturing the changes happening to the old table, and copy the existing records.<br />
When the copy is done, replay the captured changes, and swap the tables with a short-lived exclusive lock.</p>
<p>If we look into the details, <code>pg_repack</code> uses row-level triggers to implement this, while <code>REPACK</code> is based on logical decoding, like <code>pg_squeeze</code> does – but with a simpler user interface, more like ordinary <code>VACUUM</code> or <code>CLUSTER</code>.<br />
This makes a difference in who pays for the additional work:<br />
with triggers, every concurrent write also has to record the change in a log table, in the writing session, while with logical decoding the changes are collected by the <code>REPACK</code> process itself, by decoding the WAL.<br />
It also works with <code>wal_level = replica</code>, there’s no need to enable logical replication first.</p>
<p>Putting it all together, <code>REPACK (CONCURRENTLY)</code> works like this:</p>
<pre class="mermaid">
sequenceDiagram
participant W as Other sessions
participant R as REPACK
participant O as Old table
participant N as New table
R-&gt;&gt;O: SHARE UPDATE EXCLUSIVE lock
R-&gt;&gt;R: Start decoding WAL
R-&gt;&gt;N: Copy existing rows
W-&gt;&gt;O: INSERT / UPDATE / DELETE (still allowed)
R-&gt;&gt;N: Replay decoded changes
R-&gt;&gt;O: Short ACCESS EXCLUSIVE lock
R-&gt;&gt;N: Replay last changes, swap
</pre>
<p>On the other hand, the initial <code>REPACK</code> implementation is more limited than <code>pg_repack</code>, but it should cover the main use cases.<br />
<code>REPACK (CONCURRENTLY)</code> requires a primary key or a replica identity index, doesn’t work on partitioned or unlogged tables, materialized views or system catalogs and can’t run inside a transaction block.<br />
And <code>pg_repack</code> also has a few features <code>REPACK</code> doesn’t, such as ordering by arbitrary columns, moving the table to a different tablespace, or only rebuilding the indexes.</p>
<p>Only switch to using <code>REPACK (CONCURRENTLY)</code> if these limitations are acceptable to your use case.</p>
<h1>INSERT … ON CONFLICT DO SELECT</h1>
<p>PostgreSQL already supported <code>ON CONFLICT DO UPDATE</code>, which allowed an <code>INSERT</code> statement to perform an <code>UPDATE</code> instead when it wasn’t possible to insert a record because of a conflict, such as a unique key violation.<br />
The other option was <code>DO NOTHING</code>, which, as the name suggests, does nothing.</p>
<p>Somewhat confusingly, the syntax allows <code>DO NOTHING RETURNING *</code>, but that means “on conflict, do nothing; on success, return the row”, which is not what people usually want in case of a conflict.</p>
<p>With 19, we can finally <code>SELECT</code> the conflicting row instead:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-1" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">INSERT</span><span class="w"> </span><span class="k">INTO</span><span class="w"> </span><span class="n">users</span><span class="w"> </span><span class="p">(</span><span class="n">email</span><span class="p">,</span><span class="w"> </span><span class="n">name</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">VALUES</span><span class="w"> </span><span class="p">(</span><span class="s1">'alice@example.com'</span><span class="p">,</span><span class="w"> </span><span class="s1">'Alice'</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">ON</span><span class="w"> </span><span class="n">CONFLICT</span><span class="w"> </span><span class="p">(</span><span class="n">email</span><span class="p">)</span><span class="w"> </span><span class="k">DO</span><span class="w"> </span><span class="k">SELECT</span><span class="w"> </span><span class="n">RETURNING</span><span class="w"> </span><span class="n">id</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<p>This returns the user’s id both when the insert succeeds and when the email already exists, as a single atomic operation.<br />
The <code>RETURNING</code> clause is mandatory, <code>DO SELECT</code> without it is an error.</p>
<p>Previously, the usual workarounds were either a dummy update, such as <code>DO UPDATE SET email = EXCLUDED.email</code>, which writes a new row version, fires update triggers and creates bloat, or a CTE combining <code>DO NOTHING</code> with a separate <code>SELECT</code>, which can return no rows at all if a concurrent transaction inserts the same email.</p>
<p>It also supports a locking clause (such as <code>FOR UPDATE</code>) and a <code>WHERE</code> condition, similarly to <code>DO UPDATE</code>.<br />
Locking is useful if the application already knows that it will likely modify the returned row, or if it wants to make sure that the row is not deleted by a different session.</p>
<p>One thing didn’t change: just like with the other <code>ON CONFLICT</code> variants, a conflicting insert still consumes a sequence value.</p>
<h1>IGNORE NULLS</h1>
<p>Previously, window functions such as <code>lag</code> or <code>last_value</code> treated NULLs as ordinary values.<br />
For example, consider a table of temperature readings with values such as:</p>
<table>
<thead>
<tr>
<th>ts</th>
<th>temperature</th>
</tr>
</thead>
<tbody>
<tr>
<td>10:00</td>
<td>21</td>
</tr>
<tr>
<td>10:01</td>
<td>NULL</td>
</tr>
<tr>
<td>10:02</td>
<td>NULL</td>
</tr>
<tr>
<td>10:03</td>
<td>23</td>
</tr>
<tr>
<td>10:04</td>
<td>NULL</td>
</tr>
<tr>
<td>10:05</td>
<td>22</td>
</tr>
</tbody>
</table>
<p>If you simply run:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-2" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">SELECT</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">ts</span><span class="p">,</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">temperature</span><span class="p">,</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">lag</span><span class="p">(</span><span class="n">temperature</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">OVER</span><span class="w"> </span><span class="p">(</span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="n">ts</span><span class="p">)</span><span class="w"> </span><span class="k">AS</span><span class="w"> </span><span class="n">previous</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">FROM</span><span class="w"> </span><span class="n">readings</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<p>you’ll end up with lots of NULLs, not only in the <code>temperature</code>, but also in the <code>previous</code> column.<br />
In earlier releases, there was no easy way to fix this without complex queries.<br />
With the new <code>IGNORE NULLS</code> we can simply write:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-3" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">SELECT</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">ts</span><span class="p">,</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">temperature</span><span class="p">,</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">lag</span><span class="p">(</span><span class="n">temperature</span><span class="p">)</span><span class="w"> </span><span class="k">IGNORE</span><span class="w"> </span><span class="n">NULLS</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">OVER</span><span class="w"> </span><span class="p">(</span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="n">ts</span><span class="p">)</span><span class="w"> </span><span class="k">AS</span><span class="w"> </span><span class="n">previous_known</span><span class="p">,</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">last_value</span><span class="p">(</span><span class="n">temperature</span><span class="p">)</span><span class="w"> </span><span class="k">IGNORE</span><span class="w"> </span><span class="n">NULLS</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">OVER</span><span class="w"> </span><span class="p">(</span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="n">ts</span><span class="p">)</span><span class="w"> </span><span class="k">AS</span><span class="w"> </span><span class="n">last_known</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">FROM</span><span class="w"> </span><span class="n">readings</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<p>Which results in:</p>
<table>
<thead>
<tr>
<th>ts</th>
<th>temperature</th>
<th>previous_known</th>
<th>last_known</th>
</tr>
</thead>
<tbody>
<tr>
<td>10:00</td>
<td>21</td>
<td>NULL</td>
<td>21</td>
</tr>
<tr>
<td>10:01</td>
<td>NULL</td>
<td>21</td>
<td>21</td>
</tr>
<tr>
<td>10:02</td>
<td>NULL</td>
<td>21</td>
<td>21</td>
</tr>
<tr>
<td>10:03</td>
<td>23</td>
<td>21</td>
<td>23</td>
</tr>
<tr>
<td>10:04</td>
<td>NULL</td>
<td>23</td>
<td>23</td>
</tr>
<tr>
<td>10:05</td>
<td>22</td>
<td>23</td>
<td>22</td>
</tr>
</tbody>
</table>
<p><code>IGNORE NULLS</code> works with <code>lead</code>, <code>lag</code>, <code>first_value</code>, <code>last_value</code> and <code>nth_value</code>.</p>
<h1>WAIT FOR LSN</h1>
<p>The new <code>WAIT FOR LSN</code> allows applications to wait until a standby has replayed a particular WAL position before executing a read.<br />
This effectively removes the stale read problem of replication without requiring synchronous replication, for example in configurations where writes go to the primary, but reads are routed to a replica.</p>
<p>The application has to remember the LSN of its last write on the primary, and pass it to the standby:</p>
<pre class="mermaid">
sequenceDiagram
participant A as Application
participant P as Primary
participant S as Standby
A-&gt;&gt;P: INSERT ... and COMMIT
A-&gt;&gt;P: SELECT pg_current_wal_insert_lsn()
P--&gt;&gt;A: 0/306EE20
P--)S: WAL streaming (async)
A-&gt;&gt;S: WAIT FOR LSN '0/306EE20' WITH (TIMEOUT '1s')
S--&gt;&gt;A: success
A-&gt;&gt;S: SELECT ...
</pre>
<p>In SQL:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-5" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="c1">-- on the primary, after the COMMIT
</span></span></span><span class="line"><span class="cl"><span class="k">SELECT</span><span class="w"> </span><span class="n">pg_current_wal_insert_lsn</span><span class="p">();</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="c1">-- on the standby, before the read
</span></span></span><span class="line"><span class="cl"><span class="n">WAIT</span><span class="w"> </span><span class="k">FOR</span><span class="w"> </span><span class="n">LSN</span><span class="w"> </span><span class="s1">'0/306EE20'</span><span class="w"> </span><span class="k">WITH</span><span class="w"> </span><span class="p">(</span><span class="n">TIMEOUT</span><span class="w"> </span><span class="s1">'1s'</span><span class="p">);</span></span></span></code></pre>
</div>
</div>
</div>
<p>Without a <code>TIMEOUT</code> it waits indefinitely, and with a timeout, it might raise an error, unless <code>NO_THROW</code> is also specified.</p>
<p>However, I have to point out that there is already a <a href="https://hackorum.dev/topics/139363#message-1156134" target="_blank" rel="noopener noreferrer">known bug</a> reported by Jobin Augustine, which unfortunately wasn’t fixed in 19.0:<br />
if the LSN returned by <code>pg_current_wal_insert_lsn()</code> lands exactly on a WAL page boundary, the wait can hang until some unrelated WAL is written, or until the timeout expires.<br />
In Jobin’s testing, this happened in about 1 of 2000 waits.<br />
The <a href="https://github.com/postgres/postgres/commit/24723e7cf397fc0f79b0b14412831db36882a29a" target="_blank" rel="noopener noreferrer">fix</a> was committed a day before the release, after 19.0 was already stamped, so it will be part of 19.1.</p>
<p>Until then, I would recommend not using this feature in production, or at least always specifying a <code>TIMEOUT</code>.</p>
<h1>Faster query execution</h1>
<p>There are many improvements that have no user-visible interface changes, but should result in better performance for many queries and schemas, such as:</p>
<ul>
<li>Faster foreign key checks, when inserting or updating rows in the referencing table</li>
<li>Radix sort, used for some sorts instead of the usual comparison-based sorting</li>
<li>Faster tuple deforming: extracting column values from the stored row format, which happens for almost every row a query touches</li>
<li>Aggregation before joins: the planner can now partially aggregate rows before a join, reducing the number of rows the join has to process</li>
<li>and many more</li>
</ul>
<h1>Parallel autovacuum and improved scheduling</h1>
<p>Autovacuum got multiple updates in 19, the two most important being parallel index vacuuming and priority-based scheduling.</p>
<h2>Parallel workers</h2>
<p>In earlier releases, manual <code>VACUUM</code> could use parallel workers for processing indexes, but autovacuum couldn’t:<br />
it was always sequential, processing the main table and then index 1, index 2, index 3…</p>
<p>Now it behaves similarly to how manual <code>VACUUM</code> works: index vacuuming is parallelized across workers, based on the new <code>autovacuum_max_parallel_workers</code> setting, which limits how many parallel workers a single autovacuum worker can use, or the per-table <code>autovacuum_parallel_workers</code> limit:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-6" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="c1">-- The default is 0, so this is disabled unless you explicitly enable it
</span></span></span><span class="line"><span class="cl"><span class="k">ALTER</span><span class="w"> </span><span class="k">SYSTEM</span><span class="w"> </span><span class="k">SET</span><span class="w"> </span><span class="n">autovacuum_max_parallel_workers</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">4</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">SELECT</span><span class="w"> </span><span class="n">pg_reload_conf</span><span class="p">();</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">ALTER</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="n">large_events</span><span class="w"> </span><span class="k">SET</span><span class="w"> </span><span class="p">(</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">autovacuum_parallel_workers</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">2</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="p">);</span></span></span></code></pre>
</div>
</div>
</div>
<p>These limits are different from <code>autovacuum_max_workers</code>, which controls how many autovacuum operations can run concurrently on different tables.</p>
<p>For example, with 3 autovacuum workers and 2 parallel workers each, the server can process up to 9 indexes at the same time:<br />
the autovacuum worker itself also processes indexes, not only its parallel workers.<br />
These parallel workers come from the same <code>max_parallel_workers</code> pool as parallel queries, and small indexes (below <code>min_parallel_index_scan_size</code>) are always processed by the autovacuum worker itself.</p>
<p>Vacuum cost accounting is also properly shared between parallel workers, to avoid unintentionally exceeding the I/O budget with the new system.</p>
<h2>Priority-based scheduling</h2>
<p>Autovacuum always had eligibility thresholds: the number of dead tuples, inserts, and modifications since the last <code>ANALYZE</code>, and also transaction age.<br />
But once tables became eligible, there wasn’t any prioritization between them:<br />
tables in a database were processed in the order they were found in <code>pg_class</code>, so a table close to wraparound could easily wait behind many small tables with a few dead tuples.</p>
<p>PostgreSQL 19 introduces a scoring system based on the same concepts, each with configurable weights:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">ini</span><button class="code-block__copy" type="button" data-copy-target="codeblock-7" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-ini" data-lang="ini"><span class="line"><span class="cl"><span class="na">autovacuum_freeze_score_weight</span> <span class="o">=</span> <span class="s">1.0</span>
</span></span><span class="line"><span class="cl"><span class="na">autovacuum_multixact_freeze_score_weight</span> <span class="o">=</span> <span class="s">1.0</span>
</span></span><span class="line"><span class="cl"><span class="na">autovacuum_vacuum_score_weight</span> <span class="o">=</span> <span class="s">1.0</span>
</span></span><span class="line"><span class="cl"><span class="na">autovacuum_vacuum_insert_score_weight</span> <span class="o">=</span> <span class="s">1.0</span>
</span></span><span class="line"><span class="cl"><span class="na">autovacuum_analyze_score_weight</span> <span class="o">=</span> <span class="s">1.0</span></span></span></code></pre>
</div>
</div>
</div>
<p>Based on these, the server can now prioritize which table to vacuum first.</p>
<p>There’s also a new view that makes the scores easily visible to users:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-8" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">SELECT</span><span class="w"> </span><span class="n">relname</span><span class="p">,</span><span class="w"> </span><span class="n">score</span><span class="p">,</span><span class="w"> </span><span class="n">xid_score</span><span class="p">,</span><span class="w"> </span><span class="n">vacuum_score</span><span class="p">,</span><span class="w"> </span><span class="n">do_vacuum</span><span class="p">,</span><span class="w"> </span><span class="n">for_wraparound</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">FROM</span><span class="w"> </span><span class="n">pg_stat_autovacuum_scores</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="n">score</span><span class="w"> </span><span class="k">DESC</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">LIMIT</span><span class="w"> </span><span class="mi">10</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<h1>Ordinary queries can now update the visibility map</h1>
<p>This is closely related to the above, since previously only <code>VACUUM</code> and <code>COPY ... FREEZE</code> could mark a page as all-visible.</p>
<p>With PG19, ordinary table scans executed by simple <code>SELECT</code> statements can also mark qualifying pages as all-visible.<br />
Consider append-heavy workloads, for example a table that mostly receives <code>INSERT</code> and <code>SELECT</code> statements:<br />
previously, newly inserted pages weren’t marked as all-visible until the next vacuum, and scans had to check tuple visibility.</p>
<p>Now, if a sequential scan establishes that every record in a page is visible, it can set the page’s all-visible bit, so that subsequent scans can be faster.</p>
<p>The bigger win is probably with index-only scans:<br />
on all-visible pages they don’t have to visit the table at all, which previously required waiting for (auto)vacuum on such tables.<br />
And the next vacuum can also skip these pages.</p>
<p>The scans only set the all-visible bit, not all-frozen, freezing is still the job of vacuum.</p>
<h1>pg_plan_advice and pg_stash_advice</h1>
<p>These are two new modules in <code>contrib</code>.<br />
This means that they aren’t enabled by default, and an administrator has to add them to a server, but once that’s done, they give users an ability previously not available in core PostgreSQL:</p>
<ul>
<li><code>pg_plan_advice</code> lets users control planner decisions</li>
<li>and <code>pg_stash_advice</code> can store this advice per query ID, and apply it automatically</li>
</ul>
<p>This can be used to lock in unstable plans, and in the future we might even see automated query tuning tools relying on it.</p>
<p><figure><img decoding="async" width="1672" height="941" src="https://percona.community/blog/2026/11/pg19-plan-advice_hu_c80b1d39bf0eee1c.webp" alt="The planner still drives, but now it takes directions" loading="lazy"></figure>
</p>
<p>Similarly to <code>pg_repack</code>, the <a href="https://github.com/ossc-db/pg_hint_plan" target="_blank" rel="noopener noreferrer">pg_hint_plan</a> extension already provided something like this, but now it is part of core, and the advice can be generated directly from an existing plan.</p>
<p><code>pg_plan_advice</code> is a simple loadable module, and once loaded, <code>EXPLAIN</code> can show the advice describing the current plan:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-9" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">LOAD</span><span class="w"> </span><span class="s1">'pg_plan_advice'</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">EXPLAIN</span><span class="w"> </span><span class="p">(</span><span class="n">COSTS</span><span class="w"> </span><span class="k">OFF</span><span class="p">,</span><span class="w"> </span><span class="n">PLAN_ADVICE</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="k">JOIN</span><span class="w"> </span><span class="n">b</span><span class="w"> </span><span class="k">ON</span><span class="w"> </span><span class="n">a</span><span class="p">.</span><span class="n">id</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">b</span><span class="p">.</span><span class="n">a_id</span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="n">a</span><span class="p">.</span><span class="n">x</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="mi">100</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<div class="code-block">
<div class="code-block__header"><button class="code-block__copy" type="button" data-copy-target="codeblock-10" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> QUERY PLAN
</span></span><span class="line"><span class="cl">---------------------------------
</span></span><span class="line"><span class="cl"> Hash Join
</span></span><span class="line"><span class="cl"> Hash Cond: (b.a_id = a.id)
</span></span><span class="line"><span class="cl"> -&gt; Seq Scan on b
</span></span><span class="line"><span class="cl"> -&gt; Hash
</span></span><span class="line"><span class="cl"> -&gt; Seq Scan on a
</span></span><span class="line"><span class="cl"> Filter: (x &lt; 100)
</span></span><span class="line"><span class="cl"> Generated Plan Advice:
</span></span><span class="line"><span class="cl"> JOIN_ORDER(b a)
</span></span><span class="line"><span class="cl"> HASH_JOIN(a)
</span></span><span class="line"><span class="cl"> SEQ_SCAN(b a)
</span></span><span class="line"><span class="cl"> NO_GATHER(a b)</span></span></code></pre>
</div>
</div>
</div>
<p>The same format can be used to force a different plan, for example to build the hash table on <code>b</code> instead:</p>
<div class="code-block">
<div class="code-block__header"><span class="code-block__lang">sql</span><button class="code-block__copy" type="button" data-copy-target="codeblock-11" aria-label="Copy code to clipboard"><br />
<span class="code-block__copy-default">Copy</span><br />
<span class="code-block__copy-success" aria-hidden="true">Copied!</span><br />
</button>
</div>
<div class="code-block__content">
<div class="highlight">
<pre tabindex="0" class="chroma"><code class="language-sql" data-lang="sql"><span class="line"><span class="cl"><span class="k">SET</span><span class="w"> </span><span class="n">pg_plan_advice</span><span class="p">.</span><span class="n">advice</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">'HASH_JOIN(b) SEQ_SCAN(b)'</span><span class="p">;</span></span></span></code></pre>
</div>
</div>
</div>
<p><code>pg_stash_advice</code> is an extension, which stores these advice strings in named stashes, keyed by query ID, and applies them automatically in sessions.</p>
<h1>Logical replication improvements</h1>
<p>Logical replication also received many updates, with two worth mentioning here:</p>
<p>Previously, to enable logical replication, administrators had to switch <code>wal_level</code> from <code>replica</code> to <code>logical</code>, which required a server restart.<br />
Now this is no longer necessary: even when <code>wal_level</code> is set to <code>replica</code>, the server automatically switches to <code>logical</code> when a logical replication slot is created, and back to <code>replica</code> when the last one is dropped.<br />
There’s a new <code>effective_wal_level</code> setting, which shows the value actually used by the server.</p>
<p>Logical replication also got support for replicating sequences, but it isn’t continuous like table replication:<br />
the publication has to include them (<code>CREATE PUBLICATION ... FOR ALL SEQUENCES</code>), and the subscriber copies the current values at <code>CREATE SUBSCRIPTION</code>, and later only when explicitly asked to, with <code>ALTER SUBSCRIPTION ... REFRESH SEQUENCES</code>.<br />
For switchover workflows this is still useful, as running the refresh right before the switch replaces the previous manual handling of sequences.<br />
Unfortunately for major-version upgrades, it requires a PostgreSQL 19 or newer publisher, so it can only help starting with the next upgrade, from 19 to 20.</p>
<h1>There’s more!</h1>
<p>As I wrote at the beginning, this is just a teaser, a selection of features that I think would be interesting for most users.</p>
<p>For the complete list, see the <a href="https://www.postgresql.org/docs/release/19.0/" target="_blank" rel="noopener noreferrer">PostgreSQL 19 release notes</a>, which contain every change worth mentioning in the new release.</p>
<p>The new major version is already available both in <a href="https://docs.percona.com/postgresql/19/installing.html" target="_blank" rel="noopener noreferrer">Percona repositories</a> and in PGDG, try it out and test the new features!</p>
<p><a href="https://percona.community/blog/2026/11/20/whats-left-in-postgres-19/">What&#8217;s left in Postgres 19</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>ClickHouse Security, Compliance and Governance in Polyglot Environments</title>
        <link>https://severalnines.com/blog/clickhouse-security-compliance-and-governance-in-polyglot-environments/</link>
        <pubDate>Thu, 19 Nov 2026 22:47:51 +0000</pubDate>
        <dc:creator>Paul Namuag</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/clickhouse-security-compliance-and-governance-in-polyglot-environments/</guid>
        <source url="https://severalnines.com/">Severalnines</source>
        <description><![CDATA[<p>In our previous blog, we tackled monitoring with observability for ClickHouse. We also addressed hybrid OLTP/analytics database architecture, where data originates from MySQL and flows into ClickHouse. However, running ClickHouse in a hybrid environment also means you need to think about security and compliance. This blog covers the key practices you should have in place, […]<br />
The post ClickHouse Security, Compliance and Governance in Polyglot Environments appeared first on Severalnines.</p>
<p><a href="https://severalnines.com/blog/clickhouse-security-compliance-and-governance-in-polyglot-environments/">ClickHouse Security, Compliance and Governance in Polyglot Environments</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>In our previous blog, we tackled <a href="https://severalnines.com/blog/clickhouse-monitoring-and-observability-decision-points/">monitoring with observability for ClickHouse</a>. We also addressed <a href="https://severalnines.com/blog/hybrid-oltpanalytics-database-workloads-replicating-mysql-data-clickhouse/">hybrid OLTP/analytics database</a> architecture, where data originates from MySQL and flows into ClickHouse. However, running ClickHouse in a hybrid environment also means you need to think about security and compliance. This blog covers the key practices you should have in place, along with a checklist to help you assess how far along you are toward a reliable, well-governed setup. We’ll also cover what you need to know to run ClickHouse securely, walking you through ClickHouse security fundamentals, hybrid environment governance, an operational checklist for support engineers, how a platform like ClusterControl fits into the picture, and a practical configuration example.</p>
<h2 class="wp-block-heading">ClickHouse Security Fundamentals</h2>
<h3 class="wp-block-heading">Authentication and Authorization</h3>
<p>ClickHouse has supported SQL-driven access control (RBAC) since version 20.1. Earlier deployments commonly relied on XML-based user configuration, whereas SQL-managed access control provides a more flexible way to manage users, roles, and permissions.</p>
<p>Using the old-fashioned style <code>users.xml</code> configuration does not possess true roles, and permissions are duplicated across users. Any modification requires a reload or restart to reflect changes. You have to configure and work with XML files which are workable but hard to audit and prone to drift. The current RBAC model is now the recommended approach, and it gives you the building blocks you would expect, i.e. users, roles, row policies, <a href="https://severalnines.com/blog/managing-clickhouse-resources-in-multi-tenant-environments/">quotas, and settings profiles</a>.</p>
<p>By default, a fresh ClickHouse installation has a single <code>default</code> user with no password and full access. That <code>default</code> needs to be locked down before the instance sees any production traffic. At minimum, the default user should have its network access restricted or its password set, and a separate admin account should be created with a strong password.</p>
<h3 class="wp-block-heading">Role-Based Access Control</h3>
<p>Unlike the legacy XML-based approach, ClickHouse’s SQL-driven RBAC allows access policies to be managed through roles and privileges, providing a more scalable, maintainable, and auditable way to enforce least-privilege access across the platform.</p>
<p>Privileges can be scoped at the database, table, column, or row level. Column-level access control is particularly useful in analytics contexts where the same table might contain PII alongside non-sensitive metrics.</p>
<p>Here is a practical example of setting up users and roles in ClickHouse. This covers a common pattern where you have read-only analysts, application service accounts, and an admin role.</p>
<pre class="wp-block-code"><code>-- Create roles
CREATE ROLE analytics_reader;
CREATE ROLE app_writer;
CREATE ROLE db_admin;

-- Grant privileges to roles
GRANT SELECT ON analytics.* TO analytics_reader;
GRANT INSERT, SELECT ON events.* TO app_writer;
GRANT ALL ON *.* TO db_admin WITH GRANT OPTION;

-- Create users
CREATE USER mys9s_client IDENTIFIED WITH sha256_password BY 'str0ngP@ssword!'
    HOST IP '192.168.40.0/16';

CREATE USER srv_app IDENTIFIED WITH sha256_password BY 'myR@ndomP@55!!'
    HOST IP '192.168.40.30';

CREATE USER admin_user IDENTIFIED WITH sha256_password BY 'Adm1nP@ssw0rd!'
    HOST LOCAL;

-- Assign roles to users
GRANT analytics_reader TO mys9s_client;
GRANT app_writer TO srv_app;
GRANT db_admin TO admin_user;

-- Set default roles (active on login without SET ROLE)
SET DEFAULT ROLE analytics_reader TO mys9s_client;
SET DEFAULT ROLE app_writer TO srv_app;
SET DEFAULT ROLE db_admin TO admin_user;

-- Example: row-level policy to restrict by tenant
CREATE ROW POLICY tenant_isolation ON events.user_events
    FOR SELECT USING tenant_id = currentUser()
    TO analytics_reader;

-- Verify role assignments
SHOW GRANTS FOR mys9s_client;</code></pre>
<p>This simplified example assumes that each tenant identifier matches its ClickHouse login username; other identity models require an explicit tenant-to-user mapping.</p>
<p>Column-level restrictions follow a similar pattern. If you want to prevent a role from reading a particular column, you grant <code>SELECT</code> on specific columns rather than the whole table.</p>
<pre class="wp-block-code"><code>-- Grant SELECT only on non-sensitive columns
GRANT SELECT(event_id, event_type, created_at, region)
    ON events.user_events TO analytics_reader;</code></pre>
<h3 class="wp-block-heading">Encryption with ClickHouse: At Rest and In Transit</h3>
<p>For self-managed ClickHouse, explicitly configure TLS on the interfaces your deployment uses and require clients to verify the server certificate. Do not assume that enabling a secure port disables the corresponding unencrypted interface.</p>
<p>ClickHouse supports TLS for all client-to-server and server-to-server communication. For a cluster running replication or distributed queries across shards, enabling TLS on interserver communication is just as important as enabling it on the client interface. Both are configured <code>in /etc/clickhouse-server/config.xml</code>.</p>
<p>The following partial configuration illustrates how to enable HTTPS, secure native TCP connections, and interserver TLS:</p>
<pre class="wp-block-code"><code>8443
9440


    
        /etc/clickhouse-server/ssl/server.crt
        /etc/clickhouse-server/ssl/server.key
        /etc/clickhouse-server/ssl/ca.crt
        relaxed
        true
        true
        sslv2,sslv3
        true
    
    
        /etc/clickhouse-server/ssl/ca.crt
    


9010</code></pre>
<p>For encryption at rest, ClickHouse supports encrypted storage via its virtual file system layer. You configure this per disk in <code>storage_configuration</code>, which lets you encrypt specific data paths without encrypting the entire OS volume if that is not your preferred approach.</p>
<h3 class="wp-block-heading">Audit Logs</h3>
<p>ClickHouse writes query logs and part logs (logging events that are associated with MergeTree) to system tables <code>system.query_log</code>, <code>system.query_thread_log</code>, and <code>system.part_log</code>, among others. These tables are queryable and can be exported to external storage for long-term retention. For compliance use cases, <code>system.query_log</code> is the most relevant as it captures who ran what query, from which host, how long it took, and whether it succeeded.</p>
<p>A few configuration details matter here. The <code>query_log</code> is flushed periodically to the system table, and the interval can be configured. You should also configure retention according to your compliance requirements and export audit records to durable, centralized storage. Although query logs are persisted locally, retaining them exclusively on database nodes creates risks during node replacement, storage loss, or maintenance.</p>
<p>The following query retrieves successfully completed queries from the last 24 hours. To investigate query failures, include the relevant exception event types.</p>
<pre class="wp-block-code"><code>SELECT
    user,
    client_hostname,
    query_start_time,
    query,
    exception,
    read_rows,
    read_bytes
FROM system.query_log
WHERE type = 'QueryFinish'
  AND query_start_time &gt;= now() - INTERVAL 24 HOUR
ORDER BY query_start_time DESC
LIMIT 100;</code></pre>
<h2 class="wp-block-heading">Governance in Hybrid and Multi-Database Stacks</h2>
<h3 class="wp-block-heading">The Consistency Problem</h3>
<p>When ClickHouse is the only database in your stack, governance is relatively contained. You manage one access model, one audit log format, one set of policies. The moment ClickHouse sits alongside PostgreSQL, MySQL, MongoDB, etc., the governance picture changes substantially.</p>
<p>The access models differ. PostgreSQL uses roles and schemas. MySQL has its own privilege system. ClickHouse uses its RBAC model. MongoDB has yet another approach. None of them are directly compatible, and none of them automatically stay in sync. A user that is revoked from your PostgreSQL cluster does not automatically lose access to ClickHouse. If you are managing these systems independently, that kind of drift is almost guaranteed over time.</p>
<h3 class="wp-block-heading">Consistent Policy Enforcement Across Engines</h3>
<p>The practical answer to this problem is to centralise as much of the policy definition as possible outside of the individual database engines, and to treat each engine’s native access control as the enforcement layer rather than the definition layer.</p>
<p>In practice this means:</p>
<ul class="wp-block-list">
<li>Maintaining a canonical source for user and role definitions, whether that is an LDAP directory, an identity provider, or a configuration management system</li>
<li>Automating the propagation of access changes to all affected database engines when a user’s role changes</li>
<li>Running periodic access reviews that compare the actual state of each database against the canonical definitions, and flagging any drift</li>
</ul>
<p>Data lineage is the other piece of this puzzle. When ClickHouse is ingesting data from OLTP sources, you need visibility into where that data came from, what transformations it went through, and who can access it at the destination. Tools like Apache Atlas, DataHub, or OpenMetadata can sit across your stack and provide that visibility. Without it, you are in a difficult position when a compliance team asks which systems contain data from a particular source table.</p>
<h3 class="wp-block-heading">Governance Layer Diagram</h3>
<p>The following diagram illustrates how a governance and access control layer fits across a stack that includes ClickHouse alongside OLTP databases.</p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="741" src="https://severalnines.com/wp-content/uploads/2026/10/clickhouse-postgresql-security-governance-architecture-1024x741.png" alt="ecurity governance architecture showing centralized LDAP identity management, separate PostgreSQL and ClickHouse access controls, ClusterControl operations, SIEM audit collection, and an access revocation not propagated between databases." class="wp-image-45701"></figure>
<h3 class="wp-block-heading">Hybrid Environment Implications</h3>
<p>Running ClickHouse across <a href="https://severalnines.com/blog/operational-considerations-for-clickhouse-in-hybrid-environments/">on-premises infrastructure and cloud environments</a> introduces additional considerations. Network boundaries differ. Key management differs. The audit log pipeline that works fine on-premises may not have a direct equivalent in your cloud provider’s toolchain.</p>
<p>A few points worth thinking through for hybrid deployments:</p>
<p><strong>Network segmentation.</strong> ClickHouse should not be reachable from the public internet. In cloud deployments, this means placing the cluster in a private subnet with no direct inbound rules from 0.0.0.0/0. Communication from application servers should go through defined security groups or firewall rules, not through open access.</p>
<p><strong>Key management.</strong> If you are using encryption at rest, you need a plan for key storage and rotation that works consistently across environments. Cloud-managed key services (AWS KMS, Azure Key Vault, GCP Cloud KMS) work well in cloud deployments, but if the same cluster spans on-premises hardware, you need either a self-hosted KMS or a hybrid key management strategy.</p>
<p><strong>Audit log centralisation.</strong> In hybrid environments, getting logs from on-premises ClickHouse nodes into the same pipeline as cloud-hosted nodes requires explicit plumbing. Using a log shipper like Fluentd or Vector to route <code>system.query_log</code> exports to a central SIEM is a solid approach.</p>
<h2 class="wp-block-heading">Operational Checklist for Support Engineers</h2>
<p>This checklist covers the security and governance tasks that should happen before a ClickHouse deployment goes into production, and the ongoing tasks that should be part of regular operations.</p>
<h3 class="wp-block-heading">Pre-Deployment</h3>
<p><strong>Network and infrastructure baseline:</strong></p>
<ul class="wp-block-list">
<li>ClickHouse nodes are in a private network segment with no public inbound access</li>
<li>Firewall rules restrict access to ports 8123 (HTTP), 8443 (HTTPS), 9000 (TCP), 9440 (TCP TLS) to known application and management hosts only</li>
<li>Interserver communication port (9009 or 9010 for TLS) is restricted to cluster node IPs only</li>
<li>Zookeeper or ClickHouse Keeper nodes (if used for replication) are similarly restricted</li>
</ul>
<p>Authentication and access:</p>
<ul class="wp-block-list">
<li>The <code>default</code> user is either disabled or has its password set and network access restricted</li>
<li>A dedicated admin account is created with a strong password and host restriction</li>
<li>Service accounts are created for each application that writes to ClickHouse</li>
<li>RBAC roles are defined following least-privilege principles</li>
<li>LDAP integration is configured if your organisation uses a centralised directory</li>
<li><code>users.xml</code> is reviewed and any legacy XML-based users are migrated to RBAC</li>
</ul>
<p><strong>Encryption:</strong></p>
<ul class="wp-block-list">
<li>TLS certificates are provisioned and configured for client interfaces (HTTPS and TCP TLS)</li>
<li>Interserver TLS is enabled for cluster communication</li>
<li>Encryption at rest is configured for data disks if required by your compliance framework</li>
<li>Certificate expiry monitoring is in place</li>
</ul>
<p><strong>Audit and logging:</strong></p>
<ul class="wp-block-list">
<li><code>query_log</code> and <code>query_thread_log</code> are enabled and configured with appropriate retention</li>
<li>Log shipping to a centralised store is configured and tested</li>
<li>A baseline query has been run against <code>system.query_log</code> to confirm it is capturing expected data</li>
</ul>
<p><strong>Cloud and on-premises specific:</strong></p>
<ul class="wp-block-list">
<li>For AWS: security groups are scoped, IAM roles are used for S3 backup access instead of static credentials</li>
<li>For Azure: NSG rules are configured, Azure Key Vault integration is configured if using managed encryption keys</li>
<li>For on-premises: storage encryption is handled at the OS or volume level if ClickHouse-native encryption is not used</li>
</ul>
<h3 class="wp-block-heading">Ongoing Operations</h3>
<p><strong>Access reviews:</strong></p>
<ul class="wp-block-list">
<li>User and role assignments are reviewed quarterly against the canonical identity source</li>
<li>Service account credentials are rotated on a defined schedule</li>
<li>Any user who has left the organisation or changed roles is removed or updated within 24 hours</li>
<li><code>SHOW GRANTS</code> output is compared against expected policy definitions periodically</li>
</ul>
<p><strong>Audit log monitoring:</strong></p>
<ul class="wp-block-list">
<li>Alerts are configured for failed authentication attempts (type = ‘LoginFailure’ in system.session_log).</li>
<li>Unusual access patterns (large data exports, queries from unexpected hosts) are flagged</li>
<li>Audit logs are reviewed prior to each compliance audit cycle</li>
<li>Retention policy compliance is confirmed: logs are available for the required period</li>
</ul>
<p><strong>Vulnerability and patch management:</strong></p>
<ul class="wp-block-list">
<li>ClickHouse release notes are reviewed with each new version for security fixes</li>
<li>A staging environment is available for testing version upgrades before production rollout</li>
<li>OS-level security patches are applied on a regular schedule without waiting for a ClickHouse upgrade to trigger maintenance</li>
<li>Dependency scanning covers the ClickHouse deployment as part of the broader infrastructure scan</li>
</ul>
<h2 class="wp-block-heading">Integration with Database Operations Tooling</h2>
<h3 class="wp-block-heading">The Multi-Engine Management Problem</h3>
<p>Support and operations teams managing a polyglot database estate face a specific version of the governance problem: visibility. When your databases are spread across MySQL, PostgreSQL, MongoDB, and ClickHouse, each running across different environments, the security posture of any one system is often invisible to the people responsible for the others. Configuration drift happens quietly. A role that was created for a temporary project never gets removed. A user account tied to a contractor who left six months ago is still active.</p>
<p>A platform like ClusterControl addresses this by providing a unified management layer across multiple database engines. From a single interface, you can see the state of your clusters, manage users and roles, trigger maintenance operations, and view alerts across the whole estate.</p>
<h3 class="wp-block-heading">What This Looks Like for ClickHouse Governance</h3>
<p>Within a unified platform, the operational workflow for ClickHouse governance becomes much more tractable. Instead of SSH-ing into individual nodes to run SHOW GRANTS or tailing log files, you have a central view of access configuration, audit events, and security posture across engines.</p>
<p>Identifying configuration drift is an important part of this workflow. Roles may be modified directly on database nodes, user accounts may remain active after organisational changes, and security settings can become inconsistent across environments. Regularly comparing database configurations and permissions against a defined baseline helps teams identify these discrepancies. Centralized operational monitoring supports this process, while identity management, policy reconciliation, and audit collection require complementary controls and procedures.</p>
<p>For ClickHouse specifically, <a href="https://severalnines.com/clustercontrol/databases/clickhouse/">ClusterControl’s ClickHouse support</a> covers cluster deployment, node management, and the operational visibility that keeps day-to-day governance manageable rather than a manual audit exercise.</p>
<h2 class="wp-block-heading">Conclusion</h2>
<p>ClickHouse brings real performance advantages to analytics workloads, but it also brings a new surface area to manage when it comes to security and governance. Its access controls, encryption options, and logging can support your organization’s security and compliance requirements when they are configured, tested, and maintained appropriately.</p>
<p>The challenge is maintaining consistent governance across a polyglot database estate. User lifecycle management, access reviews, and audit log aggregation need to work across ClickHouse and your OLTP systems together, not in parallel silos. That requires both a technical approach (centralised identity, automated policy propagation) and an operational discipline (regular access reviews, drift detection, vulnerability scanning on a predictable schedule).</p>
<p>The checklist and configuration examples in this post give your team a starting point for a structured approach. Whether you are deploying ClickHouse for the first time or hardening an existing deployment, working through those items systematically is more reliable than handling governance ad hoc as the cluster grows.</p>
<p>If your team is managing ClickHouse alongside other database engines, a unified operations platform like ClusterControl can help reduce the complexity of maintaining visibility across the estate. Combining centralised monitoring and supported management capabilities with consistent identity policies, audit collection, and periodic access reviews provides a more manageable foundation for database security and governance across hybrid environments.</p>
<p>The post <a href="https://severalnines.com/blog/clickhouse-security-compliance-and-governance-in-polyglot-environments/">ClickHouse Security, Compliance and Governance in Polyglot Environments</a> appeared first on <a href="https://severalnines.com/">Severalnines</a>.</p>
<p><a href="https://severalnines.com/blog/clickhouse-security-compliance-and-governance-in-polyglot-environments/">ClickHouse Security, Compliance and Governance in Polyglot Environments</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>From Exception Report to AI Agent: How MariaDB Combines SQL and Vector Search</title>
        <link>https://mariadb.com/resources/blog/from-exception-report-to-ai-agent-how-mariadb-combines-sql-and-vector-search/</link>
        <pubDate>Thu, 19 Nov 2026 16:32:25 +0000</pubDate>
        <dc:creator>Michael Aglietti</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/from-exception-report-to-ai-agent-how-mariadb-combines-sql-and-vector-search/</guid>
        <source url="https://mariadb.com/">MariaDB</source>
        <description><![CDATA[<p>If you build business applications on MariaDB, you probably own a report like this one. Once a month, a SQL […]</p>
<p><a href="https://mariadb.com/resources/blog/from-exception-report-to-ai-agent-how-mariadb-combines-sql-and-vector-search/">From Exception Report to AI Agent: How MariaDB Combines SQL and Vector Search</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>If you build business applications on MariaDB, you probably own a report like this one. Once a month, a SQL query lists the accounts, invoices, or borrowers that broke a business rule. For example, an invoice more than 90 days overdue or a borrower whose debt exceeds the limit in its loan agreement. Finance teams call this an exception report. Each row on that list is an exception.</p>
<p><a href="https://mariadb.com/resources/blog/from-exception-report-to-ai-agent-how-mariadb-combines-sql-and-vector-search/" rel="nofollow">Source</a></p>
<p><a href="https://mariadb.com/resources/blog/from-exception-report-to-ai-agent-how-mariadb-combines-sql-and-vector-search/">From Exception Report to AI Agent: How MariaDB Combines SQL and Vector Search</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Why MySQL OR is slower than IN</title>
        <link>https://www.percona.com/blog/why-mysql-or-is-slower-than-in/</link>
        <pubDate>Thu, 19 Nov 2026 00:22:44 +0000</pubDate>
        <dc:creator>Jinyou Ma</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/why-mysql-or-is-slower-than-in/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>Queries with OR conditions are commonly used to implement business logic. However, it might be slower than we expected.  Although the query below scans only 1 million rows, it runs for 6,7254 seconds. [crayon-6afe48c3b9849522232293/] The CPU profile indicates that 99% of CPU time was spent in [crayon-6afe48c3b984f003432941-i/] on MySQL 8.4. [crayon-6afe48c3b9851911021732/] How MySQL evaluates OR conditions MySQL … Continued<br />
The post Why MySQL OR is slower than IN appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/why-mysql-or-is-slower-than-in/">Why MySQL OR is slower than IN</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p><span><span data-d-streaming-word="">Queries</span> with <code data-d-component="code" class="x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf"><span data-d-streaming-word="">OR</span></code> <span data-d-streaming-word="">conditions</span> <span data-d-streaming-word="">are</span> <span data-d-streaming-word="">commonly</span> <span data-d-streaming-word="">used</span> <span data-d-streaming-word="">to</span> <span data-d-streaming-word="">implement</span> <span data-d-streaming-word="">business</span> <span data-d-streaming-word="">logic. </span></span></p>
<p><span><span data-d-streaming-word="">However, it might be slower than we expected. </span></span></p>
<p>Although the query below scans only 1 million rows, it runs for 6,7254 seconds.</p>
<pre class="urvanov-syntax-highlighter-plain-tag"># User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:   188
# Schema:   Last_errno: 1160  Killed: 0
# Query_time: 67254.081455  Lock_time: 0.000006  Rows_sent: 1  Rows_examined: 1000000  Rows_affected: 0  Bytes_sent: 0
...
SELECT COUNT(*) FROM db1.sbtest1 WHERE id = 1 OR id = 2 OR id = 3 OR id = 4 OR id = 5 OR id = 6 OR id = 7 OR id = 8 OR id = 9 ...
...</pre>
<p><span>The CPU profile indicates that </span><span>99%</span><span> of CPU time was spent in<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">Item_cond_or</span><span class="crayon-o">::</span><span class="crayon-e">val_int</span><span class="crayon-sy">(</span><span class="crayon-sy">)</span></span></span></span><span> on MySQL 8.4</span><span>.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">connection
└ mysql_execute_command → Sql_cmd_dml::execute → Query_expression::ExecuteIteratorQuery
  └ AggregateIterator::Read                                99.80%
    └ FilterIterator::Read                                 99.80%
      ├ Item_cond_or::val_int                              98.96%
      │ └ Item::val_bool → Item_func_eq::val_int           91.27%
      │   └ Arg_comparator::compare_int_signed             58.46%
      │     ├ Item_field::val_int                          16.18%
      │     └ (literal) val_int                            10.04%
      └ IndexScanIterator::Read → row_search_mvcc           0.02%</pre>
</p>
<h2><span>How MySQL evaluates OR conditions</span></h2>
<p><span>MySQL turns<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">id</span><span class="crayon-h"> </span><span class="crayon-o">=</span><span class="crayon-h"> </span><span class="crayon-cn">1</span><span class="crayon-h"> </span><span class="crayon-st">OR</span><span class="crayon-h"> </span><span class="crayon-v">id</span><span class="crayon-h"> </span><span class="crayon-o">=</span><span class="crayon-h"> </span><span class="crayon-cn">2</span><span class="crayon-h"> </span><span class="crayon-st">OR</span><span class="crayon-h"> </span><span class="crayon-sy">.</span><span class="crayon-sy">.</span><span class="crayon-sy">.</span><span class="crayon-h"> </span><span class="crayon-st">OR</span><span class="crayon-h"> </span><span class="crayon-v">id</span><span class="crayon-h"> </span><span class="crayon-o">=</span><span class="crayon-h"> </span><span class="crayon-v">N</span></span></span> </span><span>into one<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">Item_cond_or</span></span></span> </span><span>holding </span><span>N</span><br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">Item_func_eq</span></span></span> <span> elements.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">longlong Item_cond_or::val_int() {
  assert(fixed);
  List_iterator_fast li(list);
  Item *item;
  null_value = false;
  while ((item = li++)) {
    if (item-&gt;val_bool()) {
      null_value = false;
      return 1;
    }
    if (item-&gt;null_value) null_value = true;
    if (current_thd-&gt;is_error()) return error_int();
  }
  return 0;
}</pre>
<p><span>It checks each<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-st">OR</span></span></span> </span><span> element in the list until it finds a match.</span></p>
<ul>
<li><span>If a row matches term </span><span>k</span><span>, it costs </span><span>k</span><span>.</span></li>
<li><span>If a row matches nothing, it costs </span><span>N</span><span>.</span></li>
</ul>
<p><span>The cost of the linear search is<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-e">O</span><span class="crayon-sy">(</span><span class="crayon-v">N</span><span class="crayon-sy">)</span></span></span>.</span></p>
<h2><span>How MySQL evaluates IN conditions</span></h2>
</p>
<pre class="urvanov-syntax-highlighter-plain-tag">bool in_longlong::find_item(Item *item) {
  if (m_used_size == 0) return false;
  packed_longlong result;
  val_item(item, &amp;result);
  if (item-&gt;null_value) return false;
  return std::binary_search(base.begin(), base.begin() + m_used_size, result,
                            Cmp_longlong());
}</pre>
<p><span>The cost of the binary search is<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-e">O</span><span class="crayon-sy">(</span><span class="crayon-i">log</span><span class="crayon-h"> </span><span class="crayon-v">N</span><span class="crayon-sy">)</span></span></span>.</span></p>
<h2><span>The cost of OR conditions</span></h2>
<p><span>MySQL evaluates </span><span>OR</span><span> conditions in a nested loop.</span></p>
<p><span>The outer loop walks the rows from the table, and the inner loop walks the </span><span>OR</span><span> list:</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">for each row r:                 -- outer loop: R rows
    for each term o:            -- inner loop: up to N terms
        if r == o:
            break               -- exit inner loop; continue with next row</pre>
<p><span>Assume that</span></p>
<ul>
<li><span>N</span><span> is the number of values in the </span><span>OR</span><span> list</span></li>
<li><span>R</span><span> is the number of rows the filter evaluates</span></li>
<li><span>T</span><span> is the number of rows in the table</span></li>
</ul>
<p><span>A row that matches term </span><span>k</span><span> leaves the inner loop after </span><span>k</span><span> checks, which is about </span><span>N/2</span><span> on average.</span></p>
<p><span>A row that matches nothing runs all </span><span>N</span><span>.</span></p>
<p><span>The OR list costs<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-e">O</span><span class="crayon-sy">(</span><span class="crayon-i">R</span><span class="crayon-h"> </span>×<span class="crayon-h"> </span><span class="crayon-v">N</span><span class="crayon-sy">)</span></span></span>.</span></p>
<p><span>R depends on the query’s access type.</span></p>
<h2><span>How access type impacts the cost</span></h2>
<h3><span>Range access: O(N²)</span></h3>
<p><span>When the optimizer chooses<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">range</span></span></span></span><span> access type, it reads only the matching keys from the index:</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql &gt; explain for connection 11G
*************************** 1. row ***************************
           id: 1
  select_type: SIMPLE
        table: sbtest1
   partitions: NULL
         type: range
possible_keys: PRIMARY
          key: PRIMARY
      key_len: 8
          ref: NULL
         rows: 34753
     filtered: 100.00
        Extra: Using where; Using index
1 row in set (0.00 sec)</pre>
<p><span>The range has already done the filtering, but the server checks each row again, term by term.</span></p>
<p><span>R</span><span> grows with </span><span>N</span><span>, and each row checks about N/2 terms: R × N/2 ≈ N²/2.</span></p>
<p><span>R</span><span> is equal to </span><span>N</span><span> when all OR conditions in the table exist.</span></p>
<p><span>In general, the cost is </span><span>O(N²)</span><span>.</span></p>
<p><span>Since the table size </span><span>T</span><span> does not appear in this cost, the increasing number of rows does not increase the execution time.</span></p>
<p><span>The same query on tables of 100k, 500k, and 1M rows takes about the same time:</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-56088" src="https://www.percona.com/wp-content/uploads/2026/11/ON%C2%B2.png" alt="" width="600" height="371"></p>
<p><span>Although the number of rows in the table grows 10 times from 100k to 1M, the execution time is still close.</span></p>
<p><span>Range access reads only the </span><span>N</span><span> matching rows, so only </span><span>N</span><span> matters.</span></p>
<p><span>However, </span><span>R</span><span> is not always equal to </span><span>N</span><span>.</span></p>
<p><span>R</span><span> is less than </span><span>N</span><span> when only part of the list exists in the table.</span></p>
<p><span>R</span><span> is greater than </span><span>N</span><span> when each value matches several rows.</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-large wp-image-56089" src="https://www.percona.com/wp-content/uploads/2026/11/R_percentage-1024x571.png" alt="" width="1024" height="571"></p>
<p><span>In this case, the cost is O(p × N²), where p is the percentage of rows matched from the table.</span></p>
<h3><span>Index scan: O(T × N)</span></h3>
<p><span>When the optimizer chooses<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">index</span></span></span> </span><span>access type, it reads all records from the index:</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql &gt; explain for connection 11G
*************************** 1. row ***************************
           id: 1
  select_type: SIMPLE
        table: sbtest1
   partitions: NULL
         type: index
possible_keys: PRIMARY
          key: PRIMARY
      key_len: 8
          ref: NULL
        rows: 1000000
     filtered: 100.00
        Extra: Using where; Using index
1 row in set (0.00 sec)</pre>
<p><span>Now R = T. Every row in the table goes through the inner loop, and the T − N rows that match nothing run all N terms.</span></p>
<p><span>The cost is O(T × N). T does not change as N grows, so the cost is linear in N.</span></p>
<p><span>Linear does not mean cheaper, because T is much larger than N.</span></p>
<p><span>At N = 40,000 on this table of about 1M rows, range access checks about N²/2 = 0.8 billion terms.</span></p>
<p><span>The index scan checks about T × N = 40 billion, roughly 50 times more.</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-large wp-image-56090" src="https://www.percona.com/wp-content/uploads/2026/11/OTN-1024x658.png" alt="" width="1024" height="658"></p>
<p><span>Going from 34,753 OR conditions to 34,754 OR conditions pushed the ranges past the limit.</span></p>
<p><span>The OR query went from 37 s to 2,907 s, which is 79 times longer.</span></p>
<p><span> </span></p>
<p><span>In the<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">index</span></span></span> </span><span> access type, the table size </span><span>T</span><span> is part of this cost, and the test shows it.</span></p>
<p><img decoding="async" loading="lazy" class="alignnone size-full wp-image-56091" src="https://www.percona.com/wp-content/uploads/2026/11/TN.png" alt="" width="600" height="371"></p>
<p><span>The same 40,000-value OR query with an index scan took </span><span>3,406</span><span> s on a 1M-row table, </span><span>1,752</span><span> s on a 500k-row table, and </span><span>265</span><span> s on a 100k-row table.</span></p>
<h3><span>Full table scan: O(T × N)</span></h3>
<p><span>This is similar to the index scan, which occurs when no suitable index is available for the query.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql&gt; explain for connection 9G
*************************** 1. row ***************************
           id: 1
  select_type: SIMPLE
        table: sbtest1
   partitions: NULL
         type: ALL
possible_keys: NULL
          key: NULL
      key_len: NULL
          ref: NULL
         rows: 1000000
     filtered: 100.00
        Extra: Using where
1 row in set (0.01 sec)</pre>
</p>
<h2><span data-d-streaming-word="">Why</span> does the <span data-d-streaming-word="">optimizer</span> <span data-d-streaming-word="">switch from </span><span data-d-streaming-word="">range </span><span data-d-streaming-word="">to </span><span data-d-streaming-word="">index</span></h2>
<p><span>Reason 1: the<br />
			<span class="urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco"><span class="crayon-pre urvanov-syntax-highlighter-code"><span class="crayon-v">range_optimizer_max_mem_size</span></span></span> </span><span> (8 MB by default) limit is exceeded.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">mysql &gt; show warnings limit 1G
*************************** 1. row ***************************
  Level: Warning
   Code: 3170
Message: Memory capacity of 8388608 bytes for 'range_optimizer_max_mem_size' exceeded. Range optimization was not done for this query.
1 row in set (0.00 sec)</pre>
<p><span>In this case, the server raises warning </span><span>3170</span><span> and does not use range access.</span></p>
<p><span>Please read more blogs about it</span></p>
<p><a href="https://www.percona.com/blog/low-value-in-range_optimizer_max_mem_size-might-cause-full-table-scan/">Low Value in range_optimizer_max_mem_size Might Cause Full Table Scan</a></p>
<p><a href="https://www.percona.com/blog/why-are-queries-with-many-in-values-more-expensive-after-upgrading-to-mysql-8-x/">Why Are Queries with Many IN Values More Expensive After Upgrading to MySQL 8.x?</a></p>
<p><span>Reason 2: the cost model thinks the index scan is cheaper.</span></p>
<p><span>The optimizer trace indicates it does not choose the </span><span>range</span><span> scan because of its cost.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">"range_scan_alternatives": [
      {
        "index": "PRIMARY",
        "ranges": [
          "id = 1",
          ...
          "id = 9998",
          "id = 9999",
          "id = 10000"
        ],
        "index_dives_for_eq_ranges": false,
        "rowid_ordered": true,
        "using_mrr": false,
        "index_only": true,
        "in_memory": 0.000709723,
        "rows": 10000,
        "cost": 11006.7,
        "chosen": false,
        "cause": "cost"
      }</pre>
</p>
<h2><span>The cost of IN conditions</span></h2>
<p><span>In general, the cost of evaluating the entire </span><span>IN</span><span> condition is O(R log N). </span></p>
<p><span>Similar to </span><span>OR</span><span> conditions, R depends on the query’s access type.</span></p>
<p><span>After rewriting the query with IN, the execution time is below.</span></p>
<p><img decoding="async" loading="lazy" class="alignnone size-large wp-image-56092" src="https://www.percona.com/wp-content/uploads/2026/11/IN-1024x483.png" alt="" width="1024" height="483"></p>
<h2><span>Conclusion</span></h2>
<p><span>Since the time complexity of OR conditions is more expensive than that of IN, the query with OR conditions is slower than the query with IN conditions.</span></p>
<p> </p>
<p>The post <a href="https://www.percona.com/blog/why-mysql-or-is-slower-than-in/">Why MySQL OR is slower than IN</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/why-mysql-or-is-slower-than-in/">Why MySQL OR is slower than IN</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB’s Hackathon Challenge at Junction 2026</title>
        <link>https://mariadb.org/junction-2026/</link>
        <pubDate>Wed, 18 Nov 2026 13:59:51 +0000</pubDate>
        <dc:creator>Robert Silén</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadbs-hackathon-challenge-at-junction-2026/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Junction is Europe’s biggest hackathon: about 2,000 people building for 48 hours in Espoo, Finland. At Junction 2026, on 13–15 November, the MariaDB Foundation hosted MariaDB’s Wikipedia challenge: build tools that make Wikipedia better, using MariaDB Vector or system-versioned tables, or both. We chose Wikipedia because Wikipedia itself runs on MariaDB. For the challenge we […]<br />
MariaDB’s Hackathon Challenge at Junction 2026 appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/junction-2026/">MariaDB’s Hackathon Challenge at Junction 2026</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Junction is Europe’s biggest hackathon: about 2,000 people building for 48 hours in Espoo, Finland. At Junction 2026, on 13–15 November, the MariaDB Foundation hosted MariaDB’s Wikipedia challenge: build tools that make Wikipedia better, using MariaDB Vector or system-versioned tables, or both. We chose Wikipedia because Wikipedia itself runs on MariaDB. For the challenge we […]</p>
<p><a href="https://mariadb.org/junction-2026/">MariaDB’s Hackathon Challenge at Junction 2026</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/junction-2026/">MariaDB’s Hackathon Challenge at Junction 2026</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB Server 12.3, 11.8, 11.4 and 10.11 – Q4 2026 Maintenance Releases</title>
        <link>https://mariadb.org/mariadb-server-12-3-11-8-11-4-and-10-11-q4-2026-maintenance-releases/</link>
        <pubDate>Wed, 18 Nov 2026 09:35:31 +0000</pubDate>
        <dc:creator>Frédéric Descamps</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadb-server-12-3-11-8-11-4-and-10-11-q4-2026-maintenance-releases/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Another quarter, another round of MariaDB Server maintenance releases! On November 16, 2026, we released updates for our four currently maintained Long Term Support (LTS) series: As usual, these releases bring bug fixes, stability improvements, and security-related corrections across MariaDB Server. Maintenance releases might not attract as much attention as new versions introducing exciting features, […]<br />
MariaDB Server 12.3, 11.8, 11.4 and 10.11 – Q4 2026 Maintenance Releases appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/mariadb-server-12-3-11-8-11-4-and-10-11-q4-2026-maintenance-releases/">MariaDB Server 12.3, 11.8, 11.4 and 10.11 – Q4 2026 Maintenance Releases</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Another quarter, another round of MariaDB Server maintenance releases! On November 16, 2026, we released updates for our four currently maintained Long Term Support (LTS) series: As usual, these releases bring bug fixes, stability improvements, and security-related corrections across MariaDB Server. Maintenance releases might not attract as much attention as new versions introducing exciting features, […]</p>
<p><a href="https://mariadb.org/mariadb-server-12-3-11-8-11-4-and-10-11-q4-2026-maintenance-releases/">MariaDB Server 12.3, 11.8, 11.4 and 10.11 – Q4 2026 Maintenance Releases</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/mariadb-server-12-3-11-8-11-4-and-10-11-q4-2026-maintenance-releases/">MariaDB Server 12.3, 11.8, 11.4 and 10.11 – Q4 2026 Maintenance Releases</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB Cloud AI Retrieval: Managed RAG over Documents and Databases</title>
        <link>https://mariadb.com/resources/blog/mariadb-cloud-ai-retrieval-managed-rag-over-documents-and-databases/</link>
        <pubDate>Tue, 17 Nov 2026 17:34:12 +0000</pubDate>
        <dc:creator>Egor Ustinov</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadb-cloud-ai-retrieval-managed-rag-over-documents-and-databases/</guid>
        <source url="https://mariadb.com/">MariaDB</source>
        <description><![CDATA[<p>MariaDB Cloud AI Retrieval... is a managed retrieval-augmented generation (RAG) service that grounds AI applications and agents in your documents and in the live data in your MariaDB databases, through a simple REST API.</p>
<p><a href="https://mariadb.com/resources/blog/mariadb-cloud-ai-retrieval-managed-rag-over-documents-and-databases/">MariaDB Cloud AI Retrieval: Managed RAG over Documents and Databases</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Teams asked to ship AI applications and agents fast often spend months building retrieval plumbing first, and still end up copying database data into a second system that has to be secured and kept in sync. MariaDB Cloud AI Retrieval, now in Public Preview, takes that work off your team: it’s a managed retrieval-augmented generation (RAG) service that grounds AI applications and agents in your…</p>
<p><a href="https://mariadb.com/resources/blog/mariadb-cloud-ai-retrieval-managed-rag-over-documents-and-databases/" rel="nofollow">Source</a></p>
<p><a href="https://mariadb.com/resources/blog/mariadb-cloud-ai-retrieval-managed-rag-over-documents-and-databases/">MariaDB Cloud AI Retrieval: Managed RAG over Documents and Databases</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Hunting Performance Regressions Through Years of MariaDB History</title>
        <link>https://mariadb.org/hunting-performance-regressions-through-years-of-mariadb-history/</link>
        <pubDate>Tue, 17 Nov 2026 15:54:59 +0000</pubDate>
        <dc:creator>Jonathan Miller</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/hunting-performance-regressions-through-years-of-mariadb-history/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Performance regression investigations rarely follow a straight line. Mark Callaghan has been providing me with some great MariaDB performance issues to investigate. These are exactly the kinds of problems I enjoy working on. A benchmark shows that something changed, sometimes years ago, and the job becomes figuring out where, why, and whether the performance was […]<br />
Hunting Performance Regressions Through Years of MariaDB History appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/hunting-performance-regressions-through-years-of-mariadb-history/">Hunting Performance Regressions Through Years of MariaDB History</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Performance regression investigations rarely follow a straight line. Mark Callaghan has been providing me with some great MariaDB performance issues to investigate. These are exactly the kinds of problems I enjoy working on. A benchmark shows that something changed, sometimes years ago, and the job becomes figuring out where, why, and whether the performance was […]</p>
<p><a href="https://mariadb.org/hunting-performance-regressions-through-years-of-mariadb-history/">Hunting Performance Regressions Through Years of MariaDB History</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/hunting-performance-regressions-through-years-of-mariadb-history/">Hunting Performance Regressions Through Years of MariaDB History</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>PGConf.EU 2026: It&#8217;s About More Than PostgreSQL</title>
        <link>https://percona.community/blog/2026/11/17/pgconf.eu-2026-its-about-more-than-postgresql/</link>
        <pubDate>Tue, 17 Nov 2026 11:00:00 +0000</pubDate>
        <dc:creator>Source Author</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/pgconf-eu-2026-its-about-more-than-postgresql/</guid>
        <source url="https://percona.community/blog/">Percona Community Blog - learn about MySQL, MariaDB, PostgreSQL, and MongoDB</source>
        <description><![CDATA[<p>Autumn is the time when leaves change color and fall. It’s also the time when new PostgreSQL releases come out, or at least that’s been the tradition for quite a while.</p>
<p><a href="https://percona.community/blog/2026/11/17/pgconf.eu-2026-its-about-more-than-postgresql/">PGConf.EU 2026: It&#8217;s About More Than PostgreSQL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Autumn is the time when leaves change color and fall. It’s also the time when new PostgreSQL releases come out, or at least that’s been the tradition for quite a while.</p>
<p>There’s one more thing that autumn brings to the PostgreSQL world: <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a>, the annual conference that has grown into the largest PostgreSQL community event.</p>
<p>This year we met in Valencia, Spain. And while I’ve attended several editions already, 2026 brought quite a few firsts for me.</p>
<h2>2026 brought a lot of firsts</h2>
<div>
<p><figure><img decoding="async" width="1536" height="1024" src="https://percona.community/blog/2026/11/jan-pgc-one_hu_fc49e1e36231520f.webp" alt="Elephants celebrating their PGConf.EU 2026 firsts" loading="lazy"></figure>
</p>
</div>
<h3>1. A proper conference venue!</h3>
<p>For the first time, I attended a <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a> that wasn’t hosted in a hotel. And what an improvement!</p>
<p>The acoustics at Valencia’s conference center were better than anything I’ve experienced at the previous three editions. I still remember (and dread) the noise levels in Athens.</p>
<p>Kudos to the organizing team for making this brave decision. Moving away from the familiar hotel format was clearly a challenge, but I don’t think the conference atmosphere or networking suffered at all. Quite the opposite. Having more space made the whole experience more comfortable without losing the community feeling.</p>
<h3>2. Talking about a PostgreSQL release that hadn’t quite arrived</h3>
<p>This was also the first <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a> I attended where a new PostgreSQL major release was still waiting for its final release date. If my search results are correct then the last time it happened was over a decade ago when Vienna <a href="https://2015.pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU 2015</a> happened before the release of <a href="https://www.postgresql.org/docs/release/9.5.0/" target="_blank" rel="noopener noreferrer">PostgreSQL 9.5</a> later in January of 2016. So <a href="https://2026.pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU 2026</a> was the first occurrence in 11 years, breaking a streak that started in 2016.</p>
<p><a href="https://www.postgresql.org/about/news/postgresql-19-rc-1-released-3409/" target="_blank" rel="noopener noreferrer">PostgreSQL 19 had reached RC1</a> just before the conference, but its general availability had moved to November. That created an interesting situation for speakers presenting new PostgreSQL 19 features.</p>
<p>At this stage, we can be fairly confident that what’s in the release candidate will make it into the final version. But fairly confident isn’t the same as certain. I can only imagine how stressful that must have been for some speakers.<br />
The ongoing “vulnapocalypse” has certainly taken its toll on the project.</p>
<p>One positive thing that many of us kept coming back to during conversations was that the pressure wasn’t simply the result of LLM-generated slop flooding the project. <a href="https://percona.community/blog/2026/10/15/apologies-for-delaying-postgres-19/" target="_blank" rel="noopener noreferrer">Gen AI-assisted tools have also helped uncover real security issues</a> that needed attention.</p>
<p>Hopefully, things will become more manageable as we learn to incorporate these tools into our everyday workflows. I suspect the current pace of discoveries won’t continue forever, but we’ll need better processes for handling them either way.</p>
<p>For now, it’s reassuring to see that the project is willing to delay a release rather than compromise on quality and security. It’s also great to see engagement and overall understanding coming from the broad community in the face of such a crisis. I have not heard one person “whining” it was more of a motivated discussion with everyone eager to work towards a better future.</p>
<h3>3. Presenting with someone I’d never met in person</h3>
<p>For the first time, I gave a conference talk with a speaker from another company. More importantly, someone I’d never met in person before the event.</p>
<p>I have to admit, this was a little stressful.</p>
<p>David Steele and I had worked remotely on the presentation and I felt very positive about what we’d prepared. But there’s a difference between working together online and standing on stage together in front of an audience.</p>
<p>Thankfully, David turned out to be an amazingly kind and thoughtful person in real life. We clicked immediately and I genuinely enjoyed presenting with him.</p>
<p>All’s well that ends well. And this one ended very well!</p>
<h3>4. Seeing the Call for Papers process from the other side</h3>
<p>This was my first time serving on a Call for Papers (CfP) committee.</p>
<p>The experience deserves its own blog post and I certainly intend to write one. For now, I’ll just say that it taught me a lot.</p>
<p>Reviewing submissions gives you a completely different perspective on what makes a good conference proposal. It also forces you to reflect on your own submissions and how you can make them clearer, more compelling and easier for others to evaluate. Lastly it leaves you with a lot of appreciation for the otherwise invisible hard work of the reviewing committee. Kudos to all the CfP committees of all the past conferences I’ve attended cannot be emphasized enough!</p>
<p>While very time consuming, I hope I’ll have the opportunity to do it again.</p>
<h3>5. Experiencing Community Day</h3>
<p>Another first for me was participating in the Community Events Day following the main conference. Not before as it used to be before.</p>
<p>Nothing else to say than that I loved it!</p>
<p>The discussions were productive and, hopefully, will lead to some great new initiatives (new mailing list being one of them). But what surprised me most was how much I appreciated the smaller crowds.<br />
While I love the main PGConf.EU event for how big it is, with fewer people around, it was easier to have longer conversations, meet fellow attendees and discuss ideas without constantly rushing to the next session. Also longer sessions with a more of an unconference vibes gave more space for organized discussions.<br />
Here I have to thank the teams behind the sessions to which I attended Floor Drees and Alastair Turner as well as Chris Ellis, Valeria Kaplan and Loreta Ozolina. These guys did an amazing job to keep us in check and drive the discussions towards results that I hope will make PostgreSQL Community a better one! I really hope this format continues to grow and we’ll meet on a next Community Day after <a href="https://2027.pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU 2027</a> (mind it this is a link to the future today and may not work…).</p>
<h2>Community is strong in this one</h2>
<div>
<p><figure><img decoding="async" width="1536" height="1024" src="https://percona.community/blog/2026/11/jan-pgc-this_hu_61532e19cc244a7c.webp" alt="Elephants learning from a wise elephant teacher in a swamp" loading="lazy"></figure>
</p>
</div>
<p>Some things haven’t changed at all.</p>
<p><a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a> remains one of the best places to experience the strength of the PostgreSQL Community.</p>
<p>To really understand why this is a community conference, rather than just a conference about PostgreSQL, you have to venture beyond the official schedule. Unfortunately not everyone knows this, for me it took some time to get the most of these events.</p>
<p>To give you some examples how to get more out of the future events I would start off by joining all the Conference specific Telegram channels that are communicated by the organizers before the event. Next steps require more engagement, to give you some examples of what can help experience the Community vibe in full this can be:</p>
<ul>
<li>Going for a morning run with fellow attendees</li>
<li>Joining a pub crawl or going out for a meal</li>
<li>Singing (or bravely attempting to sing) at community karaoke</li>
<li>Exploring the city together, also after the event as a lot of attendees stay for the following weekend</li>
<li>Organizing an excursion and inviting others along</li>
</ul>
<p>Of course, none of these activities is unique to PostgreSQL conferences. The difference is who you do them with.</p>
<p>At many industry events, social activities revolve around colleagues, customers or business partners. At <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a>, you might spend the evening with people you met during the hallway track, people from competing companies or people you’ve known for years but only ever see at PostgreSQL events. To be honest while we work in competing companies, we find ourselves building relationships after hours with fellow PostgreSQL engineers from across the industry.</p>
<p>You start with a technical discussion and end up bonding over something that has absolutely nothing to do with databases.</p>
<p>It may seem like a small thing, but it makes a huge difference.</p>
<p>People genuinely make an effort to include others, extend invitations and make newcomers feel welcome. It’s not just about meeting the people you already know.</p>
<p>I realize that not everyone has the energy or inclination to socialize with strangers. And there’s nothing wrong with that. But for me, this is where much of the value of PGConf.EU 2026 lies.</p>
<p>It’s also probably why these conferences leave me so physically and emotionally exhausted.</p>
<p>The good kind of exhausted. Mostly.</p>
<h2>No better place to get the PostgreSQL team together</h2>
<div>
<p><figure><img decoding="async" width="1448" height="1086" src="https://percona.community/blog/2026/11/jan-pgc-team_hu_2c7b4c30f02c9a0d.webp" alt="Elephants having fun in a giant paella" loading="lazy"></figure>
</p>
</div>
<p>For the second year in a row, Percona PostgreSQL Engineering used <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a> as an opportunity to bring the (normally remotely working) team together ahead of the event. This time, our focus was planning for 2027.</p>
<p>From a practical perspective, it makes a lot of sense.</p>
<p>Many of our engineers attend PostgreSQL conferences anyway. Bringing a few additional colleagues to the same location is considerably easier and less expensive than arranging a completely separate team gathering.</p>
<p>But the real value goes beyond logistics.</p>
<p>As a remote-first company, we don’t get many opportunities to spend time together in person. And those opportunities matter.</p>
<p>Face-to-face conversations help build personal connections and trust that carry over into our everyday remote work.</p>
<p>After all, we’ve probably all experienced how emotionally detached a Slack message can feel. Sometimes a short message reads very differently once you actually know the person behind it.</p>
<p>A few days together can make months of remote collaboration easier.</p>
<h2>No better track than a hallway track</h2>
<div>
<p><figure><img decoding="async" width="1536" height="1024" src="https://percona.community/blog/2026/11/jan-pgc-hallway_hu_9a6a08d9fd4f0d2c.webp" alt="PostgreSQL elephant walking the red carpet of the hallway track" loading="lazy"></figure>
</p>
</div>
<p>Most conference sessions are recorded. Unfortunately, some of the most valuable ones aren’t.</p>
<p>I’m talking, of course, about the hallway track.</p>
<p>This probably deserves to be one of the first highlights of my recap. Then again, it’s not something unique to PGConf.EU 2026. In my experience, it’s one of the greatest benefits of attending conferences in general. One that some newcomers unfortunately miss out a lot.</p>
<p>Especially now that so many of us work remotely this grows so much in importance.</p>
<p>There’s something special about being surrounded by fellow nerds and having spontaneous conversations about anything and everything, work-related or otherwise.</p>
<p>I get tremendous pleasure from catching up with people I only meet at events like this. Some of them I’ve now met at four editions of <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a>, without seeing them once in between.</p>
<p>And yet, when we meet again, the conversation picks up almost exactly where we left it. Sometimes these discussions end up with hiring, some of them end up with companies becoming our customers. That was never the intention, the intention is the spontaneous discussion.</p>
<p>There’s also a PostgreSQL specific practical side to this.</p>
<p>It’s interesting how sharing the same physical space can help move ideas forward that have struggled to gain traction remotely.</p>
<p>Sometimes you’ve been advocating for something for months, exchanging messages, arranging calls and trying to get the right people involved. Then a fifteen-minute conversation in a conference hallway finally makes things click.</p>
<p>No formal agenda. No calendar invitation. Just the right people talking at the right moment.</p>
<p>That’s difficult to reproduce online.</p>
<h2>What’s there in the future?</h2>
<div>
<p><figure><img decoding="async" width="1448" height="1086" src="https://percona.community/blog/2026/11/jan-pgc-future_hu_6b177a2b6c636269.webp" alt="Elephant fortune tellers looking into a crystal ball" loading="lazy"></figure>
</p>
</div>
<p>As this event has closed I do have three wishes for the next one:</p>
<h3>1. Let’s break the attendance record</h3>
<p>Athens in 2024 still holds the record for the largest <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a></p>
<p>I’d love to see next year’s conference beat that record and bring us back to a trend of annual growth.</p>
<p>Not because bigger is always better, but because I’d love to see more people experience what makes this community special.</p>
<h3>2. Let’s make something happen after Community Day</h3>
<p>The PostgreSQL Ecosystem Health and Community Outreach sessions generated some interesting discussions and ideas.</p>
<p>But good discussions are only the beginning.</p>
<p>We’ve only just returned home, so it’s too early to judge their impact. I hope we’ll keep the momentum going and turn at least some of those conversations into real initiatives.</p>
<p>My wish is that next year we’ll meet again, not to restart the same discussions, but to review what we’ve accomplished and decide what comes next.</p>
<p>That would be a great measure of success for Community Day.</p>
<h3>3. Let’s organize a PostgreSQL Beer Hike</h3>
<p>Radim Marek and I discussed the idea of an unofficial PostgreSQL Beer Hike. A great example of hallway track that’s not necessarily business related.<br />
As it turns out we both love beer and mountain hiking. In any combination. A simple idea was born: get people together, go for a hike, enjoy some beer and spend time with fellow community members outside the usual conference environment.</p>
<p>I hope that by next year’s <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a> we’ll be able to say that we actually made it happen.</p>
<p>And perhaps even give a lightning talk about it, encouraging others to organize similar activities.</p>
<p>After all, building a strong community doesn’t always require another conference session.</p>
<p>Sometimes all you need is a trail, a few people and a good beer.</p>
<h2>See you in Gdańsk?</h2>
<div>
<p><figure><img decoding="async" width="1536" height="1024" src="https://percona.community/blog/2026/11/jan-pgc-pgconfpl_hu_1a1058720362b8e0.webp" alt="Elephant hussar carrying a PGConf.PL 2026 Gdańsk flag" loading="lazy"></figure>
</p>
</div>
<p>While this isn’t strictly about <a href="https://2026.pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU 2026</a> there’s one more thing I’m looking forward to.</p>
<p>We’re kicking off <a href="https://2026.pgconf.pl/" target="_blank" rel="noopener noreferrer">PGConf.PL</a> in Gdańsk (Poland) and I hope to see many familiar faces there, along with plenty of new ones.</p>
<p>There are still tickets available, so come join us!</p>
<p>Because if there’s one thing <a href="https://pgconf.eu/" target="_blank" rel="noopener noreferrer">PGConf.EU</a> keeps reminding me, it’s that PostgreSQL isn’t just about the software we build.</p>
<p>It’s also about the people we build it with.</p>
<p>See you at the next one!</p>
<p><a href="https://percona.community/blog/2026/11/17/pgconf.eu-2026-its-about-more-than-postgresql/">PGConf.EU 2026: It&#8217;s About More Than PostgreSQL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Inside Kvrocks</title>
        <link>https://www.percona.com/blog/inside-kvrocks/</link>
        <pubDate>Mon, 16 Nov 2026 21:49:34 +0000</pubDate>
        <dc:creator>Martin Visser</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/inside-kvrocks/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>How Valkey/Redis data lives on RocksDB Based on my Percona Live 2026 talk “On-disk and Redis Compatible: Evaluating Kvrocks.” I will cover benchmarking Kvrocks in a separate post.   We all run Valkey or Redis for well-known reasons: all the data lives in RAM, and it’s fast. Storing data in RAM is of course expensive. … Continued<br />
The post Inside Kvrocks appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/inside-kvrocks/">Inside Kvrocks</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<h1><span>How Valkey/Redis data lives on RocksDB</span></h1>
<p><i><span>Based on my Percona Live 2026 talk “On-disk and Redis Compatible: Evaluating Kvrocks.” I will cover benchmarking Kvrocks in a separate post.</span></i></p>
<p> </p>
<p><span>We all run Valkey or Redis for well-known reasons: all the data lives in RAM, and it’s fast. Storing data in RAM is of course expensive. Once your dataset grows into the tens or hundreds of terabytes, the question stops being “how fast is it?” and becomes “how many servers, and how much memory?” Or more specifically “how much is this going to cost?”.</span></p>
<p><span><a href="https://kvrocks.apache.org/">Apache Kvrocks</a> provides an interesting answer to that question. It stores data on disk using RocksDB instead of holding it in memory, and it speaks the <a href="https://valkey.io/topics/protocol/">RESP protocol</a>, so that your existing Redis and Valkey clients work against it. Kvrocks is an Apache Software Foundation (ASF) project (Apache 2.0 licence), open source since 2019, and is widely deployed in production, particularly in Asia by internet-scale organisations like Baidu and Trip.com (<a href="https://kvrocks.apache.org/users/">Apache Kvrocks users list</a>).</span></p>
<p><span>Throughout this post, I’m using Valkey as a comparison. Everything said about Valkey applies to Redis.</span></p>
<p><span>Intuitively, you’d expect Kvrocks’ latency to sit somewhere between an in-memory store like Valkey and a disk-based relational database. That’s roughly right, but exactly where depends almost entirely on your workload. Understanding why the workload matters so much becomes clear from how it stores data and that’s what this post is about. </span></p>
<h2><span>A thin layer over RocksDB</span></h2>
<p><span>The simplest mental model: a Kvrocks node is a thin layer on top of RocksDB (<a href="https://www.percona.com/blog/rocksdb-101/">rocksdb-101</a>). The graphic below shows the main components of a Kvrocks node.</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-56298" src="https://www.percona.com/wp-content/uploads/2026/11/image5.png" alt="" width="1480" height="1200"></p>
<p><span>The numbers in the diagram show the order of a write.</span></p>
<ol>
<li><span>The </span><b>encoding layer</b><span> takes a RESP command and translates it into RocksDB rows: a metadata entry plus subkey rows for collection types. </span></li>
<li><span>The write is added to the </span><b>write-ahead log (WAL)</b><span> just like the redo log in a relational database.</span></li>
<li><span>The </span><b>memtable</b><span> is the active in-memory write buffer. When it fills up, it’s flushed to disk as a file sorted by key at level 0 of the </span><b>LSM (Log-Structured Merge) tree</b><span>. </span></li>
<li>The <strong>WAL</strong> is tailed for replication: replicas consume the same log the primary uses for durability. Replication is asynchronous, as a write is acknowledged regardless of whether replicas have received it.</li>
<li><span>Full memtables are flushed to L0 </span><b>SST (Sorted String Table) </b><span>files. L0 holds the newest and smallest files; data moves down through L1, L2 and beyond over its lifetime.</span></li>
<li><b>Compaction</b><span> runs in the background, merging files between levels and deleting rows that are stale, deleted or expired.</span></li>
</ol>
<p><span>In the same diagram, the RocksDB components </span><b>block cache</b><span> and </span><b>bloom filters</b><span> live in memory just like memtables. The block cache holds recently read blocks from the </span><b>SST </b><span>files; the bloom filters help to skip files for a read that definitely don’t contain the key it’s looking for.</span></p>
<p><span>By default the WAL is written but not synced on each write. So similar to Valkey’s <code dir="ltr">appendfsync no</code> which means that a write survives a Kvrocks crash, but not a power failure. Setting <code dir="ltr">rocksdb.write_options.sync yes</code> gives you the equivalent of <code dir="ltr">appendfsync always</code>. </span></p>
<p><span>If you’ve worked with MyRocks or any other RocksDB-based system, most of this will look familiar. What’s specific to Kvrocks is how Valkey data types are mapped onto RocksDB keys.</span></p>
<h2><span>Encoding Valkey types into RocksDB keys</span></h2>
<p><span>RocksDB only knows about ordered byte-string keys and values. Valkey has strings, hashes, lists, sets, sorted sets and more. The encoding has two patterns.</span></p>
<p><b>Strings</b><span> are the simple case: the value is stored inline with the key. There are no subkeys.</span></p>
<p><b>Collections</b><span> (hashes, lists, sets, sorted sets) get one metadata entry for the key, plus one versioned subkey row per element. Here’s what a small hash looks like:</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-56307" src="https://www.percona.com/wp-content/uploads/2026/11/hash.jpg" alt="" width="2338" height="1824"></p>
<p><span>The metadata entry for</span> <code dir="ltr">user:1278</code> records the type (hash), a version and the size (3 fields). The version is shown as <code dir="ltr">v1</code> for readability. In practice it’s a 64-bit generated value at creation time. If the key has a TTL, that also lives in the metadata. Each field then becomes its own RocksDB row, keyed by the user key, the version and the field name: <code dir="ltr">user:1278|v1|first</code>, <code dir="ltr">user:1278|v1|email</code>, and so on. The real encoding also prefixes every key with a namespace and the slot ID in cluster mode. It is also length-prefixed rather than using separators. The simplified form shows this structure.</p>
<p><span>A single HASH therefore ends up as multiple keys in RocksDB. To guarantee atomicity, multi-key changes are processed as a <code dir="ltr">rocksdb::WriteBatch</code><span>. RocksDB applies that as an all-or-nothing operation.</span></span></p>
<p><span>Other Valkey types follow the same pattern with small variations. Lists store head and tail indices in their metadata, so pushes and pops at either end are cheap. Sorted sets get an additional score index so that range-by-score queries become an ordered seek rather than a scan.</span></p>
<h3><span>Why the version matters: O(1) deletes</span></h3>
<p><span>The version number in every subkey comes in very handy for deletes. An LSM tree doesn’t update data in place the way InnoDB or PostgreSQL update data pages; it appends. So how do you delete a hash with a million fields without writing a million tombstones?</span></p>
<p><span>You don’t. A delete only removes the metadata entry, which is a single write. The subkey rows are left where they are. Every read of an element starts from the metadata, so with the metadata gone the whole collection is gone as far as clients are concerned.</span></p>
<p><span>The version is what keeps those leftover rows harmless. If <code dir="ltr">user:1278</code></span> is created again, it gets a new metadata entry with a new version, and its fields are written as <code dir="ltr">user:1278|v2|...</code> The old <code dir="ltr">user:1278|v1|...</code> rows can never match the live metadata. They are orphaned and inaccessible.</p>
<p><span>The space isn’t reclaimed immediately. That happens during SST file compaction. Kvrocks installs a compaction filter that checks each subkey row it encounters against the current metadata for its key, and drops the row if the metadata is missing, carries a different version, or has expired. Expiry works the same way. Once a key’s TTL has passed, reads treat it as absent, and compaction later removes both its metadata and its subkeys.</span></p>
<p>Valkey handles deletes in a different way. A DEL (or UNLINK) on a large collection removes the key from the keyspace immediately and hands the memory to a background thread to free. Valkey has done this since <code dir="ltr">lazyfree-lazy-user-del</code> became default <code dir="ltr">yes</code>. Deletes are O(1) for the client in both Valkey and Kvrocks. With Valkey the memory comes back almost at once and with Kvrocks the disk space comes back when compaction deals with it. Frequently deleting and recreating large collections thus shows as extra disk usage until the deleted data has been cleaned up.</p>
<h2><span>Keyspace, metadata and column families</span></h2>
<p><span>Kvrocks separates its data into RocksDB column families (</span><b>CFs</b><span>), each with its own memtables and SST files:</span></p>
<ul>
<li><span>The </span><b>Metadata CF</b><span> holds one entry per key: the type flags, expiry, version and element count. For strings it holds the value itself and doesn’t need a version and element count.</span></li>
<li><span>The </span><b>Subkey CF</b><span> (named <code dir="ltr">default</code> in RocksDB) holds one entry per collection element.</span></li>
<li><span>The </span><b>ZSetScore CF</b>(<code dir="ltr">zset_score)</code><span> holds the score index for sorted sets.</span></li>
<li>The <strong>Stream</strong> <strong>CF</strong>(<code dir="ltr">stream</code>) holds stream entries.</li>
<li>The <strong>Search</strong> <strong>CF</strong>(<code dir="ltr">search</code>) holds secondary index data for the <code dir="ltr">FT.*</code> search commands, including vector (HNSW) indexes.</li>
<li>The <strong>Index</strong> <strong>CF</strong>(<code dir="ltr">index</code>) holds the label index for time series.</li>
<li>The <strong>PubSub</strong> <strong>CF</strong>(<code dir="ltr">pubsub</code>) carries published messages through the WAL so they reach replicas.</li>
<li>The <strong>Propagate</strong> <strong>CF</strong>(<code dir="ltr">propagate</code>) stores Lua scripts, functions and namespace tokens, and carries commands to replicas that aren’t data writes.</li>
</ul>
<p><span>One important difference from Valkey: </span><b>there is no in-memory dictionary of keys</b><span>. In Valkey, every key lives in a hash table in RAM. In Kvrocks, the keyspace </span><i><span>is</span></i><span> the LSM tree. Two billion keys don’t need two billion entries in memory. They need metadata rows on disk, plus whatever portion of them you choose to keep cached.</span></p>
<h2><span>The write path</span></h2>
<p><span>How a write flows through the system.</span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-56295" src="https://www.percona.com/wp-content/uploads/2026/11/image2.png" alt="" width="1480" height="1190"></p>
<ol>
<li><span>the command <code dir="ltr">HSET user:1278 first bob</code> arrives</span></li>
<li><span>the data is encoded into metadata and subkey rows</span></li>
<li><span>those rows are written as a single batch to the WAL making them crash-atomic. The WAL is shared across all column families. </span></li>
<li><span>the rows then go into the per-column-family memtables, and the write is acknowledged.</span></li>
<li><span>new entries to the WAL are sent to the replicas</span></li>
<li>when a memtable fills, it’s flushed to an SST file in level 0</li>
<li>over time, compaction merges L0 files down into L1, L1 into L2, and so on. Along the way it keeps the newest version of each row, drops rows orphaned by version bumps, and removes expired data.</li>
</ol>
<p><span>This means that a given row may be rewritten several times over its lifetime as it moves down through the levels. Called </span><b>write amplification</b><span>, this is a function of the LSM tree turning random writes into sequential ones. For large values under a heavy write load this is the biggest source of latency trouble.</span></p>
<h2><span>The read path</span></h2>
<p><span>Reads work their way from the fastest storage to the slowest.</span></p>
<p><img decoding="async" loading="lazy" class="alignnone size-full wp-image-56308" src="https://www.percona.com/wp-content/uploads/2026/11/readpath-scaled.jpg" alt="" width="2560" height="1429"></p>
<ol>
<li><span>the command </span><code dir="ltr">HGET user:1278 first</code><span> arrives</span></li>
<li><span>Kvrocks builds the key to look up. First it needs the metadata for <code dir="ltr">user:1278</code><span> to learn its type, its current version and whether it has expired. The subkey is then built using <code dir="ltr">user:1278|v1|first</code><span>.</span></span></span></li>
<li><span>each lookup checks the memtables</span></li>
<li><span>if not found the bloom filters rule out the SST files that don’t have the key</span></li>
<li><span>the block cache is checked for the blocks it needs from files</span></li>
<li><span>the block is read from the SST file</span></li>
<li><span>the result is decoded to RESP</span></li>
<li><span>returned to the client</span></li>
</ol>
<p><span>Each lookup follows the same order. First the memtables are checked and if the row was written recently, it’s found in memory. If not, RocksDB works through the SST files, newest level first. For each candidate SST file, the bloom filter for that SST file is checked before anything is read. The bloom filter will rule out files it cannot be in. For a file that might hold the key, RocksDB needs the relevant index and data blocks. These can be in the block cache or have to be read from file.</span></p>
<p><span>The important line is the one between “block cache hit” and “block cache miss.” A hit costs you a memory lookup. A miss goes to the filesystem, and unless the block is in the operating system’s page cache it becomes a disk read. Kvrocks performance can be summarised as how often you cross that line, and how fast storage is when you do. With the Kvrocks caches and the OS page cache, RAM still matters even if it’s an “on-disk” database.</span></p>
<h3 dir="ltr"><strong>Point reads vs range reads</strong></h3>
<p dir="ltr">Everything above describes a point lookup like HGET. Commands that return a range like HGETALL work differently. Because every subkey row of a collection starts with the same <code dir="ltr">user key|version</code>, RocksDB’s key ordering stores all of a collection’s elements next to each other. A range read jumps to the first element, <code dir="ltr">user:1278|v1|...</code>, and reads forward row by row until it reaches the end of that collection. Bloom filters can’t help with that, because they only answer whether an exact key might be in a file. Kvrocks also deliberately doesn’t add blocks read by a scan to the block cache, so one large HGETALL can’t evict your hot data. The downside is that repeated scans of the same large collection depend on the OS page cache, not on Kvrocks’ own caches. Multi-field point reads like HMGET are batched point lookups and behave like HGET.</p>
<p dir="ltr">So two workloads with the same dataset size can perform very differently, depending on whether they read single elements or whole collections.</p>
<h2><span>Scaling</span></h2>
<p><span>Kvrocks scales out using the same model as Valkey Cluster: 16384 hash slots divided among primaries, each with its own replicas. Standard cluster-aware clients work as-is.</span></p>
<p><img decoding="async" loading="lazy" class="alignnone size-full wp-image-56297" src="https://www.percona.com/wp-content/uploads/2026/11/image4.png" alt="" width="1870" height="780"></p>
<p><span>The big difference is how the topology is managed. In Valkey Cluster, every node gossips with every other node, and on a large cluster that becomes a lot of chatter. Kvrocks does not use the gossip protocol. Nodes don’t discover each other but instead the topology is pushed to the nodes via the </span><code dir="ltr">CLUSTERX SETNODES</code> <span>command. This is the job of the Kvrocks controller which is the owner of the topology. It handles failover and keeps its state in an external store such as etcd.</span></p>
<p><span>Scaling out works the way you would expect for a Valkey-style cluster. Add a shard and then migrate slots to it. During migration the data for a slot is copied to the new shard while writes keep arriving. At the end there’s a brief pause while the final changes are caught up and ownership switches over. It is short, but it’s important to keep in mind when you have tight tail-latency requirements during rebalancing.</span></p>
<p><span>Multi-key operations need all their keys in the same slot, so use hash tags exactly as with Valkey Cluster. A difference with Valkey is that the on-disk data format in cluster mode includes the slot ID. That means a standalone node’s data isn’t in cluster format. Moving from standalone to cluster mode thus becomes a data migration.</span></p>
<h2><span>Kvrocks performance</span></h2>
<p><span>Every read that misses the in-memory caches becomes a disk read. So performance doesn’t depend directly on how big your dataset is. It depends on how often your workload misses the cache, how fast your storage is, and whether your storage can keep up with those misses.</span></p>
<p><span>Every write gets rewritten as the compaction process moves it down the LSM tree. So your write rate determines how much background work competes with your foreground application traffic.</span></p>
<p><span>Those two facts make up every trade-off in running Kvrocks. In the next blog, I’ll put some numbers on performance by walking through a real 500 TB use case, and provide a checklist for deciding whether your workload belongs on Kvrocks, Valkey or another database.</span></p>
<p><span>Based on customer demand, Percona now supports Kvrocks alongside <a href="https://experience.percona.com/valkey-redis/support-and-services/">Valkey and Redis</a>. To find out more about Kvrocks:</span></p>
<ul>
<li><span><strong>Documentation</strong>: </span><a href="https://kvrocks.apache.org/"><span>https://kvrocks.apache.org/</span></a></li>
<li><span><strong>Source code</strong>: </span><a href="https://github.com/apache/kvrocks"><span>https://github.com/apache/kvrocks</span></a></li>
<li><strong>Blog</strong>: Kvrocks performance evaluation (coming soon)</li>
<li><strong>Watch: </strong><a href="https://www.youtube.com/watch?v=1NffLwFUZo4&amp;list=PLOgsvlaOXz2c&amp;index=20"><span>On-disk and Redis Compatible: Evaluating Kvrocks</span></a> (<span>Percona Live 2026)</span></li>
</ul>
<p>The post <a href="https://www.percona.com/blog/inside-kvrocks/">Inside Kvrocks</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/inside-kvrocks/">Inside Kvrocks</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB Community Server Q4 2026 maintenance releases</title>
        <link>https://mariadb.com/resources/blog/mariadb-community-server-q4-2026-maintenance-releases/</link>
        <pubDate>Mon, 16 Nov 2026 19:58:11 +0000</pubDate>
        <dc:creator>Daniel Bartholomew</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadb-community-server-q4-2026-maintenance-releases/</guid>
        <source url="https://mariadb.com/">MariaDB</source>
        <description><![CDATA[<p>MariaDB is pleased to announce the immediate availability of MariaDB Community Server 12.3.4, 11.8.10, 11.4.14, and 10.11.20 maintenance releases. See […]</p>
<p><a href="https://mariadb.com/resources/blog/mariadb-community-server-q4-2026-maintenance-releases/">MariaDB Community Server Q4 2026 maintenance releases</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>MariaDB is pleased to announce the immediate availability of MariaDB Community Server 12.3.4, 11.8.10, 11.4.14, and 10.11.20 maintenance releases. See the release notes and changelogs for additional details on each release and visit mariadb.com/downloads to download.</p>
<p><a href="https://mariadb.com/resources/blog/mariadb-community-server-q4-2026-maintenance-releases/" rel="nofollow">Source</a></p>
<p><a href="https://mariadb.com/resources/blog/mariadb-community-server-q4-2026-maintenance-releases/">MariaDB Community Server Q4 2026 maintenance releases</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>MariaDB Foundation Newsletter – 15 November 2026</title>
        <link>https://mariadb.org/mariadb-foundation-newsletter-15-november-2026/</link>
        <pubDate>Mon, 16 Nov 2026 13:27:11 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/mariadb-foundation-newsletter-15-november-2026/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Atarim moves its RAG storage from Qdrant to MariaDB, optimizer hints in MariaDB Server 13.0, TLS connections more than 3x faster, our first India meetup, and a security researcher on hunting bugs in MariaDB’s connectors.<br />
MariaDB Foundation Newsletter – 15 November 2026 appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/mariadb-foundation-newsletter-15-november-2026/">MariaDB Foundation Newsletter – 15 November 2026</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Atarim moves its RAG storage from Qdrant to MariaDB, optimizer hints in MariaDB Server 13.0, TLS connections more than 3x faster, our first India meetup, and a security researcher on hunting bugs in MariaDB’s connectors.</p>
<p><a href="https://mariadb.org/mariadb-foundation-newsletter-15-november-2026/">MariaDB Foundation Newsletter – 15 November 2026</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/mariadb-foundation-newsletter-15-november-2026/">MariaDB Foundation Newsletter – 15 November 2026</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>What Hosting Support Can Do for Your MariaDB Database: Recovery, Upgrades, and Portability</title>
        <link>https://mariadb.org/what-hosting-support-can-do-for-your-mariadb-database-recovery-upgrades-and-portability/</link>
        <pubDate>Mon, 16 Nov 2026 12:15:47 +0000</pubDate>
        <dc:creator>Frédéric Descamps</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/what-hosting-support-can-do-for-your-mariadb-database-recovery-upgrades-and-portability/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Choosing where to host your MariaDB database is about much more than performance, pricing and the resources available. Good operational support, good backup practices, a clear upgrade path and the ability to move your data are just as important, if not more so, particularly when something goes wrong. As we know, keeping database infrastructure up […]<br />
What Hosting Support Can Do for Your MariaDB Database: Recovery, Upgrades, and Portability appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/what-hosting-support-can-do-for-your-mariadb-database-recovery-upgrades-and-portability/">What Hosting Support Can Do for Your MariaDB Database: Recovery, Upgrades, and Portability</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Choosing where to host your MariaDB database is about much more than performance, pricing and the resources available. Good operational support, good backup practices, a clear upgrade path and the ability to move your data are just as important, if not more so, particularly when something goes wrong. As we know, keeping database infrastructure up […]</p>
<p><a href="https://mariadb.org/what-hosting-support-can-do-for-your-mariadb-database-recovery-upgrades-and-portability/">What Hosting Support Can Do for Your MariaDB Database: Recovery, Upgrades, and Portability</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/what-hosting-support-can-do-for-your-mariadb-database-recovery-upgrades-and-portability/">What Hosting Support Can Do for Your MariaDB Database: Recovery, Upgrades, and Portability</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Fix the class, not the instance: Yalguun Tumenkhuu on hunting bugs in MariaDB’s connectors</title>
        <link>https://mariadb.org/fix-the-class-not-the-instance-yalguun-tumenkhuu-on-hunting-bugs-in-mariadbs-connectors/</link>
        <pubDate>Mon, 16 Nov 2026 09:40:20 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/fix-the-class-not-the-instance-yalguun-tumenkhuu-on-hunting-bugs-in-mariadbs-connectors/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>More than 90 security reports, 14 CVEs, and one finding that got fixed across five connectors. A conversation with the researcher behind them about drivers as attack surface, incomplete fixes, and what changes when AI agents get database access.<br />
Fix the class, not the instance: Yalguun Tumenkhuu on hunting bugs in MariaDB’s connectors appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/fix-the-class-not-the-instance-yalguun-tumenkhuu-on-hunting-bugs-in-mariadbs-connectors/">Fix the class, not the instance: Yalguun Tumenkhuu on hunting bugs in MariaDB’s connectors</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>More than 90 security reports, 14 CVEs, and one finding that got fixed across five connectors. A conversation with the researcher behind them about drivers as attack surface, incomplete fixes, and what changes when AI agents get database access.</p>
<p><a href="https://mariadb.org/fix-the-class-not-the-instance-yalguun-tumenkhuu-on-hunting-bugs-in-mariadbs-connectors/">Fix the class, not the instance: Yalguun Tumenkhuu on hunting bugs in MariaDB’s connectors</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/fix-the-class-not-the-instance-yalguun-tumenkhuu-on-hunting-bugs-in-mariadbs-connectors/">Fix the class, not the instance: Yalguun Tumenkhuu on hunting bugs in MariaDB’s connectors</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Meet MariaDB: Inside Our First India Meetup</title>
        <link>https://mariadb.org/meet-mariadb-inside-our-first-india-meetup/</link>
        <pubDate>Mon, 16 Nov 2026 09:10:13 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/meet-mariadb-inside-our-first-india-meetup/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>A plugin catalog that installs extensions with one SQL command. An analytics engine that runs inside MariaDB Server. A contributor’s patch that makes metadata queries two and a half times faster. On 12 November, the MariaDB Foundation’s first India meetup showed all three, two of them in public for the first time. The meetup ran […]<br />
Meet MariaDB: Inside Our First India Meetup appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/meet-mariadb-inside-our-first-india-meetup/">Meet MariaDB: Inside Our First India Meetup</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>A plugin catalog that installs extensions with one SQL command. An analytics engine that runs inside MariaDB Server. A contributor’s patch that makes metadata queries two and a half times faster. On 12 November, the MariaDB Foundation’s first India meetup showed all three, two of them in public for the first time. The meetup ran […]</p>
<p><a href="https://mariadb.org/meet-mariadb-inside-our-first-india-meetup/">Meet MariaDB: Inside Our First India Meetup</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/meet-mariadb-inside-our-first-india-meetup/">Meet MariaDB: Inside Our First India Meetup</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Atarim on MariaDB Vector: Moving RAG Storage from Qdrant to MariaDB</title>
        <link>https://mariadb.org/atarim-on-mariadb-vector-moving-rag-storage-from-qdrant-to-mariadb/</link>
        <pubDate>Mon, 16 Nov 2026 08:47:04 +0000</pubDate>
        <dc:creator>Simona Aleksandrova</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/atarim-on-mariadb-vector-moving-rag-storage-from-qdrant-to-mariadb/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Atarim has replaced Qdrant with MariaDB as the vector store for its internal RAG system. The team describes the change as close to a direct replacement, made for easier integration, data sovereignty and fewer vendors to manage. Vectors and their metadata are now stored in a single relational database on AWS, and filtered searches in […]<br />
Atarim on MariaDB Vector: Moving RAG Storage from Qdrant to MariaDB appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/atarim-on-mariadb-vector-moving-rag-storage-from-qdrant-to-mariadb/">Atarim on MariaDB Vector: Moving RAG Storage from Qdrant to MariaDB</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Atarim has replaced Qdrant with MariaDB as the vector store for its internal RAG system. The team describes the change as close to a direct replacement, made for easier integration, data sovereignty and fewer vendors to manage. Vectors and their metadata are now stored in a single relational database on AWS, and filtered searches in […]</p>
<p><a href="https://mariadb.org/atarim-on-mariadb-vector-moving-rag-storage-from-qdrant-to-mariadb/">Atarim on MariaDB Vector: Moving RAG Storage from Qdrant to MariaDB</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/atarim-on-mariadb-vector-moving-rag-storage-from-qdrant-to-mariadb/">Atarim on MariaDB Vector: Moving RAG Storage from Qdrant to MariaDB</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>From Big Iron to AMD EPYC: Preparing TAF to Push MariaDB at Scale</title>
        <link>https://mariadb.org/from-big-iron-to-amd-epyc-preparing-taf-to-push-mariadb-at-scale/</link>
        <pubDate>Sun, 15 Nov 2026 22:23:16 +0000</pubDate>
        <dc:creator>Jonathan Miller</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/from-big-iron-to-amd-epyc-preparing-taf-to-push-mariadb-at-scale/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>Some of the first large database servers I worked with were DEC VAX/VMS systems running Sybase. They were physically huge machines. Towers of quad 90.91 MHz processors, with more towers beside them holding mirrored RAID5 storage. At the time, this was big iron, taking food stamps in Texas to debit cards. A lot has changed […]<br />
From Big Iron to AMD EPYC: Preparing TAF to Push MariaDB at Scale appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/from-big-iron-to-amd-epyc-preparing-taf-to-push-mariadb-at-scale/">From Big Iron to AMD EPYC: Preparing TAF to Push MariaDB at Scale</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>Some of the first large database servers I worked with were DEC VAX/VMS systems running Sybase. They were physically huge machines. Towers of quad 90.91 MHz processors, with more towers beside them holding mirrored RAID5 storage. At the time, this was big iron, taking food stamps in Texas to debit cards. A lot has changed […]</p>
<p><a href="https://mariadb.org/from-big-iron-to-amd-epyc-preparing-taf-to-push-mariadb-at-scale/">From Big Iron to AMD EPYC: Preparing TAF to Push MariaDB at Scale</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/from-big-iron-to-amd-epyc-preparing-taf-to-push-mariadb-at-scale/">From Big Iron to AMD EPYC: Preparing TAF to Push MariaDB at Scale</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Will your MongoDB upgrade break? Check it with UCFM</title>
        <link>https://www.percona.com/blog/will-your-mongodb-upgrade-break-check-it-with-ucfm/</link>
        <pubDate>Fri, 13 Nov 2026 19:01:03 +0000</pubDate>
        <dc:creator>Jean da Silva</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/will-your-mongodb-upgrade-break-check-it-with-ucfm/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>You were assigned one of the most common, yet feared, tasks in the life of a database administrator: Upgrades are needed for many reasons, whether to fix an existing bug or to keep the environment under support and eligible to receive security fixes. Either way, the task is yours. The binary swap is the easy … Continued<br />
The post Will your MongoDB upgrade break? Check it with UCFM appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/will-your-mongodb-upgrade-break-check-it-with-ucfm/">Will your MongoDB upgrade break? Check it with UCFM</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p class="wp-block-paragraph">You were assigned one of the most common, yet feared, tasks in the life of a database administrator:</p>
<ul class="wp-block-list">
<li><strong>You need to upgrade your cluster.</strong></li>
</ul>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="wp-block-paragraph">Upgrades are needed for many reasons, whether to fix an existing bug or to keep the environment under support and eligible to receive security fixes. Either way, the task is yours.</p>
<p class="wp-block-paragraph">The binary swap is the easy part. The hard part is everything before it:</p>
<ul class="wp-block-list">
<li>The environment is critical.</li>
<li>The dataset is huge, and you have no idea what is behind that size.</li>
<li>The configuration carries parameters nobody remembers setting.</li>
<li>… and the list goes on.</li>
</ul>
<h2 class="wp-block-heading"><strong>How it used to be</strong></h2>
<p class="wp-block-paragraph">A major upgrade in MongoDB moves one release at a time, regardless of the jump you plan. For example: “Going from 6.0 to 8.0”</p>
<ul class="wp-block-list">
<li>That means <strong>two upgrades</strong>, 6.0 to 7.0 and then 7.0 to 8.0, each with its own binary swap and its own featureCompatibilityVersion (FCV) change.</li>
</ul>
<p class="wp-block-paragraph">So the homework is not done once. It is done per step, and for every step the checklist looks something like this:</p>
<ol class="wp-block-list">
<li>Read the compatibility changes page and the release notes of the target version.</li>
<li>Compare each <code>mongod.conf</code> and every <code>setParameter</code> against what was removed or renamed.</li>
<li>Look for removed commands, operators, and aggregation stages in the application, in views, and in custom roles.</li>
<li>Ah! Are you using a Sharded Cluster? Cool, you have to do that multiple times for different nodes and shards, along with checking the balancer, the config servers, and every shard.</li>
<li>[…]</li>
</ol>
<p class="wp-block-paragraph">None of this is hard per se. It is just long, tedious, easy to get wrong, and different for every version step. And there was no single command that answered the real question:</p>
<blockquote>
<p>Is this deployment ready for the upgrade? If not, what should I fix first?</p>
</blockquote>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<h2 class="wp-block-heading"><strong>Meet UCFM</strong></h2>
<p class="wp-block-paragraph">UCFM <em>(Upgrade Checker For MongoDB)</em> tells you whether a MongoDB or Percona Server for MongoDB deployment is ready to upgrade, and what to fix first.</p>
<p class="wp-block-paragraph">If you have worked with MySQL, the idea may sound familiar: <strong>That’s because <code>ucfm</code> is heavily inspired by MySQL Shell’s upgrade checker</strong>, <a href="https://dev.mysql.com/doc/mysql-shell/26.10/en/mysql-shell-utilities-upgrade.html">util.checkForServerUpgrade()</a>.<img loading="lazy" decoding="async" class=" wp-image-56202 alignright" src="https://www.percona.com/wp-content/uploads/2026/11/bean.png" alt="" width="369" height="274"></p>
<p class="wp-block-paragraph">MySQL DBAs have had that answer for years.</p>
<ul class="wp-block-list">
<li>You point it at a server and a target version, and it runs a numbered list of checks.</li>
<li>Each check says “No issues found” or lists what it found as an Error, a Warning or a Notice, with the objects involved and a link to the documentation.</li>
<li>The output ends with a count and a plain sentence: fix the errors before you upgrade.</li>
</ul>
<p class="wp-block-paragraph">The value is not in any single check. It is in having one place that knows every change between two versions, applies all of them to your deployment, and gives you a short list of things to fix.</p>
<p class="wp-block-paragraph">That was the idea behind it: a tool that tells you what is right and what is wrong in your environment, and answers that same question one upgrade step at a time.</p>
<p class="wp-block-paragraph">If you are one step earlier and still deciding which path to take, allow me to recommend the <a href="https://zelmario.github.io/mongodb-upgrade-roadmap/">MongoDB Upgrade Roadmap</a>; it can help you with the upgrade steps.</p>
<h2 class="wp-block-heading"><strong>What it does and what it does not</strong></h2>
<p class="wp-block-paragraph"><strong><code>ucfm</code></strong> is <strong>a read-only tool</strong> that works by checking facts from every member it can reach on your deployment.</p>
<p class="wp-block-paragraph">You point it at one node, and it discovers the rest of the replica set, or the config servers, shards and mongos. Then it runs three kinds of checks:</p>
<ul class="wp-block-list">
<li><strong>What disappears between versions.</strong></li>
<li><strong>What the release notes say.</strong></li>
<li><strong>Whether a behavior change affects you.</strong></li>
</ul>
<p class="wp-block-paragraph">At the end of the check, it will generate a list with the findings and recommended actions.</p>
<p class="wp-block-paragraph">Worth mentioning that <strong><code>ucfm</code> does not upgrade anything</strong>. It reads and reports; the upgrade is still yours.</p>
<p class="wp-block-paragraph">What it does give you is the answer to the question from the beginning of this post. Before the maintenance window, you know what could break and where.</p>
<h2 class="wp-block-heading"><strong>How to use it</strong></h2>
<h3 class="wp-block-heading"><strong>Install</strong></h3>
<p class="wp-block-paragraph">One command downloads the latest release, verifies its checksum and installs <strong><code>ucfm</code></strong> into <code>/usr/local/bin</code> (or <code>~/.local/bin</code> when you are not root). Running it again upgrades.</p>
<pre class="lang:sh decode:true ">curl -fsSL https://raw.githubusercontent.com/jenunes/ucfm/main/install.sh | bash</pre>
<p> </p>
<h3 class="wp-block-heading"><strong>Create a read-only user</strong></h3>
<p class="wp-block-paragraph">The tool needs <code>clusterMonitor</code>, <code>readAnyDatabase</code> and a small role that can read users, roles and view definitions; for that we create a custom role <code>ucfmViewSecurity</code> which holds the necessary permissions so you can drop it afterwards if you prefer:</p>
<pre class="wp-block-code has-text-color"><code>use admin
db.createRole({
  role: <mark class="has-inline-color">"ucfmViewSecurity"</mark>,
  privileges: [
    { resource: { cluster: true }, actions: [<mark class="has-inline-color">"viewUser"</mark>] },
    { resource: { db: <mark class="has-inline-color">""</mark>, collection: <mark class="has-inline-color">"" </mark>}, actions: [<mark class="has-inline-color">"viewUser"</mark>, <mark class="has-inline-color">"viewRole"</mark>] },
    { resource: { db: <mark class="has-inline-color">""</mark>, collection: <mark class="has-inline-color">"system.views" </mark>}, actions: [<mark class="has-inline-color">"find"</mark>] }
  ],
  roles: []
})</code></pre>
<p class="wp-block-paragraph">Then create the user granting the necessary permissions:</p>
<pre class="wp-block-code has-text-color"><code>use admin
db.createUser({
  user: <mark class="has-inline-color">"ucfm"</mark>,
  pwd: passwordPrompt(),
  roles: [<mark class="has-inline-color">"clusterMonitor"</mark>, <mark class="has-inline-color">"readAnyDatabase"</mark>, <mark class="has-inline-color">"ucfmViewSecurity"</mark>]
})</code></pre>
<p class="wp-block-paragraph"><em><strong>Note</strong>: On a sharded cluster, create it through a mongos and also on the primary of every shard.</em> <strong><code>ucfm</code></strong> <em>connects to shard members directly, and they only accept shard-local users. If you forget one, it warns you and names the shard.</em></p>
<h3 class="wp-block-heading"><strong>Check readiness</strong></h3>
<p class="wp-block-paragraph">Point <code>--uri</code> at any replica set member, or at a mongos<em>(if sharded cluster)</em>, and name the target version:</p>
<pre class="wp-block-code has-text-color"><code>ucfm check --uri <mark class="has-inline-color">"mongodb://ucfm@db1:27017/?authSource=admin" </mark>--target <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0</mark></code></pre>
<p class="wp-block-paragraph"><em>If you prefer, leave the password out of <code>--uri</code> and</em> <strong><code>ucfm</code></strong> <em>asks for it. For scripts, use the <code>UCFM_URI</code> environment variable or <code>--uri-file</code>.</em></p>
<p class="wp-block-paragraph">The report starts with deployment-wide checks (upgrade path, FCV, health, sharding state), then one block per upgrade step. A shortened example:</p>
<pre class="wp-block-code has-text-color"><code>The MongoDB deployment at db1:<mark class="has-inline-color">27017 </mark>(replica <mark class="has-inline-color">set </mark>rs0, <mark class="has-inline-color">3 </mark>members), Percona
Server <mark class="has-inline-color">for </mark>MongoDB <mark class="has-inline-color">6</mark>.<mark class="has-inline-color">0</mark>.<mark class="has-inline-color">29-23</mark>, will now be checked <mark class="has-inline-color">for </mark>compatibility issues <mark class="has-inline-color">for</mark>
upgrade to MongoDB <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0 </mark>(path <mark class="has-inline-color">6</mark>.<mark class="has-inline-color">0 </mark>→ <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0</mark>)...

================================================================================
Deployment-wide checks
================================================================================

<mark class="has-inline-color">1</mark>) Upgrade path (upgrade-path)
   No issues found: from <mark class="has-inline-color">6</mark>.<mark class="has-inline-color">0 </mark>(current) to <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0 </mark>(target) is a supported upgrade
      path.

<mark class="has-inline-color">2</mark>) Server versions across members (binary-versions-consistent)
   No issues found: all <mark class="has-inline-color">3 </mark>members run <mark class="has-inline-color">6</mark>.<mark class="has-inline-color">0</mark>.<mark class="has-inline-color">29-23</mark>.

<mark class="has-inline-color">3</mark>) featureCompatibilityVersion (fcv-matches-binary)
   No issues found: FCV is <mark class="has-inline-color">6</mark>.<mark class="has-inline-color">0 </mark>on <mark class="has-inline-color">3 </mark>members, the same as their binaries.

[...]

================================================================================
Upgrade <mark class="has-inline-color">6</mark>.<mark class="has-inline-color">0 </mark>→ <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0</mark>
Checked against Percona Server <mark class="has-inline-color">for </mark>MongoDB <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0</mark>, psmdb-7.<mark class="has-inline-color">0</mark>.<mark class="has-inline-color">45-24</mark>
================================================================================

[...]

<mark class="has-inline-color">20</mark>) PSMDB journal options (psmdb-journal-option-ignored)
   Notice: storage.journal.enabled / --journal / --nojournal are <mark class="has-inline-color">set</mark>. PSMDB <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0</mark>
      and later always journal and ignore these settings, logging a startup
      warning.

   - db1:<mark class="has-inline-color">27017</mark>, db2:<mark class="has-inline-color">27017</mark>, db3:<mark class="has-inline-color">27017</mark>

   Solution:
   - Remove the journal settings from the configuration.

   More information:
     https://docs.percona.com/percona-server-for-mongodb/<mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0</mark>/install/upgrade-from-60.html

[...]

<mark class="has-inline-color">24</mark>) Usage of removed commands (command-removed-in-use)
   Warning: Clients ran these commands since the servers started (longest uptime
      <mark class="has-inline-color">1d</mark>); <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0 </mark>no longer implements them and will answer CommandNotFound.

   - availableQueryOptions (<mark class="has-inline-color">6 </mark>calls)

   Solution:
   - Find the applications or tools issuing these commands (profiler, logs,
     $currentOp) and update them before upgrading.

   More information:
     https://www.mongodb.com/docs/manual/release-notes/<mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0-compatibility</mark>/

[...]

================================================================================
Errors:   <mark class="has-inline-color">0</mark>
Warnings: <mark class="has-inline-color">3</mark>
Notices:  <mark class="has-inline-color">4</mark>

Checks with warnings:
   - <mark class="has-inline-color">24</mark>) Usage of removed commands (command-removed-in-use)
   - <mark class="has-inline-color">31</mark>) Floating-point rounding <mark class="has-inline-color">in </mark>$add (add-rounding)
   - <mark class="has-inline-color">35</mark>) $natural hint and sort values (natural-hint-values)

No errors were found. Review the <mark class="has-inline-color">3 </mark>warnings before upgrading.</code></pre>
<p class="wp-block-paragraph">Before going through the findings, read the top of the report: it tells you what is being checked, and the first checks tell you what could not be checked and how to fix that.</p>
<p class="wp-block-paragraph">The tool checks one major upgrade at a time. When the target is further away, check 1 shows the full path and the report covers the next step only; run it again after each upgrade.</p>
<p class="wp-block-paragraph">The exit code follows the result (0 clean, 1 warnings, 2 errors, 3 tool failure), so the check fits in a pipeline. Add <code>--format json</code> for machine-readable output, or <code>--deep-check</code> to sample documents for the changes that depend on stored data.</p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<h3 class="wp-block-heading"><strong>Audit production settings</strong></h3>
<p class="wp-block-paragraph">Upgrades are a good moment to look at the rest of the house. <code>ucfm audit</code> compares the deployment with the MongoDB Production Notes and Operations Checklist:</p>
<pre class="wp-block-code has-text-color"><code>ucfm audit --uri <mark class="has-inline-color">"mongodb://ucfm@db1:27017/?authSource=admin"</mark></code></pre>
<p class="wp-block-paragraph">You can also append it to the <code>ucfm check</code> with <code>--with-audit</code>:</p>
<pre class="wp-block-code has-text-color"><code>ucfm <strong>check</strong> --uri <mark class="has-inline-color">"mongodb://ucfm@db1:27017/?authSource=admin" </mark>--target <mark class="has-inline-color">7</mark>.<mark class="has-inline-color">0 </mark><strong>--with-audit</strong></code></pre>
<p class="wp-block-paragraph">One run, one report with both sections.</p>
<p class="wp-block-paragraph">With that, I believe you already have what you need for your next maintenance window. When you want to go further, like checking the operating system of each host or collecting a snapshot to analyze somewhere else, feel free to check the <a href="https://github.com/jenunes/ucfm/tree/main/docs#ucfm-documentation">UCFM documentation</a>, which holds more details.</p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<h2 class="wp-block-heading"><strong>Conclusion</strong></h2>
<p class="wp-block-paragraph">UCFM was born of a desire to simplify a process and to answer the question highlighted at the beginning, a question that, until now, had no single command to answer.</p>
<p class="wp-block-paragraph">Still, <strong>it does not replace your judgment, your backup, or the official upgrade procedure</strong>. It replaces the long manual checklist with a single read-only pass over the deployment you already have: one step at a time, with findings you can act on before the maintenance window.</p>
<p class="wp-block-paragraph">Install it, point it at a node, pick a target, and read the report. Fix the errors, run it again, and let me know how it goes.</p>
<p class="wp-block-paragraph">Suggestions, fixes, and features are all welcome; the project is open source at: <a href="https://github.com/jenunes/ucfm">github.com/jenunes/ucfm</a>.</p>
<p> </p>
<p>The post <a href="https://www.percona.com/blog/will-your-mongodb-upgrade-break-check-it-with-ucfm/">Will your MongoDB upgrade break? Check it with UCFM</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/will-your-mongodb-upgrade-break-check-it-with-ucfm/">Will your MongoDB upgrade break? Check it with UCFM</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>Just Because You Can, Doesn’t Mean You Should: Re-evaluating Galera Node Weights</title>
        <link>https://www.percona.com/blog/just-because-you-can-doesnt-mean-you-should-re-evaluating-galera-node-weights/</link>
        <pubDate>Fri, 13 Nov 2026 14:01:47 +0000</pubDate>
        <dc:creator>Marco Tusa</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/just-because-you-can-doesnt-mean-you-should-re-evaluating-galera-node-weights/</guid>
        <source url="https://www.percona.com/blog/">Blog - Percona</source>
        <description><![CDATA[<p>We all know that when using a cluster based on Galera (Codership) such as Percona XtraDB Cluster (PXC), it is recommended to deploy an odd number of nodes. The generic answer to this recommendation is that otherwise the risk of having an inconsistent cluster (like split-brain) is higher.  (see Get started with Percona XtraDB Cluster … Continued<br />
The post Just Because You Can, Doesn’t Mean You Should: Re-evaluating Galera Node Weights appeared first on Percona.</p>
<p><a href="https://www.percona.com/blog/just-because-you-can-doesnt-mean-you-should-re-evaluating-galera-node-weights/">Just Because You Can, Doesn’t Mean You Should: Re-evaluating Galera Node Weights</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p><span>We all know that when using a cluster based on Galera (Codership) such as Percona XtraDB Cluster (PXC), it is recommended to deploy an odd number of nodes. <a href="https://www.percona.com/wp-content/uploads/2026/11/goat_small.jpg"><img loading="lazy" decoding="async" class="alignright wp-image-56186 " src="https://www.percona.com/wp-content/uploads/2026/11/goat_small.jpg" alt="" width="401" height="269"></a></span></p>
<p><span>The generic answer to this recommendation is that otherwise the risk of having an inconsistent cluster (like split-brain) is higher.  (see </span><a href="https://docs.percona.com/percona-xtradb-cluster/8.4/get-started-cluster.html"><span>Get started with Percona XtraDB Cluster – Percona XtraDB Cluster</span></a><span> ) </span></p>
<p><span>As a reminder, when split-brain occurs, a cluster will stop accepting queries, which is what a safe solution should do while waiting for the DBA to review and decide which of the two nodes is the leader. I do not even want to describe the infamous wsrep_provider_options=”pc.ignore_sb = yes”, which has been the cause of many, many nights spent trying to reconcile the corrupted datasets. If you have it, remove it.</span></p>
<p><span>However, in Galera, we also have the setting wsrep_provider_options=”pc.weight=N”. With it, we can define a specific weight in the quorum calculation for each node. </span><span><br />
</span><span>The question naturally arises: </span><i><span>if we can assign a different weight to each node, why can’t we have an even number of nodes and assign them different weights?</span></i><span> </span></p>
<p><span>The answer to the question is simple, yes, we can. </span></p>
<p><span>What is not simple is to identify who should have a different weight and how to distribute it.</span></p>
<p><span>To understand the problem, we need to review how the quorum is calculated (I have touched on the topic long ago here </span><a href="https://www.tusacentral.net/index.php/mysql-blogs/170-geographic-replication-and-quorum-calculation-in-mysqlgalera"><span>TusaCentral – Geographic replication and quorum Calculation in MySQL/Galera</span></a><span>) and what a View is.</span></p>
<p><span>In Percona XtraDB Cluster (PXC) and Galera, a </span><b>View</b><span> (or cluster view) is the agreed-upon membership of the cluster at any specific moment in time. It represents the exact list of nodes that are currently connected, synchronized, and actively communicating with each other.</span></p>
<p><span>Whenever a node joins the cluster, leaves gracefully, or </span><b>drops out due to a network failure</b><span>, the remaining connected nodes negotiate a new View and assign it a unique View ID.</span></p>
<p><span>Its relationship to the </span><b>Primary Component (PC)</b><span> is based on quorum:</span></p>
<ul>
<li><b>The Quorum Check:</b><span> Every time a new View is formed, the nodes inside it calculate whether they hold the majority of the cluster’s total votes.</span></li>
<li><b>The Primary Component:</b><span> If the new View holds the majority, it is designated as the </span><b>Primary Component</b><span>. Only the Primary Component is allowed to accept and process transactions.</span></li>
<li><b>Non-Primary Views:</b><span> If a network split occurs, isolated nodes will form their own separate View. Because this smaller View lacks a majority, it becomes a non-primary component and immediately halts database operations to prevent split-brain data corruption.</span></li>
</ul>
<p><span>Essentially, a View defines </span><i><span>who</span></i><span> is currently connected to each other, while the Primary Component is the specific View that has enough members to safely keep the database running.</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">2026-11-10T13:45:01.498927Z 0 [Note] [MY-000000] [Galera] Node 49d8df08-bad6 state primary
2026-11-10T13:45:01.500967Z 0 [Note] [MY-000000] [Galera] Current view of cluster as seen by this node
view (view_id(PRIM,49d8df08-bad6,93)
memb {
	49d8df08-bad6,2
	5ce1a9aa-8e06,2
	8458c8f0-9b8f,2
	}
joined {}
left {}
partitioned {	85a6e937-b8c4,2}
)</pre>
<p><span>The formula for calculating the quorum is:</span></p>
<p><span>  Σ p·w  &lt;  2·(Σ m·w + Σ l·w)</span></p>
<p><span>Where:</span><span><br />
</span><span>p = members of the last PRIMARY view </span><span><br />
</span><span>l = members that left gracefully (LEFT)</span><span><br />
</span><span>m = members of the component being evaluated</span><span><br />
</span><span>w = pc.weight (0–255).</span></p>
<p><span>In short, the total weight of the previous Primary view must be less than twice the weight of the members of the new component plus the weight of the members that left gracefully.  To be clear, a crashed / unreachable node (DOWN or in another partition) still counts in Σ p·w, so it pushes the threshold up. </span><span><br />
</span><span>A graceful leave (LEFT), instead, is credited to the new component. Also, any node that was not in the last PC is dropped from calculation, so a node that has just joined or rejoined contributes nothing to this check.</span></p>
<p><span>Look for the function:</span></p>
<pre class="urvanov-syntax-highlighter-plain-tag">bool gcomm::pc::Proto::have_quorum(const View&amp; view, const View&amp; pc_view) const
{
    // Compare only against members and left which were part of the pc_view.
    gcomm::NodeList memb_intersection(
        node_list_intersection(view.members(), pc_view.members()));
    gcomm::NodeList left_intersection(
        node_list_intersection(view.left(), pc_view.members()));
    if (have_weights(...))
        return (weighted_sum(memb_intersection, instances_) * 2
                + weighted_sum(left_intersection, instances_) &gt;
                weighted_sum(pc_view.members(), instances_));
    else
        return (memb_intersection.size()*2 + left_intersection.size() &gt;
                pc_view.members().size());
}</pre>
<p><span>(repo </span><a href="https://github.com/percona/galera/tree/a6b54d887d58bae43ae3f46f5696195329405b7e"><span>https://github.com/percona/galera/tree/a6b54d887d58bae43ae3f46f5696195329405b7e</span></a><span>) </span></p>
<p><span>Now let’s assume that we have a cluster of 4 nodes, there are many possible combinations where things will work and where instead they will hit us badly.</span></p>
<p><a href="https://www.percona.com/wp-content/uploads/2026/11/legend.jpg"><img loading="lazy" decoding="async" class="alignleft size-full wp-image-56187" src="https://www.percona.com/wp-content/uploads/2026/11/legend.jpg" alt="" width="1352" height="76"></a></p>
<p><span>The most common is the split-brain scenario:</span></p>
<p><span> <a href="https://www.percona.com/wp-content/uploads/2026/11/1_split_brain_same_weigh.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-56182 alignnone" src="https://www.percona.com/wp-content/uploads/2026/11/1_split_brain_same_weigh.jpg" alt="" width="462" height="345"></a></span></p>
<p><span>To prevent this, we may decide to use one node with different weight:</span></p>
<p><a href="https://www.percona.com/wp-content/uploads/2026/11/1_split_brain_diff_weigh.jpg"><img decoding="async" loading="lazy" class="size-full wp-image-56181 alignnone" src="https://www.percona.com/wp-content/uploads/2026/11/1_split_brain_diff_weigh.jpg" alt="" width="463" height="348"></a></p>
<p><span>Here we go, problem solved… really?</span></p>
<p><span>No, because changing weights may cause other issues, for example if we calculate the weights wrongly with respect to the number of nodes:</span></p>
<p><a href="https://www.percona.com/wp-content/uploads/2026/11/3_unbalnced_weight.jpg"><img decoding="async" loading="lazy" class="size-full wp-image-56185 alignnone" src="https://www.percona.com/wp-content/uploads/2026/11/3_unbalnced_weight.jpg" alt="" width="461" height="345"></a></p>
<p><span>In this case one single node could bring down the whole cluster. </span></p>
<p><span>Of course, if we perform standard operations, or crashes happen in cascade and the cluster has time to rebuild the Primary Component, all will work well:</span></p>
<p><a href="https://www.percona.com/wp-content/uploads/2026/11/2_crash_on_cascade.jpg"><img decoding="async" loading="lazy" class="size-full wp-image-56184 alignnone" src="https://www.percona.com/wp-content/uploads/2026/11/2_crash_on_cascade.jpg" alt="" width="462" height="347"></a></p>
<p><a href="https://www.percona.com/wp-content/uploads/2026/11/2_crash_on_cascade_b.jpg"><img decoding="async" loading="lazy" class="size-full wp-image-56183 alignnone" src="https://www.percona.com/wp-content/uploads/2026/11/2_crash_on_cascade_b.jpg" alt="" width="463" height="347"></a></p>
<p><span>The problem is that:</span></p>
<ul>
<li><span>Cluster dimensions are dynamic and change in relation to the active Primary Component</span></li>
<li><span>In environments managed by operators (e.g., Kubernetes), scaling the number of nodes up or down is even more dynamic and difficult to predict.</span></li>
<li><span>In real life we may have an incredible variety of scenarios, I have built just a few (see </span><a href="https://github.com/Tusamarco/blogs/blob/master/quorum_calculations/quorum_calculation.pdf">PDF</a><span>)  </span></li>
</ul>
<p><span>The real question is not if we can do it but whether it is worth it: does using an odd number of nodes help or not?</span></p>
<p><span>The answer is partly. </span></p>
<p><span>Odd nodes get rid of the exact-tie case in the simple situation. They don’t completely stop the cluster losing PRIMARY state.</span></p>
<p><b>What matters is the parity of the total weight, not the node count.</b> <span><br />
</span><span>A tie happens when present = partitioned, which means the counted weight (Σw(PC) − Left) splits exactly in half. </span></p>
<p><span>That is only possible when the counted weight is even. So:</span></p>
<ul>
<li><b>5 nodes of w=1, any two-way split:</b><span> 3|2 or 4|1. One side always strictly wins.</span></li>
<li><b>6 nodes with one node at w=2 (total 7)</b><span> behave exactly like an odd cluster. Adding the Galera Arbitrator (garbd) as a 7th voter does the same thing.</span></li>
<li><b>3 nodes weighted 2,1,1 (total 4)</b><span> is an odd node count with an even total, so it can tie again.</span></li>
</ul>
<p><span>Where odd nodes still lose PRIMARY:</span></p>
<ol>
<li><b>The PC shrinks after each failure, and its parity changes.</b><span> 5 nodes lose 1 and stay PRIMARY, but the new PC has 4 nodes. A 2|2 split after that ties. A rolling failure still ends at 2 nodes and losing one of those ties.</span></li>
<li><b>Graceful leaves change the parity.</b><span> If 1 of 5 shuts down cleanly, the counted weight is 4, so a 2|2 split ties.</span></li>
<li><b>Splits into three or more groups.</b><span> A 2|2|1 split of 5 has no tie, but no group is bigger than the rest combined (2 &lt; 3), so every group goes NON-PRIMARY.</span></li>
<li><b>Losing a majority is still losing.</b><span> 5 nodes survive 2 failures but not 3, so odd doesn’t add fault tolerance. 5 and 6 nodes both tolerate only 2 failures. The 6th node adds cost and a tie risk, and no extra resilience.</span></li>
<li><b>Two data centers.</b><span> With 3+2 nodes, the 3-node site survives a link cut, but if that site goes down, the 2-node site stops. To survive the loss of either site we need a third location, even if it only runs garbd.</span></li>
</ol>
<p><b>In practice:</b><span> aim for an odd total weight in the PC and use a third site or an arbitrator for multi-DC setups. Even then, a cluster that has already shrunk can become even again, so the last-two-nodes tie can’t be designed away. </span></p>
<p><span>Only pc.ignore_sb or a manual bootstrap gets past it. </span><b>But you do not want to go there</b><span>.</span></p>
<p><span>Given this, and given that what counts is NOT the number of nodes but the balance in the weight calculation, is using weights the right way to compensate?</span></p>
<p><span><br />
</span><span>Well, this may be my personal opinion, but in my experience, weights make the cluster harder to manage, and the stability they add is narrow.</span></p>
<p><b>A weight-2 node acts like two nodes that always fail together.</b><span> Four nodes weighted 2,1,1,1 behave like a 5-node cluster where two of the nodes share one box. </span><span><br />
</span><span>We trade a split-brain tie for a single point of fate:</span></p>
<ul>
<li><b>Gain:</b><span> a clean 2|2 split now has a fixed winner, the side holding the heavy node.</span></li>
<li><b>Loss:</b><span> losing the heavy node plus one other is fatal. Over-weighting makes it worse: with w=3, losing that node alone causes a tie.</span></li>
</ul>
<p><span>The set of survivable failures shifts rather than grows. We still tolerate only one arbitrary failure plus some specific splits.</span></p>
<p><span>What weights add to day-to-day operations:</span></p>
<ol>
<li><b>Nodes are no longer equal.</b><span> Everyone must know which node is “special”. Runbooks, monitoring and on-call decisions depend on it.</span></li>
<li><b>Maintenance order matters.</b><span> Shut the heavy node down cleanly so its weight counts for neither side. </span><span><br />
</span><span>If it crashes during maintenance on another node, the cluster can stop. Patching or rebooting it may first need its weight moved to another node, a step that’s easy to forget.</span></li>
<li><b>Weight is a configuration that can drift.</b><span> It has to be consistent across config files, rebuilds and node replacements. A rebuilt node that comes back with the default w=1 silently changes the quorum maths.</span></li>
<li><b>The tie-breaker site is fixed.</b><span> With two data centers, the weighted side always wins. That’s no different from simply putting 3 nodes in one DC and 2 in the other, and in both cases losing that DC stops the cluster.</span></li>
<li><b>Shrinking still breaks it.</b><span> After failures the PC changes, so a setup tuned for 4 nodes may tie at 3 or 2.</span></li>
</ol>
<p><span>Simple to most complex for the same goal:</span></p>
<ol>
<li><b>An odd number of equal nodes:</b><span> symmetric, nothing special to manage.</span></li>
<li><b>An even number of nodes plus the Galera Arbitrator (garbd):</b><span> the data nodes stay equal, and the arbitrator holds the tie-breaking vote. If it runs at a third site, the cluster survives losing either main site, which weights alone can’t give you.</span></li>
<li><b>An even number of nodes with weights:</b><span> use this only when you can’t add a node or an arbitrator and you deliberately want one side to always win a split.</span></li>
</ol>
<p><span>Weights don’t make the cluster generally more stable, and they add operational complexity. They make sense as a deliberate tiebreaker, not as a fix for even node counts.</span></p>
<h2><span>Conclusions</span></h2>
<p><span>I stand by the evergreen KISS motto: Keep It Simple and Straightforward.<br />
</span><span>Having a PXC cluster with more than 3 nodes makes sense in very few cases, and only to scale reads or if you plan to kill 2 nodes at the same time on a cluster of 5.<br />
Given the significant complications the increase of nodes or the use of weight brings, I do not really see why someone in a healthy state of mind should look for trouble.</span></p>
<p><span>Just because it can be done, it doesn’t mean “do it”, especially if the gain is minimal and the complexity increases. </span></p>
<p><span>Do yourself a favor: keep your cluster to the minimum, to what is really needed and do not try to stretch it. You will save yourself from spending miserable nights doing cluster recovery or worse data reconciliation.</span></p>
<p><span>Great MySQL to everyone.</span></p>
<p>The post <a href="https://www.percona.com/blog/just-because-you-can-doesnt-mean-you-should-re-evaluating-galera-node-weights/">Just Because You Can, Doesn’t Mean You Should: Re-evaluating Galera Node Weights</a> appeared first on <a href="https://www.percona.com/">Percona</a>.</p>
<p><a href="https://www.percona.com/blog/just-because-you-can-doesnt-mean-you-should-re-evaluating-galera-node-weights/">Just Because You Can, Doesn’t Mean You Should: Re-evaluating Galera Node Weights</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
        <item>
        <title>TLS Connect/Disconnect Performance Boost With WolfSSL</title>
        <link>https://mariadb.org/tls-connect-disconnect-performance-boost-with-wolfssl/</link>
        <pubDate>Fri, 13 Nov 2026 13:20:55 +0000</pubDate>
        <dc:creator>Georgi Kodinov</dc:creator>
        <guid isPermaLink="false">https://mariadb.org/wprss_feed_item/tls-connect-disconnect-performance-boost-with-wolfssl/</guid>
        <source url="https://mariadb.org/">MariaDB.org</source>
        <description><![CDATA[<p>I was able to get a (seemingly) significant TLS connect/disconnect performance boost with WolfSSL on non-x86 64bit platforms/compiler combinations. Here are the numbers, in seconds per 100 localhost connect/disconnects: That’s 3x+! From a 2-line change! What Did I Change? WolfSSL’s Wolfcrypt library has certain optimizations for various modern platforms. More specifically, it has certain big […]<br />
TLS Connect/Disconnect Performance Boost With WolfSSL appeared first on MariaDB.org</p>
<p><a href="https://mariadb.org/tls-connect-disconnect-performance-boost-with-wolfssl/">TLS Connect/Disconnect Performance Boost With WolfSSL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></description>
        <content:encoded><![CDATA[<p>I was able to get a (seemingly) significant TLS connect/disconnect performance boost with WolfSSL on non-x86 64bit platforms/compiler combinations. Here are the numbers, in seconds per 100 localhost connect/disconnects: That’s 3x+! From a 2-line change! What Did I Change? WolfSSL’s Wolfcrypt library has certain optimizations for various modern platforms. More specifically, it has certain big […]</p>
<p><a href="https://mariadb.org/tls-connect-disconnect-performance-boost-with-wolfssl/">TLS Connect/Disconnect Performance Boost With WolfSSL</a> appeared first on <a href="https://mariadb.org/">MariaDB.org</a></p>
<p><a href="https://mariadb.org/tls-connect-disconnect-performance-boost-with-wolfssl/">TLS Connect/Disconnect Performance Boost With WolfSSL</a> appeared first on <a href="https://mariadb.org">MariaDB.org</a></p>
]]></content:encoded>
                    </item>
    </channel>
</rss>
    