Quantcast
Viewing all 322 articles
Browse latest View live

Table Index is not getting used

We have a program written with the following SQL:

 

         SELECT *
         
FROM ztableX
         
INTO TABLE li_ztableX
         
FOR ALL ENTRIES IN li_ztableY
         
WHERE werks          EQ li_ ztableY -werks
          
AND  order           EQ li_ ztableY -order
          
AND  work_cen        EQ li_ ztableY -work_cen
          
AND  deleted         EQ space.

 

The key for the ztableX table has many fields.  We have one index created for werks, order
and work_cen.  I ran a trace of the program and found that the optimizer is not using the index.

 

There are values in all three fields. 

 

I checked the index via the dbacockpit--> Database Objects path and found that the index is valid and active.

 

I also reviewed SAP help and SCN and could not find any solutions.

 

We are using MAXDB  7.9.08.009

 

Do you have any advice on why it is not using the index?  What else should I look for?

 

Regards,

Steve


Any plan to support sdb.dbapi on python 2.6 or above ?

Dear MaxDB developers,

 

Recently, I have to use maxdb and python at the same time, but in short time I got to know that there's no sdb.dbapi or sdb.sql that works on python 2.6 or above. As an alternative of precompiled binary, I've also tried to build maxdb 7.6 source code to get pyd(dll) on python 2.6 but failed to do so.

 

May I ask you sql.pyd(dll) on python 2.6 or above?

 

Thanks,

Have a nice day

Xserver TCP port configuration (serv.exe on windows)

Hi SCN folks,

 

Where do I configure the TCP-Ports 'serv.exe' uses internally?

 

This is the output of 'netstat -ano' (german version).

 

1st call (filtered to PID 1236 = serv.exe):

 

<output>

  Proto  Lokale Adresse         Remoteadresse          Status           PID

  TCP    0.0.0.0:7210           0.0.0.0:0              ABHÖREN         1236

  TCP    127.0.0.1:7210         127.0.0.1:50754        HERGESTELLT     1236

  TCP    127.0.0.1:7210         127.0.0.1:50757        HERGESTELLT     1236

  TCP    127.0.0.1:7210         127.0.0.1:50758        HERGESTELLT     1236

  TCP    127.0.0.1:7210         127.0.0.1:50760        HERGESTELLT     1236

  TCP    127.0.0.1:7210         127.0.0.1:50762        HERGESTELLT     1236

  TCP    127.0.0.1:7210         127.0.0.1:50764        HERGESTELLT     1236

  TCP    127.0.0.1:7210         127.0.0.1:50766        HERGESTELLT     1236

</output>

 

2nd call after restarting service (filtered to PID 5144 = serv.exe):

 

<output>

  Proto  Lokale Adresse         Remoteadresse          Status           PID

  TCP    0.0.0.0:7210           0.0.0.0:0              ABHÖREN         5144

  TCP    127.0.0.1:7210         127.0.0.1:50938        HERGESTELLT     5144

  TCP    127.0.0.1:7210         127.0.0.1:50940        HERGESTELLT     5144

  TCP    127.0.0.1:7210         127.0.0.1:50942        HERGESTELLT     5144

  TCP    127.0.0.1:7210         127.0.0.1:50944        HERGESTELLT     5144

  TCP    127.0.0.1:7210         127.0.0.1:50946        HERGESTELLT     5144

</output>

 

Everytime I start 'serv.exe' another range of ports is used.

I need a deterministic behavior where some ports are never used by MAXDB.

 

Feedback would be appreciated.

 

Thanks

 

Olaf

MaxDB 7.8.02.41 released - what is new?

Hi all,

here is a list including most features and patches for our latest update of 7.8 (also part of SAP note 1364181).
For further details about the referred 'PTS' incidents you can access our 'Problem Tracking System'.


Thorsten


SP 2 Patch 41 (7.8.02.41) (January 05, 2015) (9 Features, 37 Patches)

