You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4707dbc
Browse filesBrowse the repository at this point in the historyBrowse files
<p>This article explains how and why PostgreSQL can handle <ahref="http://blog.lostpropertyhq.com/postgres-full-text-search-is-good-enough/">full text searching</a>
4554
-
for many use cases.</p>
4558
+
<p>This article explains how and why PostgreSQL can handle
4559
+
<ahref="http://blog.lostpropertyhq.com/postgres-full-text-search-is-good-enough/">full text searching</a>
4560
+
for many use cases. If you're going down this route, read
4561
+
<ahref="http://blog.garage-coding.com/2015/12/18/postgres-fulltext-search.html">this blog post that explains how one developer implemented PostgreSQL full text search with SQLAlchemy</a>.</p>
4555
4562
</li>
4556
4563
<li>
4557
4564
<p>If you're just getting started with PostgreSQL here are
<ahref="http://phili.pe/posts/postgresql-on-the-command-line/">comfortable with the command-line interface</a>.</p>
4573
4585
</li>
4574
4586
<li>
4575
-
<p>Backing up databases is important because data loss can and does happen. This
4576
-
article explains
4587
+
<p>Backing up databases is important because data loss can and does happen.
4588
+
This article explains
4577
4589
<ahref="http://www.n2ws.com/blog/how-to-backup-your-aws-cloud-based-postgresql-database.html">how to back up a PostgreSQL database hosted on an Amazon Web Services EC2 instance</a>
4578
4590
if managing your own database on a cloud server is your preferred setup.</p>
4579
4591
</li>
4580
4592
<li>
4581
4593
<p><ahref="https://tech.zalando.com/blog/hack-to-terminate-tcp-conn-postgres/">How to fix undead PostgreSQL queries</a>
4582
-
shows a bit of a hack for when what to do when you can't kill certain PostgreSQL
4583
-
queries.</p>
4594
+
shows a bit of a hack for when what to do when you can't kill certain
4595
+
PostgreSQL queries.</p>
4584
4596
</li>
4585
4597
<li>
4586
4598
<p><ahref="http://sdf.org/~riley/blog/2016/01/04/is-bi-directional-replication-bdr-in-postgres-transactional/">Is bi-directional replication (BDR) in PostgreSQL transactional?</a>
<p>This article explains how and why PostgreSQL can handle <ahref="http://blog.lostpropertyhq.com/postgres-full-text-search-is-good-enough/">full text searching</a>
126
-
for many use cases.</p>
126
+
<p>This article explains how and why PostgreSQL can handle
127
+
<ahref="http://blog.lostpropertyhq.com/postgres-full-text-search-is-good-enough/">full text searching</a>
128
+
for many use cases. If you're going down this route, read
129
+
<ahref="http://blog.garage-coding.com/2015/12/18/postgres-fulltext-search.html">this blog post that explains how one developer implemented PostgreSQL full text search with SQLAlchemy</a>.</p>
127
130
</li>
128
131
<li>
129
132
<p>If you're just getting started with PostgreSQL here are
<ahref="http://phili.pe/posts/postgresql-on-the-command-line/">comfortable with the command-line interface</a>.</p>
145
153
</li>
146
154
<li>
147
-
<p>Backing up databases is important because data loss can and does happen. This
148
-
article explains
155
+
<p>Backing up databases is important because data loss can and does happen.
156
+
This article explains
149
157
<ahref="http://www.n2ws.com/blog/how-to-backup-your-aws-cloud-based-postgresql-database.html">how to back up a PostgreSQL database hosted on an Amazon Web Services EC2 instance</a>
150
158
if managing your own database on a cloud server is your preferred setup.</p>
151
159
</li>
152
160
<li>
153
161
<p><ahref="https://tech.zalando.com/blog/hack-to-terminate-tcp-conn-postgres/">How to fix undead PostgreSQL queries</a>
154
-
shows a bit of a hack for when what to do when you can't kill certain PostgreSQL
155
-
queries.</p>
162
+
shows a bit of a hack for when what to do when you can't kill certain
163
+
PostgreSQL queries.</p>
156
164
</li>
157
165
<li>
158
166
<p><ahref="http://sdf.org/~riley/blog/2016/01/04/is-bi-directional-replication-bdr-in-postgres-transactional/">Is bi-directional replication (BDR) in PostgreSQL transactional?</a>
Copy file name to clipboardExpand all lines: source/content/pages/05-data/05-postgresql.markdown
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,8 @@ driver, which is also referred to as a database connector. The most common
50
50
driver library for working with PostgreSQL is
51
51
[psycopg2](http://initd.org/psycopg/).
52
52
53
-
In addition to the database driver, many Python developers use an
53
+
To abstract the connection between tables and objects, many Python
54
+
developers use an
54
55
[object-relational mapper (ORM)](/object-relational-mappers-orms.html) with
55
56
to turn relational data from PostgreSQL into objects that can be used in
56
57
their Python application. For example, while PostgreSQL provides a
@@ -97,31 +98,37 @@ The post is an inside look at the evolution of Braintree's usage of the database
97
98
provides a fascinating look into the internal workings of PostgreSQL
98
99
during a query.
99
100
100
-
* This article explains how and why PostgreSQL can handle [full text searching](http://blog.lostpropertyhq.com/postgres-full-text-search-is-good-enough/)
101
-
for many use cases.
101
+
* This article explains how and why PostgreSQL can handle
102
+
[full text searching](http://blog.lostpropertyhq.com/postgres-full-text-search-is-good-enough/)
103
+
for many use cases. If you're going down this route, read
104
+
[this blog post that explains how one developer implemented PostgreSQL full text search with SQLAlchemy](http://blog.garage-coding.com/2015/12/18/postgres-fulltext-search.html).
102
105
103
106
* If you're just getting started with PostgreSQL here are
104
107
[10 beginner tasks you should know how to execute](https://eye.raze.mx/10-beginner-postgresql-tasks-you-should-know/).
105
108
106
109
* The title's a bit presumptuous but here's a useful list of
107
110
[7 PostgreSQL data migration hacks you should be using, but aren't](http://engineering.tilt.com/7-postgresql-data-migration-hacks/).
is a list of code libraries, tutorials and newsletters focused
114
+
specifically on PostgreSQL.
115
+
116
+
* This
117
+
[guide to PostgreSQL monitoring](http://russ.garrett.co.uk/2015/10/02/postgres-monitoring-cheatsheet/)
111
118
is handy for knowing what to measure and how to do it.
112
119
113
120
* While you can use a graphical interface for working with PostgreSQL, it's
114
121
best to spend some time getting
115
122
[comfortable with the command-line interface](http://phili.pe/posts/postgresql-on-the-command-line/).
116
123
117
-
* Backing up databases is important because data loss can and does happen. This
118
-
article explains
124
+
* Backing up databases is important because data loss can and does happen.
125
+
This article explains
119
126
[how to back up a PostgreSQL database hosted on an Amazon Web Services EC2 instance](http://www.n2ws.com/blog/how-to-backup-your-aws-cloud-based-postgresql-database.html)
120
127
if managing your own database on a cloud server is your preferred setup.
121
128
122
129
*[How to fix undead PostgreSQL queries](https://tech.zalando.com/blog/hack-to-terminate-tcp-conn-postgres/)
123
-
shows a bit of a hack for when what to do when you can't kill certain PostgreSQL
124
-
queries.
130
+
shows a bit of a hack for when what to do when you can't kill certain
131
+
PostgreSQL queries.
125
132
126
133
*[Is bi-directional replication (BDR) in PostgreSQL transactional?](http://sdf.org/~riley/blog/2016/01/04/is-bi-directional-replication-bdr-in-postgres-transactional/)
127
134
explores a relatively obscure topic with the final result that BDR is
@@ -132,4 +139,3 @@ The post is an inside look at the evolution of Braintree's usage of the database
132
139
tool built by Spotify's engineers that extracts and outputs metrics from
133
140
an existing PostgreSQL database. There's also a way to extend the tools
0 commit comments