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

Parsing error -8 when update-clause used with nextval

$
0
0

Hello MaxDB-Experts,

 

I'm using MaxDB 7.7 via JDBC.

When using PrepardedStatements the following insert works absolutely great using the sequence.nextval (seq_syncid is a regular sequence):

     insert into s_entity(A,B,C,D,E,sequenceID) values(?,?,?,?,?,seq_syncid.nextval)

 

BUT when I'm using more or less the same command:

     update s_entity (A,B,C,D,E,sequenceID) values(?,?,?,?,?,seq_syncid.nextval) where (F = ?)

it fails stating:

 

     SQLException: [-8]: Execution failed, parse again

     SQLState:     I0008

     VendorError:  -8

 

Any ideas, any help from you guys is really highly appreciated.

 

 

 

Chris


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

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

content server migration 7.3 -> 7.9

$
0
0

Hello,

 

i have to migrate  SAP content server 6.3 to a newest version 6.5.

 

It is running on a Windows 2003 32bits server and the database build is 7.3.00.35 which is quite old!!!

I´m not sure how to update the database to 7.9 in an easy way.

 

The new server for this is a Server 2008R2 64bits system where i will install a new empty database (version 7.9.08.08) and then to restore the backup from the old content server there.

 

I have read the note 129352  to do a system copy of the database, but I don't know if it is possible for the version of the old database.

 

Does anyone of the forum experts know a better way for such a migration?

 

Thank you in advance

ERP 6 EhP 6 Installation stuck at 'Check DDIC Password' step

$
0
0

Dear  Experts

 

We are in process of installing ERP6 EhP5 and are facing trouble in"Check DDIC Password" phase.

 

Sapinst is unable to login to system withddic user. In the initial installation step we define a common passwordfor all users but somehow this password seems not updated for ddic.Hence installation stops in -check ddic password- phase.

 

System is up in mmc all green..but we are unable to get login screen..aRABAX ERROR message popsup when we try to login using sapgui.Updated to latest kernel level but stll same issuePlease advise on how can this be resolved.

 

OS: WIN 2008 R2Db: MaxDB 7.8.02.23Kernel: 720 patch 700

 

Best Regards,

Amit

Index range accesses in Database Analyzer

$
0
0

Dear all,

 

there are a lot of index range acesses in DB Analyzer:

 

x index range accessess, selectivity x.xx %: xxxxx rows read, xxxxx rows qualified.

 

These messages are displayed as W2 alert.

 

 

What does the message means and how can it be solved?

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

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


MaxCPUs and DBANALYZER

$
0
0

Hi Everyone,

 

We are running a new productive system with 4 Intel E5-4640 CPUs

providing 64 CPUs (32 CPUs with Hyperthreading activated).

 

I've made a DBANALYZER-Check which keeps complaining

parameter MaxCPUs:

 

'MaxCPUs' (24) exceeds number of physical CPUs (4)!

 

I'm now a little bit confused because I do not think that it's the best

way to configure "physical" instead of "logical CPUs".

 

Now: What's the right configuration if this server is a central instance?

 

By the way: I'm using the latest dbanalyzer_InstanceParameterCheck.cfg

download from SAP Note.

 

Thanks in advance.

Kind Regards,

Carsten Loeffler

Managing Data Volumes in MaxDB

$
0
0

Hello,

 

Due to an upgrade from ERP 6.0 to ERP 6.0 EHP5, I had to add new data volumes to my MAXDB database.

I created 6 data volumes of 9.5GB and 2 data volumes of 38GB.

i am not too worried about the 9.5 GB data volumes since they are close to 50% free.

However the 38GB data volumes are filled to only around 13%. This consumes a lot a space on my server.

Is there anyway to reorganize the database? I need to free-up some space on the server.

I am new to MaxDB.

 

Thanks,

Suhan Hegde

Runtime Errors & Tables missing

$
0
0

Hello,

 

We have a strange problem:

 