Kernel

    • Volume balancing now starts even when a new volume is added to a large number of existing volumes. Previously, this would not have changed the average filling threshold enough to trigger volume balancing (PTS 1242644).
    • New column LOBCOLUMNCOUNT in system view FILES shows the number of defined LOB columns in the that file (PTS 1252717).
    • The allowed maximum number of correlated columns in one SQL statement has been increased from 64 to 256 (PTS 1252781).
    • Fix for database parameter value MaxServerTasks unwantedly increasing during param_checkall operation, if database parameter CheckDataParallelServerTasks> 0 (PTS 1252452).
    • Fix to reduce probability of undetected deadlocks on database parameter settings involving a large MaxSQLLock value (MaxSQLLocks * RowLocksPerTransactionThreshold > 2147483647) (PTS 1252478)
    • Fix for performance issue during insert transactions with LOB columns and database parameter EnableLobTransactionConsistency = YES (PTS 1242167).
    • possible crashes fixed (crash at ALTER TABLE DROP FOREIGN KEY statement, PTS 1251839).
    • Fix for error BD Buffer limit while using a hash join with extension records and missing SQL optimizer statistics (PTS 1252611).
    • Possible kernel crash caused by killing the task starting the database analyzer is fixed (PTS 1252487).
    • Microsoft Windows: Fix for failing backups (Access denied) when writing to a network share (UNC-path) caused by an invalid entry in the access control list of the backup file (PTS 1252703).
    • Microsoft Windows: fix for database kernel service hanging in state starting, if started via Microsoft Windows Service Manager or Microsoft Cluster Manager (PTS 1252865).

  Interfaces 

    • SQLDBC: fix for error -10811 due to numerical overflows on floating point values; to prevent this error, SQLDBC now truncates values with a negative exponent above 64 (PTS 1252847). Fix for possible error -109, LOB file dropped at INSERT statement with IGNORE DUPLICATES, if LOB content size was larger then value in database parameter CommandBufferSize (PTS 1252690).
    • ODBC (Content Server): fixed crash in reconnect phase (PTS 1252258); fixed crash during startup (PTS 1252346).
    • ODBC: the SQLExecute/SQLExecDirectcall now returns SQL_NO_DATA_FOUND on a non positional UPDATE or DELETE statement instead of returning SQL_SUCCESS_WITH_INFO and message cursor operation conflict (PTS 1253008).

  Tools 

    • Database Analyzer: startup info message changes to add number of tables with packed unicode columns, removed detailed list of tables requiring an UPDATE STATISTICS run (PTS 1252398) and warning added if number of UKTs with user tasks exceeds value of database parameter MaxCPUs (PTS 1252572); new warning added if one of the TaskCluster* database parameters is user modified (PTS 1252663); removed warning messages for high average write times by correcting the thresholds in IOTHREAD_HIGH_READTIME and IOTHREAD_HIGH_WRITETIME (PTS 1252600).
    • DBM Server: Handling of parameter changes improved - if a database parameter is usermodified (userdefined) a newly entered value that violates the parameter constraint implicitly drops the usermodified/userdefined flag;
      The table ACTIVECONFIGURATION now has a column that shows the database parameter modification by user;
      The database parameter ouput lines in file
      knlmsg have additional database parameter modification information: '(U)';
      A new DBM command
      param_resetusermod allows to remove the usermodified/userdefined flag for a single database parameter by resetting the value to its default and recalulating all database parameter dependencies (PTS 1252010).
    • DBM Server: Fixed X server protocol file being flooded with repeated Cannot flush file error lines if the dbmsrv process crashes and writes a call stacktri into the dbmsrv_<host>.err file) (PTS 1223052).
    • DBM Server: Fix for a hanging DBM server process waiting for setting a resource lock (PTS 1252224).
    • DBMCLI: After DBM command recover_config as database system administrator, the wrong user is flagged as DBM operator, which may lead to failing commands like load_systab or db_restart (PTS 1252964) (note 2081702).
    • DBMCLI: Fixed incomplete information for DBM command dban_state which could lead to missing status information for Database Analyzer in DBA Cockpit (transaction DBACOCKPIT)/Database Assistant (transaction DB50)/liveCache Assistant (transaction LC10) (PTS 1252379).
    • Loader: bug fix for syntax error when calling the Loader using -n and the -U switch (PTS 1252854).

