<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Przepisywanie zapytań (query rewrite)]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=515&amp;type=atom"/>
	<updated>2011-01-07T22:25:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=515</id>
		<entry>
			<title type="html"><![CDATA[Odp: Przepisywanie zapytań (query rewrite)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=2332#p2332"/>
			<content type="html"><![CDATA[[quote]
chodzi mi o to czy optymalizator jest w stanie sam wybrać dany widok by polepszyć czas wykonania zapytania
[/quote]
Jaki dany?
Chyba czy jest w stanie tworzyć tymczasowy 'widok zmaterializowany'  na podstawie zapytania]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2011-01-07T22:25:39Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=2332#p2332</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Przepisywanie zapytań (query rewrite)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=2328#p2328"/>
			<content type="html"><![CDATA[chodzi mi o to czy optymalizator jest w stanie sam wybrać dany widok by polepszyć czas wykonania zapytania]]></content>
			<author>
				<name><![CDATA[Stumbr]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1176</uri>
			</author>
			<updated>2011-01-07T00:36:13Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=2328#p2328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Przepisywanie zapytań (query rewrite)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=2327#p2327"/>
			<content type="html"><![CDATA[Pawle, tu chyba chodzi o krok Materialize w planie wykonania zapytania zawierajacym inline'owe widoki (niekiedy postgres decyduje się na przepisywanie zapytań).]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2011-01-05T14:18:32Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=2327#p2327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Przepisywanie zapytań (query rewrite)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=2324#p2324"/>
			<content type="html"><![CDATA[[quote=Stumbr]Witam, 
Czy istnieje w Postgresie  mechanizm "query rewrite" ? Przepisywanie zapytań korzysta z widoków zmaterializowanych.[/quote]

Jest taki mechanim:

[url]http://www.postgresql.org/docs/current/static/rules-views.html#RULES-SELECT[/url]

Zapytania są przepisywane pomiędzy parserem SQL a planistą.]]></content>
			<author>
				<name><![CDATA[psocha]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=519</uri>
			</author>
			<updated>2011-01-05T09:32:48Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=2324#p2324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Przepisywanie zapytań (query rewrite)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=2314#p2314"/>
			<content type="html"><![CDATA[Pytasz o możliwości optymalizatora?]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-12-23T19:41:15Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=2314#p2314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Przepisywanie zapytań (query rewrite)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=2313#p2313"/>
			<content type="html"><![CDATA[Witam, 
Czy istnieje w Postgresie  mechanizm "query rewrite" ? Przepisywanie zapytań korzysta z widoków zmaterializowanych.]]></content>
			<author>
				<name><![CDATA[Stumbr]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1176</uri>
			</author>
			<updated>2010-12-23T18:52:08Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=2313#p2313</id>
		</entry>
</feed>
