<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
On my Evergreen Database server, in /var/lib/postgresql/</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
I have the following 4 directories: </div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
1) 9.6.bak/ = 111GB, edits happening every minute </div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
2) 10/ = 58GB, last edited a couple hours ago </div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
3) 9.6/ = 45MB, last edited 1 year ago </div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
4) backups/ = 2.2GB, last edited 2AM today </div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
The stumper to me is the 9.6.bak. If we're using psql 10, and already have a backup directory updated daily, why are things actively writing to 9.6.bak/?</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
We need to free up some storage, and I was tempted to get rid of 9.6.bak, but don't want to without figuring out what is writing to it (and why).</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
If helpful, I find no instance of 9.6.bak in </div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
ps -ef | grep postgres</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
But it did appear in </div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
lsof +D /var/lib/postgresql/9.6.bak</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
Any clues?!</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
Brian</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 16pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature" style="color: inherit;">
<p style="line-height: 18pt;"><span style="font-family: Georgia, serif; font-size: 12pt; color: rgb(51, 51, 51);">Brian Holda<br>
Library Technology Manager<br>
Hekman Library<br>
Calvin University<br>
(616) 526-8673</span></p>
<p style="line-height: 18pt;"><span style="font-family: Georgia, serif; font-size: 12pt; color: rgb(51, 51, 51);"><a href="https://library.calvin.edu/" id="OWAa2ca0983-0030-892a-95d0-b5401811df36" class="OWAAutoLink" style="margin-top: 0px; margin-bottom: 0px;"><img width="245" height="34" style="width: 245px; height: 34px; margin-top: 0px; margin-bottom: 0px;" data-outlook-trace="F:1|T:1" src="cid:366e1c9b-3396-4be9-bd3e-7f981f95eb79"></a></span></p>
<p style="line-height: 18pt;"><span style="font-family: Georgia, serif; font-size: 12pt; color: rgb(51, 51, 51);"> </span></p>
</div>
</body>
</html>