aboutsummaryrefslogtreecommitdiffstats
path: root/language/en_UK/help/maintenance.html
blob: 9c2e824559722a193e3932a0689b24bb9efb7e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<h2>Maintenance</h2>

<p>To optimize page generation time, Piwigo uses cached
information. For example, instead of counting the number of photos
contained in each album at each page reload, this information is stored
in the database. In theory, this information should always be correct, but
sometimes an error can occur and cached information becomes wrong.</p>

<p>Some information become useless with time going by. Deleting this useless
information from database make you save disk space.</p>

<ul>

  <li>
    <strong>Unlinked photos:</strong>
    Display photos which are not associated to any virtual album.
  </li>
  <li>
    <strong>Files with the same name in more than one physical album:</strong>
    Display photos or files which are found with the same filename in several albums.
  </li>

</ul>

<ul>

  <li><strong>Update albums informations:</strong> For each album,
  the following information is checked, and updated if necessary : list of parent
  albums, number of photos, last photo date, position among
  brother albums, position among all albums. This action also checks
  the representative photos consistency.</li>

  <li><strong>Update photos information:</strong> For each photo,
  information updated is : full path to file, average
  rate. <em>Warning</em>, do not mix up: metadata information
  must be synchronized from <span class="pwgScreen">Administration &raquo;
  Tools &raquo; Synchronize</span>, or on the modification screen of a
  single photo (through <span class="pwgScreen">Photo</span> for
  example).</li>

  <li><strong>Repair and optimize the database:</strong>
  Perform re-order, repair and optimize operations on each table of the database.
  </li>
</ul>

<ul>
  <li><strong>Purge history details:</strong> Delete all lines from the
  <code>history</code> table. Screen <span class="pwgScreen">Administration,
  Specials, History</span> will not longer show information for the past
  history. <em>Warning</em>: all data will be lost, without any way to
  get them back.</li>

  <li><strong>Purge history summary:</strong> Delete all the summary information about visit history. This summary is calculated from the history details.</li>

  <li><strong>Purge sessions:</strong> Delete expired user sessions.</li>

  <li><strong>Purge never used notification feeds</strong></li>

  <li><strong>Purge searches history</strong></li>
  
  <li><strong>Purge compiled templates</strong></li>  
</ul>