Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
51a33519
Commit
51a33519
authored
17 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Document how to turn off disk write cache on popular operating systems.
parent
8828689a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/wal.sgml
+12
-3
12 additions, 3 deletions
doc/src/sgml/wal.sgml
with
12 additions
and
3 deletions
doc/src/sgml/wal.sgml
+
12
−
3
View file @
51a33519
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.4
6
2007/1
1/28 15:42:31 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.4
7
2007/1
2/10 14:05:05 momjian
Exp $ -->
<chapter id="wal">
<chapter id="wal">
<title>Reliability and the Write-Ahead Log</title>
<title>Reliability and the Write-Ahead Log</title>
...
@@ -58,8 +58,17 @@
...
@@ -58,8 +58,17 @@
while some are write-back, and the
while some are write-back, and the
same concerns about data loss exist for write-back drive caches as
same concerns about data loss exist for write-back drive caches as
exist for disk controller caches. Consumer-grade IDE drives are
exist for disk controller caches. Consumer-grade IDE drives are
particularly likely to contain write-back caches that will not
particularly likely to have write-back caches that will not survive a
survive a power failure.
power failure. To check write caching on <productname>Linux</> use
<command>hdparm -I</>; it is enabled if there is a <literal>*</> next
to <literal>Write cache</>. <command>hdparm -W</> can to turn off
write caching. On <productname>FreeBSD</> use
<application>atacontrol</>. (For SCSI disks use <ulink
url="http://sg.torque.net/sg/sdparm.html"><application>sdparm</></ulink>
to turn off <literal>WCE</>.) On <productname>Windows</> write caching is
controlled by <literal>My Computer\Open\{select disk
drive}\Properties\Hardware\Properties\Policies\Enable write caching on
the disk</>.
</para>
</para>
<para>
<para>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment