andychatfield
Technical User
I am running out of space on the C: of our NT server. I am trying to defragment the 2 largest databases (astpsdat and asobject) and have come across a couple of problems.
1. I am not sure whether this is a problem or not, but when the database pruning job starts it finishes almost immediately informing me it has been successful . When I look in the database window of Arcserve manager and there remains a very long list of Job and Media records dating back much longer than the 15 days pruning time. Should these have been removed?
2. VLDB Utilities.
I have successfully carried out the DBcheck utility on the 2 databases I am interested in but it goes a bit pear shape from there.
I believe the next stage is to run dbdefrag. Here's the command: dbdefrag -L arcserve;admin;secret Astpsdat.
When I try to run the following text appears:
DBSTAT result: Unable to open database Astpsdat
DBSTAT Completed
If I stop and restart the Database service and try again it seems to work and very quickly returns the following results ( sorry if this is a bit long):
DBSTAT Utility - Velocis 2.1.399 [09-Feb-2000]
Copyright (c) 1992-2000 Centura Software Corporation. All Rights Reserved.
###########################################################
Database(s) : astpsdat
Maximum blocksize is 8192.
Blocksize is 1024.
###########################################################
***********************************************************
Database astpsdat has been opened for analysis
***********************************************************
Checking data file astpsdat.000.
The following record types are in this file
Record type DETAIL_RECORD = 56 bytes.
Slot size = 56 bytes.
Page size = 4096 bytes.
Slots per Page = 73.
1024 18 16 1.56%
2048 36 32 1.56%
3072 54 48 1.56%
* 4096 73 8 0.20%
5120 91 24 0.47%
6144 109 41 0.65%
7168 127 56 0.78%
8192 146 16 0.20%
***********************************************************
Checking key file astpsdat.001.
The following key fields are in this file
Key field KEY_TAPEVIEW = 8 bytes.
Slot size = 20 bytes.
Page size = 4096 bytes.
Slots per Page = 204.
1024 50 24 2.34%
2048 101 28 1.37%
3072 153 12 0.39%
* 4096 204 16 0.39%
5120 255 20 0.39%
6144 306 24 0.39%
7168 357 28 0.39%
8192 409 12 0.15%
***********************************************************
Checking key file astpsdat.002.
The following key fields are in this file
Key field KEY_LONGNAMEID = 4 bytes.
Slot size = 16 bytes.
Page size = 4096 bytes.
Slots per Page = 255.
1024 63 16 1.56%
2048 127 16 0.78%
3072 191 16 0.52%
* 4096 255 16 0.39%
5120 319 16 0.31%
6144 383 16 0.26%
7168 447 16 0.22%
8192 511 16 0.20%
***********************************************************
DBSTAT Completed
What does all of this mean? Has the database been defragmented?
The next thing I've tried is the Keybuild command:
keybuild -k -L arcserve;admin;secret astpsdat
This returns the following error:
Error: Invalid option flag '-K'
Also displays the usage information but i'm not really sure what it means.
I would greatly appreciate any help on this as we are getting vary tight for space. Down to 228mb free (is this the problem)
Thanks
1. I am not sure whether this is a problem or not, but when the database pruning job starts it finishes almost immediately informing me it has been successful . When I look in the database window of Arcserve manager and there remains a very long list of Job and Media records dating back much longer than the 15 days pruning time. Should these have been removed?
2. VLDB Utilities.
I have successfully carried out the DBcheck utility on the 2 databases I am interested in but it goes a bit pear shape from there.
I believe the next stage is to run dbdefrag. Here's the command: dbdefrag -L arcserve;admin;secret Astpsdat.
When I try to run the following text appears:
DBSTAT result: Unable to open database Astpsdat
DBSTAT Completed
If I stop and restart the Database service and try again it seems to work and very quickly returns the following results ( sorry if this is a bit long):
DBSTAT Utility - Velocis 2.1.399 [09-Feb-2000]
Copyright (c) 1992-2000 Centura Software Corporation. All Rights Reserved.
###########################################################
Database(s) : astpsdat
Maximum blocksize is 8192.
Blocksize is 1024.
###########################################################
***********************************************************
Database astpsdat has been opened for analysis
***********************************************************
Checking data file astpsdat.000.
The following record types are in this file
Record type DETAIL_RECORD = 56 bytes.
Slot size = 56 bytes.
Page size = 4096 bytes.
Slots per Page = 73.
1024 18 16 1.56%
2048 36 32 1.56%
3072 54 48 1.56%
* 4096 73 8 0.20%
5120 91 24 0.47%
6144 109 41 0.65%
7168 127 56 0.78%
8192 146 16 0.20%
***********************************************************
Checking key file astpsdat.001.
The following key fields are in this file
Key field KEY_TAPEVIEW = 8 bytes.
Slot size = 20 bytes.
Page size = 4096 bytes.
Slots per Page = 204.
1024 50 24 2.34%
2048 101 28 1.37%
3072 153 12 0.39%
* 4096 204 16 0.39%
5120 255 20 0.39%
6144 306 24 0.39%
7168 357 28 0.39%
8192 409 12 0.15%
***********************************************************
Checking key file astpsdat.002.
The following key fields are in this file
Key field KEY_LONGNAMEID = 4 bytes.
Slot size = 16 bytes.
Page size = 4096 bytes.
Slots per Page = 255.
1024 63 16 1.56%
2048 127 16 0.78%
3072 191 16 0.52%
* 4096 255 16 0.39%
5120 319 16 0.31%
6144 383 16 0.26%
7168 447 16 0.22%
8192 511 16 0.20%
***********************************************************
DBSTAT Completed
What does all of this mean? Has the database been defragmented?
The next thing I've tried is the Keybuild command:
keybuild -k -L arcserve;admin;secret astpsdat
This returns the following error:
Error: Invalid option flag '-K'
Also displays the usage information but i'm not really sure what it means.
I would greatly appreciate any help on this as we are getting vary tight for space. Down to 228mb free (is this the problem)
Thanks