Data Structures for Range-Sum Queries (slides)

This week I attended the Canadian Undergraduate Mathematics Conference. I enjoyed talks from a number of branches of mathematics, and gave a talk of my own on range-sum queries. Essentially, range-aggregate queries are a class of database queries which involve taking an aggregate (in SQL terms, SUM, AVG, COUNT, MIN, etc.) over a set of data where the elements are filtered by simple inequality operators (in SQL terms, WHERE colname {<, <=, =, >=, >} value AND …). Range-sum queries are the subset of those queries where SUM is the aggregation function.

Due to the nature of the conference, I did my best to make things as accessible to someone with a general mathematics background rather than assuming familiarity with databases or order notation.

I’ve put the slides (pdf link, embedded below also) online. They may be hard to follow as slides, but I hope they pique your interest enough to check out the papers referenced at the end if that’s the sort of thing that interests you. I may turn them into a blog post at some point. The presentation begins with tabular data and shows some of the insights that led to the Dynamic Data Cube, which is a clever data structure for answering range-sum queries.

This entry was posted in Computer Science, Math. Bookmark the permalink.

One Response to Data Structures for Range-Sum Queries (slides)

  1. xiaojianguo says:

    Dear Paul Butler,

    I am from China and my name is Xiao jianguo, Today, I read a report about facebook, it said that Facebook internship engineer Paul Butler has been a global social relations drawn maps, this map image to show a gap of 1.3 billion people. The plan will use the Blue Line connecting people around the world, and China regions temporarily blank.

    I would like to have more communication with you.

    Best Regards

    Xiao jianguo

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>