Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2442: Using DirectAudit SDK to create a database and set autogrowth as 'restricted'

Centrify DirectAudit ,  

12 April,16 at 11:44 AM

Applies to:

 

Centrify DirectAudit 2.x SDK

 

 

 

 

Question: 

 

Using the DirectAudit SDK to create and manage the database, it is noticed that the API creates a database and then sets the autogrowth default property to 'unrestricted'. 

This has the potential to completely fill up the disk and cause further issues.

Is it possible to set autogrowth to 'restricted' while creating the database?

 

Answer:

 

Use db_rotation_sql_script.vbs instead of db_rotation.vbs and modify SetupServer.sql (this file is in the same location as db_rotation_sql_script.vbs).

 

Search for CREATE DATABASE and locate the "MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB" sql statement, modify the MAXSIZE value to the desired size.

 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.

Related Articles

No related Articles