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

DB-Connect Failed, Return Code 000256

$
0
0

Hello All.

 

After restoring the DB while i m trying to bring the SAP Instance up, i m getting "DB-Connect Failed, Return Code 000256" in Syslog.

 

Can anyone tell me how this can be solved.

 

The DB is MaxDB 7.6.05.15 & SAP ECC 6.0.

 

Thanks.

 

Regards,

Mudassir.Imtiaz

 

P.S I tried to add the Developer Trace with this message but somehow i couldn't.

I guess its exceeding more than 15000 characters.


SAP Max Database Studio 7.9.08 64 bit installation failed

$
0
0

Hello Colleagues,

 

I tried to install the SAP Max Database Studio 7.9.08 in a 64 bit version on a Windows 7 64bit (Intel) PC.

The newest version as SAP package "MAXDBSTDDSK7908_4-20006288.SAR" downloaded at Service Market Place.

After unzip with SAPCAR I executed the Setup "SDBSETUP.exe" with the default values.

Standard path "C:\sapdb\...

I tried es with different path like "C:\Program Files\sapdb\ ... with the same error situation

 

At SAPMax - XML Log Viewer I found serveral error's

 

ERR: Invalid value for type "path"

...

 

ERR: install registry not found

ERR: Cannot open install registry

...

ERR: Service check failed

ERR: Cannot open "C:\Windows\SysWOW64\drivers\etc\services" to write: No such file or directory

...

 

After check with "SAP Note 1097311 - SAP MaxDB Database Studio installation" I asume the issue is related to the Registry-Key path.

 

This ist the SAP requirement:

 

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Windows \

SystemDirectory

Wert: "%SystemRoot%\system32" (type REG_EXPAND_SZ)

 

 

I have following values on the client PC:

 

SystemDirectory     REG_SZ     C:\Windows\SysWOW64

 

 

I don't think I can change the Windows 7 standard value/path here to the SAP value?!

 

Does anyone know the problem and how I am able to solve it?

 

Many thanks advance!

 

Regards,

 

Jochen

Back up failure

$
0
0

Hello,

 

We backup our production system with a ksh script and dbmcli commands. Blocks are written on a named pipe in order to split destiantion file into 1Go pieces. The backup has failed last night. In the KnlMsg, I have :

 

Thread  0x7AE Task251  2015-08-14 01:31:15RTEIO  112:  Open of medium  /sapdb/ZZZ/sapdata/DISKD0032 as number 34 for READ successfull
Thread  0x7AD Task152  2015-08-14 01:31:15RTEIO   112:  Open of medium  /tmp/savnod as number 35 for WRITE successfull
Thread  0x7AD Task152  2015-08-14 01:31:15SAVE  52101:  Filetype: pipe
Thread  0x7AD Task152  2015-08-14 01:31:15SAVE  52024:  200 pages -> "/tmp/savnod"
Thread  0x7AD Task152  2015-08-14 01:31:20SAVE  52024:  85600 pages -> "/tmp/savnod"
Thread  0x7AD Task152  2015-08-14 01:32:22 ERR RTEIO   136:  transfer of block 4294967295 to medium /tmp/savnod failed,_FILE=RTEIO_StreamMedium+noPIC.cpp,_LINE=2441
2015-08-14 01:32:22 ERR RTEIO   124:  write on medium /tmp/savnod failed:32,BYTES_NEEDED=65536,BYTES_USED=0,ERRORTEXT=Broken pipe,_FILE=RTEIO_StreamMedium+noPIC.cpp,

_LINE=3175

Thread  0x7AE Task251  2015-08-14 01:32:22RTEIO   114:  medium /tmp/savnod with number 35 was closed
Thread  0x7AE Task251  2015-08-14 01:32:22RTEIO   114:  medium /sapdb/ZZZ/sapdata/DISKD0001 with number 2 was closed

 

 

 

 

....

 

 

 

 

