数据库技术

MySQL分库分表与中间件实践

---title: MySQL分库分表与中间件实践keywords:- 分库分表- ShardingSphere- MyCAT- 分片键- 路由策略- 全局唯一ID- 雪花算法- 跨分片事务- 读写分离- 验证description: 基于中间件实施分库分表与读写分离,设计分片键与路由策略、全局ID与跨分片事务处理,并提供验证与回归方法。date: 2025-11-25...

MySQL GTID与主从切换治理

---title: MySQL GTID与主从切换治理keywords:- MySQL- GTID- 主从切换- auto_position- ROWdescription: 启用 GTID 与自动定位复制,规范故障切换流程与一致性设置,降低切换复杂度与数据风险。tags:- GTID- MySQL- ROW- auto_position- 主从切换- 复制- 数据...

MongoDB 聚合管道与索引优化实战

---title: MongoDB 聚合管道与索引优化实战keywords:- MongoDB- 聚合- 复合索引- explain- hintdescription: 结合复合索引与聚合管道提升查询与统计性能,提供可执行的索引与管道示例。tags:- MongoDB- explain- hint- 复合索引- 性能优化- 数据库- 聚合categories: ...

Intl.NumberFormat:货币、单位与紧凑数值格式

---title: "Intl.NumberFormat:货币、单位与紧凑数值格式"keywords: - Intl.NumberFormat - currency - unit - notation compact - 本地化description: "介绍数字/货币/单位的本地化格式化选项,使用紧凑表示与分组,涵盖时区独立、货币符号与单位展示,提供示例与工程建议。"...

Intl.ListFormat:列表文案与本地化

---title: Intl.ListFormat:列表文案与本地化keywords:- Intl.ListFormat- 列表文案- conjunction/disjunction- 本地化- 格式化description: 使用 Intl.ListFormat 根据语言规则生成正确的列表文案(如“A、B和C”),支持不同样式与类型,提升国际化展示质量。categories:...

Intl.ListFormat:列表本地化格式与串联规则

---title: "Intl.ListFormat:列表本地化格式与串联规则"keywords: - Intl.ListFormat - conjunction - disjunction - unit - 本地化description: "介绍 Intl.ListFormat 的列表格式化能力,支持并列/选择/单位等类型,按语言规则生成“a、b 和 c”等本地化串联,...

Intl 日期与相对时间:DateTimeFormat 与 RelativeTimeFormat

---title: "Intl 日期与相对时间:DateTimeFormat 与 RelativeTimeFormat"keywords: - Intl.DateTimeFormat - Intl.RelativeTimeFormat - 时区 - 本地化 - 格式化description: "介绍日期时间与相对时间的本地化格式化,涵盖时区/日历选项与语义、显示粒度与多语...