Quantcast
Channel: SCN: Message List - SAP MaxDB
Viewing all 2539 articles
Browse latest View live

Re: DB RESTORE WITH INITIALIZATION ON MAXDB

$
0
0

Hi ,

 

i found the issue is regarding wrong tape initialization.

 

hope it will be helpful .

 

Best regards,

Krishna


Re: Upgrade from 7.8.02.35 to 7.9.08.5 errors

$
0
0

Hi Kori ,i thought there was a patch or work around somewhere to avoid the hostname change but i dont have any choice but to change it.

 

Thanks

Re: Db Upgrade error from 7.8.2.35 to 7.9.08.05

Error at import abap in SAP NW installation

$
0
0

Hello all,

 

I am trying to install sap netweaver 7.02 AS ABAP 64 bit developer version for windows..

 

During installation at running phase 16 of 24 i.e IMPORT ABAP, i am getting the following error,

 

 

       An error occurred while processing option SAP NetWeaver 7.0 including Enhancement Package 2 > SAP Application Server ABAP > MaxDB > Central System > Central System( Last error reported by the step :System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter (, NULL, Program Files/sapinst_instdir/NW702/AS-ABAP/ADA/CENTRAL, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-1_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall() iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall() synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false) synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart() .). You can now:

  • Choose Retry to repeat the current step.
  • Choose Log Files to get more information about the error.
  • Stop the option and continue with it later.

Log files are written to C:\Program Files/sapinst_instdir/NW702/AS-ABAP/ADA/CENTRAL/.    

 

 

 

Please kindly look into the issue,

Any help will be much more appreciated.

 

 

Thanks

Akram basha

Re: MAXDB upgrade on DMS server from 7.3.00.35

$
0
0

Hello Mahipal,

 

for me there is something visible. Please contact SAP to get access to the software. Maybe you do not have a license for this software ... or you are using the wron S-User.

 

Best regards

Christtian

Bad performance with inner join

$
0
0

Hi,

I have the following SQL-statement with a very bad performance:

 

 

SELECT

T_00 ."ERSDA" , T_00 . "AUFNR" , T_00 . "VORNR" , T_00 . "PERNR" ,

T_00 . "RUECK" , T_00 . "AUERU" , T_00 . "STOKZ" , T_00 . "STZHL" ,

T_00 . "ILE01" , T_00 . "ILE03" , T_00 ."ISBD" , T_00 . "ISBZ" ,

T_00 . "IEBD" , T_00 . "IEBZ" , T_00 ."SATZA" , T_00 . "LTXA1" ,

T_00 . "ERNAM" , T_00 . "WERKS" , T_00 ."GMNGA" , T_00 . "ISM01" ,

T_00 . "ISM02" , T_00 . "ISM03" , T_00 ."XMNGA" , T_01 . "ARBPL" ,

T_01 . "AUFNR" , T_01 . "VORNR"

FROM

"AFRU" T_00 INNER JOIN "S022" T_01 ON T_01 . "MANDT" = ? AND T_01 . "AUFNR" =T_00 . "AUFNR"

AND T_01 . "VORNR" = T_00. "VORNR"

WHERE

T_00 . "MANDT" = ? AND T_00 . "WERKS" =? AND T_00 . "ERSDA" = ? AND T_00 ."PERNR" = ?

 

The indices are:

AFRU~Z01: MANDT, PERNR, BUDAT

AFRU~Z02: MANDT, WERKS, ERSDA, PERNR

S022~A: MANDT, SSOUR, VRSIO, WERKS, ARBPL, KAPAR, MATNR, AUFNR, PLNUM, POSNR, PLNFL, VORNR

 

It seems, that the indices will not be used.

 

Have you got an idea, how can I improve the performance from this statement? With a new index, or can I rebuild the statement to archive a better performance. It is very urgent.

 

Thank you very much for you answers.

 

Regards,

 

Stefan G.

Re: MAXDB upgrade on DMS server from 7.3.00.35

$
0
0

HI

 

Thanks for the reply...can you please post the screenshot then i can show samething to my team lead.

 

Thanks

Re: MAXDB upgrade on DMS server from 7.3.00.35

$
0
0

Hi Mahipal,

 

please have a look at this.

 

 

2013-05-27 14-43-28_Clipboard.jpg

 

Best regards

Christian


Re: MAXDB Installation error - Some Database application might still be running

$
0
0

Thanks edward. It helped me alot and saved my time. but again i got problem at installing import abap stage.

 

error is

       An error occurred while processing option SAP NetWeaver 7.0 including Enhancement Package 2 > SAP Application Server ABAP > MaxDB > Central System > Central System( Last error reported by the step :System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter (, NULL, Program Files/sapinst_instdir/NW702/AS-ABAP/ADA/CENTRAL, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-1_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall() iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall() synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false) synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart() .). You can now:

  • Choose Retry to repeat the current step.
  • Choose Log Files to get more information about the error.
  • Stop the option and continue with it later.

Log files are written to C:\Program Files/sapinst_instdir/NW702/AS-ABAP/ADA/CENTRAL/

 

 

 

Can you please me help me out. i strucked here from long time.

 

 

 

Thanking you.

Re: Bad performance with inner join

$
0
0

Hello Stefan,

 

Are the statistics (note 927882) and parameters (note 1111426) updated?

 

