Postgresql - unders/mywiki GitHub Wiki
Batch Insert
Articles
- https://www.thenile.dev/blog/pgvector-080
- https://www.timescale.com/blog/vector-databases-are-the-wrong-abstraction/
- https://www.timescale.com/blog/pgai-giving-postgresql-developers-ai-engineering-superpowers/
Vector
- https://github.com/timescale/pgvectorscale/
- https://github.com/pgvector/pgvector/blob/master/README.md
- https://github.com/timescale/pgai
Graph DB
- Apache AGE™ Graph Database for PostgreSQL
- github.com/apache/age
- 2024-05-01-what-is-a-graph-database
- the-role-of-graph-modeling-in-fraud-detection-systems
- principle-of-a-recommendation-system-using-raph-database
Awesome
New
Articles
- postgresql-magic
- in-postgresql-as-in-life-dont-wait-too-long-to-commit
- 10-How-does-CLUSTER-ON-improve-index-performance.html
- 10-beginner-postgresql-tasks-you-should-know
- sql-vs-nosql-ko-postgres-vs-mongo
- postgresguide
- more-out-of-psql
- postgresql-awesomeness-for-rails-developers
Tutorials
- Thoughtbots Postgres links
- postgresql-command-line-cheat-sheet
- postgresql-awesomeness-for-rails-developers
- smarter-synchronization-of-your-postgresql-development-and-production-dbs
- dear-postgresql-where-are-my-logs.html
- fast postgresql-pagination
- discovering-the-computer-science-behind-postgres-indexes
- configuring - optimizing-your-psql.html
Heroku Postgress articles
HStore
Migrations
Connections (Pooling)
Transactions
Charts
Caching
Amazon
Client
Postgres documentation
Commands
psql -l -U root # list all databases
psql -U root dbname_test # log into database dbname_test
\help
\h
\l - list all databases
\dt - list all tables in the database
\q
createdb -Oroot -Eutf8 dbname_development
createdb -Oroot -Eutf8 dbname_test
ps auxwww | grep postgres
lunchy stop postgres
lunchy start postgres
\d - List tables in the database
\d employees - describe a table
createuser -P username
ALTER USER username WITH PASSWORD password