We successfully installed the EHP4 upgrade for ERP 6.0 with the EHPinstaller on our central instance. We set up an distributed system, the database is on Linux with MaxDB.

 

After that I tried to logon with the SAPGUI on the SAP server, but I receive directly the message "SAP System Message: a table is unknown or does not exist." So a logon on the system IS NOT possible.

 

In the MMC Syslogs I see that there are 2 errors with starting the SAP server:

 

- SAP Basis System: Run-time error "DBIF_RSQL_TABLE_UNKNOWN                (ERROR)

 

- Database: Table D010ENH    does not exist in the database with ID R/3             (WARNING)             

 

These two errors are occuring several times in the syslogs. The server nodes in die SAPMMC are running all on green.

 

 

What can I do there? Any ideas? Haven't found any notes on this problem.

 

 

Regards,

Vermeer

The Future of MaxDB

$
0
0

Good Morning All,

 

some useful guidance for everybody using MaxDB:

 

          1722076 - The Future of SAP MaxDB

 

As this is an OSS Note please respect the OSS and do not quote the OSS Note here.

 

Best regards,

 

Andy.

Its ok disable log when using MaxDB for DataWarehouse

$
0
0

Hi,

 

Its ok disable log when using MaxDB only for DataWarehouse? this can speed up ETL?

 

best regards

 

Clóvis

 

How to get good statistics on a initially empty table?

$
0
0

Hello,

 

I'm facing a performance issues on a SAP Netweaver Stack on a MaxDB 7.9.08.015.

The SAP report that is not performing well is using a table in a join spanning 3 tables. The table is empty initially. During the report execution it is filled with 20000+ records. Then the join is run and after the report execution the table is empty again.

I have found out that when I set a breakpoint right before the join is executed (the table is filled with 20000+ records) and then execute an "update statistics <tablename>", the join will finish in milliseconds.

If I run the "update statistics <tablename>" on the empty table (which is useless, I guess?) the join will run minutes - up to 20 minutes.

 

Do you have any recommendation how to approach this issue in a productive system where I can not set breakpoints?

Below you can find the explains for an update statistics on the empty and on the filled table.

 

Regards,

Jens

 

This is the explain with update statistics on the empty table RR00K00G03X_DQ:

SELECT
  DISTINCT  T_01 . "C5" "EXTRACTKEY" , T_00 . "DEVID" "DEVID"
FROM
  "RR00K00G03X_DQ" T_00 INNER JOIN "ZDOE00G03702" T_01 ON T_01 . "CLIENT" = ? AND T_01 . "EXTRACTKEY
  " = T_00 . "INSID" INNER JOIN "ZDOE00G03X00" T_02 ON T_02 . "CLIENT" = ? AND T_02 . "EXTRACTKEY" =
   T_01 . "C5"
WHERE
  T_00 . "CLIENT" = ? AND T_00 . "SEQNO" IN ( ? , ? , ? , ? , ? )


Execution Plan

OWNER              TABLENAME                      COLUMN OR INDEX                STRATEGY                                 PAGECOUNT

                   T_00                                                          RANGE CONDITION FOR KEY                           1
                                                  CLIENT                              (USED KEY COLUMN)
                                                  SEQNO                               (USED KEY COLUMN)
                   T_01                           ZDOE00G03702~EKI               JOIN VIA MULTIPLE INDEXED COLUMNS                51
                                                  CLIENT                              (USED INDEX COLUMN)
                                                  EXTRACTKEY                          (USED INDEX COLUMN)
                   T_02                           ZDOE00G03X00~EKI               JOIN VIA MULTIPLE INDEXED COLUMNS               237
                                                  CLIENT                              (USED INDEX COLUMN)
                                                  EXTRACTKEY                          (USED INDEX COLUMN)
                                                                                      NO TEMPORARY RESULTS CREATED
                                                                                      RESULT IS COPIED   , COSTVALUE IS            2
                   SHOW                                                          QUERYREWRITE : APPLIED RULES:
                   SHOW                                                             DistinctPushDown                               1
                   SHOW                                                             PushDownPredicates                             1


