company logo

DatabaseHandle :: CheckDB - Check database consistency

The function checks database consistency for instances and indexes (see CheckDB utility).

Running CheckDB in client/server mode will close all clients using the database to be checked. As long as the CheckDB function is running, no new clients can be started. In client/server, one may call the function with a time interval, which defines the time period until clients are closed by the system.

Return value:  Success ( logical  )

Implementation details

logical DatabaseHandle  :: CheckDB ( CheckOptions check_opts, NString &extent_path )
  • check_opts - Check options

    Check options define the check functions to be performed and the database extents included in the check.

  • extent_path - Extent path