Backup for MaxDB / Oracle for Content server

Hello All,

 

We are using HP server & Unix as operating system.

We use HP protect to take backup, with BR tools ECC6 is taken as backup.

 

Please clarify the below questions.

1. Can I use Oracle as data base for SAP Content server instead of SAP MaxDB.

 

2.If only SAP MaxDB should be used, will the HP protect will take care of Backup.

i.e any role BR tools will place in this backup.

 

3. Any backup strategy such that HP protect can be configured to take SAP MAX DB backup also.

 

4. Customer is currently using HP protect which takes Oracle backup, any way to extend it to Max DB.

 

 

 

 

Thanks,

Content Server 6.50 on Linux X86 and MaxDb 7.9.08.08 to MAXDB 7.9.08.27 ????

Hi there.

 

Had anyone of you guys updated the SAP Contentserver 6.50 with MaxDB Software Version 7.9.08.08 to 7.9.08.27 Version?

 

I couldnt find anywhere the information, that the upgrade to the newest Maxdb version ist released. related to the older Version 6.40

 

only the maxDB Version 7.6 was a Long time supported.

 

Now we,ve got the 7.9.08.08 Version upgraded from 7.6. MaxDB. I dont want to be in trouble related to a lot of other open Projects,

 

only because of a Software outdated Version. The Version 7.9.08.08 runs good with our SAP Contentserver 6.50. But i have a little

 

Trouble with some small Performance issues.

 

Thx.

 

Ralph

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

1)Check Note 1632173 for MaxDB 7.9 Backward Release Information
Check Note 1632173 for MaxDB 7.9 Backward Release Information (Upgrade/Update Paths)
2)Check note 916649 for Linux X64 system requirements.

util_execute migrate - question on usage

I need to upgrade SAPDB 7.3.35 to the latest as part of a content server system copy + upgrade.

 

I found a thread listing these steps....my question is regarding util_execute migrate, does it modify the existing DB or does it modify the Backup only ? I do not want to make any changes to the existing DB,

 

open dbmgui (1st edition)

>> create a new backup medium target

>> take instance offline

>> take instance to admin

>> menu: Instance->command line

>>exec "util_execute migrate"

>> exec "util_connect"

>> exec "backup_start <newly created medium name>"

>> exec "util_release"

>> exec "db_offline"

 

thanks.

Linwood

sapdb 903 message not available block count mismatch

dear expert,

  Now i was recovering a full offline backup from source system to target system. These two system have the  same os and sapdb version which was kernel 7.3.0 build 035-000-090-294. Howerver the erro was appeared. The following was the extract error message ,

Image may be NSFW.
Clik here to view.

 

   -903 message not available block count mismatch
please help me solved it.

script

Hello,

 

i have to write small batch file to run some commands on dbmcli.

i have written following command in my windows batch file

 

dbmcli -d SCC -u <username>,<password>

 

hence it is connected to dbmcli now i want to execute some commands but it is not executing.

 

echo off

$dbmcli -d SCC -u superdba,permit123

show version

auto_extend on

 

 

above is the code i have written in my batch file n i have to write commands to add data volume and log volume.

 

 

Please guide me as soon as possible so that all the commands can be executed on command prompt using batch file

 

Regards,

AK

Recovery of MaxDB 7.5 content server 6.40 to MaxDB 7.9 content server 6.50

Hi,

 

I am trying to upgrade from SAP Content Server 6.40 with MaxDB 7.5 on 32-bit platform, to SAP Content Server 6.50 with MaxDB 7.9 on 64bit architecture.

 

