Posted by Stephan Mueller on September 13, 2011

More by this author

/wp-content/uploads/2011/09/partitioning_t.pngWe distinguish between two partitioning approaches: vertical and horizontal partitioning, whereas a combination of both approaches is also possible. Vertical partitioning refers to the rearranging of individual database columns. It is achieved by splitting columns of a database table into two or more column sets. Each of the column sets can be distributed on individual databases servers. This can also be used to build up database columns with different ordering to achieve better search performance while guaranteeing high-availability of data. Key to success of vertical partitioning is a thorough understanding of the application’s data access patterns. Attributes that are accessed in the same query should rely in the same partition since locating and joining additional partitions may degrade overall performance. In contrast, horizontal partitioning addresses large database tables and how to divide them into smaller pieces of data. As a result, each piece of the database table contains a subset of the complete data within the table. Splitting data into equivalent long horizontal partitions is used to support search operations and better scalability. For example, a scan of the request history results in a full table scan. Without any partitioning, a single thread needs to access all individual history entries and checks the selection predicate. When using a na├»ve round robin horizontal partitioning across 10 partitions, the total table scan can be performed in parallel by 10 simultaneously processing threads reducing response time to approx. one ninth compared to the single threaded full table scan. Please also see our podcast on this technology concept.

VN:F [1.9.22_1171]
Average User Rating
Rating: 5.0/5 (2 votes cast)
Partitioning, 5.0 out of 5 based on 2 ratings