Define database partitioning.
The process of dividing a database into smaller, more manageable pieces called partitions.
What is hashing in databases?
A technique to convert data into a fixed-size string of characters, which is typically a hash code.
True or false: Consistent hashing allows for dynamic addition of nodes without rehashing all data.
TRUE
Consistent hashing minimizes data movement when nodes are added or removed.
Fill in the blank: Replication involves _______ data across multiple servers.
copying
What is the main goal of database replication?
To ensure data availability and reliability by duplicating data across multiple locations.
Define sharding.
A type of database partitioning that separates data into smaller, more manageable pieces called shards.
What is the purpose of a hash function?
To map data of arbitrary size to fixed-size values, ensuring uniform distribution.
True or false: Replication can improve read performance.
TRUE
Multiple replicas can handle read requests simultaneously.
Fill in the blank: Consistent hashing uses a _______ to distribute keys across nodes.
ring structure
What is a partition key?
A specific attribute used to determine how data is distributed across partitions.