mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Differences between Database Queues and Pools
This commit is contained in:
1 parent
03c44778ba
commit
497f4b65ef
2 files changed
+4
-1
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user