PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 1, 2010Proceedings of the VLDB Endowment537 citations

Schism

View Full Paper
CCCarlo CurinoEJEvan P. C. JonesYZYang Zhang

Key Points

  • To develop a workload-driven database partitioning and replication system that minimizes costly distributed transactions while maintaining balanced partitions in shared-nothing architectures.
  • Constructed a transaction graph representing tuples as nodes and co-accesses as edges, applying balanced graph partitioning to minimize cross-partition transactions.
  • Employed machine learning to infer predicate-based rules that map tuples to partitions without relying on schema layout.
  • Evaluated the partitioner across standard OLTP workloads (TPC-C, TPC-E) and social network datasets containing complex n-to-n relations (Epinions.com).
  • Consistently outperformed conventional simple partitioning approaches across all standard and complex workloads.
  • Exceeded the performance of expert-designed manual partitioning strategies, reducing distributed transaction costs by up to 30%.

Abstract

We present Schism, a novel workload-aware approach for database partitioning and replication designed to improve scalability of shared-nothing distributed databases. Because distributed transactions are expensive in OLTP settings (a fact we demonstrate through a series of experiments), our partitioner attempts to minimize the number of distributed transactions, while producing balanced partitions. Schism consists of two phases: i) a workload-driven, graph-based replication/partitioning phase and ii) an explanation and validation phase. The first phase creates a graph with a node per tuple (or group of tuples) and edges between nodes accessed by the same transaction, and then uses a graph partitioner to split the graph into k balanced partitions that minimize the number of cross-partition transactions. The second phase exploits machine learning techniques to find a predicate-based explanation of the partitioning strategy (i.e., a set of range predicates that represent the same replication/partitioning scheme produced by the partitioner). The strengths of Schism are: i) independence from the schema layout, ii) effectiveness on n-to-n relations, typical in social network databases, iii) a unified and fine-grained approach to replication and partitioning. We implemented and tested a prototype of Schism on a wide spectrum of test cases, ranging from classical OLTP workloads (e.g., TPC-C and TPC-E), to more complex scenarios derived from social network websites (e.g., Epinions.com), whose schema contains multiple n-to-n relationships, which are known to be hard to partition. Schism consistently outperforms simple partitioning schemes, and in some cases proves superior to the best known manual partitioning, reducing the cost of distributed transactions up to 30%.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Curino et al. (2010) studied this question.

synapsesocial.com/papers/69e79123c849088a2ccb18e1https://doi.org/10.14778/1920841.1920853
Ask AI
Helpful
Bookmark
Share
View Full Paper