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

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


dbmcli does not support external commands anymore

$
0
0

My backup script doesn't work with dbmcli version 7.9.08.10.

 

If you store your MaxDB data sets on NetApp-Filer volumes you can use NetApp-Snapshots to backup them. Since MaxDB version 7.8 this is supported by MaxDB with device type EXTERNAL.

 

After creating an new backup template (e.g. NETAPP) with device type EXTERNAL you can use the dbmcli commands

"backup_start NETAPP DATA"

and

"backup_finish NETAPP ExternalBackupID $SNAPSHOT"

 

The first command "backup_start NETAPP DATA" tells maxdb to do a savepoint and take a temporay MaxDB snapshot. Now you can backup the database with operating system tools e.g. draw a NetApp-Filer snapshot. The second dbmcli command registers the backup in the backup history list and deletes the temporay MaxDB snapshot.

 

Unfortunatly you have to submit the two dbmcli commands within the same database session. This is no problem if you do the backup of your MaxDBs in dialog mode. But if you want to script the backup you need to sumbit the NetApp snapshot command from within one dbmcli session between backup_start and backup_finish. I have done it until now with a HERE script:

 

dbmli -Uc -d <SID> >/dev/null 2>&1 <-HERE

db_connect

backup_start NETAPP DATA

!ssh sapfiler snap create dbvol $SNAPSHOT

backup_finish NETAPP ExternalBackupID $SNAPSHOT

db_release

quit

HERE

 

Earlier versions of MaxDB knew the statement "exec_command". This is long gone. But the undocumented feature "!" to start os commands survived in dbmcli until  7.9.08.05. Now they declared this bitter needed feature to a security risk. Since 7.9.08.06 you get an error (unkown command).

 

Searching for a solution I tried the "background_server" commands. But they only usable in dialog mode.

 

Any suggestions?

 

Regards

Günter Hoeth

Max DB start and stop

$
0
0

Hello Folks,

 

We have SAP system running on Max DB database. We have windows patching maintenance for that we have to stop SAP and Max DB database.

I am new to Max DB so can someone tell me the correct steps for stopping the database (including the service stopping sequence) and starting it again after the maintenance gets over.

 

We have two Max DB services running MAXDB: SID and XServer.


I checked on some document that states that taking max DB instance offline from Database manager is not a good idea.


Regards,

Mohit

MaxDB database studio usermanagement errors

$
0
0

Hi,

 

I (succesfully, as far as I can tell) installed MaxDB on a Windows 7 Professional x64 Vmware virtual PC (maxdb-all-win-64bit-x86_64-7_8_02_28) and now want to also install MaxDB database studio (maxdb-studio-win-64bit-x86_64-7_9_08_01). While the installation seems to finish successfully, I'm running into errors after starting (as administrator). First error is

 

'Loading preference values failed; default values will be used

 

Reason:

Missing object type: :Loader'

 

then

 

'Could not read preferences

 

Reason:

Missing object type: :SQLSTUDIO'

 

The Event log viewer shows warnings about the utilities path not specified and again Errors about 'Missing object type:: preferences'

 

While Eclipse then starts up, it is not possible to work with the locally installed DB (which seems to be detectect, however). Again there are errors about

'Missing object type::preferences' as well as

'Could not load mounted Local Folders'

'Can not get registration preferences'

'Get login attributes failed'

'User management exception: Missing object tye::UM_CONNECTION_KEY_REPLACE_WITH_DATABASE_NAME'

 

Searching the web using these errors does result in too much help, , unfortunately, for UM_CONNECTION_KEY_REPLACE_WITH_DATABASE_NAME I do net get a single hit with google.

 

First I thought my Java SDK 1.7, is too recent, so I uninstalled DB studio and Java and tried again with Oracle jdk-6u37-windows-x64, but I'm getting the same errors. I also noted that, as it seems, the DB Studio remembered the password from the previous installation. It did not ask for a new one during the new installation but asked for the old one after I started it (I consider this a bug).

 

Any ideas anyone? Any help would be appreciated.

 

Maybe I should also note that at first I had a broken MaxDB installation (it failed to load the system tables), which I uninstalled, however and reinstalled (then succesfully).

 

Thanks in advance and best regards,

 

Thomas

Content server migration - loadercli and I'm running nuts...

$
0
0

We have an (old) content server database of 150 GB on 7.3.0.52 and we're trying to migrate that database to Linux x86_64 bit. I tried the following before:

 

- tried to install/run 7.3 on SuSE SLES 11 SP1 - failing (new kernel threading)

- tried to restore the 7.3 backup on 7.5 - failing (host pagaes too old)

- tried to use 'loadercli' of 7.5 (Note 962019) - failing (ASCII --> Unicode)

- now trying to use 7.6.06.20 and stuck

 

I want to use pipes as transport and use loadercli on the target system (7.6).

 

I created two files (according to note 962019)

 

EXPORT USER
catalog outstream pipe '/home/sqdcos/trans/COS.CAT'
data outstream pipe '/home/sqdcos/trans/COS.DATA' PAGES
package outstream file '/home/sqdcos/trans/COS.export'

