...

/

Advanced Tag Indexing

Advanced Tag Indexing

Learn tag indexing using an extension provided in PostgreSQL.

We'll cover the following...

Handling user-defined tags can be challenging in SQL when it comes to allowing advanced user queries. To illustrate the point here, we’re going to index and search for Last.fm tracks that are tagged as blues and rhythm and blues.

Using the Last.fm dataset from the Million Song Dataset project provides a dataset that we can reuse that is full of tracks and their user tags.

The intarray extension

PostgreSQL comes with plenty of interesting data ...