<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://kvwmap.de/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://kvwmap.de/wiki/index.php?action=history&amp;feed=atom&amp;title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen</id>
		<title>ALKIS-Größe Statistik anlegen - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://kvwmap.de/wiki/index.php?action=history&amp;feed=atom&amp;title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen"/>
		<link rel="alternate" type="text/html" href="https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;action=history"/>
		<updated>2026-04-21T21:35:07Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in kvwmap</subtitle>
		<generator>MediaWiki 1.23.1</generator>

	<entry>
		<id>https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=11843&amp;oldid=prev</id>
		<title>Pkorduan: /* Temp Verzeichnis von MapServer leeren */</title>
		<link rel="alternate" type="text/html" href="https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=11843&amp;oldid=prev"/>
				<updated>2018-03-16T16:32:46Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Temp Verzeichnis von MapServer leeren&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 16. März 2018, 16:32 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--[[Benutzer:Schley|Norman Schley]] ([[Benutzer Diskussion:Schley|Diskussion]]) 11:13, 11. Jun. 2015 (CEST)--&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--[[Benutzer:Schley|Norman Schley]] ([[Benutzer Diskussion:Schley|Diskussion]]) 11:13, 11. Jun. 2015 (CEST)--&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===Temp Verzeichnis von MapServer leeren===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Das Leeren eines Verzeichnisses mag einfach erscheinen.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; rm -R /var/www/tmp*&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;may do the job.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Aber so einfach ist das nicht.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1. Handelt es sich um sehr viele Dateien macht der rm Befehl so nicht mit.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2. Es sollen nicht alle Dateien gelöscht werden, sondern nur ältere mit denen nicht mehr gearbeitet wird.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Daher kommt eher folgender Befehl zur Anwendung:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; find /var/www/tmp -mtime +1 ! -path /var/www/tmp -exec rm -rf {} +&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hier wird erst alles gelistet was älter als 1 Tag alt und in /var/www/tmp enthalten ist, außer /var/www/tmp selbst.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Anschließend wird es dem rm Befehl übergeben und der löscht nach und nach alles weg. Diese Befehlszeile sollte vorzugsweise ein mal pro Tag innerhalb eines Cronjobs abgearbeitet werden. z.B. jeden Morgen 1:01&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 1 1 * * * find /var/www/tmp -mtime +1 ! -path /var/www/tmp -exec rm -rf {} +&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Die find Befehlszeile kann auch in einem Bash-Script stehen, welches im Verzeichnis /etc/cron.daily abgelegt ist.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; #!/bin/bash&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; TMP_DIR=/var/www/tmp&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; AGE=1&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; find ${TMP_DIR} -mtime +${AGE} ! -path ${TMP_DIR} -exec rm -rf {} +&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Beschreibung===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Beschreibung===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pkorduan</name></author>	</entry>

	<entry>
		<id>https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=11842&amp;oldid=prev</id>
		<title>Pkorduan: /* Beschreibung */</title>
		<link rel="alternate" type="text/html" href="https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=11842&amp;oldid=prev"/>
				<updated>2018-03-16T16:32:29Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Beschreibung&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 16. März 2018, 16:32 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--[[Benutzer:Schley|Norman Schley]] ([[Benutzer Diskussion:Schley|Diskussion]]) 11:13, 11. Jun. 2015 (CEST)--&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--[[Benutzer:Schley|Norman Schley]] ([[Benutzer Diskussion:Schley|Diskussion]]) 11:13, 11. Jun. 2015 (CEST)--&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===Temp Verzeichnis von MapServer leeren===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Das Leeren eines Verzeichnisses mag einfach erscheinen.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; rm -R /var/www/tmp*&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;may do the job.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Aber so einfach ist das nicht.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1. Handelt es sich um sehr viele Dateien macht der rm Befehl so nicht mit.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2. Es sollen nicht alle Dateien gelöscht werden, sondern nur ältere mit denen nicht mehr gearbeitet wird.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Daher kommt eher folgender Befehl zur Anwendung:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; find /var/www/tmp -mtime +1 ! -path /var/www/tmp -exec rm -rf {} +&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hier wird erst alles gelistet was älter als 1 Tag alt und in /var/www/tmp enthalten ist, außer /var/www/tmp selbst.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Anschließend wird es dem rm Befehl übergeben und der löscht nach und nach alles weg. Diese Befehlszeile sollte vorzugsweise ein mal pro Tag innerhalb eines Cronjobs abgearbeitet werden. z.B. jeden Morgen 1:01&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 1 1 * * * find /var/www/tmp -mtime +1 ! -path /var/www/tmp -exec rm -rf {} +&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Die find Befehlszeile kann auch in einem Bash-Script stehen, welches im Verzeichnis /etc/cron.daily abgelegt ist.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; #!/bin/bash&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; TMP_DIR=/var/www/tmp&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; AGE=1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; find ${TMP_DIR} -mtime +${AGE} ! -path ${TMP_DIR} -exec rm -rf {} +&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Beschreibung===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Beschreibung===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Spalte 4: ALKIS-Schema Größe - zeigt die Gesamtgröße des ALKIS-Schemas&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Spalte 4: ALKIS-Schema Größe - zeigt die Gesamtgröße des ALKIS-Schemas&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Spalte 5: reine ALKIS Tabellen Größe - zeigt die Größe der Tabellen, aus dem ALKIS-Schema, die durch die Fortführungen betroffen sind&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Spalte 5: reine ALKIS Tabellen Größe - zeigt die Größe der Tabellen, aus dem ALKIS-Schema, die durch die Fortführungen betroffen sind&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Tabelle anlegen für die Einträge der ALKIS Größen===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Tabelle anlegen für die Einträge der ALKIS Größen===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pkorduan</name></author>	</entry>

	<entry>
		<id>https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=9153&amp;oldid=prev</id>
		<title>Schley am 11. Juni 2015 um 10:02 Uhr</title>
		<link rel="alternate" type="text/html" href="https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=9153&amp;oldid=prev"/>
				<updated>2015-06-11T10:02:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 11. Juni 2015, 10:02 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;VALUES (&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;VALUES (&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;current_timestamp,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;current_timestamp,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(SELECT pg_size_pretty(pg_database_size('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;geobasis_mse2&lt;/del&gt;')) As db_groesse),&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(SELECT pg_size_pretty(pg_database_size('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;eure_datenbank&lt;/ins&gt;')) As db_groesse),&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(select pg_size_pretty(CAST((SELECT&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(select pg_size_pretty(CAST((SELECT&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SUM(pg_total_relation_size(table_schema || '.' || table_name) )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SUM(pg_total_relation_size(table_schema || '.' || table_name) )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Schley</name></author>	</entry>

	<entry>
		<id>https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=9152&amp;oldid=prev</id>
		<title>Schley: Die Seite wurde neu angelegt: „--~~~~--   ===Beschreibung=== Falls man die Datenmengen von ALKIS etwas im Auge behalten möchte, kann man sich eine Tabelle innerhalb der PostgreSQL-DB anlege…“</title>
		<link rel="alternate" type="text/html" href="https://kvwmap.de/wiki/index.php?title=ALKIS-Gr%C3%B6%C3%9Fe_Statistik_anlegen&amp;diff=9152&amp;oldid=prev"/>
				<updated>2015-06-11T09:13:36Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „--~~~~--   ===Beschreibung=== Falls man die Datenmengen von ALKIS etwas im Auge behalten möchte, kann man sich eine Tabelle innerhalb der PostgreSQL-DB anlege…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[Benutzer:Schley|Norman Schley]] ([[Benutzer Diskussion:Schley|Diskussion]]) 11:13, 11. Jun. 2015 (CEST)--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Beschreibung===&lt;br /&gt;
Falls man die Datenmengen von ALKIS etwas im Auge behalten möchte, kann man sich eine Tabelle innerhalb der PostgreSQL-DB anlegen.&lt;br /&gt;
Man könnte jeden Tag ein Wert in diese Tabelle eintragen lassen, um zu sehen wie die Datenmengen sich verhalten.&lt;br /&gt;
In dieser Version wird folgendes in die Tabelle geschrieben:&lt;br /&gt;
*Spalte 1: gid - ist ein SERIAL und wird automatisch gefüllt&lt;br /&gt;
*Spalte 2: Timestamp - aktueller Zeitstempel vom System&lt;br /&gt;
*Spalte 3: DB Größe - zeigt die Gesamtgröße der Datenbank&lt;br /&gt;
*Spalte 4: ALKIS-Schema Größe - zeigt die Gesamtgröße des ALKIS-Schemas&lt;br /&gt;
*Spalte 5: reine ALKIS Tabellen Größe - zeigt die Größe der Tabellen, aus dem ALKIS-Schema, die durch die Fortführungen betroffen sind&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Tabelle anlegen für die Einträge der ALKIS Größen===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
CREATE TABLE aaa_statistik&lt;br /&gt;
(&lt;br /&gt;
  gid serial NOT NULL,&lt;br /&gt;
  zeitstempel timestamp without time zone,&lt;br /&gt;
  db_groesse text,&lt;br /&gt;
  alkis_schema_groesse text,&lt;br /&gt;
  reine_alkis_tabellen_groesse text,&lt;br /&gt;
  CONSTRAINT aaa_statistik_pkey PRIMARY KEY (gid)&lt;br /&gt;
)&lt;br /&gt;
WITH (&lt;br /&gt;
  OIDS=FALSE&lt;br /&gt;
);&lt;br /&gt;
ALTER TABLE aaa_statistik&lt;br /&gt;
  OWNER TO gisadmin;&lt;br /&gt;
COMMENT ON TABLE aaa_statistik&lt;br /&gt;
  IS 'Statistik: Datenbankgröße, Schemagröße';&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hat man die Tabelle in PostgreSQL angelegt kann man ein CRON-JOB anlegen der dann jeden Abend die Größen ausliest über ein SQL Script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SQL-Script für das Befüllen der Tabelle===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
INSERT INTO aaa_statistik (zeitstempel, db_groesse, alkis_schema_groesse, reine_alkis_tabellen_groesse)&lt;br /&gt;
VALUES (&lt;br /&gt;
current_timestamp,&lt;br /&gt;
(SELECT pg_size_pretty(pg_database_size('geobasis_mse2')) As db_groesse),&lt;br /&gt;
(select pg_size_pretty(CAST((SELECT&lt;br /&gt;
SUM(pg_total_relation_size(table_schema || '.' || table_name) )&lt;br /&gt;
FROM information_schema.tables&lt;br /&gt;
WHERE table_schema = 'alkis') As bigint) )  As alkis_schema_groesse),&lt;br /&gt;
(SELECT pg_size_pretty(pg_total_relation_size('alkis.alkis_beziehungen')&lt;br /&gt;
+pg_total_relation_size('alkis.ap_darstellung')&lt;br /&gt;
+pg_total_relation_size('alkis.ap_lpo')&lt;br /&gt;
+pg_total_relation_size('alkis.ap_lto')&lt;br /&gt;
+pg_total_relation_size('alkis.ap_ppo')&lt;br /&gt;
+pg_total_relation_size('alkis.ap_pto')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_anderefestlegungnachstrassenrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_anderefestlegungnachwasserrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_anderefestlegungnachwasserrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_anschrift')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_anschrift_temp')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_aufnahmepunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bahnverkehr')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bahnverkehrsanlage')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_baublock')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauraumoderbodenordnungsrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauraumoderbodenordnungsrecht_artderfestlegung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauteil')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauteil_bauart')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauwerkimgewaesserbereich')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauwerkimverkehrsbereich')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauwerkoderanlagefuerindustrieundgewerbe')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bauwerkoderanlagefuersportfreizeitunderholung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bergbaubetrieb')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_besondereflurstuecksgrenze')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_besonderegebaeudelinie')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_besondererbauwerkspunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_besonderergebaeudepunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_besondererhoehenpunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_besonderertopographischerpunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bewertung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bewertung_klassifizierung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bodenschaetzung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bodenschaetzung_bodenart')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bodenschaetzung_entstehungsartoderklimastufe')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bodenschaetzung_kulturart')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bodenschaetzung_sonstigeangaben')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bodenschaetzung_zustandsstufe')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_boeschungkliff')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_boeschungsflaeche')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_buchungsblatt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_buchungsblattbezirk')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_buchungsstelle')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_buchungsstelle_buchungsart')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_bundesland')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_dammwalldeich')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_datenerhebung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_denkmalschutzrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_denkmalschutzrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_dienststelle')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_duene')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_einrichtungenfuerdenschiffsverkehr')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_einrichtunginoeffentlichenbereichen')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_felsenfelsblockfelsnadel')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_firstlinie')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_flaechebesondererfunktionalerpraegung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_flaechegemischternutzung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_fliessgewaesser')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_flugverkehr')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_flugverkehrsanlage')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_flurstueck')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_forstrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_forstrecht_artderfestlegung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_forstrecht_besonderefunktion')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_fortfuehrungsfall')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_fortfuehrungsnachweisdeckblatt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_friedhof')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gebaeude')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gebaeude_bauweise')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gebaeude_dachform')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gebaeude_funktion')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gebaeude_weiterefunktion')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gebaeude_zustand')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gebaeudeausgestaltung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gehoelz')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gelaendekante')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gemarkung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gemarkungsteilflur')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gemeinde')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gemeindeteil')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_georeferenziertegebaeudeadresse')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gewaessermerkmal')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_gleis')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_grablochderbodenschaetzung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_grablochderbodenschaetzung_bedeutung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_grenzpunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_hafenbecken')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_halde')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_heide')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_heilquellegasquelle')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_historischesbauwerkoderhistorischeeinrichtung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_historischesflurstueck')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_historischesflurstueckalb')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_historischesflurstueckohneraumbezug')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_hoehenlinie')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_hoehleneingang')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_industrieundgewerbeflaeche')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_klassifizierungnachstrassenrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_klassifizierungnachstrassenrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_klassifizierungnachwasserrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_klassifizierungnachwasserrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_kleinraeumigerlandschaftsteil')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_kommunalesgebiet')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_kreisregion')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_lagebezeichnungkatalogeintrag')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_lagebezeichnungmithausnummer')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_lagebezeichnungmitpseudonummer')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_lagebezeichnungohnehausnummer')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_landwirtschaft')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_leitung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_meer')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_moor')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_musterlandesmusterundvergleichsstueck')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_musterlandesmusterundvergleichsstueck_merkmal')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_namensnummer')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_namensnummer_eigentuemerart')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_naturumweltoderbodenschutzrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_naturumweltoderbodenschutzrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_person')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_platz')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_punktkennunguntergegangen')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_punktortag')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_punktortau')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_punktortta')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_regierungsbezirk')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_reservierung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_schifffahrtsliniefaehrverkehr')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_schiffsverkehr')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_schutzgebietnachnaturumweltoderbodenschutzrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_schutzgebietnachnaturumweltoderbodenschutzrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_schutzgebietnachwasserrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_schutzgebietnachwasserrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_schutzzone')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_seilbahnschwebebahn')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sicherungspunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_soll')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sonstigervermessungspunkt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sonstigesbauwerkodersonstigeeinrichtung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sonstigesbauwerkodersonstigeeinrichtung_bauwerksfunktion')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sonstigesrecht')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sonstigesrecht_artdf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sportfreizeitunderholungsflaeche')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_stehendesgewaesser')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_strassenverkehr')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_strassenverkehrsanlage')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_sumpf')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_tagebaugrubesteinbruch')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_tagesabschnitt')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_topographischelinie')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_transportanlage')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_turm')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_unlandvegetationsloseflaeche')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_untergeordnetesgewaesser')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_vegetationsmerkmal')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_vertretung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_verwaltung')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_verwaltungsgemeinschaft')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_vorratsbehaelterspeicherbauwerk')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_wald')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_wasserspiegelhoehe')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_weg')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_wegpfadsteig')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_wohnbauflaeche')&lt;br /&gt;
+pg_total_relation_size('alkis.ax_wohnplatz')&lt;br /&gt;
) as reine_alkis_tabellen_groesse)&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Hinweis: '''Ihr könntet jetzt auch noch einzelne Tabellen hinzufügen oder entfernen.&lt;/div&gt;</summary>
		<author><name>Schley</name></author>	</entry>

	</feed>