Explain End

 

This is the explain after the update statistics with 20000 records in the table RR00K00G03X_DQ.

Count of the tables:

 

SQL Statement

SELECT
  DISTINCT  T_01 . "C5" "EXTRACTKEY" , T_00 . "DEVID" "DEVID"
FROM
  "RR00K00G03X_DQ" T_00 INNER JOIN "ZDOE00G03702" T_01 ON T_01 . "CLIENT" = ? AND T_01 . "EXTRACTKEY
  " = T_00 . "INSID" INNER JOIN "ZDOE00G03X00" T_02 ON T_02 . "CLIENT" = ? AND T_02 . "EXTRACTKEY" =
   T_01 . "C5"
WHERE
  T_00 . "CLIENT" = ? AND T_00 . "SEQNO" IN ( ? , ? , ? , ? , ? )


Execution Plan

OWNER              TABLENAME                      COLUMN OR INDEX                STRATEGY                                 PAGECOUNT

                   T_00                                                          RANGE CONDITION FOR KEY                         564
                                                  CLIENT                              (USED KEY COLUMN)
                                                  SEQNO                               (USED KEY COLUMN)
                   T_01                           ZDOE00G03702~EKI               JOIN VIA MULTIPLE INDEXED COLUMNS                51
                                                  CLIENT                              (USED INDEX COLUMN)
                                                  EXTRACTKEY                          (USED INDEX COLUMN)
                   T_02                           ZDOE00G03X00~EKI               JOIN VIA MULTIPLE INDEXED COLUMNS               237
                                                  CLIENT                              (USED INDEX COLUMN)
                                                  EXTRACTKEY                          (USED INDEX COLUMN)
                                                                                      NO TEMPORARY RESULTS CREATED
                                                                                      RESULT IS COPIED   , COSTVALUE IS            2
                   SHOW                                                          QUERYREWRITE : APPLIED RULES:
                   SHOW                                                             DistinctPushDown                               1
                   SHOW                                                             PushDownPredicates                             1


Explain End


MaxDB/liveCache: Time based AUTOMATIC LOGGING working?

$
0
0

Hi SCN,

 

I've worked on and off with SCM/APO systems and MaxDB liveCaches for years now, but I've never come across this quirk.

As part of our standard operating of MaxDB liveCaches we always use TIME-BASED Automatic Log Backups. We set them to backup every 10 minutes (see image below). I've not had any issues with this but during a system migration I've noticed that the logs are NOT being generated every 10 minutes on the target and I wondered to myself if this is because there is no activity yet?

 

i.e. should it keep automatically generating new logs every 10 minutes even if there is no activity?

 

If not then, and here is the KEY QUESTION, how can I check the Automatic Log Backup settings that are active?
I'm assuming there is a simple DBMCLI command for this but I haven't found it yet/

 

liveCache_Autologging_timebased_001.jpg

 

Appreciate any community advice!

 

Many thanks,

Jamie


Managing Data Volumes in MaxDB

$
0
0

Hello,

 

Due to an upgrade from ERP 6.0 to ERP 6.0 EHP5, I had to add new data volumes to my MAXDB database.

I created 6 data volumes of 9.5GB and 2 data volumes of 38GB.

i am not too worried about the 9.5 GB data volumes since they are close to 50% free.

However the 38GB data volumes are filled to only around 13%. This consumes a lot a space on my server.

Is there anyway to reorganize the database? I need to free-up some space on the server.

I am new to MaxDB.

 

Thanks,

Suhan Hegde

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

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

MaxDB 7.9 DB connection failed DB50/DB59

$
0
0

Hello,

 

i have installed a new ERP 6.06 SAP System on MaxDB 7.9/Sles 11 Linux. After successful installation i have tested the database connection.

The database connection failed. What could i do to solve the problem?

 

SAP transaction DB59 Test:

Result:

p01_P01_02 (p01 )

SAP Kernel Release : 720_EXT_REL

