Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9193

Re: Sybase Ase, Log Database Extend "DBIF_RSQL_SQL_ERROR dump"

$
0
0

Well, if that last image is a snapshot of the output from running 'sp_helpdb HCP' ... then it's showing that you keep adding the saptools* devices to the HCP database, ie, you're *NOT* adding the saptools* devices to the saptools database.

 

My guess is that you keep issuing "alter database HCP ..." while trying to increase the the size of the saptools databases.

 

When you should have been issuing "alter database saptools ..." in order to increase the size of the saptools database.

 

NOTICE the name of the database in included in the command 'alter database <dbname>' ... where <dbname> = HCP if you want to increase the size of the HCP database ... where <dbname> = saptools if you want to increase the size of the saptools database.

 

--------------------

 

From your latest sp_helpdb output it would appear that you've added the following to the HCP database today:

 

HCP_data_001             = 10GB (as data)

HCP_data_002             = 10GB (as data)

saptools_log_001         =  1GB (as data)

saptools_data_001        =  1GB (as data)

saptools_tempdb_data_001 =  1GB (as data)

HCP_log_001              = 10GB (as log)

HCP_log_002              = 10GB (as log)

saptools_data_001        =  1GB (as data)

 

That's a total of 24GB added as data, plus 20GB added as log ... to the HCP database.

 

This would seem to match up with your DBA Cockpit output that shows ... for the HCP database:

 

- 23GB free in the data segment (ie, you've already used up 1GB of the 24GB you allocated today)

 

- 40GB free in the logsegment (ie, you increased the log size from 20GB to 40GB even though you likely did not have a problem with the log being filled up)

 

And because you haven't been using the correct command (ie, "alter database saptools ...."), the size of your saptools database has not been increased (ie, the saptools database is still full as per DBA Cockpit).

 

To verify what I just said, try running the following at the isql prompt ...

 

=====================

use master

go


-- to get device allocations for the HCP database:

 

exec sp_helpdb HCP

go


-- to get device allocations for the saptools database:

 

exec sp_help saptools

go

=====================

 

... and see what shows up in the output for each of the databases (HCP vs saptools).


Viewing all articles
Browse latest Browse all 9193

Trending Articles