edmiRemoteShrinkDatabase

EdmiError edmiRemoteShrinkDatabase(SdaiServerContext       serverContextId,
                                   SdaiString              location,
                                   SdaiString              databaseName,
                                   SdaiString              password,
                                   SdaiString              repositoryName,
                                   SdaiString              modelName,
                                   SdaiInteger             minModelSize,
                                   SdaiInteger             minLostPercentage,
                                   SdaiOptions             options,
                                   SdaiInvocationId       *edmiInvocationId); 


Shrinks a remote EDMdatabase, which is to regain disk pages that are lost during database update transactions.

edmiRemoteShrinkDatabase is an extension edmiRemoteOpenDatabase. This means that the database must be closed when edmiRemoteShrinkDatabase is called. The database is opened when edmiRemoteShrinkDatabase is finished. Later there will be implemented an option saying that the database shall be left closed after edmiRemoteShrinkDatabase is called .

Arguments


TypeNameComment
SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

SdaiString

location

The full path to the directory on the remote file system where the EDMdatabase is located. The directory delimiter is '/' on UNIX platforms and '\' on Windows platforms.

SdaiString

databaseName

The name of the  EDMdatabase to open.  EDMdatabase names are case sensitive on UNIX platforms and case insensitive on Windows platforms.

SdaiString

password

The password for the EDMdatabase.

SdaiString

repositoryName

The name of the repository in the remote  EDMdatabase  that contains the model to shrink. Repository names are case sensitive. If not specified, all models are candidates for shrinking.

SdaiString

modelName

The name of the model to shrink. Model names are case sensitive. If not specified, all models are candidates for shrinking.

SdaiString

minModelSize

If specified, only models with size bigger than the specified are shrinked. If not specified, all models are candidates for shrinking.

SdaiString

minReductionPercentage

if specified. only models where shrink reduction is greater than the specified percentage are shrinked. If not specified, all models are candidates for shrinking.

SdaiString

options

The password for the EDMdatabase. The password is defined by the edmiCreateDatabase function.

SdaiInvocationId*

edmiInvocationId

Not used

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

 

 

See also

Filter by label

There are no items with the selected labels at this time.

Â