SAP Kernel Patch : 401

DBMRFC Release : 7.9.07.14

DBMCLI Release : 7.9.07.14

DBSL Release : 720.00

DBSL Patch : 421

SQLDBC Version : 7.8.02.17

SQLDBC Runtime : 7.9.07.14

1.DBSL Library Availability -Connection test successful

2.Client Software Availability -Connection test successful

3.Execute an external operating system command (DBMCLI) -Connection test successful

4.Determine status using SQL connection -Error in connection test

5.Test the SQL connection (Native SQL at CON_NAME) -Connection test successful

 

 

 

Report: RSSDBCHECKDBMRFC

 

 

  Main Analysis

       SMGW - Checking existence and correctness of registered client

       WARNING: dbmrfc@sapdb not registered. Trying to start the SAPDB_DBM_DAEMON

 

       SM59 - Checking existence and connection of RFC destinations SAPDB_DBM and SAPDB_DBM_DAEMON

       SAPDB_DBM exists

       SAPDB_DBM_DAEMON exists

       SAPDB_DBM connection successful

       WARNING: SAPDB_DBM_DAEMON connection not successful. Trying to start SAPDB_DBM_DAEMON

       SM59 - Checks were successful

 

       CONN - Determining database state via TCP/IP connection SAPDB_DBM and SAPDB_DBM_DAEMON

  DBM_EXECUTE_SDB error: dbm_execute_error

  Name and Server     : P01 - p01

  Function            : DBM_EXECUTE

  Command             : db_state

  Error               : DBM Error

  Return Code         : -24941

  Error Message       : ERR_NEEDLOGON: DBM server logon required

  ERR

  -24941,ERR_NEEDLOGON: DBM server logon required

       ERROR: Error in determination via command mode "dbmrfc db_state"

  DBM_EXECUTE_SDB: dbm_execute_error

  Name and Server     : P01 - p01

  Function            : DBM_EXECUTE

  Command             : db_state

  Error               : DBM Error

  Return Code         : -24941

  Error Message       : ERR_NEEDLOGON: DBM server logon required

  ERR

  -24941,ERR_NEEDLOGON: DBM server logon required

       ERROR: Error in determination via session mode "dbmrfc db_state"

       CONN - Check was not successful

 

       TP - Get connection information and existence of program

       Connection information used by DBMRFC:

       dbnode: p01 ; dbname: P01 ; sysid: P01 ; conn: P01 ; profile: no_longer_used

       Transport profile is not specified, trying to determine it

       ERROR in TMS_CFG_READ_LOCAL_CONFIG:  tms_is_not_configured

       ERROR in TMS_CFG_READ_LOCAL_CONFIG: Could not get transport domain.

       Executing command: dbmcli -d P01 -n p01 -tpp no_longer_used -tpi P01 -tpc P01 db_state

       TP - Checks were successful

 

 

 

Detail Analysis

       Checking MAXDB Version and searching independent program path via SDBREGVIEW

       Independent program path exists: /sapdb/programs

       Client installation path exists: /sapdb/clients/P01

 

       Checking paths in environment variables

       Checking correctness of environment variable "path"

       /sapdb/programs/bin  exists

       ERROR: Set the following path before all other paths in environment variable: /sapdb/clients/P01/bin

       /usr/sap/P01/DVEBMGS02/exe (DIR_EXECUTABLE) exists

       Checking correctness of environment variable "ld_library_path"

       /usr/sap/P01/DVEBMGS02/exe (DIR_EXECUTABLE) exists

       ERROR: Set the following path before all other paths in environment variable: /sapdb/programs/lib

       ERROR: Set the following path before all other paths in environment variable: /sapdb/clients/P01/lib

       Error found in one step

 

       Checking existence of necessary libraries in /sapdb/programs/lib

       libicudata.so.<version> exists

       libicui18n.so.<version> exists

       libicuuc.so.<version> exists

       libsapni.so exists

       WARNING: libsapu16.so was not found

       Check your MAXDB installation

 

       Checking existence of necessary executables

       tp exists in /usr/sap/P01/DVEBMGS02/exe

       sapdbmrfc exists in /usr/sap/P01/DVEBMGS02/exe

       dbmrfc exists in /sapdb/programs/bin

       sdbregview exists in /sapdb/programs/bin

       sdbverify exists in /sapdb/programs/bin

       dbmcli exists in /sapdb/programs/bin

 

 

