<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>AIOps on Last DBA</title><link>https://lastdba.com/en/categories/aiops/</link><description>Recent content in AIOps on Last DBA</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 liuzhilong62</copyright><lastBuildDate>Wed, 27 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://lastdba.com/en/categories/aiops/index.xml" rel="self" type="application/rss+xml"/><item><title>When PostgreSQL Becomes AI's Hands — Bruce Momjian's MCP Server in Practice</title><link>https://lastdba.com/en/2026/05/27/when-postgresql-becomes-ais-hands-bruce-momjians-mcp-server-in-practice/</link><pubDate>Wed, 27 May 2026 00:00:00 +0000</pubDate><guid>https://lastdba.com/en/2026/05/27/when-postgresql-becomes-ais-hands-bruce-momjians-mcp-server-in-practice/</guid><description>&lt;blockquote&gt;&lt;p&gt;Original: &lt;a href="https://momjian.us/main/writings/pgsql/mcp.pdf" target="_blank" rel="noreferrer"&gt;Building an MCP Server Using Postgres&lt;/a&gt;, Bruce Momjian, PGDay Armenia 2026, CC BY 4.0.&lt;/p&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;AI-generated ratio: 80%&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;Bruce Momjian (PG core team, the one who has written release notes for 20+ years) recently gave a talk at PGDay Armenia 2026: &lt;a href="https://momjian.us/main/writings/pgsql/mcp.pdf" target="_blank" rel="noreferrer"&gt;Building an MCP Server Using Postgres&lt;/a&gt;. 70 slides, extremely dense. Theory and practice — a solid reference.&lt;/p&gt;
&lt;p&gt;Reading it directly is hard work. Even having AI interpret it probably won&amp;rsquo;t make sense at first glance. I had to read for a while and ask several questions before it clicked.&lt;/p&gt;</description><content:encoded>&lt;blockquote&gt;&lt;p&gt;Original: &lt;a href="https://momjian.us/main/writings/pgsql/mcp.pdf" target="_blank" rel="noreferrer"&gt;Building an MCP Server Using Postgres&lt;/a&gt;, Bruce Momjian, PGDay Armenia 2026, CC BY 4.0.&lt;/p&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;AI-generated ratio: 80%&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;Bruce Momjian (PG core team, the one who has written release notes for 20+ years) recently gave a talk at PGDay Armenia 2026: &lt;a href="https://momjian.us/main/writings/pgsql/mcp.pdf" target="_blank" rel="noreferrer"&gt;Building an MCP Server Using Postgres&lt;/a&gt;. 70 slides, extremely dense. Theory and practice — a solid reference.&lt;/p&gt;
&lt;p&gt;Reading it directly is hard work. Even having AI interpret it probably won&amp;rsquo;t make sense at first glance. I had to read for a while and ask several questions before it clicked.&lt;/p&gt;
&lt;p&gt;These 70 slides can be cleanly split into two layers — the first half is theory, the second half is a hands-on demo. The two layers don&amp;rsquo;t have much to do with each other.&lt;/p&gt;
&lt;hr&gt;

&lt;h1 class="relative group"&gt;Theory Layer: Explaining the RAG → MCP Evolution Through Transformers (Slides 1-33)
 &lt;div id="theory-layer-explaining-the-rag--mcp-evolution-through-transformers-slides-1-33" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#theory-layer-explaining-the-rag--mcp-evolution-through-transformers-slides-1-33" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;
&lt;p&gt;The theory layer takes up nearly half the content, from LLM fundamentals to how MCP works. The outline is clear:&lt;/p&gt;
&lt;p&gt;


&lt;img src="https://lastdba.com/img/mcp/outline.png" alt="Talk outline: Generative AI → LLM limitations → RAG → MCP → MCP Server in practice" /&gt;&lt;/p&gt;

&lt;h2 class="relative group"&gt;RAG vs MCP: In One Sentence
 &lt;div id="rag-vs-mcp-in-one-sentence" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#rag-vs-mcp-in-one-sentence" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Everyone knows the RAG workflow: the programmer decides what data to query → retrieval results are appended to the system prompt → the LLM reads and generates a response. &lt;strong&gt;Pre-orchestrated&lt;/strong&gt; — what the LLM can see is decided before the user even asks.&lt;/p&gt;
&lt;p&gt;MCP is different. Tool descriptions are registered with the LLM, and the LLM &lt;strong&gt;decides for itself&lt;/strong&gt; during generation whether to call a tool and which one. &lt;strong&gt;Dynamic decision-making&lt;/strong&gt; — the programmer only exposes tools, the LLM handles orchestration.&lt;/p&gt;
&lt;p&gt;Bruce sums it up in one sentence:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;RAG can only do what the programmer pre-planned. MCP can dynamically adjust based on output quality, can iteratively call multiple tools, and can trigger external tasks.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 class="relative group"&gt;&amp;ldquo;Word or MCP&amp;rdquo; — That Set of Vector Embedding Diagrams
 &lt;div id="word-or-mcp--that-set-of-vector-embedding-diagrams" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#word-or-mcp--that-set-of-vector-embedding-diagrams" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Slides 18-33 are the core of the theory layer. Bruce draws a detailed internal Transformer flow diagram:&lt;/p&gt;
&lt;p&gt;


&lt;img src="https://lastdba.com/img/mcp/mcp-servers.png" alt="MCP Server registered as Tool Embedding Vectors in the vector space" /&gt;&lt;/p&gt;
&lt;p&gt;His logic: take each MCP tool&amp;rsquo;s description text (e.g., &amp;ldquo;Return the radiation level (CPM) at 13 Roberts Road&amp;hellip;&amp;rdquo;), embed it into a vector using a text embedding model, and inject it into the attention layer&amp;rsquo;s vector space. Then at each inference step, the output vector matches against the nearest vector —&lt;/p&gt;
&lt;p&gt;


&lt;img src="https://lastdba.com/img/mcp/word-or-mcp.png" alt="The closest vector might be a text token, or an MCP tool" /&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;ldquo;The closest vector might be a word or an MCP.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 class="relative group"&gt;Is This Model Correct?
 &lt;div id="is-this-model-correct" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#is-this-model-correct" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;This is what puzzled me the most. Here are my thoughts.&lt;/p&gt;
