diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ed0edeae..c8ecf6351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ Release Notes - The [Changes Tracking](https://github.com/groue/GRDB.swift/blob/master/README.md#changes-tracking) chapter has been updated for the new universal support for record changes. - A new [Database Snapshots](https://github.com/groue/GRDB.swift/blob/master/README.md#database-snapshots) chapter has been added. +- A new [Differences between Database Queues and Pools](https://github.com/groue/GRDB.swift/blob/master/README.md#differences-between-database-queues-and-pools) chapter has been added, that attempts at visually show how much database pools are different from database queues. - The [Concurrency](https://github.com/groue/GRDB.swift/blob/master/README.md#concurrency) chapter has been updated for database snapshots. - A new [Joined Queries Support](https://github.com/groue/GRDB.swift/blob/master/README.md#joined-queries-support) chapter has been added. - The [Row Adapters](https://github.com/groue/GRDB.swift/blob/master/README.md#row-adapters) chapter has been made consistent with the new chapter on joined queries. diff --git a/README.md b/README.md index fd0564ef1..cbcdbc0a7 100644 --- a/README.md +++ b/README.md @@ -439,7 +439,9 @@ Database pools allow several threads to access the database at the same time: To provide `read` closures an immutable view of the last executed writing block *as a whole*, use `writeInTransaction` instead of `write`. -Database pools can also take [snapshots](#database-snapshots) of the database. See [Advanced DatabasePool](#advanced-databasepool) for more DatabasePool hotness. +- Database pools can take [snapshots](#database-snapshots) of the database. + +See [Differences between Database Queues and Pools](#differences-between-database-queues-and-pools) before you decide to use a database pool. When you're sure, see [Advanced DatabasePool](#advanced-databasepool) for more DatabasePool hotness. **A database pool needs your application to follow rules in order to deliver its safety guarantees.** Please refer to the [Concurrency](#concurrency) chapter.