aboutsummaryrefslogtreecommitdiffstats
path: root/language/en_UK.iso-8859-1/help/maintenance.html
blob: 85e905cc9aec8f51fd0fadbcf323bcf73cb4efb7 (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
<h2>Maintenance</h2>

<p>To optimize page generation time, PhpWebGallery uses cached
information. For example, instead of counting the number of pictures
contained in each category 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 informations become useless with time. Deleting this useless
information from database make you save disk space.</p>

<ul>

  <li><strong>update categories informations</strong>. For each category,
  informations to update or control are the following : list of parent
  categories, number of pictures, date of the last picture, position among
  brother categories, position among all categories. This action also checks
  the coherence of representative picture.</li>

  <li><strong>update images informations</strong>. For each picture,
  informations to update are : full path to file, averate
  rate. <em>Warning</em>: do not get confuse with metadata informations
  which can be synchronized from <span class="pwgScreen">Administration,
  General, Synchronize</span> or by reaching the modification screen of a
  single picture (through <span class="pwgScreen">Picture</span> for
  example).</li>

  <li><strong>purge history</strong>. Delete all lines from
  <code>history</code> table. Screen <span class="pwgScreen">Administration,
  General, History</span> shows no informations anymore on past
  history. <em>Warning</em>: all data will be lost and there is no way to
  get informations back.</li>

  <li><strong>purge sessions</strong>. Delete expired user sessions.</li>

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

</ul>