def getSizeUserIndexes(cursor):
    """ Get the size of the user indexes"""
    try:
        cursor.execute("select sum(leaf_blocks * 0.0078125) from USER_INDEXES")
        size = cursor.fetchall()[0][0]
        if size == None:
            size = 0
    except:
        size = 0
    return size