I have DBStudio 7.9.08.25 and 7.9.08.8 MaxDB instance for the SDB and CDB on the target server

 

I have also created backups of the SDB and CDB on the source server and copied the files to the target server. However, when I try to receover the medium, I get error message "-24994 Runtime environment error 1, wrong file or device name".

 

I have reviewed sap notes 129352 and 767598. I am trying to find the glossary entry "System Copy" as mentioned on the first page of 129352, but to no avail.

 

Any help as always greatly appreciated.

Problem during install DB Studio on Linux

Dear community,

 

i need to install the Database Studio on the same server our MaxDB is runnig, its a Linux SUSE Enterprise 11 (64-Bit).

I downloaded the DB Stuio, extracted it on my server, after that I tried to install it with ./SDBSETUP

then the following error occurs:

 

"cannot load wxWidgets properly: Can't load './Wx.so' for module Wx: libpng.so.3: cannot open shared object file: no such file or directory at DynaLoader.pm line 230.

at SDB::Common::Require line 61"

 

I've searched the version of libpng I have, it's the libpng12, so i tried to install libpng3 but this doesn't work beacause libpng12 is allready installed, but i can't unistall it because it's needed for some application.

 

Can somebody please help me? This freaks me out I don't know what to do Image may be NSFW.
Clik here to view.

 

greetings

Christina

Test of database administration credentials failed for W31 System Database (ABAP): MaxDB, w312017db

Hi

 

I have done a distributed installation of NW 7.3 on Windows 2008 Server R2 on host which has two virtual hostnames.

After completion of installation, I have tried to configure the this host machine in the SAP LVM.

 

When I entered the MaxDB credentials and press the Test DBConnection its throwing the below error.

 

error stack:

Test of database admin credentials failed for W31 System Database (ABAP): MaxDB, w312017db.

  caused by Error occured while trying to get the status of the db from host agent. Used endpoint: 'http://w312017src:1128' [com.sap.nw.lm.aci.engine.base.exception.EngineException]

    caused by Database permission denied: username or password not set Please provide username and password of a database manager (DBM) user (a default DBM user is the 'control' user). [com.sap.engine.services.webservices.espbase.client.bindings.exceptions.SOAPFaultException]

 

 

I  am very sure that I gave correct credentials while installing. My OS password and master, DB passwords for all the three SAP Instances(CS,DB,CI) are the same.

 

Even I have reentered the passwords for all the users of the DB using the XUSER.

 

xuser list

xuser clear

xuser -U c_J2EE -u CONTROL,password -d W31 -t 0 -I 0 -S SAPR3 -n W312017db

xuser -U DEFAULT -u SAPW31,password -d W31 -t 0 -I 0 -S SAPR3 -n W312017db

xuser -U c -u CONTROL,password -d W31 -t 0 -I 0 -S SAPR3 -n W312017db

xuser -U w -u SUPERDBA,password -d W31 -t 0 -I 0 -S SAPR3 -n W312017db

 

 

Can anyone help us in resolving the issue. Please let us know which logs needed to find out the exact issue.

I am attaching the dev_sapdbctrl log file for your reference.

 

 

Regards,

Sivasankar

 

MaxDB can't be restarted after restore

Hi experts,

 

after restoring our MaxDB we have this problem while upgrading 7.9.8.0.23 to .28:

 

Cannot switch database mode, error during dbm command:

db_online

ERR

-24988,ERR_SQL: SQL error

-9407,System error: unexpected error

3,Database state: OFFLINE

Internal errorcode, Error code 6433 "system_error"

33,The log-iosequencenumber 131120322  could not be found at the expected position 1 on partition 1

20014,OldestNotSaved not found on log

20028,Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

Looking for error messages in knldiag

...

2015-02-18 08:42:40     0x64EF ERR 51080 SYSERROR -9407 unexpected error

2015-02-18 08:42:40     0x64EF ERR     3 Admin    Kernel_Administration+noPIC.cpp:976

