Skip to content

Commit

Permalink
GEOMESA-3423 - add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
autodidacticon committed Dec 10, 2024
1 parent 4a37b41 commit f83dfe3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/user/postgis/index_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,14 @@ for each query, moving data out of it faster may improve performance.
After the schema has been created, changes to the schedule can be made through the
:ref:`postgis_cli_update_schema` command.

Configuring WAL logging
-----------------------

PostgreSQL uses a write-ahead log (WAL) to ensure data consistency and durability. By default, the WAL is written
for all changes to the database, including the partitioned tables. Disabling the WAL for the partitioned tables
can significantly improve write performance, but at the cost of data durability. If increased performance is desired,
the WAL can be disabled for the partitioned tables by setting the key ``pg.wal.log.enabled`` to ``false``.

See the `PostgreSQL documentation`_ for more information on the implications of disabling the WAL.
.. _PostgreSQL documentation: https://www.postgresql.org/docs/current/sql-createtable.html#SQL-CREATETABLE-UNLOGGED

0 comments on commit f83dfe3

Please sign in to comment.