Thread  0x7AE Task251  2015-08-14 01:32:22RTEIO   114:  medium /sapdb/ZZZ/sapdata/DISKD0032 with number 34 was closed
Thread  0x7AE Task251  2015-08-14 01:32:23 ERR SAVE  52012:  error occured, basis_err 3700
Thread  0x7AE Task251  2015-08-14 01:32:23 ERR Backup    3:  Data backup failed,_FILE=Kernel_Administration+noPIC.cpp,_LINE=1465
2015-08-14 01:32:22SrvTasks 17:  Servertask Info: because Error in backup task occured
2015-08-14 01:32:22SrvTasks 10:  Job 1 (Backup / Restore Medium Task) [executing] WaitingT251 Result=3700
2015-08-14 01:32:22KernelComm6:  Error in backup task occured, Error code 3700 "hostfile_error"
2015-08-14 01:32:22Backup    1:  Backupmedium #1 (/tmp/savnod) I/O Error
2015-08-14 01:32:22KernelComm6:  Backup error occured, Error code 3700 "hostfile_error"
Thread  0x7AE Task251  2015-08-14 01:32:23 ERR Backup    3:  Data backup failed,_FILE=Kernel_Administration+noPIC.cpp,_LINE=1465
2015-08-14 01:32:22SrvTasks 17:  Servertask Info: because Error in backup task occured
2015-08-14 01:32:22SrvTasks 10:  Job 1 (Backup / Restore Medium Task) [executing] WaitingT251 Result=3700
2015-08-14 01:32:22KernelComm6:  Error in backup task occured, Error code 3700 "hostfile_error"
2015-08-14 01:32:22Backup    1:  Backupmedium #1 (/tmp/savnod) I/O Error
2015-08-14 01:32:22KernelComm6:  Backup error occured, Error code 3700 "hostfile_error"

 

I can copy a file manually trought a named pipe, I guess that the problem is not at OS level.

I have scheduled a check data this week-end. What can I check ?

 

Thank you,

 

--

Fabien

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

Need MaxDB ODBC 32 bit, version 7.8.02.28

$
0
0

Hei,

 

I need for a migration project the ODBC 32 bit drivers for Windows as best as version 7.8.02.28.

I tried version 7.8.02.41 but had some problems.

 

Can you please upload the drivers somewhere?

Thank you.

 

Greetings,

Manuel Kuhn

Reset superdba password for MAXDB

$
0
0

Hello

 

After migrating a sapdb instance (7.3 system) to maxdb 7.6 I have problems with the superdba and the control user.s The password that I think they should be the right do not work.

 

Now I'm looking for the possibility to reset the password of superdba and/or control user.

 

Please do not send me the notes

25591 - Changing the DBM, SYSDBA and DBA user passwords

and

39439 - XUSER entries for SAP DB and MaxDB

as done in many other SDN threads. This doesn't work for me because you can change the password only if you know the actual password (standarlogins superdba/admin and control/control do not work btw).

 

Does anyone know how to reset those passwords?

 

Thanks and regards

 

Marco

MaxDB 32 bits on Windows 7 64 bits

$
0
0

I folks,

I use a 32 bits IDE witch connect to MaxDB using ODBC, so i need the 32 bit driver to create a 32 bits ODBC datasource.

Everything was OK, until ia receive a brand new computer, running... Windows 7 64 bits.

When i try to install MaxDb client (7.6.06.22), i have this message:

 

Cannot create package tree: unresolved dependency: package "Database connectivity" not found.

 

I've also tried version 7.8.02.21, and i get another message:

 

Software isn't runnable on your system.

 

What must i do ?

 

TIA

 

Frédéric.

After System Copy: MaxDB won't come up

$
0
0

Dear all,

 

we performed a remote homogenous System Copy MaxDB on Linux with Backup/Restore procedure. The "recover_start <medium> DATA AUTOIGNORE" succeeded with RC=0 (8-time parallel backup files).

 

When we try to start the Database with "db_online", the process won't terminate and the Database stays in state "ADMIN". KNLMSG doesn't get new entries, the last ones are:

Thread0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  DYNP_K51_LOCK_LIST : 90543136
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK maxlocks      : 300000
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK items         : 902400
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK Regions       : 24
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK TransRegions  8
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK RegionGlob+Space  :   3840
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK TransGlob     :768
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK SupplyItemsPerRgn :100
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK SupplySize    : 230400
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK RowHash entries   : 300000
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK TabHash entries   :  60000
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK Row+Tab hash size :2880000
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK Trans entries :   1776
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK trans_list size   : 639360
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK TransPtrList  :  14208
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK TransHash entries :   1776
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK TransHash size:  14208
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK SupplyPoolSegments:   9000
Thread 0x4A81 Task120  2015-08-19 11:10:40 dynpool54003:  LOCK SupplyPoolSize: 86616000

 

"db_cons show task" shows one interesting task

T120   8  19073 User  19035 IO Wait (R)         1045    54(r)

--> what is he waiting for?

 

"param_checkall" says OK.

 

Any helpful hints will be greatly appreciated. The target Database Release is the same as in Source: 7.8.02.035 (we took the 7.8.02.031 installation package and patched it).

 

Kind regards,

Dirk


Error "-9400 AK Cachedirectory full"

$
0
0

Hello,

 