and

IMPORT USER
catalog instream pipe '/home/sqdcos/trans/COS.CAT'
data instream pipe '/home/sqdcos/trans/COS.DATA' PAGES
package outstream '/home/sqdcos/trans/COS.import'

 

The pipes are not existing.

 

I start the export which seems to work, the COS.CAT pipe is created.

 

As soon as I start the import, I get the following error message:

 

IMPORT USER
catalog instream pipe '/home/sqdcos/trans/COS.CAT'
data instream pipe '/home/sqdcos/trans/COS.DATA' PAGES
package outstream '/home/sqdcos/trans/COS.import'
// *
// M    Execute   PACKAGE  to transform  CATALOG
/ *
// M    Import    PACKAGE x'01000000A296EB4EB45800009B16031EC842BF0100000000'
// *
// M    Number of TABLES   transformed : 3
// *
// M    Processed command is a PAGES format based copy from database 
// with ASCII catalog to database with UNICODE catalog
// *
// M    Execute   PACKAGE  to transform  DATA
// *
// M    Number of TABLES   to transform: 0
// *
// E -25329:    The given data file '/home/sqdcos/trans/COS.DATA' was not 
// generated using EXPORT in PAGE Format (missing table description).

 

 

plus I get an additional pipe created "COS.DATA0000"

 

What am I missing here? I'm fiddling with this since hours and I can't figure what I'm doing wrong.

 

 

 

Markus

How to restore incremental backup on different computer?

$
0
0

Hello,

we want to restore a MaxDB database from incremental backups on a different computer. This fails with the error below(-111,Incompatible incremental backup).

This is the scenario:

Computer A:

1. Full data backup into file backup_full.bak

2. Do some transactions

3. Incremental data backup into file backup_inc.bak

 

Computer B:

1. Restore with "db_activate recover" from file backup_full.bak

2. Restore with "db_activate recover" from file backup_inc.bak

=> Step two fails

 

Where do I do wrong? Do I need to consider the LOGs as well? I do not want to as I want to take the backup on-the-fly.

 

 

Regards,

Jens

 

 

Error:

-24988,ERR_SQL: SQL error

-111,Incompatible incremental backup

6,Data recovery failed

Servertask Info: because Error in backup task occured

Job 1 (Backup / Restore Medium Task) [executing] WaitingT271 Result=1040

Error in backup task occured, Error code 1040 "incompatible_savefile"

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

Maxdb incremental backup too large- impossible to be done

$
0
0

Hello

 

We have a ~2Tbytes Data Base MaxDB 7.9 that daily from Monday to Thursday is done a incremental backup to disk.

 

The usual incremental backup presents a 1.5 GB of data in disk.

 

This week we are experiencing a unusual behaviour that is a huge increase in the size of the incremental backup.

We have tried and the last incremental backup that we have tried and failed was 168 GB  which is 100 times greater than the usual and even this was not complete with success.

 

In the DB there is no error besides the error of space unavailable to perform the incremental backup.

The last week Friday night the Full Backup has run with success.

 

Does anyone have an idea what is the cause of this behaviour and how can we previously with any command knew the dimension of the incremental backup ?

 

Thanks

Best Regards

 

Sílvia

 



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

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

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

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

Maintaining Warm user : Error! wrong username or password!

$
0
0

Hello Experts ,

 

I am trying to run the following query but getting an error :

 

dbmcli -n <Host> -d <SID> -u SAP<SID>,<PWD> -uk w -us SUPERDBA,<PWD> -up TIMEOUT=0;

Error! wrong username or password!

 

Above query is coming from note 490325 -

 

I have checked the passwords of SAP<SID> and SUPERDBA by login to the dbmcli and it works.

 

Could you please let me  know which password am i missing here.

 

Thanks

Dev

how to configure sap maxdb client to connect to SAP ERP system (SAP HR)

$
0
0

Hello all,

I am currently installing live cache for SAP ERP HR application(Idoc), can anybody tell me the sequence to proceed to configure SAP livecache with SAP ERP system. i am doing following steps

1. Install SAP DB using installation MAXDB CDs

2. Install SAP Livecache and standalone server SCM 5.0 using SAP ERP master and Livecache dvds.

3. install Livecache client fromSAP ERP master and livecache dvds between SAP ERP and livecache server.

4. configure in LC10, tcode.

 

but when i press on livecache monitoring in LC10 it gives me following error.

Command: DBMRFC

Parameter: -gsapfive -xsapgw00

SY-SUBRC: 8

Return Code

 

sap maxdb client


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

Max DB start and stop

$
0
0

Hello Folks,

 

We have SAP system running on Max DB database. We have windows patching maintenance for that we have to stop SAP and Max DB database.

I am new to Max DB so can someone tell me the correct steps for stopping the database (including the service stopping sequence) and starting it again after the maintenance gets over.

 

We have two Max DB services running MAXDB: SID and XServer.


I checked on some document that states that taking max DB instance offline from Database manager is not a good idea.


Regards,

Mohit

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

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

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

Viewing all 1545 articles
Browse latest View live


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