Unix Technical Forum

Using materialized views for commonly-queried subsets

This is a discussion on Using materialized views for commonly-queried subsets within the Pgsql Performance forums, part of the PostgreSQL category; --> I typed up a description of a situation where the only viable option to improve performance was to use ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 08:15 AM
Casey Allen Shobe
 
Posts: n/a
Default Using materialized views for commonly-queried subsets

I typed up a description of a situation where the only viable option to
improve performance was to use a materialized view, which, when implemented,
was found to improve performance twenty-sevenfold, even with a fairly small
amount of excess data (which is antipated to grow). I thought this might be
of use to anybody else in a similar situation, so I thought I'd post it here.

http://community.seattleserver.com/viewtopic.php?t=11

Feel free to reproduce as you see fit.

Cheers,
--
Casey Allen Shobe | cshobe@seattleserver.com | 206-381-2800
SeattleServer.com, Inc. | http://www.seattleserver.com

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 08:15 AM
Jim C. Nasby
 
Posts: n/a
Default Re: Using materialized views for commonly-queried subsets

See also
http://www.jonathangardner.net/Postg.../matviews.html

On Fri, Mar 10, 2006 at 02:25:08AM +0000, Casey Allen Shobe wrote:
> I typed up a description of a situation where the only viable option to
> improve performance was to use a materialized view, which, when implemented,
> was found to improve performance twenty-sevenfold, even with a fairly small
> amount of excess data (which is antipated to grow). I thought this might be
> of use to anybody else in a similar situation, so I thought I'd post it here.
>
> http://community.seattleserver.com/viewtopic.php?t=11
>
> Feel free to reproduce as you see fit.
>
> Cheers,
> --
> Casey Allen Shobe | cshobe@seattleserver.com | 206-381-2800
> SeattleServer.com, Inc. | http://www.seattleserver.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>


--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com