I'm writing back following an old thread in 2009 on this forum, related to a problem with MaxDB and "AK Cachedirectory full" problems. You can find the previous thread here: What can we so against Error "-9400 AK Cachedirectory full"?

 

The problem was actually never resolved: we could more or less live with it, and we managed to reduce it for a while, but we are having that problem again almost every day now. We actually fixed various points since 2009 and our system has changed quite a lot.

 

We use MaxDB 7.8.02 (BUILD 038-121-249-252) with the JDBC Driver sapdbc-7.6.09_000-000-010-635.jar. Note that we don't use MaxDB in a SAP environment as we have our own business application.

 

Following some very helpful feedback from Lars Breddemann, we fixed various points in our system: for example, result sets were not always properly closed, this is now done immediately after the query has been executed and the result rows were read. We also follow the advise from Elke Zietlow to always close a connection and its associated prepared statements when the error occurs. This also helps in most cases, but sometimes when the error occurs, even closing the connection and its prepared statements does not help and the problem "escalates" until we have to restart the db to fix the problem.

 

Back to the discussion in 2009, I used the two statements given by Lars to monitor the catalog cache usage: when I run this multiple times, I see that all result sets are properly closed as I only see the ones currently being used and they disappear.

 

One important point is that our java application keeps many prepared statements open in a cache, to have them ready to be reused. We can have up to 10'000 prepared statements open, with up to 100 jdbc connections. Actually the AK Cachedirectory full problem happens sometimes very soon after we restart our system and db, so at that time the number of prepared statements can be very low, which seems to indicate that the number of prepared statements being open is not necessarily linked to the problem.

 

Also in the discussion in 2009, Lars mentioned the fact that we use prepared statements of the type TYPE_SCROLL_INSENSITIVE and he was asking if we could not use TYPE_FORWARD_ONLY. Would this really make a difference? We need the TYPE_SCROLL_INSENSITIVE in many cases because we use some iterators to scroll up and down the result sets, so using TYPE_FORWARD_ONLY would require changing quite some code. I also saw in the MaxDB code that using the type TYPE_SCROLL_INSENSITIVE adds the string "FOR REUSE" to the sql statement, what does it exactly mean?

 

Amy help to fix that problem would be greatly appreciated.

Christophe

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

OSDB Migration:Import ABAP running from long time

$
0
0

Dear Experts,

 

We are Migrating our ECC6EHP4 system from Solaris5.10 with Oracle 11G to RHEL 6.4 with MaxDB 7.8.02 and the DB Size:480 GB, and we are facing issues in Import ABAP Phase as below: Please help us

 

 

we have started the Import ABAP phase by importing packages in order by size

 

 

The import ABAP job of package BSAS,D010TAB,SAPSSEXC_2 is running from more than a day and it is not writing any logs and some times it is writing logs after several hours  and it is not throwing any error.

we have checked the DB side there is sufficient Data area and log area is available and there is no issue from DB side.

Please help in this case what we can do analysis from the DB side or SAP import side. We have used the source and target systems same kernel with latest R3load, R3ldctl,R2Szchck patches. in this case what we can check the other logs if any thing is available please help us

 

Regards,

Samba

how to select and compare long data from maxdb

$
0
0

I have sap and java db. I try select data from table with this request

sql_execute SELECT * FROM SAPPOPDB.T_CHUNK where T_CHUNK.CHUNK_DATA < '10000'

but got this response

-24988,ERR_SQL:SQL error

-7032,SQL statement not allowed forcolumnof data type LOB

db structure

DOMAIN_HASH KEY NUMBER  10  0  SEL+UPD+   0   1   1   25.04.2014  17:31:17   25.04.2014  17:31:17

DOMAIN_COUNTER  KEY NUMBER  10  0  SEL+UPD+   0   2   2   25.04.2014  17:31:17   25.04.2014  17:31:17

SESSION_HASH  KEY NUMBER  10  0  SEL+UPD+   0   3   3   25.04.2014  17:31:17   25.04.2014  17:31:17

SESSION_COUNTER KEY NUMBER  10  0  SEL+UPD+   0   4   4   25.04.2014  17:31:17   25.04.2014  17:31:17

CHUNK_NAME  KEY VARCHAR UNICODE 200  SEL+UPD+   5   5   25.04.2014  17:31:17   25.04.2014  17:31:17

CHUNK_DATA OPT LONG BYTE SEL+UPD+   6   25.04.2014  17:31:17   25.04.2014  17:31:17

please help how I can get CHUNK_DATA from table?

DB - MaxDB Thank you

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

Reset superdba password for MAXDB

$
0
0

Hello

 

After migrating a sapdb instance (7.3 system) to maxdb 7.6 I have problems with the superdba and the control user.s The password that I think they should be the right do not work.

 

