def block_offset_bounds(self, namespace):
        """Get the minimum and maximum block offset for the specified
        namespace"""
        cursor = self.cursor
        cursor.execute('SELECT MIN("offset"), MAX("offset") '
                       'FROM gauged_statistics WHERE namespace = %s',
                       (namespace,))
        return cursor.fetchone()