Chapter 60. UTL_RECOMP

Table of Contents

60.1. Overview
60.2. Procedures
60.2.1. RECOMP_SERIAL

This chapter briefly introduces the UTL_RECOMP package, and describes how to use the procedures of the package.

60.1. Overview

UTL_RECOMP is used to recompile invalid objects including functions, procedures, views, triggers, packages, and types. This can only be used by a SYS user. Other DDLs cannot be executed while executing these procedures in Tibero since this can cause a deadlock to occur.

60.2. Procedures

This section describes the procedure provided by the DBMS_ROWID package.

60.2.1. RECOMP_SERIAL

Recompiles invalid objects in order.

Details about the RECOMP_SERIAL procedure are as follows:

  • Prototype

    PROCEDURE RECOMP_SERIAL
    (
       schema IN VARCHAR2 DEFAULT NULL
    );
  • Parameter

    ParameterDescription
    schemaOwner of the objects to recompile. If set to NULL, all invalid objects in the database are recompiled.
  • Example

    exec UTL_RECOMP.RECOMP_SERIAL();
    /