Now I'm looking for the possibility to reset the password of superdba and/or control user.

 

Please do not send me the notes

25591 - Changing the DBM, SYSDBA and DBA user passwords

and

39439 - XUSER entries for SAP DB and MaxDB

as done in many other SDN threads. This doesn't work for me because you can change the password only if you know the actual password (standarlogins superdba/admin and control/control do not work btw).

 

Does anyone know how to reset those passwords?

 

Thanks and regards

 

Marco

MAXDB Installation error - Some Database application might still be running

$
0
0

Hi All ,

 

I am trying to install SAP  trial version . While installation of MAXDB serve , I am getting an error " Some database application might still be running"

 

I dont have any other database installed on my system .

 

Kindly reply what can be the possible reason for this .

 

Thanks n Regards

Manik L Dhakate


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

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

Error "-9400 AK Cachedirectory full"

$
0
0

Hello,

 

I'm writing back following an old thread in 2009 on this forum, related to a problem with MaxDB and "AK Cachedirectory full" problems. You can find the previous thread here: What can we so against Error "-9400 AK Cachedirectory full"?

 

The problem was actually never resolved: we could more or less live with it, and we managed to reduce it for a while, but we are having that problem again almost every day now. We actually fixed various points since 2009 and our system has changed quite a lot.

 

We use MaxDB 7.8.02 (BUILD 038-121-249-252) with the JDBC Driver sapdbc-7.6.09_000-000-010-635.jar. Note that we don't use MaxDB in a SAP environment as we have our own business application.

 

Following some very helpful feedback from Lars Breddemann, we fixed various points in our system: for example, result sets were not always properly closed, this is now done immediately after the query has been executed and the result rows were read. We also follow the advise from Elke Zietlow to always close a connection and its associated prepared statements when the error occurs. This also helps in most cases, but sometimes when the error occurs, even closing the connection and its prepared statements does not help and the problem "escalates" until we have to restart the db to fix the problem.

 

Back to the discussion in 2009, I used the two statements given by Lars to monitor the catalog cache usage: when I run this multiple times, I see that all result sets are properly closed as I only see the ones currently being used and they disappear.

 

One important point is that our java application keeps many prepared statements open in a cache, to have them ready to be reused. We can have up to 10'000 prepared statements open, with up to 100 jdbc connections. Actually the AK Cachedirectory full problem happens sometimes very soon after we restart our system and db, so at that time the number of prepared statements can be very low, which seems to indicate that the number of prepared statements being open is not necessarily linked to the problem.

 

Also in the discussion in 2009, Lars mentioned the fact that we use prepared statements of the type TYPE_SCROLL_INSENSITIVE and he was asking if we could not use TYPE_FORWARD_ONLY. Would this really make a difference? We need the TYPE_SCROLL_INSENSITIVE in many cases because we use some iterators to scroll up and down the result sets, so using TYPE_FORWARD_ONLY would require changing quite some code. I also saw in the MaxDB code that using the type TYPE_SCROLL_INSENSITIVE adds the string "FOR REUSE" to the sql statement, what does it exactly mean?

 

Amy help to fix that problem would be greatly appreciated.

Christophe

Option to pre-install MaxDB using SWPM or other for System Copy ?

$
0
0

Good day,

 

I am busy with a Unicode Conversion project which involves MaxDB and a System Copy.

 

During the import and installation of the target system we had several issues relating to parameters not being correct in MaxDB. This caused huge delays in the whole process and unnecessary downtime.

 

To avoid having to do these parameter changes after waiting for the target install to fail once it has built the database I want to pre-install MaxDB and upgrade it with the necessary parameter changes so that we can avoid issues experienced during the target installation and import of data. I also want to avoid having to wait for 1TB of database volumes to be built during the target install.

 

My question is then, where in SWPM or what is the best method to use to pre-install MaxDB so it can be used for SAP ? I do not see any option in SWPM to install MaxDB as a standalone database. Note, this is not a distributed system, just a standard Central instance installation. I just want the option to install and configure MaxDB first.

 

We will be using MaxDB 7.8 since this is what all databases are using in the landscape. After the Unicode Conversion we will upgrade to 7.9 and install the latest enhancements. I have the installation media for 7.8.02.31 - this will be patched to build 41 before the import.

 

Thanks.

 

Regards,

Nelis

hs storage library specification

$
0
0

Hello,

 

I'm looking for the API specification of Hot Standby storage libraries.

 

Can someone - most likely from SAP - can provide my a source for the specification?

 

Thanks,

Frank

Viewing all 1545 articles
Browse latest View live