IRPCVaultsAdmin.OptimizeVaultMetaDataDatabase

View as Markdown

Administration API / specialized admin session

Optimizes the metadata database of a vault.

ServiceVault management MFiles.IRPCVaultsAdmin
gRPC method/MFiles.IRPCVaultsAdmin/OptimizeVaultMetaDataDatabase
HTTP (mf-http-grpc)POST /grpc/v1/optimize-vault-meta-data-database
RequestOptimizeVaultMetaDataDatabaseRequest
ResponseOptimizeVaultMetaDataDatabaseResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: OptimizeVaultMetaDataDatabaseRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
optimize_vault_jobOptimizeVaultJobThe optimization to run: the vault (vault_guid), quick or thorough (flags.is_thorough), whether to garbage-collect files of destroyed objects (flags.garbage_collect_files), and when to cancel automatically.
optimize_vault_job.vault_guidstringThe GUID of the vault.
optimize_vault_job.flagsOPTIMIZEVAULTFLAGSFlags that control the execution of this job.
optimize_vault_job.flags.allboolSpecifies all flags set; Including any future flags.
optimize_vault_job.flags.is_thoroughboolThorough or quick optimization? In quick mode, only the indexes of the metadata database are refreshed. Thorough optimization performs a garbage-collection in the database and rebuilds indexes. The quick mode optimization is an online activity whereas the thorough mode optimization takes the vault offline.
optimize_vault_job.flags.garbage_collect_filesboolDirects the optimization job to destroy garbage-collected data files that stand for destroyed objects.
optimize_vault_job.auto_cancel_optionsOptimizeVaultAutoCancelOptionsAuto-cancel options.
optimize_vault_job.auto_cancel_options.auto_cancelboolTrue if auto-cancel is enabled.
optimize_vault_job.auto_cancel_options.auto_cancel_dayWeekdayDay when the job is auto-cancelled.Values: WEEKDAY_NONE (0), WEEKDAY_MONDAY (1), WEEKDAY_TUESDAY (2), WEEKDAY_WEDNESDAY (3), WEEKDAY_THURSDAY (4), WEEKDAY_FRIDAY (5), WEEKDAY_SATURDAY (6), WEEKDAY_SUNDAY (7).
optimize_vault_job.auto_cancel_options.auto_cancel_timegoogle.protobuf.TimestampTime when the job is auto-cancelled.
optimize_vault_job.auto_cancel_options.continuableboolTrue if a cancelled optimization job can be continued on the next run.

Response: OptimizeVaultMetaDataDatabaseResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
task_idint32The ID of the scheduled job that runs the optimization.