...在 share nothing 的架构中,如果数据规模很大,为了提高可用性,通常采用数据库分片(database sharding)的策略。常见的分片策略是按主键把数据分散到不同的数据库中。
基于106个网页-相关网页
数据库分片是指对数据库进行水平分区,其中每个分区称为一个碎片。
Database sharding refers to the horizontal partitioning of a database with each individual partition called a shard.
数据库分片提供许多优势,比如对数据库的更快读写、改进的搜索响应、更小的表格尺寸以及对表格的按需分配。
Database sharding provides many advantages, such as faster reads and writes to the database, improved search response, smaller table sizes, and distribution of tables based on need.
数据库分片可以在物理上优化查询开销。
Database partition could optimize query overhead physically.
应用推荐