&lt;p&gt;Bruce&amp;rsquo;s 15 slides are beautifully drawn, but if you try to understand them as engineering implementation, there are problems:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;① MCP tools don&amp;rsquo;t need &amp;ldquo;embedding.&amp;rdquo;&lt;/strong&gt; In actual engineering, tool definitions are written directly into the system prompt as text. The LLM reads &amp;ldquo;You have these tools: geiger(), get_pretzel_inventory()…&amp;rdquo; and uses semantic understanding to decide when to call them. There&amp;rsquo;s no need to compute tool descriptions as vectors, no need to do cosine distance comparisons against word vectors. The essence of Bruce&amp;rsquo;s teaching model is explaining &amp;ldquo;LLM decision-making&amp;rdquo; as &amp;ldquo;nearest vector matching&amp;rdquo; — this is closer to the retrieval paradigm than the generation paradigm.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;② Attention doesn&amp;rsquo;t produce a &amp;ldquo;find nearest&amp;rdquo; operation.&lt;/strong&gt; &lt;code&gt;output = Σ(softmax(Q·K) × V)&lt;/code&gt; yields a weighted-mixed context vector. There&amp;rsquo;s no step of &amp;ldquo;binary choice between the word embedding table and the tool embedding table.&amp;rdquo; The actual mechanism for LLM tool selection is: attention produces hidden states → LM head → softmax over vocabulary → output tool call JSON. There&amp;rsquo;s never a &amp;ldquo;word vs tool&amp;rdquo; choice, only a softmax over the entire vocabulary.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;③ System prompt and user prompt have no boundary in attention.&lt;/strong&gt; A token sequence is just a token sequence — attention blocks do Q·K dot products on all tokens equally. There is no &amp;ldquo;system zone&amp;rdquo; or &amp;ldquo;user zone.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;So these 33 theory slides can be seen as a simplified teaching model Bruce built for DBAs without an AI background — visually appealing and easy to understand, but don&amp;rsquo;t use it as an architecture diagram. MCP&amp;rsquo;s truly revolutionary aspect is &lt;strong&gt;protocol standardization&lt;/strong&gt; (unified tool registration/discovery/calling spec), not any vectorization trick.&lt;/p&gt;
&lt;hr&gt;

&lt;h1 class="relative group"&gt;Practice Layer: Two Working Demos (Slides 34-69)
 &lt;div id="practice-layer-two-working-demos-slides-34-69" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#practice-layer-two-working-demos-slides-34-69" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;
&lt;p&gt;Starting from Slide 34, the style abruptly shifts — all code, terminal output, hardware photos. That entire Transformer vector model from the theory layer completely disappears, replaced by &lt;code&gt;curl&lt;/code&gt;, &lt;code&gt;psql&lt;/code&gt;, and Perl scripts.&lt;/p&gt;
&lt;p&gt;The only thread connecting the two layers is that &amp;ldquo;they&amp;rsquo;re both talking about MCP.&amp;rdquo; But the vector matching mechanism painted in the theory layer and the actual implementation in the practice layer are nearly two different logic systems. This may be exactly the tension Bruce intended — the theory layer helps you understand why MCP is stronger than RAG, and the practice layer tells you how to actually implement it today.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Demo 1: Letting ChatGPT Read a Real-World Geiger Counter
 &lt;div id="demo-1-letting-chatgpt-read-a-real-world-geiger-counter" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#demo-1-letting-chatgpt-read-a-real-world-geiger-counter" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Bruce set up a GQ GMC-800 Geiger counter (radiation detector) in his backyard, connected via USB to a Raspberry Pi, taking environmental radiation readings every 15 minutes. First, see ChatGPT using MCP to call real data:&lt;/p&gt;
&lt;p&gt;


&lt;img src="https://lastdba.com/img/mcp/chatgpt-weather.png" alt="ChatGPT querying weather via MCP" /&gt;&lt;/p&gt;
&lt;p&gt;MCP can call external tools to get real-time data — something RAG cannot do.&lt;/p&gt;
&lt;p&gt;Connected to hardware:&lt;/p&gt;
&lt;p&gt;


