Postgres TOTD
@postgres_totd
Postgres Tweet of the Day
Może Ci się spodobać
Postgres TOTD: Use the 'END' as a shortcut for context-sensitive COMMIT or ROLLBACK.
Postgres TOTD: VACUUM FULL and REINDEX do heavy locking, but with autovacuum you should rarely need them.
Postgres TOTD: Logging can go through syslog: control the facility and ident via postgresql.conf.
Postgres TOTD: Postgres 8.4 has a backwards-compatible psql, including backslash commands (finally!)
Postgres TOTD: A table can be physically reordered based on an index with the CLUSTER command. http://tr.im/sI5d
Postgres TOTD: 8.4 has windowing functions: see how they compare to other dbs: http://tr.im/snRO
Postgres TOTD: ANALYZE can be run on the entire database, on a single table, and even on a single column. http://tr.im/sc1L
Postgres TOTD: View PostgreSQL information in a format similar to the Unix tool 'top' with pg_top: http://tr.im/pNXr
Postgres TOTD: Postgres 8.4 gets rid of max_fsm_pages and max_fsm_relations. Two less knobs to worry about!
Postgres TOTD: Postgres natively supports many DTrace probes as of version 8.2. http://tr.im/pvPk
Postgres TOTD: Don't kill -9 backends. Postgres will survive, but other clients may have to reconnect.
Postgres TOTD: LEFT and RIGHT joins are equivalent, so always use LEFT joins to reduce confusion. http://tr.im/oS3I
Postgres TOTD: Subqueries can be used almost everywhere: select (select 1) as c from (select 1) t where 1 = (select 1) limit (select 1);
Postgres TOTD: Make sure you run a global ANALYZE after restoring a database or any other large data import.
Postgres TOTD: When working on someone else's system, call psql with -X to bypass any unknown conf files.
Postgres TOTD: In psql, see how fast all your queries take by toggling \timing on.
Postgres TOTD: Temporary tables can be set as ON COMMIT DELETE to automatically remove them. http://tr.im/nXRC
Postgres TOTD: Starting in PostgreSQL version 8.4, you can use ON TRUNCATE triggers. http://tr.im/nQ7I
Postgres TOTD: One of the many languages available for PostgreSQL functions is LOLCODE. http://tr.im/nAjS (YA RLY!)
Postgres TOTD: When writing functions, put the LANGUAGE declaration with the rest of the metadata at the top.
United States Trendy
- 1. #VERZUZ 39.9K posts
- 2. Birdman 10.1K posts
- 3. No Limit 27.7K posts
- 4. Mia X 584K posts
- 5. Wayne 35.7K posts
- 6. #HalloweenHavoc 42.9K posts
- 7. Brian Kelly 2,986 posts
- 8. Turk 581K posts
- 9. Tamar 7,631 posts
- 10. Jonas Brothers 4,101 posts
- 11. Master P 5,541 posts
- 12. Snoop 9,289 posts
- 13. Juvie 3,387 posts
- 14. Sixers 6,300 posts
- 15. Michigan 34K posts
- 16. Tim Banks N/A
- 17. Will Smith 10.2K posts
- 18. Semaj 1,965 posts
- 19. Gausman 5,342 posts
- 20. Silkk 1,754 posts
Something went wrong.
Something went wrong.