
Improving join-performance of SQL databases


Cheatsheet on Relational Database Design
A relational database is a type of database that organizes data into structured tables, also known as relations. These tables consist of rows (records) and columns (fields).
Some key points to know about Relational Database Design
1 - SQL
SQL is the standard programming language used to interact with rela... See more
Strategic Database Marketing 4e: The Masterplan for Starting and Managing a Profitable, Customer-Based Marketing Program
amazon.com
For example, some of the platforms are better suited for large number-crunching BI applications than are competing products.
Steve Williams • The Profit Impact of Business Intelligence
Improving query performance in ElasticSearch at scale
blogs.halodoc.io
The logic required for most data preparation tasks is actually relatively simple. It is exactly the kind of thing that a relational database and its native language, called structured query language (SQL), are meant to do.
Bill Franks • Taming The Big Data Tidal Wave: Finding Opportunities in Huge Data Streams with Advanced Analytics (Wiley and SAS Business Series)
An imperative language tells the computer to perform certain operations in a certain order. You can imagine stepping through the code line by line, evaluating conditions, updating variables, and deciding whether to go around the loop one more time. In a declarative query language, like SQL or relational algebra, you just specify the pattern of the
... See moreMartin Kleppmann • Designing Data-Intensive Applications

Optimizing Further
Creating so many indices and aggregating so many tables is sub-optimal. To optimize this, we employ materialized views, which create a separate disk-based entity and hence support indexing. The only downside is that we have to keep it updated.
CREATE MATERIALIZED VIEW search_view AS
ᅠᅠSELECT c.name FROM company c UNION
ᅠᅠSELECT c.na... See more
Creating so many indices and aggregating so many tables is sub-optimal. To optimize this, we employ materialized views, which create a separate disk-based entity and hence support indexing. The only downside is that we have to keep it updated.
CREATE MATERIALIZED VIEW search_view AS
ᅠᅠSELECT c.name FROM company c UNION
ᅠᅠSELECT c.na... See more