def METHOD_NAME(argv):
    options = getOptions(argv)
    default_db = "heavyai"
    heavyai_con = get_connection(options, default_db)
    if not options.skip_object_creation:
        print("Creating database objects")
        for db_id in range(options.database_count):
            create_database(heavyai_con, db_id)
            db_name = f"test_db_{db_id}"
            heavyai_con = get_connection(options, db_name)
            for table_id in range(options.table_count):
                create_insert_and_select_from_table(heavyai_con, table_id)
            print(f"{options.table_count} tables created for {db_name}")
            for dashboard_id in range(options.dashboard_count):
                create_dashboard(heavyai_con, dashboard_id)
            print(f"{options.dashboard_count} dashboards created for {db_name}")
        print(f"{options.database_count} databases created")
        heavyai_con = get_connection(options, default_db)
        for user_id in range(options.user_count):
            create_user(heavyai_con, user_id)
        print(f"{options.user_count} users created")
        for role_id in range(options.role_count):
            create_role(heavyai_con, role_id)
        print(f"{options.role_count} roles created")
        half_roles = int(options.role_count / 2)
        for user_id in range(options.user_count):
            for role_id in range(half_roles):
                assign_role(heavyai_con, user_id, role_id)
        if options.database_count > 0:
            db_id = 0
            for role_id in range(half_roles):
                grant_role_table_select(heavyai_con, role_id + half_roles, db_id)
            half_users = int(options.user_count / 2)
            for user_id in range(half_users):
                grant_user_table_select(heavyai_con, user_id + half_users, db_id)
    system_tables = ["tables",
                     "dashboards",
                     "databases",
                     "users",
                     "permissions",
                     "role_assignments",
                     "roles",
                     "storage_details",
                     "memory_details",
                     "memory_summary"]
    heavyai_con = get_connection(options, "information_schema")
    print("Executing system table queries")
    for table_name in system_tables:
        query_and_time_system_table(heavyai_con, table_name)
    if not options.skip_object_deletion:
        heavyai_con = get_connection(options, default_db)
        print("Dropping databases")
        for db_id in range(options.database_count):
            drop_database(heavyai_con, db_id)
        print("Dropping users")
        for user_id in range(options.user_count):
            drop_user(heavyai_con, user_id)
        print("Dropping roles")
        for role_id in range(options.role_count):
            drop_role(heavyai_con, role_id)