Quantcast
Channel: SCN : Popular Discussions - SAP MaxDB
Viewing all 1545 articles
Browse latest View live

Tuning Redhat Linux OS parameters

$
0
0

Hello,

 

I've been reading the following notes:

 

Note 487972 - Tuning Livecache to the Linux OS

Note 767635 - MaxDB Version 7.5 parameter settings for OLTP/BW

Note 337445 - liveCache and memory management

Note 487972 - Operating system parameterization of liveCache

Note 941735 - SAP memory management for 64-bit Linux systems

 

There does not seem to be any Redhat specific tuning settings (though a couple of Suse recommendations), except for a general mention of all Linux systems with this direct I/O suggestion:

 

"As of Linux Version 2.6, we recommend that you set the parameter to the value YES rather than DEFAULT NO.

Further notes on this topic:

Note 977515:. Linux System paged during MaxDB data backup/add volume"

 

The parameters I am wanting to tune are in /etc/sysctl.conf, so since there does not seem to be any Livecache specific parameters, I was going to just take the general recommendations from Note 941735 - SAP memory management for 64-bit Linux systems and set our parameters as follows:

 

- kernel.shmall

As a configuration recommendation, kernel. shmall can be configured as the amount of virtual memory in the Linux system (RAM + Swap).

 

- kernel.shmmax

           This kernel parameter specifies how large an individual SysV Shared Memory Segment is allowed to be. In the case of an STD implementation, the parameter must be set sufficiently large in order to allow em/initial_size_MB. The value is specified in the unit Bytes so that "21474836480", for example, permits segments of 20 GB.

 

I am thinking to tune kernel.shmall to 90% of RAM+swap, and kernel.shmmax to 90% of RAM. Also will be setting the following parameters as well:

 

kernel.msgmni=1024

kernel.sem=1250 256000 100 1024

  1. Parameter kernel.sem corresponds to "semmsl semmns semopm semmni"

vm.max_map_count=1000000

 

Does anyone out there have any different experiences or tips on how they set these up, specific to Livecache? The SAP application tuning is pretty straightforward, but wanted to make sure we didn't overlook anything with Livecache.

 

Thanks,

 

 

Derek


RFCEXEC program

$
0
0

Hi Gurus,

 

One of our development systems was recently upgraded to EHP5. We had also completed the upgrade using one sandbox system which is a copy of DEV system.

After the systems were upgraded to EHP5, we are finding that the Program RFCEXEC vanishing from EXE directory. And Because of this, XI connectivity fails. Is this due to the EHP5 upgrade? Please help me in this.

 

Thanks

Ranga

DBIF_DSQL2_SQL_ERROR -error 600 occurred in the current database connection

$
0
0

Hello All,

 

We are running SCM 5.0 on Wintel, livecache version is 7.6 (KERNEL 7.6.02  BUILD 014-123-152-175).

 

The following short dumps are logged on the test instance. Consistancy checks of livecache have been successful.

 

Runtime Errors         DBIF_DSQL2_SQL_ERROR

Exception              CX_SY_NATIVE_SQL_ERROR

 

Short text

    An SQL error occurred when executing Native SQL.

What happened?

    The error 600 occurred in the current database connection "LCA".

How to correct the error

    Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in

     SAPTS_AGGMULT"

    Database error code........: 600

    Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_AGGMULT_TIMESERIES"

    Internal call code.........: "[DBDS/NEW DSQL]"

    Please check the entries in the system log (Transaction SM21).

 

C Mon Aug 04 11:45:07 2008

C  *** ERROR =>   execute() of C_0752, #rec=0, rc=1, rcSQL=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbsdbsql.cpp 1570]

C  *** ERROR => EXECUTE on connection 1, rc=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbdssdb.cpp  2173]

C  sc_p=000000002ABF1DD0,no=752,idc_p=0000000000000000,con=1,act=1,slen=64,smax=256,#vars=0,stmt=000000002B007A30,table=      SAP

C  CALL USER.SAPTS_AGGMULT_TIMESERIES ( ?, ?, ?, ?, ?, ?, ?, ?, ? );

C  *** ERROR => dbdssdb: SQL Error 600, Message: POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT

[dbdssdb.cpp  2403]