&lt;img src="https://lastdba.com/img/mcp/geiger-counter.png" alt="GQ GMC-800 Geiger counter" /&gt;&lt;/p&gt;
&lt;p&gt;Wrote a Python wrapper using &lt;strong&gt;fastmcp&lt;/strong&gt;:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;from&lt;/span&gt; fastmcp &lt;span style="color:#f92672"&gt;import&lt;/span&gt; FastMCP
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mcp &lt;span style="color:#f92672"&gt;=&lt;/span&gt; FastMCP(&lt;span style="color:#e6db74"&gt;&amp;#34;Geiger counter MCP server&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;@mcp.tool&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;geiger&lt;/span&gt;() &lt;span style="color:#f92672"&gt;-&amp;gt;&lt;/span&gt; int:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&amp;#34;Return the radiation level (CPM) at 13 Roberts Road, Newtown Square, PA, USA&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; subprocess&lt;span style="color:#f92672"&gt;.&lt;/span&gt;check_output(
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;/var/lib/postgresql/tmp/geiger&amp;#34;&lt;/span&gt;, shell&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;, text&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; )&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The underlying layer is a Perl script that sends &lt;code&gt;&amp;lt;GETCPM&amp;gt;&amp;gt;&lt;/code&gt; over serial, reads back a 4-byte CPM value. Apache reverse-proxies port 443 (OpenAI only talks to 443). After registering with ChatGPT:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: What&amp;#39;s the radiation level at 13 Roberts Road?
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;GPT: I don&amp;#39;t have public data for that location...
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: Use my custom app
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;GPT: [calls geiger tool] → 14 CPM. Normal background radiation (5-25 CPM).
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: Take five readings and give me the average
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;GPT: [calls ×5] 15 16 13 15 15 → average 14.8 CPM&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Two key behaviors:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;The LLM can iteratively call tools and compute&lt;/strong&gt; — RAG is a one-shot data dump, MCP is &amp;ldquo;call → get result → decide → call again → compute&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The user must explicitly authorize&lt;/strong&gt; — the first time, ChatGPT didn&amp;rsquo;t say &amp;ldquo;I have your Geiger counter data.&amp;rdquo; Only when the user said &amp;ldquo;use my custom app&amp;rdquo; did the tool call trigger. The security model is conservative&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 class="relative group"&gt;Demo 2: Using PG as a Pretzel Shop Inventory System
 &lt;div id="demo-2-using-pg-as-a-pretzel-shop-inventory-system" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#demo-2-using-pg-as-a-pretzel-shop-inventory-system" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;From hardware back to software. Building a pretzel inventory database:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;CREATE&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;TABLE&lt;/span&gt; pretzel (
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; quantity INTEGER &lt;span style="color:#66d9ef"&gt;CHECK&lt;/span&gt; (quantity &lt;span style="color:#f92672"&gt;&amp;gt;=&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;INSERT&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;INTO&lt;/span&gt; pretzel &lt;span style="color:#66d9ef"&gt;VALUES&lt;/span&gt; (&lt;span style="color:#ae81ff"&gt;0&lt;/span&gt;); &lt;span style="color:#75715e"&gt;-- initial inventory 0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;MCP tools use &lt;code&gt;psql&lt;/code&gt; to operate on PG directly:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;@mcp.tool&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;get_pretzel_inventory&lt;/span&gt;() &lt;span style="color:#f92672"&gt;-&amp;gt;&lt;/span&gt; int:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&amp;#34;Return the number of unsold pretzels&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; subprocess&lt;span style="color:#f92672"&gt;.&lt;/span&gt;check_output(
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;psql --tuples-only -c &amp;#39;SELECT quantity FROM pretzel;&amp;#39; -d mcp&amp;#34;&lt;/span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; shell&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;, text&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; )
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;@mcp.tool&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;sold_one_pretzel&lt;/span&gt;() &lt;span style="color:#f92672"&gt;-&amp;gt;&lt;/span&gt; str:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&amp;#34;Call this when a pretzel is sold; reduces inventory by one&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; subprocess&lt;span style="color:#f92672"&gt;.&lt;/span&gt;check_output(
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;psql --tuples-only -c &amp;#39;UPDATE pretzel SET quantity = quantity - 1;&amp;#39; -d mcp&amp;#34;&lt;/span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; shell&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;, text&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; )
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;@mcp.tool&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;baked_6_pretzels&lt;/span&gt;() &lt;span style="color:#f92672"&gt;-&amp;gt;&lt;/span&gt; str:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&amp;#34;Call this when a tray of 6 pretzels is baked; increases inventory&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; subprocess&lt;span style="color:#f92672"&gt;.&lt;/span&gt;check_output(
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;psql --tuples-only -c &amp;#39;UPDATE pretzel SET quantity = quantity + 6;&amp;#39; -d mcp&amp;#34;&lt;/span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; shell&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;, text&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;True&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; )&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Interaction flow:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: How many pretzels available?
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;GPT: 0 pretzels.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: I just baked a tray → 6 pretzels
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: I sold two → 4 remaining
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: I sold four → 0 remaining
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;User: I sold one pretzel → ERROR! CHECK constraint prevented negative quantity&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The LLM doesn&amp;rsquo;t write SQL directly — it calls your predefined, controlled interfaces. PG&amp;rsquo;s CHECK constraints naturally form a safety net — even if the LLM is tricked into calling the wrong function, the database-level constraint provides a second line of defense.&lt;/p&gt;
&lt;p&gt;But this also exposes a problem: the LLM faithfully executed &lt;code&gt;sold_one_pretzel&lt;/code&gt;, but didn&amp;rsquo;t anticipate that &amp;ldquo;inventory is 0, calling it will error.&amp;rdquo; &lt;strong&gt;MCP is the execution layer, not the reasoning layer.&lt;/strong&gt;&lt;/p&gt;
&lt;hr&gt;

&lt;h1 class="relative group"&gt;How Far from Production
 &lt;div id="how-far-from-production" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#how-far-from-production" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;
&lt;p&gt;On the final slide, Bruce frankly admits the current implementation&amp;rsquo;s limitations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;No authentication&lt;/strong&gt; — anyone can call your MCP Server&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No parameterization&lt;/strong&gt; — all three tools are parameterless functions; real-world tools need to accept parameters&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No security restrictions on dynamic SQL&lt;/strong&gt; — tool descriptions declare semantics, but the LLM could be injected with malicious content&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Connection pooling, transaction management, rate limiting&lt;/strong&gt; — none addressed&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Two recommended practical reads:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.pgedge.com/blog/lessons-learned-writing-an-mcp-server-for-postgresql" target="_blank" rel="noreferrer"&gt;pgedge.com: Lessons Learned Writing an MCP Server for PostgreSQL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cardinalops.com/blog/mcp-defaults-hidden-dangers-of-remote-deployment/" target="_blank" rel="noreferrer"&gt;CardinalOps: MCP Defaults — Hidden Dangers of Remote Deployment&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;

&lt;h1 class="relative group"&gt;Between the Two Layers
 &lt;div id="between-the-two-layers" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#between-the-two-layers" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;
&lt;p&gt;Looking back at these 70 slides, the most interesting part isn&amp;rsquo;t any single demo — it&amp;rsquo;s how the theoretical thinking and hands-on work together explain what MCP can do:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The theory layer uses Transformer vector spaces to explain &amp;ldquo;how the LLM chooses between words and tools&amp;rdquo; — this is a teaching model&lt;/li&gt;
&lt;li&gt;The practice layer uses &lt;code&gt;psql&lt;/code&gt;, &lt;code&gt;curl&lt;/code&gt;, and Perl scripts to actually implement things — this is engineering&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The real MCP mechanism — tool definitions inserted as text into the system prompt, the LLM using semantic understanding to decide which tool to call, outputting tool call JSON — needs none of the vector embedding model from the theory layer. Between the two layers, Bruce didn&amp;rsquo;t draw the connecting line. This might not be a bug — it might be a feature.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This article was originally published in Chinese on &lt;a href="https://lastdba.com" target="_blank" rel="noreferrer"&gt;lastdba.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;</content:encoded></item><item><title>DBA, Writing, Learning and the Future in the AI Era</title><link>https://lastdba.com/en/2026/01/21/dba-writing-learning-and-the-future-in-the-ai-era/</link><pubDate>Wed, 21 Jan 2026 00:00:00 +0000</pubDate><guid>https://lastdba.com/en/2026/01/21/dba-writing-learning-and-the-future-in-the-ai-era/</guid><description>&lt;blockquote&gt;&lt;p&gt;AI rate: This article has approximately 60% AI involvement, with about 20 rounds of battling with AI&lt;/p&gt;
&lt;p&gt;Recommendation reason: Contains some reflections and insights on AI Ops, hence recommended&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 class="relative group"&gt;Writing in the AI Era
 &lt;div id="writing-in-the-ai-era" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#writing-in-the-ai-era" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;For authors who write blogs or WeChat public accounts, AI may be a fatal blow, because AI writing is simply too easy. As someone who writes articles myself, I have many internal struggles about how AI affects writing habits, and it pains me too. Let me revisit some earlier thoughts on writing:&lt;/p&gt;</description><content:encoded>&lt;blockquote&gt;&lt;p&gt;AI rate: This article has approximately 60% AI involvement, with about 20 rounds of battling with AI&lt;/p&gt;
&lt;p&gt;Recommendation reason: Contains some reflections and insights on AI Ops, hence recommended&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 class="relative group"&gt;Writing in the AI Era
 &lt;div id="writing-in-the-ai-era" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#writing-in-the-ai-era" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;For authors who write blogs or WeChat public accounts, AI may be a fatal blow, because AI writing is simply too easy. As someone who writes articles myself, I have many internal struggles about how AI affects writing habits, and it pains me too. Let me revisit some earlier thoughts on writing:&lt;/p&gt;
&lt;p&gt;Why write?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For myself: To consolidate knowledge. Output is what strengthens input. Glancing at something once versus writing it out are completely different experiences — writing can take several times longer than just reading. For example, when you see a profound and seemingly familiar sentence, rewriting it yourself reveals countless details within it.&lt;/li&gt;
&lt;li&gt;For myself: To leverage others&amp;rsquo; biases constructively. Mainly to use readers&amp;rsquo; expectations as motivation to persist in writing and to enhance the credibility of content. Knowledge you consume yourself may be &amp;ldquo;good enough,&amp;rdquo; but writing for a public audience forces you to weigh every word and take responsibility for others. (Relatively speaking — not actual word-by-word scrutiny.)&lt;/li&gt;
&lt;li&gt;For myself: To build reputation. This depends heavily on writing quality.&lt;/li&gt;
&lt;li&gt;For others/the community: To spread knowledge. Good things should be shared and used by everyone — this is at the core of the PostgreSQL open-source community. Encouraging sharing, not hoarding, is a principle I&amp;rsquo;ve always upheld.&lt;/li&gt;
&lt;li&gt;Building connections: This wasn&amp;rsquo;t my goal, but I have indeed met some friends through it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Human writing was already difficult; in the AI era, human writing is essentially Hell Mode — like walking against the current without a destination, unable to see any light, while everyone else is heading the opposite direction. I&amp;rsquo;ve certainly experienced AI-powered interpretation, translation, and article generation, but it never feels like mine, or it loses the original purpose of training myself. Or, at a deeper level, I want to feel the vitality of the work.&lt;/p&gt;
&lt;p&gt;The DBA community&amp;rsquo;s articles can be described as a mixed bag — people write about everything. I&amp;rsquo;ve always preferred substantive, content-rich articles focused on PostgreSQL internals and operations, like those by &lt;strong&gt;Cancan and Xiangbo&lt;/strong&gt; — I eagerly anticipate every piece and read them carefully. Generally, content-oriented articles don&amp;rsquo;t get much traffic (both Cancan and Xiangbo have complained about this on their public accounts&amp;hellip;), and I&amp;rsquo;m quite easygoing about it myself.&lt;/p&gt;
&lt;p&gt;However, my previous article &amp;ldquo;PG Operations Database Operations Experience 2025&amp;rdquo; gained a surprising number of followers, which truly astonished me. So I&amp;rsquo;ve been pondering this question for days: &lt;strong&gt;Why would a non-AI-written, non-comprehensive, DBA-focused, knowledge-oriented article attract so much interest? What does AI mean for DBAs?&lt;/strong&gt;&lt;/p&gt;

&lt;h2 class="relative group"&gt;Reflections on Operations
 &lt;div id="reflections-on-operations" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#reflections-on-operations" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;

&lt;h3 class="relative group"&gt;The Essence of Operations and AI Ops
 &lt;div id="the-essence-of-operations-and-ai-ops" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-essence-of-operations-and-ai-ops" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;Operations involve many things. To narrow the scope of discussion, I&amp;rsquo;ll focus on just one small part of operations work — &lt;strong&gt;incident response&lt;/strong&gt; — to interpret the essence of DB Ops. First, my position: &lt;strong&gt;&amp;ldquo;Operations is not merely a technical problem.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Many people argue that since both humans and AI make mistakes, AI can be given authority to act boldly — specifically, if AI&amp;rsquo;s error rate ≤ human error rate, replacement is justified. I thought the same two years ago, but I no longer do. Because the real-world environment is far more complex, with at least the following factors to consider:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The consensus problem.&lt;/strong&gt; There is consensus that a DBA might accidentally delete data, but another consensus is easily overlooked: in normal circumstances, the team assumes the DBA &lt;em&gt;won&amp;rsquo;t&lt;/em&gt; delete data. How to understand this? For example, when hiring a DBA, a responsible team will assess whether the person is mentally stable, then default to assuming they won&amp;rsquo;t delete data, and maintain this assumption throughout long-term work. At the very least, I don&amp;rsquo;t constantly worry that my colleague will drop the database. But when &amp;ldquo;hiring&amp;rdquo; an AI DBA, it has no mental state, and &lt;em&gt;no one&lt;/em&gt; assumes it won&amp;rsquo;t delete data. &amp;ldquo;It will delete data&amp;rdquo; is everyone&amp;rsquo;s consensus, creating deployment resistance.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The importance of data.&lt;/strong&gt; C-end (consumer) data and B-end (business) data have different importance levels. Retail, internet, government, and financial industry data also differ in criticality. The more an industry values data, the more sensitive it is to data reliability and business continuity. A personal computer has no business continuity and only one person cares about data reliability, but in the financial industry, business continuity can directly trigger widespread social concern — financial data reliability simply cannot be questionable. AI Ops deployment must consider system criticality; it cannot be rolled out across all domains simultaneously.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The management system.&lt;/strong&gt; For example, in financial systems, DBAs hold high privileges and are governed by a set of management procedures. So shouldn&amp;rsquo;t an AI DBA also have corresponding management procedures before it can be deployed? What about abnormal login detection, or abnormal backend access? How does it request permissions, and for how long? What level of permission in what scenario? These are all unresolved issues.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AI&amp;rsquo;s own security.&lt;/strong&gt; For instance, the paper &lt;em&gt;STRATUS&lt;/em&gt; mentions &lt;em&gt;prompt injection attacks&lt;/em&gt;, for which there is currently no effective solution. If someone injects a &amp;ldquo;drop database&amp;rdquo; prompt, it might just execute it. But humans basically don&amp;rsquo;t have this problem — if you tell a DBA &amp;ldquo;drop database,&amp;rdquo; they&amp;rsquo;ll just ask you what you&amp;rsquo;re trying to do.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The responsibility problem.&lt;/strong&gt; Operations engineering is not a &amp;ldquo;knowledge problem&amp;rdquo; but a &amp;ldquo;responsibility problem.&amp;rdquo; One of the core tasks of operations is to make &lt;strong&gt;irreversible decisions about the system within limited time during an incident, and take responsibility for those actions.&lt;/strong&gt; AI can replace &amp;ldquo;formalizable operations&amp;rdquo; but cannot replace &amp;ldquo;judgments that must bear consequences&amp;rdquo; — at least not yet.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Full of noise.&lt;/strong&gt; Operations is an &amp;ldquo;open system,&amp;rdquo; not a closed reasoning system. Databases run in extremely complex environments, while AI&amp;rsquo;s reasoning premise is that the world can be described in text. But the real operations world is filled with noise, contingency, and undocumented behaviors.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Situational pressure.&lt;/strong&gt; Real business environments include recovery time pressure, organizational and customer emotional management, etc. The book &lt;em&gt;Google SRE&lt;/em&gt; describes a common recovery scenario: customers asking when it will be restored, leadership asking why failover hasn&amp;rsquo;t happened, engineers gathering various information under pressure while calling people to confirm recovery procedures. AI cannot feel this pressure. The first two questions are fundamentally not technical problems, but they must be answered. In real scenarios, the answers at that moment are likely to be rough at best.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let&amp;rsquo;s imagine what conditions would be needed for fully automated AI operations to truly happen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AI won&amp;rsquo;t destroy critical data — at least, the vast majority of people need to reach this consensus about AI.&lt;/li&gt;
&lt;li&gt;Complete management procedures are needed, including how to grant AI permissions, just like how we grant DBA permissions.&lt;/li&gt;
&lt;li&gt;Solve the problem of AI itself being attacked. Not just LLMs, but the entire IT system encompassing AI.&lt;/li&gt;
&lt;li&gt;A no-blame operations culture (or eliminating operations altogether is another approach).&lt;/li&gt;
&lt;li&gt;Accept erroneous judgments. Form consensus around the existence of noise and environment, and tolerate AI Ops iteration cycles.&lt;/li&gt;
&lt;li&gt;If recovery takes too long or the blast radius expands, don&amp;rsquo;t allow human intervention — because if human intervention is required, that person is still the operator (semi-automated AI Ops?).&lt;/li&gt;
&lt;li&gt;Pressure-free recovery context. This means leaders, customers, and public opinion don&amp;rsquo;t need responses, or they trust some AI&amp;rsquo;s response. This is a human transformation, not an IT system transformation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;AIOps and Agent Research Results
 &lt;div id="aiops-and-agent-research-results" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#aiops-and-agent-research-results" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;The Tsinghua &lt;a href="https://github.com/TsinghuaDatabaseGroup/AIDB" target="_blank" rel="noreferrer"&gt;AIDB&lt;/a&gt; repository&amp;rsquo;s directory contains many AI4DB papers — too many for a person to read. I used NotebookLM to summarize the paper categories:&lt;/p&gt;
&lt;p&gt;


&lt;img src="https://lastdba.com/img/csdn/46fe43a8cb1f.png" alt="image-20260118161019199" /&gt;&lt;/p&gt;
&lt;p&gt;Again, to narrow the scope (mainly to reduce my own effort), let&amp;rsquo;s focus on database diagnostics content.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;AIOps has made decent academic progress.&lt;/strong&gt; AIOps research integrates machine learning, reinforcement learning, and large language models into database management, covering key tasks such as parameter tuning, index recommendations, query optimization, and fault diagnosis. The goal is to build &amp;ldquo;self-driving&amp;rdquo; database systems with self-awareness and self-healing capabilities. While significantly improving complex workload performance and operational efficiency, this also drives the DBA&amp;rsquo;s transformation from low-efficiency manual intervention to high-level architectural supervision.&lt;/p&gt;
&lt;p&gt;Regarding whether &amp;ldquo;DBAs will be eliminated,&amp;rdquo; current research trends and industry practices (especially self-driving databases and LLM applications) show that the DBA role is undergoing a profound transformation from &amp;ldquo;manual operator&amp;rdquo; to &amp;ldquo;senior manager/supervisor,&amp;rdquo; rather than simple replacement. &lt;strong&gt;The DBA&amp;rsquo;s core value will shift toward managing AI operations strategies, ensuring data security and compliance, and handling extreme anomaly scenarios that AI cannot resolve.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Another &lt;a href="https://mp.weixin.qq.com/s/urqh4NZDmkXvDllBCCdZDA" target="_blank" rel="noreferrer"&gt;AI Ops Frontier Survey&lt;/a&gt; article describes Agents this way:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;This shows that AI Agents are not a silver bullet. To apply Agents, we need not only progress at the model and agent level, but also sufficient support capabilities from the entire operational system — such as Kubernetes-like declarative interfaces, good observability, and reversible operation design. Stratus&amp;rsquo;s preliminary experiments demonstrate the potential of Agents in automated operations, &lt;strong&gt;but there remain enormous gaps in performance, reliability, and security before production deployment.&lt;/strong&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;The development domain, fueled by the booming vibe coding movement, is clearly advancing much faster than AI in operations. I&amp;rsquo;d also love to have a confirm/redo operations remote control — the problem is, it doesn&amp;rsquo;t exist yet. Even if we fantasize about &amp;ldquo;vibe maintaining&amp;rdquo; one day, I doubt many ops people would turn on yolo mode.&lt;/p&gt;

&lt;h2 class="relative group"&gt;The Value of a DBA
 &lt;div id="the-value-of-a-dba" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-value-of-a-dba" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;

&lt;h3 class="relative group"&gt;Is a DBA&amp;rsquo;s Value Just Being the Decision-Maker and Scapegoat?
 &lt;div id="is-a-dbas-value-just-being-the-decision-maker-and-scapegoat" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#is-a-dbas-value-just-being-the-decision-maker-and-scapegoat" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;Endorsement indeed seems to be something AI cannot solve. So is the DBA&amp;rsquo;s value just being the decision-maker and scapegoat? After all, a DBA&amp;rsquo;s knowledge is far less than AI&amp;rsquo;s — it&amp;rsquo;s just that AI can&amp;rsquo;t make the final call.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. Instantaneous Context&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;The DBA&amp;rsquo;s knowledge is far less than AI&amp;rsquo;s&amp;rdquo; — this is true for general knowledge (like how to optimize a SQL query, or the meaning of a configuration parameter). But AI lacks &lt;strong&gt;instantaneous runtime context&lt;/strong&gt;. AI knows database principles, but it doesn&amp;rsquo;t know the accumulated historical debt hiding behind the load balancer during the sudden traffic spike of your company&amp;rsquo;s Double Eleven (Singles&amp;rsquo; Day). The DBA possesses unstructured experience about &amp;ldquo;this specific machine, this specific business, these specific people.&amp;rdquo; In the face of extreme failures, &lt;strong&gt;AI offers the &amp;ldquo;highest-probability suggestion,&amp;rdquo; while the DBA offers &amp;ldquo;the operation that best preserves the system&amp;rsquo;s life under this specific pressure.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. The Last Gate of a Chaotic System&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The database is the most fragile and least fault-tolerant part of all IT architectures (code can be rolled back, but data loss can bankrupt a company). AI&amp;rsquo;s logic is extrapolation based on historical data. When encountering unprecedented underlying hardware bad sectors, extremely rare distributed deadlocks, or novel hacker attack methods, AI&amp;rsquo;s &amp;ldquo;suggestions&amp;rdquo; often fail or even cause secondary damage. The core of &amp;ldquo;making the call&amp;rdquo; is not &amp;ldquo;which solution to choose,&amp;rdquo; but &lt;strong&gt;&amp;ldquo;hedging against risk.&amp;rdquo;&lt;/strong&gt; This kind of &lt;strong&gt;control over extreme situations&lt;/strong&gt; is something current AI cannot provide.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Chain of Trust&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The DBA is the maintainer of the chain of trust: for example, if you let AI audit AI, then who audits the AI&amp;rsquo;s audit logic? At the levels of data security, compliance, and ethics, there must be &lt;strong&gt;a human with the highest privileges who can be held accountable&lt;/strong&gt; as the endpoint of the trust chain.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s flip the perspective: if DBAs really were just &amp;ldquo;less knowledgeable decision-makers and scapegoats,&amp;rdquo; then enterprises would have long ago transferred DBA decision-making authority to SREs, architecture committees, or even AI and other responsible entities. But the reality is, at truly critical moments, enterprises still call &amp;ldquo;that person.&amp;rdquo; This shows the question was never &amp;ldquo;who is smarter,&amp;rdquo; but who can bear the consequences for the organization amid uncertainty. &lt;strong&gt;The DBA is the last human in this chaotic database system who holds the authority to stop losses, the responsibility, and the terminal point of trust.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So is every decision made by the DBA? Obviously not. The DBA does not hold &amp;ldquo;objective decision-making authority&amp;rdquo; but rather &amp;ldquo;risk veto power&amp;rdquo; — they cannot decide whether the business should take risks, but they can determine which risks the system cannot bear. In simple, low-risk, rollback-able scenarios, decisions are often made automatically by processes or systems; &lt;strong&gt;only when decisions enter high-risk, irreversible territory where responsibility must converge is the DBA pushed to the forefront.&lt;/strong&gt;&lt;/p&gt;

&lt;h3 class="relative group"&gt;The Uniqueness of the Postgres DBA
 &lt;div id="the-uniqueness-of-the-postgres-dba" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-uniqueness-of-the-postgres-dba" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;For the specific group of Postgres (PG) DBAs, this uniqueness is even more pronounced.&lt;/p&gt;
&lt;p&gt;In modern technical organizations, DBAs do not naturally hold architectural decision-making authority, nor do they monopolize index or parameter formulation. Architects can design solutions, developers can write SQL, and AI can even provide seemingly comprehensive best-practice recommendations. But these decisions mostly occur at the &lt;strong&gt;abstraction layer, design layer, and probability layer&lt;/strong&gt; — they assume the system is rollback-able, replay-able, and correctable.&lt;/p&gt;
&lt;p&gt;Postgres&amp;rsquo;s uniqueness lies in the fact that &lt;strong&gt;it hands a great deal of freedom to its users&lt;/strong&gt;, and these freedoms ultimately translate into &lt;strong&gt;long-term side effects&lt;/strong&gt; in real systems: write amplification, I/O pattern changes, Vacuum imbalance, WAL bloat, and unpredictable performance degradation. These side effects cannot be fully rehearsed at the design stage, cannot be subcontracted to a single role, and cannot simply be &amp;ldquo;withdrawn&amp;rdquo; after an incident occurs. When the system enters an unstoppable, unreplayable state, the only person still responsible for the overall outcome is often the DBA.&lt;/p&gt;
&lt;p&gt;Therefore, the value of a Postgres DBA lies not in &amp;ldquo;making decisions for others&amp;rdquo; (though you certainly can), but in continuously managing the real-world consequences of all decisions after they have already been made. &lt;strong&gt;&amp;ldquo;Architects define the ideal, developers implement functionality, AI predicts the future; and the DBA guards reality.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This ability to guard reality is based on the PG DBA having sufficient understanding of Postgres, sufficient understanding of the system&amp;rsquo;s real environment, sufficient understanding of the system&amp;rsquo;s history, and sufficient immediate context. In the AI era, one more thing needs to be added: sufficient understanding of AI.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Why Keep Learning
 &lt;div id="why-keep-learning" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#why-keep-learning" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;In the past two years, I&amp;rsquo;ve heard &amp;ldquo;learning is useless&amp;rdquo; rhetoric more than ever before. I generally scoff at such talk. Let me take this opportunity to properly address it.&lt;/p&gt;
&lt;p&gt;Does foundational database knowledge still have value? The answer is: &lt;strong&gt;its value is higher than ever.&lt;/strong&gt; Let&amp;rsquo;s interpret this from three angles: the right to explain, active learning, and why I keep revisiting the classics.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. The Right to Explain&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Foundational knowledge enables three things:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Identifying &amp;ldquo;systemic inevitable failure points&amp;rdquo; in advance&lt;/li&gt;
&lt;li&gt;Clearly articulating the judgment logic&lt;/li&gt;
&lt;li&gt;Transforming &amp;ldquo;I&amp;rsquo;m going with my gut&amp;rdquo; into &amp;ldquo;this is the system-determined outcome&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The true meaning of learning database fundamentals is not to &amp;ldquo;do more work,&amp;rdquo; but to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Delineate responsibility boundaries&lt;/li&gt;
&lt;li&gt;Enhance discourse power&lt;/li&gt;
&lt;li&gt;Let the system endorse your judgments&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;2. Active Learning Becomes an Even Rarer Ability&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the AI era, the &amp;ldquo;technical barrier&amp;rdquo; to knowledge acquisition approaches zero. Active learning ability is scarce. Why is &amp;ldquo;active learning&amp;rdquo; even rarer in the AI era? This is counter-intuitive but very real. AI makes &amp;ldquo;passive learning&amp;rdquo; extremely comfortable — ask and answer anytime, no long-term investment required, no need to endure cognitive discomfort. But the result is that more and more people stay in the &amp;ldquo;instant gratification layer,&amp;rdquo; unwilling to learn foundational knowledge anymore. When everyone else is regressing, you find yourself advancing faster.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Why Do I Keep Re-reading Classics like &lt;em&gt;The Internals of PostgreSQL&lt;/em&gt;?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Technical people need to read books because books don&amp;rsquo;t just give answers — they &lt;strong&gt;help build a cognitive model that can be run repeatedly and continuously refined.&lt;/strong&gt; AI is currently better at answering questions rather than shaping such models. AI struggles to become this kind of &amp;ldquo;long-term dialogue partner&amp;rdquo; — &lt;strong&gt;its answers are unstable.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;From another perspective, looking at the value of books through cognitive economics + information theory + token cost: First, you don&amp;rsquo;t need to battle with AI back and forth. The real cost of battling is not money, but your attention and context-maintenance ability. Second, the hundreds of thousands of words in a book require neither massive prompt input nor excessive token expenditure from you. Third, the knowledge in books has been repeatedly verified by authors and readers — it is already compressed knowledge, the easiest to learn. So: &lt;strong&gt;Classic books = extremely low token cost to obtain high-density, human-repeatedly-verified, focused knowledge in compressed form.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. Learning AI Itself&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This needs no elaboration from me.&lt;/p&gt;
&lt;p&gt;My battles with AI led me to an interesting conclusion about &amp;ldquo;why read books&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In the AI era, knowledge is cheap, but judgment is expensive =&amp;gt; And judgment comes from a stable, calibratable cognitive model =&amp;gt; A stable cognitive model is itself a byproduct of &amp;ldquo;long-term high-quality knowledge intake.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Another real-world piece of evidence supporting the &amp;ldquo;reading is useful&amp;rdquo; argument: this very article depends on books, papers, other articles, and information I&amp;rsquo;ve read. Without that foundation, this article would not exist.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Why People Still Love Reading &amp;ldquo;Human-Written&amp;rdquo; Articles
 &lt;div id="why-people-still-love-reading-human-written-articles" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#why-people-still-love-reading-human-written-articles" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;

&lt;h3 class="relative group"&gt;The Psychology of Preferring Imperfection
 &lt;div id="the-psychology-of-preferring-imperfection" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-psychology-of-preferring-imperfection" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;Human-written technical articles are inevitably riddled with flaws. Looking back at my own &amp;ldquo;Operations Experience 2024&amp;rdquo; from last year, I can find many holes. Even &amp;ldquo;Operations Experience 2025,&amp;rdquo; completed just days ago, I consider incomplete — vastly different from something AI would write. So why do readers still enjoy such flawed technical articles?&lt;/p&gt;
&lt;p&gt;The reason may be that humans are not attracted by &amp;ldquo;information correctness,&amp;rdquo; but by &lt;strong&gt;&amp;ldquo;empathetically imperfect traces of a human mind.&amp;rdquo;&lt;/strong&gt; From the book &lt;em&gt;A Brief History of Intelligence&lt;/em&gt;, we know that the human intelligence model inherently includes self-trial-and-error exploration and observing others&amp;rsquo; behaviors to map onto oneself — this is a learning process, innate to humans. Our brains automatically scan text for hesitation, uncertainty, logical gaps, awkward expressions, emotional leakage, etc. — all things systematically absent from AI text. In the imperfections and emotions of writing, readers can feel the author&amp;rsquo;s thinking and emotions, whereas AI merely presents results. Readers almost never have emotional resonance with AI. Generally speaking, only those who have truly experienced something leave these &amp;ldquo;unattractive&amp;rdquo; traces.&lt;/p&gt;
&lt;p&gt;So I believe many people, like me, can identify purely AI-written technical articles at a glance (not guaranteed 100% accurate) and generally won&amp;rsquo;t have the emotional drive to read through them. But if it&amp;rsquo;s something a human has seriously written, they&amp;rsquo;ll read carefully, feeling the author&amp;rsquo;s feelings, catching their shortcomings or contextual gaps.&lt;/p&gt;
&lt;p&gt;Of course, authors could feed prompts to mimic their previous writing style or deliberately leave flaws. But I haven&amp;rsquo;t seriously tried this — I briefly generated a few pieces and felt the emotional immersion was still quite poor. I don&amp;rsquo;t plan to explore this further; there&amp;rsquo;s not much point.&lt;/p&gt;

&lt;h3 class="relative group"&gt;Borrowing an Expert&amp;rsquo;s ATTENTION for Free
 &lt;div id="borrowing-an-experts-attention-for-free" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#borrowing-an-experts-attention-for-free" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;The core difference between AI articles and expert articles is not &amp;ldquo;how well they&amp;rsquo;re written,&amp;rdquo; but a matter of &lt;strong&gt;economic questioning and industry-leading Attention.&lt;/strong&gt; Expert writing is about allocating attention on behalf of the reader; AI writing is about avoiding missing any potentially relevant information. This is not a capability issue — it&amp;rsquo;s a difference in objective functions. &lt;strong&gt;Truly high-value technical articles don&amp;rsquo;t tell you all the correct answers — they block 80% of what you shouldn&amp;rsquo;t be paying attention to right now.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Why do experts dare to &amp;ldquo;delete,&amp;rdquo; while AI doesn&amp;rsquo;t? Because they bear cognitive responsibility for your understanding outcomes. AI does not bear the consequences of you learning or applying things wrong. So experts deliberately filter out details that don&amp;rsquo;t need attention right now. This filtering is itself the value of expertise. For humans, the bottleneck in learning is not insufficient information, but limited attention and not knowing where to look first. &lt;strong&gt;An expert&amp;rsquo;s article directly hands you the result and says: just focus on this. But when facing an LLM, do you know what to look for?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is not a denial of the value of AI articles. AI excels at &amp;ldquo;rapidly expanding the information space when you already know the problem boundaries,&amp;rdquo; while expert articles excel at &amp;ldquo;contracting the problem space for you before you&amp;rsquo;ve established a judgment framework.&amp;rdquo; The former is good for filling gaps and lateral expansion; the latter is good for building core understanding and key intuition. The truly efficient learning approach is not choosing one over the other, but first using experts to achieve Attention alignment, then using AI to do amplified search within the bounded space.&lt;/p&gt;
&lt;p&gt;This isn&amp;rsquo;t saying AI content is useless or human-written content is useless — it&amp;rsquo;s that &lt;strong&gt;each has its own use.&lt;/strong&gt;&lt;/p&gt;

&lt;h2 class="relative group"&gt;Can AGI Solve All Problems?
 &lt;div id="can-agi-solve-all-problems" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#can-agi-solve-all-problems" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;

&lt;h3 class="relative group"&gt;Refuting Musk
 &lt;div id="refuting-musk" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#refuting-musk" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;Recently Musk has been painting big pictures again. After reading, I don&amp;rsquo;t agree.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. Shared Prosperity or the Useless Class?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The &amp;ldquo;useless class&amp;rdquo; is a concept from Yuval Noah Harari&amp;rsquo;s &lt;em&gt;Homo Deus&lt;/em&gt;. He argues that when AI&amp;rsquo;s productivity surpasses that of ordinary people, using AI to do work will replace having ordinary people do it. These people become the useless class. Resources will increasingly concentrate in the hands of a few elites and large corporations, and most people will lose their jobs — yet there is currently no effective policy to provide a safety net. This view happens to contradict the Musk-style shared prosperity vision. Musk believes that when AGI is realized, no one will need to worry about survival, education, or healthcare — productivity will be so high that governments will provide a safety net for most people. I currently support Harari&amp;rsquo;s view. In fact, from anecdotal perceptual statistics around us, &lt;strong&gt;the population of the useless class is indeed rising.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. Can High Productivity Create a Utopia?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;One theory supporting my disagreement with the AGI utopia comes from another book, &lt;em&gt;Evolutionary Psychology — Mate Selection Criteria.&lt;/em&gt; One particularly striking insight: &lt;em&gt;Due to social division of labor and the biological drive to raise well-adapted offspring, men tend to prefer young, healthy women, while women tend to prefer healthy, resourceful men.&lt;/em&gt; This default filtering engraved in our genes means that humans cannot live equally — you don&amp;rsquo;t want to be the one eliminated. &lt;strong&gt;So if a non-comparing, non-competitive, resource-equal utopia could be sustained, productivity is merely one necessary condition among many&lt;/strong&gt; — there are many other social problems that must be solved, which the public tends to overlook. This isn&amp;rsquo;t narrowly referring only to evolutionary psychology; some things haven&amp;rsquo;t been carefully discussed, such as the power struggles in &lt;em&gt;Chimpanzee Politics&lt;/em&gt;, which should also be considered.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Calhoun&amp;rsquo;s Mouse Utopia Experiment&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In 1972, animal behaviorist John B. Calhoun designed and described in detail a famous experimental environment — &amp;ldquo;Universe 25.&amp;rdquo; This was a laboratory &amp;ldquo;utopia&amp;rdquo; specially crafted for mice, striving for perfection in almost every aspect: abundant food, water, and nesting materials; regularly cleaned living environment; no predator threats; temperature maintained between 20°C and 31°C via fans and heating, stable and comfortable.&lt;/p&gt;
&lt;p&gt;The mouse population&amp;rsquo;s march toward extinction seems somewhat insane. I&amp;rsquo;ll focus only on the process: 1) Increased violence 2) No longer pursuing the opposite sex 3) Increased homosexual behavior 4) Increased solitary behavior 5) Males grooming themselves excessively 6) Apathy, etc. Of course, this experiment has flaws. From the intelligence model described in &lt;em&gt;A Brief History of Intelligence&lt;/em&gt;, the intelligence gap between mice and humans still spans a primate — it cannot represent human society. But at minimum, it shows that &lt;strong&gt;utopia triggers new social problems; people won&amp;rsquo;t just quietly live their lives.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. An Economics-Based Society&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;From the perspective of modern economics, whether AGI can achieve a &amp;ldquo;shared-prosperity utopia&amp;rdquo; can be divided into two types: retaining the modern economy or not retaining it.&lt;/p&gt;
&lt;p&gt;If we retain the modern economy, AGI can be viewed as an extremely efficient &amp;ldquo;universal factor of production.&amp;rdquo; It significantly reduces the costs of knowledge production, decision support, organizational coordination, and marginal labor, raising the ceiling of society-wide productivity. Under this premise, wealth distribution, public service provision, and social security mechanisms still rely on markets, price signals, incentive structures, and institutional constraints. AGI&amp;rsquo;s role is more about expanding the size of the &amp;ldquo;distributable pie&amp;rdquo; rather than automatically solving distribution problems. In other words, &lt;strong&gt;shared prosperity remains a political economy problem, not a technical one. AGI can only lower the cost of achieving goals; it cannot replace institutional design.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So, if we don&amp;rsquo;t retain the modern economy and instead try to bypass markets, prices, and incentive systems to directly rely on AGI to achieve some kind of &amp;ldquo;techno-utopia&amp;rdquo; — is it feasible?&lt;/p&gt;
&lt;p&gt;The answer can almost certainly be determined as: no.&lt;/p&gt;
&lt;p&gt;A utopia without a modern economy was repeatedly verified as a failure in the 1960s–70s. The fundamental reason was not that &amp;ldquo;technology wasn&amp;rsquo;t advanced enough&amp;rdquo; at the time, but that the problems of information and incentives were structurally unsolvable:
&lt;strong&gt;Even with powerful centralized computing capability, you cannot replace the preference information transmitted by dispersed individuals through price mechanisms, nor can you sustain innovation drive, responsibility constraints, and resource allocation efficiency over the long term.&lt;/strong&gt; AGI can improve the computational capacity of centralized decision-making, but it cannot eliminate the fundamental economic question of &amp;ldquo;who is responsible for decisions, who bears consequences, who holds the right to choose.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Therefore, AGI is not a replacement for the modern economy, but an amplifier within the modern economy&amp;rsquo;s framework. Any &amp;ldquo;techno-utopia&amp;rdquo; that detaches from market mechanisms, incentive structures, and institutional constraints, whether AGI is introduced or not, will essentially replay the historical path of failure — just in more subtle forms and at higher cost.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Productivity (including the intellectual enhancement brought by AGI) is only one of the conditions required for utopia, and far from the most critical one. Utopia is not a computing power problem, nor an intelligence problem — it is a problem of the stability of human behavior under institutional constraints.&lt;/strong&gt;&lt;/p&gt;

