Shrink Database
Description
The plugin is designed to shrink database in SQL server. Most databases require some free space to be available for regular day-to-day operations. If you shrink a database repeatedly and notice that the database size grows again, this indicates that the space that was shrunk is required for regular operations.
Configurations
No. | Field Name | Description |
---|---|---|
1 | Step Name | Name of the step. This name has to be unique in a single workflow. |
Connection: | ||
2 | Server Name | The Hostname/Server Name/IP of the MSSQL Server. This field is mandatory. Drop down is available. |
3 | Instance name | The instance name of MSSQL Server instance. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed. |
4 | Port Number | The port number of the MSSQL Server. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed. |
5 | Username | A username of the MSSQL Server. This field is mandatory. |
Password | ||
6 | Checkbox: Accept Value as variable/static | Leave checkbox unchecked to accept Password value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Password field to appear as Text box. |
7 | Password | Provide the password of the username of MSSQL Server. Password is entered using a widget. The widget handles both Text Var(static value or environment variable) and Combo(drop down containing values from previous steps). This field is mandatory. If checkbox above is enabled Password field appears as Text box. Else if checkbox above is disabled Password field appears as a drop down to select fields from previous steps. |
8 | Other Connection Parameter | Specify multiple, semi-colon separated parameters other than the default connection parameters. Other connection parameters will be appended to the default connection parameters. Example of default connection parameters: Server Name, Password. Examples of other connection parameters: encrypt=false;trustServerCertificate=false |
Button | ||
9 | Test Connection | Verifies whether the connection is established or not. NOTE: Test Connection button does not work for previous step fields. Test Connection button only works with static values and environment variables. |
1 | Input Fields | |
2 | Database | Name of the Database which to shrink. Field value is to be selected from the prompt by clicking on the Get databases button. This field is mandatory. |
3 | Button: | |
4 | Select databases | Clicking on this button brings a dialog for the available databases on that particular SQL server instance. This field is mandatory.Select Database button does not work for previous step variables. Select Database button only works with static values and environment variables. |
Output Field: | ||
1 | Result | Output field to hold the result of the successful plugin execution. This field is mandatory. |
Error Handling | ||
Refer Appendix 1: Error Handling in IT Plugins |