Modify transient storage pool - connect_cdc_sqdata - Latest

Connect CDC (SQData) Change Data Capture

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Change Data Capture
Copyright
2024
First publish date
2000
ft:lastEdition
2024-09-05
ft:lastPublication
2024-09-05T15:00:09.754973

The parameters controlling the Storage Pool can be modified dynamically, without stopping the Storage Agent, using the SQDCONF utility. Like the initial configuration of the Storage Agent, sequences of SQDCONF commands to modify the storage agent can/should be stored in Shell Scripts. See SQDCONF Utility for a full explanation of each command, their respective parameters and the utility's operational considerations.

Syntax

The following sequence of SQDCONF commands will be used to modify the storage pool managed by the CDCStore Storage agent:

$ sqdconfmodify /<SQDATA_VAR_DIR>/udbcdc/udbcdc_store.cab --number-of-blocks=<blocks_per_file> --number-of-logfiles=<number_of_files> --data-path=<directory_name)

Keyword and Parameter Descriptions
Keyword Description
<cab_file_name> This is where the Storage Agent configuration file is stored. There is only one CAB file per Storage Agent. In our example //<SQDATA_VAR_DIR>/udbcdc/oracdc.cab
<blocks_per_file> The number of 8MB blocks that will be allocated for each File defined for transient CDC storage. In our example we started with 32.
<number_of_files> How many files are allocated for transient storage CDC storage. In our example we started with 8.
<directory_name>

The directory(s) created for the transient storage files. In our example the first directory was: /<SQDATA_VAR_DIR>/udbcdc/data

Example
  1. Execute the SQDCONF modify command:
    $ sqdconf modify /<SQDATA_VAR_DIR>/udbcdc/udbcdc_store.cab 
                --number-of-blocks=40 --number-of-logfiles=20
                --data-path=/<SQDATA_VAR_DIR>/udbcdc/data
  2. Execute the SQDCONF display command:
    $ sqdconfdisplay /<SQDATA_VAR_DIR>/udbcdc/udbcdc_store.cab --details
  3. Modify the value of --number-of-blocks=<blocks_per_file>will only affect new files allocated.
  4. Changes to the value of --number-of-logfiles=<number_of_files> to take affect immediately.
  5. Add Storage pool directories using --data-path=<directory_name) will be used only after all --number-of logfiles=<number_of_files> have been created and filled.
  6. No files or Directories once allocated and used will be freed or released by the Storage Agent while it is running.