<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Postgres on Sreevardhan Reddy — Software Developer</title><link>https://sreevardhanreddi.github.io/categories/postgres/</link><description>Recent content in Postgres on Sreevardhan Reddy — Software Developer</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 12 Aug 2021 16:26:31 +0530</lastBuildDate><atom:link href="https://sreevardhanreddi.github.io/categories/postgres/index.xml" rel="self" type="application/rss+xml"/><item><title>Faster Reads With Materialized Views</title><link>https://sreevardhanreddi.github.io/blogs/faster-reads-with-materialized-views/</link><pubDate>Thu, 12 Aug 2021 16:26:31 +0530</pubDate><guid>https://sreevardhanreddi.github.io/blogs/faster-reads-with-materialized-views/</guid><description>This Blog aims to give you a gist of Views in PostgreSQL and how to integrate in Django.
PostgreSQL Views are quite handy, think of Views as wrapping(abstracting) your complex queries and assigning a name to them.
They are several benifits of using Views, here are few
Views hide the complexity
if you have a query that requires aggregating or joining multiple tables and has complex logic, you can code all that logic into a view and then retreive data from it as if it were a normal table.</description></item></channel></rss>