Skip to content

Commit

Permalink
(website) Fix typo in benchmarks (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
robacourt authored Dec 18, 2024
1 parent 7a836f0 commit 73ebf07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/reference/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ is using an optimised where clause, specifically `field = constant`.
> When you create a shape, you can specify a where clause that filters the rows that the shape is interested in.
> In Electric, we filter the changes we receive from Postgres so that each shape only receives changes that affect the rows it is interested in.
> If there are lots of shapes, this could mean we have to evaluate lots of where clauses for each write, however we have optimised this process
> so that we can evalute millions of where clauses at once, providing the where clauses follow various patterns, which we call optimised where clauses.
> so that we can evaluate millions of where clauses at once, providing the where clauses follow various patterns, which we call optimised where clauses.
> `field = constant` is one of the patterns we optimise, we can evaluate millions of these where clauses at once by indexing the shapes based on the constant
> value for each shape. This index is internal to Electric, and nothing to do with Postgres indexes. It's a hashmap if you're interested.
> `field = const AND another_condition` is another pattern we optimise. We aim to optimise a large subset of Postgres where clauses in the future.
Expand Down

0 comments on commit 73ebf07

Please sign in to comment.