<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki2.net47.pl/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl">
		<id>http://wiki2.net47.pl/index.php?action=history&amp;feed=atom&amp;title=Restart_postgresql</id>
		<title>Restart postgresql - Historia wersji</title>
		<link rel="self" type="application/atom+xml" href="http://wiki2.net47.pl/index.php?action=history&amp;feed=atom&amp;title=Restart_postgresql"/>
		<link rel="alternate" type="text/html" href="http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;action=history"/>
		<updated>2026-04-28T11:07:27Z</updated>
		<subtitle>Historia wersji tej strony wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=4817&amp;oldid=prev</id>
		<title>Tomek o 11:26, 11 lip 2022</title>
		<link rel="alternate" type="text/html" href="http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=4817&amp;oldid=prev"/>
				<updated>2022-07-11T11:26:47Z</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 valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← poprzednia wersja&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Wersja z 11:26, 11 lip 2022&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Opis krok po kroku zrestartowania '''postgresql'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Opis krok po kroku zrestartowania '''postgresql'''.&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;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; 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;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''Przedstawiona metoda dotyczy tylko wersji net47 przeznaczoną na system operacyjny FEDORA'''&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Krok po kroku==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Krok po kroku==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tomek</name></author>	</entry>

	<entry>
		<id>http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=4816&amp;oldid=prev</id>
		<title>Tomek o 11:25, 11 lip 2022</title>
		<link rel="alternate" type="text/html" href="http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=4816&amp;oldid=prev"/>
				<updated>2022-07-11T11:25:40Z</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 valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← poprzednia wersja&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Wersja z 11:25, 11 lip 2022&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 86:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE FUNCTION&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE FUNCTION&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: GRANT&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: GRANT&amp;lt;/pre&amp;gt;&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; 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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Kategoria:Baza_danych]]&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;/table&gt;</summary>
		<author><name>Tomek</name></author>	</entry>

	<entry>
		<id>http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=2254&amp;oldid=prev</id>
		<title>Duri o 08:25, 21 lis 2013</title>
		<link rel="alternate" type="text/html" href="http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=2254&amp;oldid=prev"/>
				<updated>2013-11-21T08:25:26Z</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 valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← poprzednia wersja&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Wersja z 08:25, 21 lis 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 3:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Krok po kroku==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Krok po kroku==&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1. &lt;/del&gt;Sprawdzamy czy mamy zamontowany ramdisk.===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Sprawdzamy czy mamy zamontowany ramdisk.===&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Wykonujemy polecenie====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Wykonujemy polecenie====&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;df -h&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;df -h&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 12:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;W pliku '''/etc/fstab''' zwiększyć ilość przydzielonego ramu. Należy pamiętać, aby odpowiednia ilość ram-u była dostępna.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;W pliku '''/etc/fstab''' zwiększyć ilość przydzielonego ramu. Należy pamiętać, aby odpowiednia ilość ram-u była dostępna.&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2. &lt;/del&gt;Jeżeli nie ma ramdisk.===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Jeżeli nie ma ramdisk.===&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Sprawdzamy czy w pliku '''/etc/fstab''' istnieje wpis:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Sprawdzamy czy w pliku '''/etc/fstab''' istnieje wpis:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;none /var/lib/pgsql/data/ramdisk tmpfs defaults,size=128m 1 2 &amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;none /var/lib/pgsql/data/ramdisk tmpfs defaults,size=128m 1 2 &amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 18:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;reboot&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;reboot&amp;lt;/pre&amp;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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3. &lt;/del&gt;Jeżeli mamy ramdisk i istnieje wpis w pliku /etc/fstab===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Jeżeli mamy ramdisk i istnieje wpis w pliku /etc/fstab===&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Restartujemy postgres'a====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Restartujemy postgres'a====&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;systemctl restart postgresql.service&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;systemctl restart postgresql.service&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 24:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;systemctl restart net47-postgresqlramdisk.service &amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;systemctl restart net47-postgresqlramdisk.service &amp;lt;/pre&amp;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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4. &lt;/del&gt;Sprawdzenie czy restart wykonał się poprawnie.===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Sprawdzenie czy restart wykonał się poprawnie.===&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Polecenie====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Polecenie====&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;systemctl status postgresql.service &amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;systemctl status postgresql.service &amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Duri</name></author>	</entry>

	<entry>
		<id>http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=1623&amp;oldid=prev</id>
		<title>Duri o 09:04, 4 lip 2013</title>
		<link rel="alternate" type="text/html" href="http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=1623&amp;oldid=prev"/>
				<updated>2013-07-04T09:04: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 valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← poprzednia wersja&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Wersja z 09:04, 4 lip 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 6:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Wykonujemy polecenie====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Wykonujemy polecenie====&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;df -h&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;df -h&amp;lt;/pre&amp;gt;&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Sprawdzamy czy mamy ramdisk tzn&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;czy istnieje wpis:====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;====Sprawdzamy czy mamy ramdisk tzn&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. &lt;/ins&gt;czy istnieje wpis:====&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;none&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; 128M&amp;#160; 744K&amp;#160; 128M&amp;#160;  1% /var/lib/pgsql/data/ramdisk&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;none&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; 128M&amp;#160; 744K&amp;#160; 128M&amp;#160;  1% /var/lib/pgsql/data/ramdisk&amp;lt;/pre&amp;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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Zajętość to indywidualna kwestia każdego użytkownika.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Zajętość to indywidualna kwestia każdego użytkownika.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Duri</name></author>	</entry>

	<entry>
		<id>http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=1622&amp;oldid=prev</id>
		<title>Duri: Utworzył nową stronę „Opis krok po kroku zrestartowania '''postgresql'''.  ==Krok po kroku==  ===1. Sprawdzamy czy mamy zamontowany ramdisk.=== ====Wykonujemy polecenie==== &lt;pre&gt;df -h&lt;/pr...”</title>
		<link rel="alternate" type="text/html" href="http://wiki2.net47.pl/index.php?title=Restart_postgresql&amp;diff=1622&amp;oldid=prev"/>
				<updated>2013-07-04T09:03:54Z</updated>
		
		<summary type="html">&lt;p&gt;Utworzył nową stronę „Opis krok po kroku zrestartowania &amp;#039;&amp;#039;&amp;#039;postgresql&amp;#039;&amp;#039;&amp;#039;.  ==Krok po kroku==  ===1. Sprawdzamy czy mamy zamontowany ramdisk.=== ====Wykonujemy polecenie==== &amp;lt;pre&amp;gt;df -h&amp;lt;/pr...”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nowa strona&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Opis krok po kroku zrestartowania '''postgresql'''.&lt;br /&gt;
