<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>数据库 on 编程心语</title>
		<link>https://www.ithome.me/tags/%E6%95%B0%E6%8D%AE%E5%BA%93/</link>
		<description>Recent content in 数据库 on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Tue, 04 Aug 2026 14:59:27 +0800</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/%E6%95%B0%E6%8D%AE%E5%BA%93/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>PostgreSQL JSONB 高效查询实战：GIN 索引与性能优化</title>
				<link>https://www.ithome.me/post/2026/07/02/postgresql-jsonb-gin-index-optimization/</link>
				<pubDate>Thu, 02 Jul 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/07/02/postgresql-jsonb-gin-index-optimization/</guid>
				<description>&lt;h2 id=&#34;为什么-jsonb-值得关注&#34;&gt;为什么 JSONB 值得关注&lt;/h2&gt;&#xA;&lt;p&gt;在现代后端开发中，半结构化数据无处不在——用户配置、API 日志、商品属性、设备遥测数据。传统做法是用 MySQL 的 TEXT 字段存 JSON 字符串，查询时靠 &lt;code&gt;LIKE&lt;/code&gt; 硬扫，性能惨不忍睹。&lt;/p&gt;</description>
			</item>
			<item>
				<title>Drizzle ORM 实战：TypeScript 全栈类型安全的数据库访问层</title>
				<link>https://www.ithome.me/post/2026/06/24/drizzle-orm-typescript-type-safe-database/</link>
				<pubDate>Wed, 24 Jun 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/06/24/drizzle-orm-typescript-type-safe-database/</guid>
				<description>&lt;h2 id=&#34;为什么选择-drizzle-orm&#34;&gt;为什么选择 Drizzle ORM？&lt;/h2&gt;&#xA;&lt;p&gt;在 TypeScript 全栈开发中，数据库访问层的选型一直是个痛点。Prisma 虽然流行，但运行时开销大、客户端体积臃肿；TypeORM 配置繁琐且类型推断不够智能；Kysely 虽然轻量，但缺乏 Schema 定义能力。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
