Basic DBA Tasks
Basic DBA Tasks
Remote Control
Figure: Control Main Screen with a WARM Database The top bar on the graph above shows the current utilization of the database as a percentage of the whole space allocated to it on physical data disks. In this example, the actual data is using 54% of the memory designated for data. The other bars on the graph refer to the space allocated for the transaction log and the number of sessions. The DBA needs to monitor the log usage and start a manual backup of the log or of a log segment, when this becomes necessary. After a save of a log segment, the utilization level of the log will decrease accordingly.
Remote Control
To use the GUI tool for the same procedure, call adcontrol In the left hand partial window, you are provided with a list of all databases already installed. By mouse click on the icon of the desired database, you can display the operating menu. Then clicking on the "InfoSheet" item displays the connect screen for that database. If you have entered the name and password of the controluser, you obtain the same information about the running database as described above. For a short introductory description of the workings of Remote Control, take a look at the last paragraph of Section 2.
Remote Control
Instruct the Control Program to increase the database size by selecting Alter Configuration on the Configuration menu bar; click Add Devspace : Set the number of 4 KB pages to be added by typing: 4000 in the Size in pages field; press the Enter key. Specify a file name for the memory increase. In the Name field, type: NEWDATA and press the Enter key. You will be prompted twice to verify that you want to extend the size of your SERVERDB with the space defined as NEWDATA. After confirmation of this increase, Control will allocate this space on your physical disk for the database TESTDB. You will be returned to the Control main menu screen.
Remote Control
Using Remote Control you will find this function in the following way: Expand the tree belonging to the database you want to work with. Then click on the directory icon "Configuration", then on the icon "Devices". The main window then displays a screen where you can modify the devspaces or define new ones.
Remote Control
Figure: A backup media definition for a full SAVE DATA in Control The program prompts you to verify this medium, FULLSAVE. Click Ok to confirm. The Insert Label window appears. The medium label uniquely identifies the tape and must be written to the sticker of the tape, if a tape is used. (see Section, Medium Label in the Control manual). To instruct the program to proceed with the backup, Click Ok. The Control program will perform a full backup save of all the data in the database. When finished, the screen will read, Data Save successfully finished. The backup save is complete. Click End to exit the backup program
Remote Control
Using Remote Control, you will find this function in the following way: After having activated the operating menu of the desired database, click on the icon "SaveOperations". For defining a medium, there is a separate "Media Manager" icon. The further required menu items will be displayed.