&lt;br /&gt;
==Krok po kroku==&lt;br /&gt;
&lt;br /&gt;
===1. Sprawdzamy czy mamy zamontowany ramdisk.===&lt;br /&gt;
====Wykonujemy polecenie====&lt;br /&gt;
&amp;lt;pre&amp;gt;df -h&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Sprawdzamy czy mamy ramdisk tzn, czy istnieje wpis:====&lt;br /&gt;
&amp;lt;pre&amp;gt;none            128M  744K  128M   1% /var/lib/pgsql/data/ramdisk&amp;lt;/pre&amp;gt;&lt;br /&gt;
Zajętość to indywidualna kwestia każdego użytkownika.&lt;br /&gt;
====Jeżeli osiągniemy 100% zajętości to należy:====&lt;br /&gt;
W pliku '''/etc/fstab''' zwiększyć ilość przydzielonego ramu. Należy pamiętać, aby odpowiednia ilość ram-u była dostępna.&lt;br /&gt;
&lt;br /&gt;
===2. Jeżeli nie ma ramdisk.===&lt;br /&gt;
Sprawdzamy czy w pliku '''/etc/fstab''' istnieje wpis:&lt;br /&gt;
&amp;lt;pre&amp;gt;none /var/lib/pgsql/data/ramdisk tmpfs defaults,size=128m 1 2 &amp;lt;/pre&amp;gt;&lt;br /&gt;
Jeżeli nie ma to dopisujemy go na końcu pliku i wykonujemy reboot maszyny.&lt;br /&gt;
&amp;lt;pre&amp;gt;reboot&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
===3. Jeżeli mamy ramdisk i istnieje wpis w pliku /etc/fstab===&lt;br /&gt;
====Restartujemy postgres'a====&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl restart postgresql.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl restart net47-postgresqlfix.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl restart net47-postgresqlramdisk.service &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
===4. Sprawdzenie czy restart wykonał się poprawnie.===&lt;br /&gt;
====Polecenie====&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl status postgresql.service &amp;lt;/pre&amp;gt;&lt;br /&gt;
====Przykładowy wynik====&lt;br /&gt;
&amp;lt;pre&amp;gt;postgresql.service - PostgreSQL database server&lt;br /&gt;
  Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled)&lt;br /&gt;
  Active: active (running) since czw 2013-07-04 10:23:31 CEST; 1min 14s ago&lt;br /&gt;
  Process: 1901 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast (code=exited, status=0/SUCCESS)&lt;br /&gt;
  Process: 1909 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=0/SUCCESS)&lt;br /&gt;
  Process: 1903 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)&lt;br /&gt;
