Quantcast
Channel: SCN: Message List - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all 3678 articles
Browse latest View live

Re: Fuctions reserved_pages and curunreservedpgs

$
0
0

Thanks a ton Hans for sharing the script.I also have similiar view wrt curnreservedpgs I amgoing through your script.


Re: ATM configuration in Sybase

$
0
0

Hello Jan,

 

I have one question regarding ATM jobs.

It has been seen many times that ATM default job ( 24 hours all day ) stops due to some reason and went to 'schedule.

One of the reason due to 'Could not acquire lock within specific period ... " found in ATM log.

 

My question is, could there any way where we can automatically monitor thse ATM jobs and get notification if job go in to 'Schedule' state and stop working.

 

- Akash

Filesystems on ASE 16

$
0
0

Hi Gurus,

 

I am preparing an system to install ERP 6.0 EHP8 on SUSE12 and ASE 16

 

For the same, I referred some notes to create the required filesystems but could not find the precise SAP note

 

Can anyone of you please guide me on the same?

 

Meanwhile I have requested our infra team to prepare the following. Is any other filesystem required?

 

/sybase/<DBSID>                              5GB

/sybase/<DBSID>/sybsystem          2GB

/sybase/<DBSID>/sybtemp             5GB

/sybase/<DBSID>/saptemp             5GB

/sybase/<DBSID>/sapdiag              5GB

/sybase/<DBSID>/sapdata1          50GB

/sybase/<DBSID>/sapdata2          50GB

/sybase/<DBSID>/sapdata3          50GB

/sybase/<DBSID>/sapdata4          50GB

/sybase/<DBSID>/saplog1            20GB

/usr/sap                                         25GB

/sapmnt/<SID>                              20GB

/sapdump                                      100 GB

 

R..../-

Re: Filesystems on ASE 16

Duplicate dumps created without schedule and server process stops.

$
0
0

Hi,

 

I have scheduled the sybase database backup like master, sybmgmt, saptools, SID etc on alternate days at different time interval.

backup Schedule.PNG

Recurrence pattern.PNG

 

For the above activity I have followed SAP note 1588316, but the backup happens in the multiple times like on 1st day all databases are backed up once and 2nd day twice and kept on increasing without missing a single day.


Backup issue.PNG

after selecting the other intervals system shows


"This action has not been scheduled via the DBA Planning Calendar. Therefore parameter settings are not available."


Regards,


Pallav Thakur



Re: How to update statistic of a single table

$
0
0

Hi Everyone,

 

This is the path to update the statistics for a single table which is running on MSSQL Server.

 

 

dbacockpit --> space --> single table analysis --> table name: XXXXXX --> index analysis --> update statistics

 

Hope this will help,

 

Cheers,

Bharath

DBA Cockpit not showing any data even after applying the related snote

Re: DBA Cockpit not showing any data even after applying the related snote

$
0
0

Hi Experts,

 

Thanks, corrected the DB connection via DBCO tcode and now it's appearing as expected.

 

Thanks

Narasimhan Krishna


Re: Needs to change Wash area and Default data cache for (128)

$
0
0

Hi,

 

here are the commands:

 

2) for the wash area of the 16k pool:

sp_poolconfig  "default data cache", "16K", "wash=4950M"

 

3) for the 128k pool:

sp_poolconfig "default data cache", "12375M", "16K"

 

4) for the wash area of the 128k pool:

sp_poolconfig  "default data cache", "128K", "wash=1238M"

 

Please run sp_cacheconfig to verify the configuration.

 

(If your ASE does not have enough memory, you can assign more memory using sp_configure:

sp_configure 'max memory', new_value

)

 

Best regards,

Juergen

Re: Needs to change Wash area and Default data cache for (128)

$
0
0

Hi Hans,

 

Please find below log

 

1> sp_poolconfig  "default data cache", "16K", "wash=4950M"

2> go

(1 row affected)

(return status = 0)  --> Worked

 

Got below as error.

 

1> sp_poolconfig "default data cache", "12375M", "16K"

2> go

Msg 18144, Level 16, State 1:

Server 'TST', Procedure 'sp_do_poolconfig', Line 720:

Source pool (1p) and destination pool (16K) are the same pool. The source and

destination pools must be different.

(return status = 1)

 

1> sp_poolconfig  "default data cache", "128K", "wash=1238M"

2> go

Msg 18148, Level 16, State 1:

Server 'TST', Procedure 'sp_do_poolconfig', Line 406:

The specified pool (128K) does not exist in named cache 'default data cache'.

(return status = 1)

 

 

Please advice.

 

Regards,

Karhtik

Re: Needs to change Wash area and Default data cache for (128)

$
0
0

Hi,

 

sorry it was typo. In step (3) we didn't create a 128k pool. So please change step (3) to:

 

sp_poolconfig "default data cache", "12375M", "128K"


Step (4) should work now as the 128k pool exists.

 

Best regards,

Juergen

Re: Needs to change Wash area and Default data cache for (128)

$
0
0

Hi Hans,

 

The below is not working....

 

1> sp_poolconfig

2> go

Msg 18135, Level 16, State 1:

Server 'TST', Procedure 'sp_cacheconfig', Line 353:

The specified named cache 'default databases cache' does not exist.

(return status = 0)

1>

 

Regards,

Karthik

Re: Needs to change Wash area and Default data cache for (128)

$
0
0

Hi,

 

according to the manuals sp_poolconfig has cache_name as mandatory input parameter (ASE 15 and 16 are the same):

sp_poolconfig - Reference Manual: Procedures - SAP Library

sp_poolconfig <cache_name>

 

 

This the output from ASE15.7; a cache name is required:

1> sp_poolconfig

2> go

Msg 18138, Level 16, State 1:

Server 'MYASE', Procedure 'sp_do_poolconfig', Line 165:

A cache name must be supplied.

(1 row affected)

(return status = 1)

 

Anyway I'm a bit suprised about the error message in your post. The default cache is called "default data cache" and not "default databases cache". So if sp_poolconfig has an undocumented default, it would be "default data cache". But I do not have an ASE 16 for checking this.

 

Best regards,

Juergen

Re: Duplicate dumps created without schedule and server process stops.

$
0
0

Hello Pallav,

 

It is very difficult to diagnose the problem only based on the information above, you can start by ensuring you have the DBA Corrections collection SAP Note implemented in your system, depending on your BASIS version:

 

SYB: DBA Cockpit Correction Collection SAP Basis 7.02 / 7.30

SYB: DBA Cockpit Correction Collection SAP Basis 7.31

SYB: DBA Cockpit Correction Collection SAP Basis 7.40

 

Then, check the JS Agent and Backup Server logs, to try to understand the logic of the dumps occurrences.

Finally, perhaps, testing first with one or two databases.

 

HTH

 

Regards,

 

Cris

startdb terminating with error code 13 (ASE 16.0)

$
0
0

Hi ,

 

database failed to start up with error code 13.

 

Here is the SID.log

 

00:0000:00000:00000:2016/03/15 10:29:35.15 kernel  SySAM: Using licenses from: /sybase/LVQ/SYSAM-2_0/licenses/SYBASE.lic:/sybase/SID/SYSAM-2_0/licenses/SYBASE_ASE_DE.lic:/sybase/LVQ/SYSAM-2_0/licenses/SYBASE_ASE_XE.lic

00:0000:00000:00000:2016/03/15 10:29:35.21 kernel  SySAM: Checked out license for 8 ASE_CORE (2020.1231/permanent/100C 0F04 3F88 1821).

00:0000:00000:00000:2016/03/15 10:29:35.21 kernel  This product is licensed to: SAP, for use with SAP Business Applications.

00:0000:00000:00000:2016/03/15 10:29:35.21 kernel  Checked out license ASE_CORE

00:0000:00000:00000:2016/03/15 10:29:35.21 kernel  Adaptive Server Enterprise (Enterprise Edition)

00:0000:00000:00000:2016/03/15 10:29:35.21 kernel  Using config area from primary master device.

00:0000:00000:00000:2016/03/15 10:29:35.21 server  Configuration Error: The Server Default Data Cache should be named as 'default data cache'.

 

Could you please help me on this.

 

Regards

Suresh


Re: startdb terminating with error code 13 (ASE 16.0)

$
0
0

Hello Suresh,

 

 

Can you give me the output of

 

cat SID.cfg | egrep 'cache'

 

from sybase home directory

 

Regards,

Ajith Prabhakaran

Re: startdb terminating with error code 13 (ASE 16.0)

$
0
0

Hi Ajith,

 

Thansk for the reply.

 

please find the below output.

 

[root@ssssvr ASE-16_0]# cat SID.cfg | egrep 'cache'

        global cache partition number = 8

        extended cache size = DEFAULT

[Named Cache:default data cache]

        cache size = 4500000K

        cache status = default data cache

        cache replacement policy = DEFAULT

        local cache partition number = DEFAULT

        engine local cache percent = DEFAULT

        size of unilib cache = 524288

        abstract plan cache = DEFAULT

        statement cache size = 51200

        procedure cache size = 1755000

        permission cache entries = 128

        user log cache queue size = DEFAULT

        user log cache size = DEFAULT

        user log cache spinlock ratio = 5

        session tempdb log cache size = 32768

        column default cache size = DEFAULT

        enable stmt cache monitoring = 1

        workload manager cache size = 145

[root@sssvr ASE-16_0]#

Re: startdb terminating with error code 13 (ASE 16.0)

$
0
0


Dear Suresh,


Was actually bothered of the caches, if you had renamed it.

But from config files, I do not see anything fishy.


Did you get a chance to check the sap notes 1790207 - SYB: startdb terminates with error code 13  and note 1796535 - SYB: Start and stop database without SUID bit for sybctrl which deal with the similar issue and update the kernel.


Have you recently upgraded to ASE16?


Regards,

Ajith Prabhakaran


Re: Tempdb with wrongly assigned device fragements

Re: Tempdb with wrongly assigned device fragements

$
0
0

Should that necessarily be a problem, excluding the said fact?

 

Honestly how severe this can be, i am a little hesitant here to update the system tables, as this is being done on PROD environment.

 

Backing up the master database. Anything else i need to take care of?

tables such as sysusages as well?

 

Regards,

Ajith Prabhakaran

Viewing all 3678 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>