http://en.wikipedia.org/wiki/Partition_(database)引用
常见的为 table 做 partitioning 的策略有:
Range partitioning
Selects a partition by determining if the partitioning key is inside a certain range. An example could be a partition for all rows where the column zipcode has a value between 70000 and 79999.
List partitioning
A partition is assigned a list of values. If the partitioning key has one of these values, the partition is chosen. For example all rows where the column Country is either Iceland, Norway, Sweden, Finland or Denmark could build a partition for the Nordic countries.
Hash partitioning
The value of a hash function determines membership in a partition. Assuming there are four partitions, the hash function could return a value from 0 to 3.
postgresql:
postgresql支持 Range 和 List 两种方式的 partitioning:
http://www.postgresql.org/docs/9.1/static/ddl-partitioning.html引用
The following forms of partitioning can be implemented in PostgreSQL:
Range Partitioning
The table is partitioned into "ranges" defined by a key column or set of columns, with no overlap between the ranges of values assigned to different partitions. For example one might partition by date ranges, or by ranges of identifiers for particular business objects.
List Partitioning
The table is partitioned by explicitly listing which key values appear in each partition.
分享到:
相关推荐
在《Database Partitioning, Table Partitioning, and MDC for DB2 9》一书中,作者们深入探讨了数据库分区技术的各个方面,包括数据库分区、表分区以及多维聚类(MDC)等技术。 ##### 1.1.1 数据库概念 在讨论...
- 示例:`CREATE TABLE sales (id NUMBER, sale_date DATE, amount NUMBER) PARTITION BY RANGE (sale_date) (...)` - **列表分区**:根据预定义的一组值来确定行数据所属的分区。 - 示例:`CREATE TABLE customer...
Speed access to data through table and index design Manage files and memory structures for performance and reliability Scale up through partitioning and parallel processing Load and unload data to ...
- **表(Table)**:存储数据的基本单元。 - **索引(Index)**:用于快速访问数据的结构。 - **视图(View)**:基于SQL查询的虚拟表。 - **存储过程(Stored Procedure)**:预编译的SQL代码块。 - **触发器(Trigger)**:...
Table of Contents Chapter 1. PostgreSQL Versions Chapter 2. Database Hardware Chapter 3. Database Hardware Benchmarking Chapter 4. Disk Setup Chapter 5. Memory for Database Caching Chapter 6. Server ...
Table of Contents Chapter 1. PostgreSQL Versions Chapter 2. Database Hardware Chapter 3. Database Hardware Benchmarking Chapter 4. Disk Setup Chapter 5. Memory for Database Caching Chapter 6. Server ...
* Speed access to data through table and index design * Manage files and memory structures for performance and reliability * Scale up through partitioning and parallel processing * Load and unload...
为了应对VLDB的需求,数据库管理系统需要具备并行处理能力,例如Sybase数据库的并行执行请求和结果集合并阶段,以及数据分割技术,如Table Slicing和Table Partitioning。Table Partitioning允许将大型表划分为独立...
### Oracle Database 11g (11.2) SQL 语言参考手册知识点解析 #### 一、概述 《Oracle Database 11g (11.2) SQL 语言参考手册》是一本详尽介绍了Oracle 11g Release 2 (11.2)版本中的SQL语言特性和使用的权威指南。...
- OAC与Oracle Partitioning类似,都是Oracle Database的一项可选组件,需要额外付费才能使用。 - Oracle Database的压缩功能涵盖了多个方面,包括结构化的表数据压缩、非结构化数据的Secure Files压缩、备份(通过...
首先,Oracle Partitioning 选件允许将大型数据库表和索引细分为更小的对象,实现精细化管理,提高数据访问性能。这种分区技术支持分层存储,确保数据被妥善存储在最经济高效的层面上,从而提高资源利用率。 其次,...
**正确答案**:b) Changes to partitioning in the parent table are automatically reflected in the child table #### 五、“市场篮子”分析推荐方法 **知识点:** 1. **Market Basket Analysis**:“市场篮子”...
Oracle数据库表分区则有所不同,Oracle数据库提供了RANGE Partitioning、LIST Partitioning、HASH Partitioning、COMPOSITE Partitioning 等多种分区方法。 在Oracle数据库中,创建表分区可以使用 PARTITION BY ...
8. ** flashback Technologies**:包括Flashback Query、Flashback Transaction、Flashback Table和Flashback Data Archive,这些技术提供了查看和恢复数据库历史状态的能力,简化了回滚错误和数据分析。 9. **XML ...
Table of Contents: Introduction to MySQL 8 Installing & Upgrading MySQL 8 MySQL 8 - Using Programs and utilities MySQL 8 Data Types MySQL 8 Database Management MySQL 8 Storage Engines Indexing in ...
- **Partitioning Enhancements**:分区技术进一步完善,支持更多的分区类型,如范围、列表、哈希和复合分区,提高大数据量表的查询效率。 - **Real-Time Query**:实时查询优化,提供了更快的查询响应时间,适合...
Use the partitioning capabilities available within Db2 Enforce constraint checking with the SET INTEGRITY command Utilize the Db2 problem determination (db2pd) and dsmtop tools Configure and manage ...
3. 表分区(Table Partitioning):将大表分割成小块,提高查询和维护效率。 总结,Oracle数据库入门需要理解其核心概念、掌握SQL语言、了解安全管理和备份恢复策略,以及性能优化技巧。通过学习Oracle数据库入门...