Updated on 2024-08-20 GMT+08:00

DB4AI.PREPARE_SNAPSHOT

PREPARE_SNAPSHOT prepares data for model training and interprets snapshots for the DB4AI feature, as described in Table 1. A snapshot provides a complete sequence of data and documents that are changed by all applications. You can call this function by using the PREPARE SNAPSHOT syntax.

Table 1 DB4AI.PREPARE_SNAPSHOT input parameters and return values

Parameter

Type

Description

i_schema

IN NAME

Name of the schema storing snapshots. The default value is the current user or PUBLIC.

i_parent

IN NAME

Parent snapshot name.

i_commands

IN TEXT[]

DDL and DML commands for modifying snapshots.

i_vers

IN NAME

Version suffix.

i_comment

IN TEXT

Data comment.

res

OUT db4ai.snapshot_name

Result.