Friday, June 29, 2018

TopN for Your Postgres Database

People seem to love lists of the most popular things. I think this is true of many of us, including developers. Did you get all excited like I did and listen right away to every song on the list when Spotify released Your Top Songs 2017? When the Academy Awards were announced, did you check in on the candidates and winners? Did you pay attention to the medalists and top scoring hockey teams in the Winter Olympics?

Sometimes, this problem of finding the top on a list is referred to as the Top-K problem. Also, the Top "N" problem. Whether it's the top grossing sales reps or the most visited pages on your website, and whether you call it the Top K or the TopN, for most of us, there is usually something we want to know the top "N" of.



from DZone.com Feed https://ift.tt/2KoOWMj

No comments:

Post a Comment