B  ***LOG BY2=> sql error 600        performing EXE        [dbds#1 @ 364] [dbds    0364 ]

B  ***LOG BY0=> POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT [dbds#1 @ 364] [dbds    0364 ]

A  TH VERBOSE LEVEL FULL

 

All assistance will be useful.

 

Best Regards,

Nisch

DlLoadLib()==DLENOACCESS - dlopen dbsdbslib.o

$
0
0

Hello experts,

 

We are doing our SCM upgrade from 4.1 to 7.0 with migration. We have completed with the upgrade but before doing the LC upgrade we need to upload the data to the LC using the  /SAPAPO/OM_LC_UPGRADE_70, while doing this it gives an error for connectivity to the LC. From DB59, i checked the connection test fails for "Native SQL" (LCA) step.

 

+1. Connect. test with "dbmcli db_state"                         Successful+
+2. Connect. test with command mode "dbmrfc db_state"            Successful+
+3. Connect. test with session mode "dbmrfc db_state"            Successful+
+4. Connect. test with "native SQL"  ( LCA )                     No connection+   +SQL Code:+   +Error creating a secondary database connection+   +Set up of a secondary connection to the database system failed. It is possible that the data required for setting up the con+   +SQL code:+   +For detailed information, see the developer trace for work process:            4+

From the workprocess we get the below error

 

 

B  Loading DB library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o' ...
M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o") FAILED  "#0509-130 Symbol resolution failed for /usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o because:
#0509-136   Symbol getData__Q2_6SQLDBC10SQLDBC_LOBFPvPLLT3T1T3T2b (number 197) is not exported from
##   dependen"  (errno=8,Exec format error) [dlux.c       445]
M  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  *** ERROR => Couldn't load library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o'
 [dbcon.c      5263]
B  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  ***LOG BYG=> could not load library for database connection LCA        [dbds         886]

 

We have upgrade the sap kernel and also the above said dbsl library, and it exists in the exe directory, But still nothing seems to work...

 

Can someone give any ideas ??

 

Thx

Ananth

How to set Automatic Schedule backup in MaxDB?

$
0
0

HI All

 

I need to set automatic backup in MaxDB, i have seen automatic option for logs but not for Full database, Can anyone explain how we can do this.

 

I want Full backup on daily basis along with logs.

 

Welcome for suggestion and directions.

 

Regards,

 

YR

Error - MAXDB SAX Parser during Backup Log

$
0
0

Hi Experts,

 

I am facing an error trying to backup logs from MaxDB

 

Error1.jpg

 

I think the problem could happened because of the path of the .xml file .. it has two slashs /var/sapdb/DEV/data//BackupTemplates.xml

 

How can I change this parameter?

 

Any clue?

Tuning Redhat Linux OS parameters

$
0
0

Hello,

 

I've been reading the following notes:

 

Note 487972 - Tuning Livecache to the Linux OS

Note 767635 - MaxDB Version 7.5 parameter settings for OLTP/BW

Note 337445 - liveCache and memory management

Note 487972 - Operating system parameterization of liveCache

Note 941735 - SAP memory management for 64-bit Linux systems

 

There does not seem to be any Redhat specific tuning settings (though a couple of Suse recommendations), except for a general mention of all Linux systems with this direct I/O suggestion:

 

"As of Linux Version 2.6, we recommend that you set the parameter to the value YES rather than DEFAULT NO.

Further notes on this topic:

Note 977515:. Linux System paged during MaxDB data backup/add volume"

 

The parameters I am wanting to tune are in /etc/sysctl.conf, so since there does not seem to be any Livecache specific parameters, I was going to just take the general recommendations from Note 941735 - SAP memory management for 64-bit Linux systems and set our parameters as follows:

 

- kernel.shmall

As a configuration recommendation, kernel. shmall can be configured as the amount of virtual memory in the Linux system (RAM + Swap).

 

- kernel.shmmax

           This kernel parameter specifies how large an individual SysV Shared Memory Segment is allowed to be. In the case of an STD implementation, the parameter must be set sufficiently large in order to allow em/initial_size_MB. The value is specified in the unit Bytes so that "21474836480", for example, permits segments of 20 GB.

 

I am thinking to tune kernel.shmall to 90% of RAM+swap, and kernel.shmmax to 90% of RAM. Also will be setting the following parameters as well:

 

kernel.msgmni=1024

kernel.sem=1250 256000 100 1024

  1. Parameter kernel.sem corresponds to "semmsl semmns semopm semmni"

vm.max_map_count=1000000

 

Does anyone out there have any different experiences or tips on how they set these up, specific to Livecache? The SAP application tuning is pretty straightforward, but wanted to make sure we didn't overlook anything with Livecache.

 

Thanks,

 

 

Derek

DBIF_DSQL2_SQL_ERROR -error 600 occurred in the current database connection

$
0
0

Hello All,

 

We are running SCM 5.0 on Wintel, livecache version is 7.6 (KERNEL 7.6.02  BUILD 014-123-152-175).

 

The following short dumps are logged on the test instance. Consistancy checks of livecache have been successful.

 

Runtime Errors         DBIF_DSQL2_SQL_ERROR

Exception              CX_SY_NATIVE_SQL_ERROR

 

Short text

    An SQL error occurred when executing Native SQL.

What happened?

    The error 600 occurred in the current database connection "LCA".

How to correct the error

    Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in

     SAPTS_AGGMULT"

    Database error code........: 600

    Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_AGGMULT_TIMESERIES"

    Internal call code.........: "[DBDS/NEW DSQL]"

    Please check the entries in the system log (Transaction SM21).

 

C Mon Aug 04 11:45:07 2008

C  *** ERROR =>   execute() of C_0752, #rec=0, rc=1, rcSQL=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbsdbsql.cpp 1570]

C  *** ERROR => EXECUTE on connection 1, rc=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbdssdb.cpp  2173]

C  sc_p=000000002ABF1DD0,no=752,idc_p=0000000000000000,con=1,act=1,slen=64,smax=256,#vars=0,stmt=000000002B007A30,table=      SAP

C  CALL USER.SAPTS_AGGMULT_TIMESERIES ( ?, ?, ?, ?, ?, ?, ?, ?, ? );

C  *** ERROR => dbdssdb: SQL Error 600, Message: POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT

[dbdssdb.cpp  2403]

B  ***LOG BY2=> sql error 600        performing EXE        [dbds#1 @ 364] [dbds    0364 ]

B  ***LOG BY0=> POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT [dbds#1 @ 364] [dbds    0364 ]

A  TH VERBOSE LEVEL FULL

 

All assistance will be useful.

 

Best Regards,

Nisch


liveCache lock server is not installed

$
0
0

We are getting " liveCache lock server is not installed " error when we are scheduling a background job for programme:  SLCA_LCK_SYNCHOWNERS.  Any help is appreciated.

 

thx

Jeff

Error - MAXDB SAX Parser during Backup Log

$
0
0

Hi Experts,

 

I am facing an error trying to backup logs from MaxDB

 

Error1.jpg

 

I think the problem could happened because of the path of the .xml file .. it has two slashs /var/sapdb/DEV/data//BackupTemplates.xml

 

How can I change this parameter?

 

Any clue?

How to set Automatic Schedule backup in MaxDB?

$
0
0

HI All

 

I need to set automatic backup in MaxDB, i have seen automatic option for logs but not for Full database, Can anyone explain how we can do this.

 

I want Full backup on daily basis along with logs.

 

Welcome for suggestion and directions.

 

Regards,

 

YR

DBIF_DSQL2_SQL_ERROR -error 600 occurred in the current database connection

$
0
0

Hello All,

 

We are running SCM 5.0 on Wintel, livecache version is 7.6 (KERNEL 7.6.02  BUILD 014-123-152-175).

 

The following short dumps are logged on the test instance. Consistancy checks of livecache have been successful.

 

Runtime Errors         DBIF_DSQL2_SQL_ERROR

Exception              CX_SY_NATIVE_SQL_ERROR

 

Short text

    An SQL error occurred when executing Native SQL.

What happened?

    The error 600 occurred in the current database connection "LCA".

How to correct the error

    Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in

     SAPTS_AGGMULT"

    Database error code........: 600

    Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_AGGMULT_TIMESERIES"

    Internal call code.........: "[DBDS/NEW DSQL]"

    Please check the entries in the system log (Transaction SM21).

 

C Mon Aug 04 11:45:07 2008

C  *** ERROR =>   execute() of C_0752, #rec=0, rc=1, rcSQL=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbsdbsql.cpp 1570]

C  *** ERROR => EXECUTE on connection 1, rc=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbdssdb.cpp  2173]

C  sc_p=000000002ABF1DD0,no=752,idc_p=0000000000000000,con=1,act=1,slen=64,smax=256,#vars=0,stmt=000000002B007A30,table=      SAP

C  CALL USER.SAPTS_AGGMULT_TIMESERIES ( ?, ?, ?, ?, ?, ?, ?, ?, ? );

C  *** ERROR => dbdssdb: SQL Error 600, Message: POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT

[dbdssdb.cpp  2403]

B  ***LOG BY2=> sql error 600        performing EXE        [dbds#1 @ 364] [dbds    0364 ]

B  ***LOG BY0=> POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT [dbds#1 @ 364] [dbds    0364 ]

A  TH VERBOSE LEVEL FULL

 

All assistance will be useful.

 

Best Regards,

Nisch

Memory parameters settings

$
0
0

Hi,

     I have 8gb of ram where CI and DB are installed on the same server.

I would like to allocate 70/30% memory to CI and DB.

 

Which parameters need to change do this?  As I know that PHYS_MEMSIZ is used to set the memory for sap CI and which parameter is used for DB?

 

Thanks

Srikanth

Access to MAXDB SAP Schema tables

$
0
0

HI Guys ,

 

I am trying to reset SAP* password in my MAXDB DB 7.6.  I know that is a very simple operation and I did it many times in other DBs , but here I  have stuck  during whole day .

 

I have connected to SQL Studio as SUPERDBA .

My SAP Schema  is "SAPIDS" .

 

To access usr02 table I run the following SQL :

 

select MANDT, BNAME, UFLAG from SAPIDS.USR02 where MANDT='000' and BNAME='SAP*'

, but I got the error thet the table does not exist .

 

I also tried:

 

 

select MANDT, BNAME, UFLAG from "SAPIDS"."USR02" where MANDT='000' and BNAME='SAP* ,

 

select * from SAPIDS.USR02 ; select * from "SAPIDS"."USR02" ;

 

I switch to Oracle mode also , but Nothing is working !

 

Also important to say that sql :

 

select * from tables where owner='SAPIDS'and tablename='USR02'

 

shows the USR02 table as well .

 

Any ideas ?

 

thanks in advance,

 

Evgeny

Specifying Schema in JDBC Connection

$
0
0

Hi Guys,

 

MaxDB provides the possibility to logically unite several database objects (e.g. Tables, Views, Indexes, ...) in so called "Schemas".

 

However, I couldn't find any documentation about how to connect to a certain schema via JDBC. How should the JDBC URL look like? Assuming I have this kind of URL jdbc:sapdb://localhost:7200/MAXDB. Is there a way to connect to the schema "DEMO"?

 

Thanks for the help.

 

Cheers,

 

Gerardo


Tuning Redhat Linux OS parameters

$
0
0

Hello,

 

I've been reading the following notes:

 

Note 487972 - Tuning Livecache to the Linux OS

Note 767635 - MaxDB Version 7.5 parameter settings for OLTP/BW

Note 337445 - liveCache and memory management

Note 487972 - Operating system parameterization of liveCache

Note 941735 - SAP memory management for 64-bit Linux systems

 

There does not seem to be any Redhat specific tuning settings (though a couple of Suse recommendations), except for a general mention of all Linux systems with this direct I/O suggestion:

 

"As of Linux Version 2.6, we recommend that you set the parameter to the value YES rather than DEFAULT NO.

Further notes on this topic:

Note 977515:. Linux System paged during MaxDB data backup/add volume"

 

The parameters I am wanting to tune are in /etc/sysctl.conf, so since there does not seem to be any Livecache specific parameters, I was going to just take the general recommendations from Note 941735 - SAP memory management for 64-bit Linux systems and set our parameters as follows:

 

- kernel.shmall

As a configuration recommendation, kernel. shmall can be configured as the amount of virtual memory in the Linux system (RAM + Swap).

 

- kernel.shmmax

           This kernel parameter specifies how large an individual SysV Shared Memory Segment is allowed to be. In the case of an STD implementation, the parameter must be set sufficiently large in order to allow em/initial_size_MB. The value is specified in the unit Bytes so that "21474836480", for example, permits segments of 20 GB.

 

I am thinking to tune kernel.shmall to 90% of RAM+swap, and kernel.shmmax to 90% of RAM. Also will be setting the following parameters as well:

 

kernel.msgmni=1024

kernel.sem=1250 256000 100 1024

  1. Parameter kernel.sem corresponds to "semmsl semmns semopm semmni"

vm.max_map_count=1000000

 

Does anyone out there have any different experiences or tips on how they set these up, specific to Livecache? The SAP application tuning is pretty straightforward, but wanted to make sure we didn't overlook anything with Livecache.

 

Thanks,

 

 

Derek

SAP MAXDB - livecache resotre error 4107 "conf_parameter_error"

$
0
0

Hi,

 

I started Production to sanbox  SCM,system copy, we currently using online backup, we successfully recovered oracle with point int ime reovery,

 

for livecache, I installed new livecache server  7.6 and stared recovery using maxdb 7.8

 

while recovering i got below issue once recover started.

 

as per note i select reinitialise option and i am recovering from medium.

 

Notes:

 

129352 - Homogeneous system copy with MaxDB (SAP DB)
457425 - Homogeneous liveCache copy using backup/restore
632357 - Backing up liveCache data for SCM 4.0 or higher-

 

 

command medium_put "complete" "D:\restore\LCBackup" FILE DATA 0 8 NO NO "" NONE

        216 DBMSrv   DBM Server client connection (established at 2013-08-24 19:16:33): PID 5436 on computer ORATSTSAP001V.global.corp

        283 DBMSrv   command user_response ...

     -24946 DBMSrv   ERR_TOOMANYPARAM: too many parameters

        283 DBMSrv   command db_activate ...

0x00001428 ERR     -24988 DBMSrv   ERR_SQL: SQL error

0x00001428 ERR     -24778 DBMSrv   -9414,System error: Configuration parameter error

0x00001428 ERR     -24778 DBMSrv   17,Servertask Info: because Error in backup task occured

 

Regards,

Prem

Content of MaxDB complete backup

$
0
0

Hello,

 

I would like to know what is the content of MaxDB Complete Data Backup and what exactly can be restored from it?

 

I ask this because I need to create backup solution that will enable me to recover SAP system, OS backup + DB backup.

 

Another question is, if I have 5 months old OS backup and recent DB Complete Data Backup and nothing has changed during 5 months on OS level - only MaxDB data, should that be enough to restore SAP system to the time of last Complete Data Backup or is there anything else (MaxDB related) that should be also backed up?

(I did not mention log backups and incremental backups for case of simplicity of this question).

 

Thanks,

Sasha

Uninstalling MaxDB

$
0
0

Hi,

I have installed SAP Netweaver developer Studio 6.40 which installed MAXDB database also. Due to some reason I had to unistall the trial version of Developer studio, in this process developer studio got unistalled but not MAXDB.

*----


I use Add/Remove programs and uninstall MaxDB. I get the messages like this.....

 

Start uninstallation now (y/n) : Y (resoponse)

 

then message displays

found instance of J2E, cannot remove package..first remove all instances...

*----


 

I have stopped all the services, even then Iam getting such error message. How do I uninstall?

 

Help needed.

 

-Suresh

DlLoadLib()==DLENOACCESS - dlopen dbsdbslib.o

$
0
0

Hello experts,

 

We are doing our SCM upgrade from 4.1 to 7.0 with migration. We have completed with the upgrade but before doing the LC upgrade we need to upload the data to the LC using the  /SAPAPO/OM_LC_UPGRADE_70, while doing this it gives an error for connectivity to the LC. From DB59, i checked the connection test fails for "Native SQL" (LCA) step.

 

+1. Connect. test with "dbmcli db_state"                         Successful+
+2. Connect. test with command mode "dbmrfc db_state"            Successful+
+3. Connect. test with session mode "dbmrfc db_state"            Successful+
+4. Connect. test with "native SQL"  ( LCA )                     No connection+   +SQL Code:+   +Error creating a secondary database connection+   +Set up of a secondary connection to the database system failed. It is possible that the data required for setting up the con+   +SQL code:+   +For detailed information, see the developer trace for work process:            4+

From the workprocess we get the below error

 

 

B  Loading DB library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o' ...
M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o") FAILED  "#0509-130 Symbol resolution failed for /usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o because:
#0509-136   Symbol getData__Q2_6SQLDBC10SQLDBC_LOBFPvPLLT3T1T3T2b (number 197) is not exported from
##   dependen"  (errno=8,Exec format error) [dlux.c       445]
M  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  *** ERROR => Couldn't load library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o'
 [dbcon.c      5263]
B  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  ***LOG BYG=> could not load library for database connection LCA        [dbds         886]

 

We have upgrade the sap kernel and also the above said dbsl library, and it exists in the exe directory, But still nothing seems to work...

 

Can someone give any ideas ??

 

Thx

Ananth

Viewing all 1545 articles
Browse latest View live


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