PostgreSQL materialized views have been extremely useful as a caching layer
for some of my projects. They're fast, easy to setup, don't require extra
infrastructure, and easy to refresh.

However, it took me forever to figure out how to manage them using
SQLAlchemy, so I wrote it up in the hopes of saving others some time.

If interested, you can see the code here:
https://github.com/jeffwidman/sqlalchemy-postgresql-materialized-views

And my blog post of explanatory notes here:
http://www.jeffwidman.com/blog/847/using-sqlalchemy-to-create-and-manage-postgresql-materialized-views/

Much thanks to Mike Bayer for his help.

Cheers,
Jeff


-- 

*Jeff Widman*
jeffwidman.com <http://www.jeffwidman.com/> | 740-WIDMAN-J (943-6265)
<><
ᐧ

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to