2015-02-18 08:42:40     0x64EF ERR     3 Admin    Database state: OFFLINE

2015-02-18 08:42:40     0x64EF         6 KernelCo Internal errorcode, Error code 6433 "system_error"

2015-02-18 08:42:40     0x64EF WNG    33 Log      The log-iosequencenumber 131120322  could not be found at the expected position 1 on partition 1,LAST_IOSEQUENCE=5,FIRST_IOSEQUENCE=0

2015-02-18 08:42:40     0x64EF ERR 20014 Log      Log_Partition+noPIC.cpp:1099

2015-02-18 08:42:40     0x64EF ERR 20014 Log      OldestNotSaved not found on log

2015-02-18 08:42:40     0x64EF WNG 20028 Admin    Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

2015-02-18 08:42:40     0x64EF     12651 CONNECT  Connection released (E01, T34, connection obj. 801971d50)

2015-02-18 08:42:40     0x64EF       112 RTEKerne Offline KILL requested

2015-02-18 08:42:40     0x64EF         3 RunTime  State changed from ADMIN to SHUTDOWNKILL

2015-02-18 08:42:40     0x64D0 ERR     7 Messages Msg_Registry+noPIC.cpp:507

2015-02-18 08:42:40     0x64D0 ERR     7 Messages Begin of dump of registered messages

2015-02-18 08:42:40     0x64D0 WNG 20028 Admin    Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

2015-02-18 08:42:40     0x64D0         6 KernelCo Internal errorcode, Error code 6433 "system_error"

2015-02-18 08:42:40     0x64D0 ERR     3 Admin    Kernel_Administration+noPIC.cpp:976

2015-02-18 08:42:40     0x64D0 ERR     3 Admin    Database state: OFFLINE

2015-02-18 08:42:40     0x64D0         6 KernelCo Internal errorcode, Error code 6433 "system_error"

2015-02-18 08:42:40     0x64D0 WNG    33 Log      The log-iosequencenumber 131120322  could not be found at the expected position 1 on partition 1,LAST_IOSEQUENCE=5,FIRST_IOSEQUENCE=0

2015-02-18 08:42:40     0x64D0 ERR 20014 Log      Log_Partition+noPIC.cpp:1099

2015-02-18 08:42:40     0x64D0 ERR 20014 Log      OldestNotSaved not found on log

2015-02-18 08:42:40     0x64D0 WNG 20028 Admin    Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

2015-02-18 08:42:40     0x64D0 ERR     8 Messages Msg_Registry+noPIC.cpp:544

2015-02-18 08:42:40     0x64D0 ERR     8 Messages End of the message list registry dump

2015-02-18 08:42:40     0x64D0        61 RTEKerne rtedump written to file 'rtedump'

2015-02-18 08:42:40     0x64D0       111 RTEKerne Tracewriter resumed

2015-02-18 08:42:40     0x64D0        94 RTEKerne Waiting for tracewriter to finish work

2015-02-18 08:42:40     0x64D0       116 RTEKerne Tracewriter termination timeout: 60 seconds

2015-02-18 08:42:40     0x64E8     20000 Trace    Start flush kernel trace

-------------------------------------------- current write position ----------------

===========================================  end of write cycle  ===================

...

End of knldiag

 

Background is that we don't have a final backup after upgrade from 7.9.8.0.22 to .28, so we restored into a .23 (old server has crashed, so we restored using SWPM).

The last log pages were created in .28. Do we have to clear the log area?

MAX DB CLI backup

Dear All,

 

I'm new to max db and we have SAP DMS server in AIX 7.1 with

7.8.02.26 /sapdb/SDB/db

7.8.02.26 /sapdb/CDB/db

 

I created a backup template using HowTo - SAP MaxDB Backup with Database Manager CLI guide and

managed to take the SDB & CDB backup to a external NAS.But the backup file is 3.5 MB .


This is same for Dev,Qty, and production.