Regards,

Eduardo Rezende

Re: Error at import abap in SAP NW installation

$
0
0

Hi Akram,

 

Could you share sapinstdev.log file details. Please share last 1000 lines from this files.

 

Regards,

Deepak Kori

Re: MaxDB 32 bits on Windows 7 64 bits

Re: Bad performance with inner join

$
0
0

Hello Eduardo,

 

thanks for your answer. The statistics are actual and the parameters are set like suggested in note 1111426.

Have you got any other idea?

 

Thanks

 

Regards,

Stefan Galiger

Re: Error at import abap in SAP NW installation

$
0
0

Hi Akram,

 

Might be your dump is incomplete.

 

Please share sap installation log file details.

 

 

Regards

Yogesh Garg

Re: Bad performance with inner join


Re: Bad performance with inner join

$
0
0

Hello Stefan,

 

could you please send the explain plan executed via DatabaseStudio or SQlStudio as follows

or directly in St05.

 

I would expect that the join will be executed via select on the table AFRU using the index AFRU~Z02

and then accesses the second table S022.

Please send additionally the parameter values of te SQL statement. MaxDb is using a cost based optimizer which always sued the best strategies depending on the values in the where condition.

 

Which database version are you using?

 

You will find useful information about performance Analysis in our training about SQL Optimizer and in our Performacne guide section in SDN:

http://maxdb.sap.com/training/ session 16 Part 1 and for join part 2

and

https://wiki.sdn.sap.com/wiki/display/MaxDB/SQL+Optimizer

 

 

SELECT

T_00 ."ERSDA" , T_00 . "AUFNR" , T_00 . "VORNR" , T_00 . "PERNR" ,

T_00 . "RUECK" , T_00 . "AUERU" , T_00 . "STOKZ" , T_00 . "STZHL" ,

T_00 . "ILE01" , T_00 . "ILE03" , T_00 ."ISBD" , T_00 . "ISBZ" ,

T_00 . "IEBD" , T_00 . "IEBZ" , T_00 ."SATZA" , T_00 . "LTXA1" ,

T_00 . "ERNAM" , T_00 . "WERKS" , T_00 ."GMNGA" , T_00 . "ISM01" ,

T_00 . "ISM02" , T_00 . "ISM03" , T_00 ."XMNGA" , T_01 . "ARBPL" ,

T_01 . "AUFNR" , T_01 . "VORNR"

FROM

"AFRU" T_00 INNER JOIN "S022" T_01 ON T_01 . "MANDT" = ? AND T_01 . "AUFNR" =T_00 . "AUFNR"

AND T_01 . "VORNR" = T_00. "VORNR"

WHERE

T_00 . "MANDT" = '<value>' AND T_00 . "WERKS" = '<value>' AND T_00 . "ERSDA" = '<value>' AND T_00 ."PERNR" = '<value>'

Re: Bad performance with inner join

$
0
0

Hi Marius,

 

our database is MaxDB, not Oracle.

 

The execution plan shows me, that the most expensive statement is the inner join statement above.

 

Thank you for you help.

 

Regards

Stefan

 

st05.JPG

Re: Bad performance with inner join

$
0
0

Hello Stefan,         

 

 

please check my last answer and post the required info please.

The explain output is the important one to check if the optimizer is executing the Inner join correctly.

 

Thanks,

Christiane

Re: Bad performance with inner join

$
0
0

Hello Stefan,

 

ok now it is clear. The second statement has an equal condition on ERSDA -> so the index AFRU~z02 can be used and this execution is fast.

 

The first statement has an between condition on ERSDA - MaxDb cannot use the complete index AFRU~z02. The optimizer can use only these columns to the between - means of index AFRU~Z02 columes MANDT,WERKS,ERSDA but not the PERSNR anymore. So the optimizer evaluates if the aacess via another index can be used and evaluates index AFRU~Z01 -> here optimizer uses columes Mandt and PERSNR - looks like the PERSNR reducs the number of rows to be read more then reading index AFRU~z02

 

How to optimize this statement:

 

Create an 3. index AFRU~Z03 via the columes PERNR,WERKS,ERSDA

 

The explain must be as follows

AFRU~Z03      using columns PERSNR,WERKS,ERSDA then accessing the table S022

 

MANDT must not be part of this index because mandt is always the first key column and MaxDb uses the key columns as seperator in the index - so you always have the key column in the index as well. ( maxDb ios not working qwith rowids). Ok PERSNR seems to be the column with the most distince values (my experieice) put it as the  first index column. Werks is the second equal condition in the stamtement - so put it as second index column, and at last the column with the between condition.

 

This is the reason why I recommend to create the index with PERSNR,WERKS,ERSDA

 

The explain will look as follows:

AFRU~Z03

PERSNR

WERKS

ERSDA

MANDT ( use key column)

 

join via key range to S022 but only using column MANDT.

 

Ok to optimize the join transition for both statements we have to have a closer look on the join conditions.

 

Mandt =

AUFNR =

VORNR =

 

There seems to be no index on S022 with the columns AUFNR,VORNR

Mandt don't need to be part of the index as well.

 

So please create both indexes as described in my answer - and I'm interesting in the result  ..... could the runtime of both statements be speed up?

 

Regards, Christiane

Re: Content server installation with HA

Viewing all 2539 articles
Browse latest View live


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