&lt;h3 class="relative group"&gt;The Mathematical Foundation for Why AI Cannot Solve Everything
 &lt;div id="the-mathematical-foundation-for-why-ai-cannot-solve-everything" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-mathematical-foundation-for-why-ai-cannot-solve-everything" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;The following is excerpted from Wu Jun&amp;rsquo;s &lt;em&gt;The Beauty of Mathematics&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;In 1900, Hilbert posed many problems, one of which was: &amp;lsquo;Can any (polynomial) Diophantine equation be determined, through a finite number of operations, to have integer solutions or not?&amp;rsquo; If the universal answer to Hilbert&amp;rsquo;s question is negative, then it means that for many mathematical problems, even God doesn&amp;rsquo;t know whether an answer exists — because the Diophantine equation solving problem is only a very small part of all mathematical problems. For problems whose very answer-existence cannot be determined, the answer naturally cannot be found. It was precisely Hilbert&amp;rsquo;s contemplation of the boundaries of mathematical problems that made Turing understand the limits of computation&amp;hellip; Matiyasevich rigorously proved that, except for a very small number of special cases, in general, it is impossible to determine through finite operations whether a Diophantine equation has integer solutions. &lt;strong&gt;The resolution of this problem had a far greater impact on human cognition than its mathematical influence&amp;hellip; If even the solution&amp;rsquo;s existence is unknown, it&amp;rsquo;s even more impossible to solve them through computation.&lt;/strong&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;


