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