What is the difference between horizontal and vertical data partitioning?

  • Horizontal partitioning divides a table into columns based on a condition, while vertical partitioning divides a table into rows
  • Horizontal partitioning divides a table into rows based on a condition, while vertical partitioning divides a table into columns
  • Horizontal partitioning is suitable for OLAP systems, while vertical partitioning is suitable for OLTP systems
  • Horizontal partitioning is used for range-based data, while vertical partitioning is used for hash-based data
Horizontal data partitioning involves dividing a table into rows based on a condition, allowing for efficient storage and retrieval of specific subsets of data. Vertical partitioning, on the other hand, involves dividing a table into columns, typically based on the frequency of access, reducing I/O overhead.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *