2. Agenda
Focus is DEMOS!
We will do a few slides and then it’s all show and tell (sorry no milk and cookies)
1. JSON(B)
2. Full Text Search
3. Spatial in the database
4. R in PostgreSQL (PL/R) (demo only) or containers or Functions
8. JSON(B)
1. Don’t bother with JSON - which is just basically a text field - go with JSONB
2. Don’t bother with HSTORE - key/value pairs is just a single level JSON
3. With PostgreSQL 12 we now have the SQL spec for JSONPath
4. You DON’T need Mongo
https://www.postgresql.org/docs/11/datatype-json.html
https://www.postgresql.org/docs/11/functions-json.html
9. Free-text search
1. We are not talking about ngrams or LIKE/ILIKE
2. This is a full text engine like Lucene
3. Documentation is rough on this one
https://www.postgresql.org/docs/11/textsearch.html
https://www.postgresql.eu/events/pgconfeu2018/sessions/session/2116/slides/1
37/pgconf.eu-2018-fts.pdf
You will need this debugging section -
https://www.postgresql.org/docs/11/textsearch-debugging.html
10. PostGIS
1. Spatial Data and operations natively in the database
2. The Gold standard for geospatial
3. Much much more than closest starbuck
https://postgis.net/
11. R in PostgreSQL
1. R is huge (and beautiful) language for statistics and data analysis - it’s a whole
other programming language to learn
2. Same as any other language extension, like PL/Python or PL/Java
3. Clear Boundaries - Infinite Possibilities
https://github.com/postgres-plr/plr
12. Big Take Homes
1. This is fun
2. This is powerful
3. We just scratched the surface
4. You can mix and match any of the things we work with