Main PID: 1913 (postgres)&lt;br /&gt;
  CGroup: name=systemd:/system/postgresql.service&lt;br /&gt;
          ├─1913 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432&lt;br /&gt;
          ├─1914 postgres: logger process  &lt;br /&gt;
          ├─1916 postgres: checkpointer process  &lt;br /&gt;
          ├─1917 postgres: writer process  &lt;br /&gt;
          ├─1918 postgres: wal writer process  &lt;br /&gt;
          ├─1919 postgres: autovacuum launcher process  &lt;br /&gt;
          ├─1920 postgres: stats collector process  &lt;br /&gt;
          ├─1921 postgres: net47_main net47_main 127.0.0.1(45116) idle&lt;br /&gt;
          ├─1922 postgres: net47_main net47_main 127.0.0.1(45117) idle&lt;br /&gt;
          ├─1923 postgres: net47_main net47_main 127.0.0.1(45118) idle&lt;br /&gt;
          ├─1924 postgres: net47_main net47_main 127.0.0.1(45119) idle&lt;br /&gt;
          ├─1925 postgres: net47_main net47_main 127.0.0.1(45120) idle&lt;br /&gt;
          ├─1926 postgres: net47_main net47_main 127.0.0.1(45121) idle&lt;br /&gt;
          ├─1927 postgres: net47_main net47_main 127.0.0.1(45122) idle&lt;br /&gt;
          ├─1928 postgres: net47_main net47_main 192.168.123.15(36463) idle&lt;br /&gt;
          ├─1959 postgres: net47_main net47_main 192.168.123.15(36464) idle&lt;br /&gt;
          ├─2034 postgres: net47_main net47_main 127.0.0.1(45123) idle&lt;br /&gt;
          ├─2035 postgres: net47_main net47_main 127.0.0.1(45124) idle&lt;br /&gt;
          ├─2036 postgres: net47_main net47_main 127.0.0.1(45125) idle&lt;br /&gt;
          ├─2037 postgres: net47_main net47_main 127.0.0.1(45126) idle&lt;br /&gt;
          ├─2038 postgres: net47_main net47_main 127.0.0.1(45127) idle&lt;br /&gt;
          ├─2039 postgres: net47_main net47_main 127.0.0.1(45128) idle&lt;br /&gt;
          ├─2040 postgres: net47_main net47_main 127.0.0.1(45129) idle&lt;br /&gt;
          ├─2041 postgres: net47_main net47_main 127.0.0.1(45130) idle&lt;br /&gt;
          ├─2042 postgres: net47_main net47_main 192.168.123.15(36465) idle&lt;br /&gt;
          ├─2043 postgres: net47_main net47_main 127.0.0.1(45131) idle&lt;br /&gt;
          ├─2044 postgres: net47_main net47_main 127.0.0.1(45132) idle&lt;br /&gt;
          ├─2045 postgres: net47_main net47_main 127.0.0.1(45133) idle&lt;br /&gt;
          ├─2046 postgres: net47_main net47_main 127.0.0.1(45134) idle&lt;br /&gt;
          ├─2047 postgres: net47_main net47_main 127.0.0.1(45135) idle&lt;br /&gt;
          ├─2048 postgres: net47_main net47_main 127.0.0.1(45136) idle&lt;br /&gt;
          └─2058 postgres: net47_main net47_main 127.0.0.1(45144) idle &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Polecenie====&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl status net47-postgresqlramdisk.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Przykładowy wynik====&lt;br /&gt;
&amp;lt;pre&amp;gt;net47-postgresqlramdisk.service - Składnik Net47 ramdisk dla postgresql&lt;br /&gt;
  Loaded: loaded (/usr/lib/systemd/system/net47-postgresqlramdisk.service; enabled)&lt;br /&gt;
  Active: inactive (dead) since czw 2013-07-04 10:24:05 CEST; 1min 57s ago&lt;br /&gt;
  Process: 2012 ExecStart=/usr/bin/net47-postgresqlramdisk (code=exited, status=0/SUCCESS) &lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE INDEX&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: GRANT&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE FUNCTION&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: GRANT&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE TABLE&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: GRANT&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE INDEX&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE INDEX&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: CREATE FUNCTION&lt;br /&gt;
lip 04 10:24:05 nowynet.ostrog.net net47-postgresqlramdisk[2012]: GRANT&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategoria:Baza_danych]]&lt;/div&gt;</summary>
		<author><name>Duri</name></author>	</entry>

	</feed>