Skip to content

Commit ec6ee36

Browse files
committed
Spelling
1 parent e755a2a commit ec6ee36

File tree

16 files changed

+46
-40
lines changed

16 files changed

+46
-40
lines changed

docs/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ PgDog source code, so the whole community can benefit from your knowledge and ex
1616

1717
## Project name
1818

19-
This project is dedicated to the bestest dog in the world who's been patiently sitting at my feet the entire time PgDog has been developed.
19+
This project is dedicated to the best dog in the world who's been patiently sitting at my feet the entire time PgDog has been developed.

docs/architecture/benchmarks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Benchmarks
22

3-
PgDog does its best to minimize its impact on database performance. Great care is taken to make sure as few operations are possible are performed
3+
PgDog does its best to minimize its impact on database performance. Great care is taken to make sure as few operations as possible are performed
44
when passing data between clients and servers.
55

66
All benchmarks listed below were done on my local system (AMD Ryzen 7 5800X). Real world performance is impacted by factors like network speed, query complexity and especially by hardware used for running PgDog and PostgreSQL servers.

docs/features/load-balancer/healthchecks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ While all databases receive health checks, only replicas can be removed from the
1414

1515
### Individual connections
1616

17-
In addition to checking entire databases, the load balancer checks that every connection in the pool is healthy on a regular basis. Before giving a connection to a client, it will, from time to time, send the a short query to the server, and if it fails, ban the entire database from serving any more requests.
17+
In addition to checking entire databases, the load balancer checks that every connection in the pool is healthy on a regular basis. Before giving a connection to a client, it will, from time to time, send a short query to the server, and if it fails, ban the entire database from serving any more requests.
1818

1919
To reduce the overhead of health checks, these connection-specific checks are done infrequently. This is configurable via the `healthcheck_interval` setting:
2020

docs/features/multi-tenancy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PgDog is a natural fit for multitenant databases. It allows to separate data usi
77
There are two ways to enforce multitenancy rules with PgDog:
88

99
1. Physical multitenancy
10-
2. Virtual multinancy
10+
2. Virtual multitenancy
1111

1212
**Physical** multitenancy separates data into multiple Postgres databases. In that scenario, it becomes very difficult for data from one tenant to make its way to another, providing a good layer of security and workload isolation between your customers.
1313

@@ -101,7 +101,7 @@ Much like Postgres partitions, the start of the range is included in the range w
101101
regularly with its status. The documentation is written in a way as to reflect
102102
the desired state of this feature, not how it currently works.
103103

104-
Virtual multinancy is a great option if your customers are small and can share the same compute. To make this work you have several options:
104+
Virtual multitenancy is a great option if your customers are small and can share the same compute. To make this work you have several options:
105105

106106
1. Place each of your tenants data into their own Postgres schema
107107
2. Add a column in every table identifying your tenants and make sure your app includes it in every query

docs/features/sharding/copy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# COPY
22

3-
`COPY` is a special PostgreSQL command that ingests a file directly into a database table. This allows to ingest data faster than by using individual `INSERT` queries.
3+
`COPY` is a special PostgreSQL command that ingests a file directly into a database table. This allows ingesting data faster than by using individual `INSERT` queries.
44
PgDog supports parsing this command, sharding the file automatically, and splitting the data between shards, invisible to the application.
55

66
<center style="margin-top: 2rem;">
@@ -18,7 +18,7 @@ PgDog supports data sent via `COPY` formatted using any one of the 3 possible fo
1818

1919
### Expected syntax
2020

21-
`COPY` commands sent through PgDog should specify table columns explicitly. This allows itg to parse the data stream correctly, knowing which column is the sharding key.
21+
`COPY` commands sent through PgDog should specify table columns explicitly. This allows it to parse the data stream correctly, knowing which column is the sharding key.
2222

2323
Take the following example:
2424

docs/features/sharding/cross-shard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ to values in `DataRow`[^1] messages based on their position in the `RowDescripti
4343

4444
For example, if the query specifies `ORDER BY id ASC, email DESC`, both `id` and `email` columns will be present in the `RowDescription` message along with their data types and locations in `DataRow`[^1] messages.
4545

46-
The rows are received asynchronously as the query is executing on the shards. Once the messages are buffered, PgDog will sort them using the extracted column values and return the sorted result to the client.
46+
The rows are received asynchronously as the query is executing on the shards. Once the messages are buffered, PgDog will sort them using the extracted column values and return the sorted result to the client.
4747

4848
#### Example
4949

@@ -117,7 +117,7 @@ GROUP BY email;
117117

118118
## Supported data types
119119

120-
Processing results in PgDog requires it to parse Postgres data types from the wire protocol. Postgres supports many data types and PgDog, currently, can only handle a some of them. Clients can request results to be encoded in either `text` or `binary` encoding and supporting both requires special handling as well.
120+
Processing results in PgDog requires it to parse Postgres data types from the wire protocol. Postgres supports many data types and PgDog, currently, can only handle some of them. Clients can request results to be encoded in either `text` or `binary` encoding and supporting both requires special handling as well.
121121

122122
| Data type | Sorting | Aggregation | Text format | Binary format |
123123
|-|-|-|-|-|

docs/features/sharding/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ When sharding hints are not present in a query, either accidentally or on purpos
2222

2323
### Manual routing
2424

25-
If direct-to-shard queries are desired but the query doesn't have enough information to extract this information automatically, clients can specify which to which shard PgDog should route the query.
25+
If direct-to-shard queries are desired but the query doesn't have enough information to extract this information automatically, clients can specify to which shard PgDog should route the query.
2626

2727
[**→ Manual routing**](manual-routing.md)
2828

docs/features/sharding/internals/logical-replication/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Logical replication overview
22

3-
One of PgDog's most interested features is its ability to interpret the logical replication protocol used by Postgres to synchronize replicas. This allows PgDog to reroute data depending on which shard it should go to in a sharded cluster. Since logical replication is streaming data in real time, PgDog can move data between shards invisibly to the client and without database downtime.
3+
One of PgDog's most interesting features is its ability to interpret the logical replication protocol used by Postgres to synchronize replicas. This allows PgDog to reroute data depending on which shard it should go to in a sharded cluster. Since logical replication is streaming data in real time, PgDog can move data between shards invisibly to the client and without database downtime.
44

55
## Logical replication internals
66

docs/features/sharding/migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PgDog expects that all shards have, roughly, the same tables. A notable exception to this rule is partitioned tables,
44
which can have different data tables on different shards. The parent tables should be present on all shards, however.
55

6-
If a shard has different tables than another, [automatic](query-routing.md) query routing may no work as expected.
6+
If a shard has different tables than another, [automatic](query-routing.md) query routing may not work as expected.
77

88
## How it works
99

docs/features/sharding/primary-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ If you're coming from unsharded Postgres, you're probably used to doing somethin
55
```postgresql
66
CREATE TABLE users (
77
id BIGSERIAL PRIMARY KEY,
8-
email VARCHAR,
8+
email VARCHAR
99
);
1010
```
1111

0 commit comments

Comments
 (0)