&lt;img src="https://lastdba.com/img/csdn/d18842a780aa.png" alt="image-20260120211018586" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;A rational-state Turing machine can only solve a subset of problems that have answers&amp;hellip; Many engineering problems are not artificial intelligence problems&amp;hellip; &lt;strong&gt;Today, what we should worry about is not how powerful artificial intelligence or computers are, much less should we think they are omnipotent, because their boundaries have already been clearly delineated by the boundaries of mathematics&amp;hellip;&lt;/strong&gt; There are still many problems in the world that need to be solved by humans. How to make good use of AI tools to more effectively solve human problems is what deserves more attention.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;(See? Reading is useful, right? It explains it clearly to you directly — you probably couldn&amp;rsquo;t ask the right question or get such an accessible answer. See? Following hardcore tech content creators is useful — I filtered it for you. Hit that follow button &amp;#x2b50;)&lt;/p&gt;

&lt;h2 class="relative group"&gt;Conclusion
 &lt;div id="conclusion" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#conclusion" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;As a technical blogger, I rarely write about such social issues. I originally just wanted to briefly write about why my previous article got traffic, but explaining this phenomenon somewhat expanded the scope of the problem &amp;#x1f613;.&lt;/p&gt;
&lt;p&gt;Limitations of this article:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Only discussed a very small part of DBA work — incident recovery — without discussing the intelligentization of other tasks.&lt;/li&gt;
&lt;li&gt;GPT knows me too well and seems to be flattering me. It indeed makes very valid points, but I cannot endorse what it says. This is somewhat circular: AI helps me confirm that AI cannot endorse things — an output that inherently cannot be endorsed. From my own perspective, its reasoning is indeed good, with quotable lines throughout.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some Ops scenarios are certainly easy to AI-ify. But through the discussion in this article, AI-ifying the incident recovery domain still faces considerable difficulty. &lt;strong&gt;I have never given up on using AI, nor have I ever given up on using the human brain.&lt;/strong&gt; I simply enjoy identifying in which scenarios AI works well, in which it works poorly, and in which it cannot be used at all. This may give the article a tone that seems pessimistic about AI&amp;rsquo;s future, but my thinking is not pessimistic.&lt;/p&gt;
&lt;p&gt;At the beginning of this article, you can see the AI rate is 50%. In reality, I also discussed similar issues with several friends and included my own thinking, so the true intellectual composition of this article is:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;AI rate 50%, other human brain rate 10%, my brain rate 40%&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;So this article is also a typical case of &amp;ldquo;not giving up on using AI, nor giving up on using the human brain.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Let me conclude with a few questions to briefly state my views:&lt;/p&gt;
&lt;p&gt;Why do people still love reading human-written articles? Psychological preference and attention alignment.&lt;/p&gt;
&lt;p&gt;Is reading useful (not just books)? Useful, and more useful than ever (bad books are more useless than ever; knowledge taste is more important than ever).&lt;/p&gt;
&lt;p&gt;Will AIOps be realized? Yes, but it will take time, and it won&amp;rsquo;t be easy. This requires academic breakthroughs and the thinking and practice of operations (including DBAs).&lt;/p&gt;
&lt;p&gt;Will DBAs be replaced? No. Like software developers, they will experience changes in work patterns but will not disappear.&lt;/p&gt;
&lt;p&gt;Which DBAs will remain? &amp;ldquo;Those who understand both DB and AI, who don&amp;rsquo;t depend on AI, yet don&amp;rsquo;t give up on judgment.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Will AGI be realized? Yes.&lt;/p&gt;
&lt;p&gt;Will AGI achieve universal prosperity? No.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;If you&amp;rsquo;d like to discuss AI Ops or the issues in this article with me, you can find me in various PG groups — I should be easy to find. You can also leave me a message.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 class="relative group"&gt;ref
 &lt;div id="ref" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#ref" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://github.com/TsinghuaDatabaseGroup/AIDB" target="_blank" rel="noreferrer"&gt;https://github.com/TsinghuaDatabaseGroup/AIDB&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mp.weixin.qq.com/s/urqh4NZDmkXvDllBCCdZDA" target="_blank" rel="noreferrer"&gt;https://mp.weixin.qq.com/s/urqh4NZDmkXvDllBCCdZDA&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Zhao, Y., et al. (2025). &amp;ldquo;STRATUS: A Multi-agent System for Autonomous Reliability Engineering of Modern Clouds&amp;rdquo;. Advances in Neural Information Processing Systems (NeurIPS)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://zhuanlan.zhihu.com/p/631632685" target="_blank" rel="noreferrer"&gt;https://zhuanlan.zhihu.com/p/631632685&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The Beauty of Mathematics&lt;/em&gt; (《数学之美》)&lt;/p&gt;</content:encoded></item></channel></rss>