Our production DMS aserver SDB db is around 40 GB, backup is 3.5 MB.


What's wrong with this backup...?

Please help...

backup_template_create SDB_backup to FILE

/mnt/backup/BACKUP/SDB_prd_backup CONTENT DATA

 

 

dbmcli on SDB>backup_start SDB_backup

OK

Returncode 0

Date 20150202

Time 00140829

Server bobjdms2

Database SDB

Kernel Version Kernel 7.8.02 Build 026-121-243-456

Pages Transferred 432

Pages Left 0

Volumes 1

Medianame SDB_backup

Location /mnt/backup/BACKUP/SDB_dev_backup

Errortext

Label DAT_000000003

Is Consistent true

First LOG Page 420

Last LOG Page

DB Stamp 1 Date 20150202

DB Stamp 1 Time 00140829

DB Stamp 2 Date

DB Stamp 2 Time

Page Count 409

Devices Used 1

Database ID bobjdms2:SDB_20150130_155905

Max Used Data Page 0

Converter Page Count 10




MaxDB 7.8 backup problem

Hi guys,

 

        I'm facing problems with a MaxDB database 7.8 (7.8.02.21) 32 bits, installed in a Windows 2003 Server 32 Bits.

        The database has 1Tb and it was running fine until January/2015.

 

        There was a Microsoft Windows Security Patch applied in this server and, maybe by coincidence, the Database Backup COMPLETE and the Database Backup INCREMENTAL don't run anymore and return the error below:

 

              -915 No more memory 3,Data backup failed

 

        After this process the database status has changed to OFFLINE.

 

        Do you know a way to solve this problema?

 

Thanks in advance!

Ricardo


sap content server unexpected growth

Dear All,

we have a SAP content server attached via module kpro.

Our productive content server is growing a lot despite the data transferred from SAP side is not so big.

What could be the root case? How we could investigate on what is making content server growing so much?

any hint?

Database Studio >= 7.9.08.27 not working on Windows 32 bit

Eclipse starts normally and shows the workspace (without MaxDB specific items) but there is an error message "Wrong Java VM 32/64-Bit-Version. Current Java VM: 'Java HotSpot(TM) Client VM' 32 Bit. Required Java VM must fit os x86 bit."

JVM and DbStudio are 32 bit (tried Oracle 1.7 and 1.8).

 

This seems to be a side effect of PTS 1252979.

I also tried a 32 bit SAPJVM 6.1 (-vm parameter in dbstudio.ini). Same error message with "Current Java VM: 'SAP Java Server VM' 32 Bit".

maxdb -complete data backup is failed

Hi experts,

 

 

backups (complete and log ) are failing on livecache system.in our envorment we are using backup tool Backint for maxdb

 

please find the error logs and assist on this

 

2015-02-27 00:05:04

Filling reply buffer.

    Have encountered error -24920:

        The database request was canceled and ended with error -903. The backup tool ended with 0 as sum of exit codes.

 

 

    Constructed the following reply:

        ERR

        -24920,ERR_BACKUPOP: backup operation was unsuccessful

        The database request was canceled and ended with error -903. The backup tool ended with 0 as sum of exit codes.

Reply buffer filled.

 

 

Thanks,

siva

Installation guides for SOLMAN 7.1 for MAXDB

Can anyone please provide the installation guides for SOLMAN 7.1 for MAXDB.

Thanks

SAP Mini does not display database instance

Hello out there!

 

I'm installing a SAP mini on my virtual Win Server 2008 R2. Installation process has been sucessful but now I'm not sure how I can move on. I've installed the MaxDB database manager and now I want to connect to the NSP database.

The instruction says:
Click on Add <- I did

Click on Add on the pop-up window <- I did

Normally now the local server and the NSP database instance should be display. But in my case there is no NSP instance display.
For that reason also no entry for the NSP database is added to the main window.

 

What can I do to connect to the database? What have I done wrong?

Viewing all 322 articles
Browse latest View live


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