Xuser test on OS:

 

p01:p01adm 57> dbmcli -U c

dbmcli on p01 : P01>exit

OK

 

---

p01:p01adm 58> dbmcli -U w

dbmcli on p01 : P01>exit

OK

 

---

p01:p01adm 59> dbmcli -d P01 -u control,<password>

dbmcli on P01>exit

OK

 

---

p01:p01adm 59> dbmcli -d P01 -u superdba,<password>

dbmcli on P01>exit

OK

 

---

 

p01:p01adm 61> R3trans -d

This is R3trans version 6.23 (release 720 - 31.10.12 - 20:12:06).

unicode enabled version

R3trans finished (0000).

p01:p01adm 62> R3trans -x

This is R3trans version 6.23 (release 720 - 31.10.12 - 20:12:06).

unicode enabled version

R3trans finished (0000).

p01:p01adm 63>

 

p01:p01adm 58> dbmcli -d P01 -U c db_enum

OK

P01     /sapdb/P01/db                           7.9.07.14       fast    running

P01     /sapdb/P01/db                           7.9.07.14       quick   offline

P01     /sapdb/P01/db                           7.9.07.14       slow    offline

P01     /sapdb/P01/db                           7.9.07.14       test    offline

p01:p01adm 59>

 

 

p01:p01adm 60> x_server start

2013-10-19 12:17:28 30139 44640 INF  12916          Found running XServer on port 7200

2013-10-19 12:17:28 30139 44640 INF  13011            version 'U64/LIX86 7.9.07   Build 014-123-244-287'

2013-10-19 12:17:28 30139 44640 INF  13010            installation P01  - path: /sapdb/P01/db

2013-10-19 12:17:28 30141 86336 ERR  11931 XSERVER  Open update pipe '/sapdb/data/fifo/xserver_p01_update' failed:No such file or directory

2013-10-19 12:17:28 30141 86336 INF  12916          Found running sdbgloballistener on port 7210

2013-10-19 12:17:28 30141 86336 INF  13011            version 'UNKNOWN'

2013-10-19 12:17:28 30141 86336 ERR  11941 XSERVER  Version string conversion failed:expected format %-9.9s %-8.8s Build %-3.3s-%-11.11s

p01:p01adm 60>

 

p01:p01adm 60> cd /sapdb/data/fifo/

p01:p01adm 61> ls -altr

total 8

drwxrwxr-x 12 sdb sdba 4096 Oct 18 18:30 ..

prw-rw----  1 sdb sdba    0 Oct 19 12:05 xserver_p01_7200_logger

prw--w--w-  1 sdb sdba    0 Oct 19 12:05 P01

prw-rw----  1 sdb sdba    0 Oct 19 12:17 xserver_p01_7200_update

drwxrwxr-x  2 sdb sdba 4096 Oct 19 12:17 .

p01:p01adm 62>

 

There´s no entry with "xserver_p01_update"

How can i create this entry?

 

 

I have no idea to solved this problem. Who can help?

 

Best regards

Dennis

Standalone Enqueue Server Trial Version?

$
0
0

Hi Everyone,

 

I would like to try out the SAP Netweaver Application Server ABAP/JAVA with Standalone Enqueue server.  I am able to install the SAP MaxDB Central System, but i don't see any packages for "Standalone Enqueue server" in the SAPinst Administrator.   Do i have to download addional packages? Or is there no free trial version of the Standalone Enqueue Server?

 

Many thanks,

 

Norman.

Viewing all 1545 articles
Browse latest View live


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