dpdbadmin removeauditpartitioning
  • 08 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

dpdbadmin removeauditpartitioning

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

The dpdbadmin removeauditpartitioning command removes any partitioning of the audit tables (vdsAuditMsg, vdsAuditMsgField) previously created using dpdbadmin partitionaudittables. The partitions are merged back into one big table, all data is preserved.

If you have created a scheduled stored procedure with the dpdbadmin scheduleauditpartitioning command, the stored procedure and the database event to trigger it are removed as well.

If you have a lot of audit data, this operation can take some time to complete.

This command is only supported for MariaDB.

Syntax

dpdbadmin removeauditpartitioning –d dsn [OPTION]...

where dsn is the ODBC data source name.

Command-line options

Table: dpdbadmin removeauditpartitioning command-line options
OptionParameterDescription
‑d, ‑dsndsnRequired. ODBC data source name (DSN), e.g. "IAS embedded database".
‑h, ‑help Show help and usage information.
‑l, ‑loglogfileWrite output to logfile.
‑p, ‑passworddbpassword

Optional. Password of the database administrator.

This option can be omitted if the database administrator account has a blank password.

‑q Quiet mode. Do not output commentary text.
‑synctimeouttimeoutThe timeout in seconds to synchronize with other dpdbadmin instances.
‑u, ‑userdbusernameOptional. User name of a database administrator (if required).
‑unlockdb Unlock a database synchronization lock used to protect the database schema against concurrent schema modifications.
‑v, ‑verbose Print verbose output. Can be specified twice to be more verbose.
‑y, ‑assume‑yes Run the command non-interactively and assume Yes as answer to all confirmation prompts.

Exit codes

Table: dpdbadmin removeauditpartitioning exit codes
Exit codeDescription
0The command completed successfully.
1The command has been aborted by the user.
2The command failed due to an unspecified error.
3The specified parameters are invalid.
4The command failed due to an error.
5The database authentication failed.

Examples

To remove any partitioning of the existing audit tables in the database connected to using the data source name IAS embedded database and the user credentials digipass and digipassword type:

dpdbadmin removeauditpartitioning –u digipass –p digipassword –d "IAS embedded database"


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle