Browsing Tag
postgresql
91 posts
How to Use the SET Command in PostgreSQL
If SHOW is how you read a PostgreSQL configuration value, SET is how you change one — at…
How to Use the CLUSTER Command in PostgreSQL
Most of the time, PostgreSQL stores rows on disk in whatever order they happened to be inserted, and…
How to Use the REINDEX Command in PostgreSQL
Indexes are what make PostgreSQL fast at finding specific rows without scanning an entire table, but they aren’t…
How to Use the VACUUM Command in PostgreSQL
If there’s one PostgreSQL command every administrator eventually has to understand deeply, it’s VACUUM. It’s tied directly to…
How to Use the ANALYZE Command in PostgreSQL
PostgreSQL’s query planner is genuinely impressive at figuring out the most efficient way to execute a query, but…
How to Use the EXPLAIN Command in PostgreSQL
If you only ever learn one diagnostic command in PostgreSQL, make it EXPLAIN. It’s the window into how…
How to Use the PL/Ruby Language in PostgreSQL
PostgreSQL’s procedural language system is one of its most underrated features. Instead of being locked into a single…
How to Use the PL/JavaScript Language in PostgreSQL
JavaScript is everywhere in modern application development, so it’s a natural question to ask: can you write PostgreSQL…
How to Use the PL/PHP Language in PostgreSQL
PostgreSQL is famous for one thing that a lot of other databases simply don’t offer: the ability to…
How to Use the PL/Java Language in PostgreSQL
When I first heard that PostgreSQL could run Java code directly inside the database server, my initial reaction…