Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all 1892 articles
Browse latest View live

SAP Oracle Database Backup

$
0
0

Hi Guys,

 

I have SAP ECC 6.0 EHP 7 IDES running on Windows Server 2008 R2 with Oracle 12.1.0.2. I need to schedule database backup to disk using DB13 and I know I need to change init<SID>.sap parameters to backup to disk. I cannot see that file and even a file with the parameters to change from tape to disk. Please find attached screenshot with the files in my database folder not sure if I have to add the parameters if they are not there.


Regards,

Macdonald


Error when I start the DBUA (oracle upgrade) - powershell script

$
0
0

Hello,

 

I´m doing a Oracle database upgrade from 10.2.0.5 to 11.2.0.4 version. This is a SAP SRM 7.0 running on windows server 2003 x64.

 

I´m following the instructions in oracle upgrade guide (11.2.0.4) and now I´m in chapter "4.6 Performing the Database Upgrade", I´m trying to run the DBUA from PowerShell script (sap note 1431793). But I´m facing an error when I try to run the .\dbua,sap.ps1 (in cd <ORACLE_HOME>\sap\ora_upgrade\post_upgrade)

 

PS C:\oracle\SWO\11204\sap\ora_

upgrade\post_upgrade> .\dbua.sap.ps1
the database SWO is running on Oracle release "10.2.0.5.0 Production".
Oracle home is "C:\oracle\swo\102".
one or more 10.2 Oracle home(s) found
no 11.2 Oracle home found

SNAG-0167.jpg

 

I checked the ORACLE_HOME variable... and it is correct... it points to the current (old) ORACLE HOME (the 10.2.0.5 version):

SNAG-0168.jpg

SNAG-0169.jpg

 

All the oracle database services of 10.2 version are running/started.

 

Can you tell me what is the cause for this error? How can I solve this situation for I can run the dbua wizard (from powershell) without problems.

 

Please, help me.

 

Thank you,

BR,

JD

SAPCTL package and SAP executables

$
0
0

Dear all,

 

I have started reading about the use of SAPCTL package for making SAP resources Highly Available with Oracle Clusterware. I have two Oracle RAC nodes on version 11.2.0.2 and I want to install a PI 7.30 system there. I plan to have the SAP executables on an Oracle ACFS filesystem.

 

Firstly, has any of you done a similar installation and is there a naming convention for the SAP executables. The white papers give recommendations for the Oracle binaries ( +ACFS), for the Oracle data (+DATA or +<SID>_DATA etc ) but haven't seen one for the SAP binaries.

 

Also, there is a statement in the SAPCTL white paper that I do not understand: It reads that "If SAP executables are located on an Oracle ACFS filesystem, this is detected by SAPCTL and the resource dependencies are automatically created"

 

I do not understand what that means in terms of the availability of the SAP executables. They are supposed to be installed in a shared cluster filesystem (in my case, I have a RAC cluster with ASM). If I was to lose a node of the cluster, would it be SAPCTL that would make sure that the SAP executables were made available again for the second node and for the app servers who are installed in remote hosts outside the cluster?

 

Many thanks

 

Andreas

Oracle Upgrade - Pre-upgrade scripts - Errors (invalid objects)

$
0
0

Hello,

 

I´m doing an Oracle database upgrade (from 10.2.0.5 to 11.2.0.4) in a windows server 2003 x64.

 

Now I´m facing one problem, I have some doubts in how to solve/overcome some errors/warnings when I run the pre_upgrade scripts (1431793 - Oracle 11.2.0: Upgrade Scripts) before I run the dbua wizard to perform the real upgrade of oracle version!

24-12-2015 17.05.52.jpg

 

The output of pre_upgrade_status and pre_upgrade_tasks shows some warnings and errors:

**********************************************************************                        
Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]                           
Note: Pre-upgrade tool was run on a lower version 64-bit database.                            
**********************************************************************                        
--> If Target Oracle is 32-Bit, refer here for Update Parameters:                             
WARNING: --> "shared_pool_size" needs to be increased to at least 236 MB                      
.                                                                                             
                                                                                              
--> If Target Oracle is 64-Bit, refer here for Update Parameters:                             
WARNING: --> "shared_pool_size" needs to be increased to at least 472 MB                      
.                                                                                             
**********************************************************************                        
Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]                          
**********************************************************************                        
-- No renamed parameters found. No changes are required.                                      
.                                                                                             
**********************************************************************                        
Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]              
**********************************************************************                        
--> remote_os_authent        11.1   DEPRECATED                                        
--> background_dump_dest     11.1   DEPRECATED   replaced by  "diagnostic_dest"       
--> user_dump_dest           11.1   DEPRECATED   replaced by  "diagnostic_dest"       
.                                                                                             
                                                                                              
**********************************************************************                        
Components: [The following database components will be upgraded or installed]                 
**********************************************************************                        
--> Oracle Catalog Views     [upgrade]  VALID                                             
--> Oracle Packages and Types[upgrade]  INVALID                                           
.                                                                                             
**********************************************************************                        
Miscellaneous Warnings                                                                        
**********************************************************************                        
WARNING: --> Database is using a timezone file older than version 14.                         
.... After the release migration, it is recommended that DBMS_DST package                     
.... be used to upgrade the 10.2.0.5.0 database timezone version                              
.... to the latest version which comes with the new release.                                  
WARNING: --> Database contains INVALID objects prior to upgrade.                              
.... The list of invalid SYS/SYSTEM objects was written to                                    
.... registry$sys_inv_objs.                                                                   
.... The list of non-SYS/SYSTEM objects was written to                                        
.... registry$nonsys_inv_objs.                                                                
.... Use utluiobj.sql after the upgrade to identify any new invalid                           
.... objects due to the upgrade.                                                              
.... USER SYS has 19 INVALID objects.                                                         
WARNING: --> JOB_QUEUE_PROCESS value must be updated                                          
.... Your current setting of "1" is too low.                                                  
                                                                                              
.... Starting with Oracle Database 11g Release 2 (11.2), setting                              
.... JOB_QUEUE_PROCESSES to 0 causes both DBMS_SCHEDULER and                                  
.... DBMS_JOB jobs to not run. Previously, setting JOB_QUEUE_PROCESSES                        
.... to 0 caused DBMS_JOB jobs to not run, but DBMS_SCHEDULER jobs were                       
.... unaffected and would still run. This parameter must be updated to                        
.... a value greater than 4  (default value is 1000) prior to upgrade.                        
.... Not doing so will affect the running of utlrp.sql after the upgrade

 

 

I also run the following SQL command and it show me 19 invalid objects:

 

select object_name from dba_objects where status='INVALID';

SNAG-0191.jpg

 

My doubts... are how can I correct this invalid objects!? The upgrade guide and the sap notes doesn´t describe any details about it! Can you guide me please and help me to understand how to correct this invalid objects before I run the DBUA upgrade!?

 

Thank you,

João Dimas

Oracle incremental backups taking as long as normal backups ?!?

$
0
0

Dear Experts,

 

we are running our SAP systems on oracle 11g, on Solaris zones.

Backups are being done through RMAN and stored on an EMC DataDomain.

Dynamic block change tracking is enabled in each DB.

We have recently switched our backup strategy for non-production systems

from Full backups each day to a level 0 backup once per week and incremental

backups each day. The DB size is about 500 GB. But there is something VERY

frustrating:

On the ERP DEV system, the incremental backups are about 14 GB in size,

and they take about 15-20 mins, which is OK.

On the QAS system and on another systems though, incremental backups

take absolutely the same time, as level 0 backups (6-7 hours), which is not

acceptable at all!!

Can you please advise, if there is something that can be done ot SAP/DB

level, in order to speed up those incremental backups, or we really have a

serious performance bottleneck in our storage subsystem ?

 

Many thanks in advance!

Activate an index on LIPS table

$
0
0

Hello,

 

SAP recommending to activating an index on LIPS table.

 

I want to Activate the SAP delivered  index LIPS~VBG on table LIPS

 

What are the steps to activating this index?

Are there any precautions that needs to take before activating this index.

 

Is index activate using SE11?

 

indeximg.jpg

 

regards,

zerandib

Brrestore from tape to disk

$
0
0

Hi,

 

 

We have done redo log backup using -cds function.

 

but tape on which first copy of redolog was saved has been scratched. We have tape on which second copy of redolog was saved.

 

Is there any way to restore the archive logs (second copy) from tape to disk.?

 

 

Regards

Bhargav Bhatt

R3load cancelled with ORA-29275 partial multibyte character during DB export

$
0
0

Dear all,

 

I am trying to move my system from 10G on AIX to 11G on windows platform however  while exporting the DB with R3load I am getting ORA-29275 error for some non-standard tables.

 

If I ignore those table from .TSK files or truncate on source system I am able to migrate this table with oracle exp/imp utility without any problem.

 

However I would like to fix this issue and prefer to use R3load for migrating the db.

 

And also source DB character set is UTF8. I have posted below related cmd,log and STR files of one of those tables.

 

If there is anyone came across same problem before or anyone have an idea about it I am looking forward to your comment.

 

Thanks for your help.

Eren.

 

SAPAPPL1_145.cmd

tsk: "/export/tmp/sapinst_instdir/BS2008/ERP604/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/SAPAPPL1_145.TSK"

icf: "/export/export/ABAP/DATA/SAPAPPL1_145.STR"

dcf: "/export/export/ABAP/DB/DDLORA.TPL"

dat: "/export/export/ABAP/DATA/" bs=1k fs=1000M

dir: "/export/export/ABAP/DATA/SAPAPPL1_145.TOC"

 

SAPAPPL1_145.log

/usr/sap/TMP/SYS/exe/run/R3load: START OF LOG: 20150114213141

 

/usr/sap/TMP/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#21 $ SAP

/usr/sap/TMP/SYS/exe/run/R3load: version R7.20/V1.4 [UNICODE]

Compiled Oct 11 2014 05:18:16

/usr/sap/TMP/SYS/exe/run/R3load -e SAPAPPL1_145.cmd -datacodepage 4103 SAPAPPL1_145.log -stop_on_error

 

(DB) INFO: connected to DB

(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16

(DB) INFO: Export without hintfile

(GSI) INFO: dbname   = "TMP20090425060421                                                                                         

                    "

(GSI) INFO: vname    = "ORACLE                          "

(GSI) INFO: hostname = "turtest                                                         "

(GSI) INFO: sysname  = "AIX"

(GSI) INFO: nodename = "turtest"

(GSI) INFO: release  = "3"

(GSI) INFO: version  = "5"

(GSI) INFO: machine  = "00F6D1134C00"

(GSI) INFO: instno   = "0020183188"

DbSl Trace: Error 29275 in stmt_fetch() from oci_fetch_stmt(), orpc=90767

 

DbSl Trace: ORA-29275 occurred at SQL stmt (parse error offset=0)

 

(EXP) ERROR: DbSlExeRead failed

  rc = 99, table "ZDSAP_A_ABNLK"

  (SQL error 29275)

  error message returned by DbSl:

ORA-29275: partial multibyte character

(DB) INFO: disconnected from DB

 

/usr/sap/TMP/SYS/exe/run/R3load: job finished with 1 error(s)

/usr/sap/TMP/SYS/exe/run/R3load: END OF LOG: 20150114213147

 

SAPAPPL1_145.STR

 

tab: ZDSAP_A_ABNLK

att: APPL1   7  ?N T all    ZDSAP_A_ABNLK~0                APPL1   7

fld: ABONE_KODU                     CHAR    16     0   0 not_null  1

fld: ABONE_TAKIP_KODU               CHAR    16     0   0 not_null  0

fld: TSLMT_KISI_KODU                CHAR    16     0   0 not_null  0

fld: FATURA_KISI_KODU               CHAR    16     0   0 not_null  0

fld: TSLMT_ADRES_KODU               CHAR    16     0   0 not_null  0

fld: FATURA_ADRES_KOD               CHAR    16     0   0 not_null  0

fld: MALZEME_KODU                   CHAR    18     0   0 not_null  0

fld: TESLIMAT_ADEDI                 INT2     2     0   0 not_null  0

fld: BASLANGIC_TARIHI               DATS     8     0   0 not_null  0

fld: BITIS_TARIHI                   DATS     8     0   0 not_null  0

fld: ABONELIK_DURUMU                CHAR     4     0   0 not_null  0

fld: ABONE_TIPI                     CHAR     4     0   0 not_null  0

fld: ODEME_TIPI                     CHAR     4     0   0 not_null  0

fld: ODEME_TURU                     CHAR     4     0   0 not_null  0

fld: AB_KAYIT_TARIHI                DATS     8     0   0 not_null  0

fld: ABONE_TURU                     CHAR     4     0   0 not_null  0

fld: PERIYOT                        CHAR     4     0   0 not_null  0

fld: FATURA_DURUMU                  CHAR     4     0   0 not_null  0

fld: BIRIM_FIYAT                    CURR     7    13   2 not_null  0

fld: KOMISYON_ORANI                  DEC     3     4   4 not_null  0

fld: AT_KODU                        CHAR    16     0   0 not_null  0

fld: ACIKLAMA                       CHAR   255     0   0 not_null  0

fld: OZEL_NOT                       CHAR   255     0   0 not_null  0

fld: ABONE_ONAY                     CHAR     4     0   0 not_null  0

fld: ABONE_PROMOSYON                CHAR     4     0   0 not_null  0

fld: KAYIT_DURUMU                   CHAR     1     0   0 not_null  0

fld: SON_ISLEM_ZAMANI               INT4     4     0   0 not_null  0

fld: PARSEL_KODU                    CHAR    16     0   0 not_null  0

fld: UZTLMS_BIT_TARIH               DATS     8     0   0 not_null  0

fld: ABONELIK_KANALI                CHAR     4     0   0 not_null  0

fld: TESLIM_KISI                    CHAR   100     0   0 not_null  0

fld: SAYI_ADEDI                     INT4     4     0   0 not_null  0

fld: KALAN_SAYI_ADEDI               INT4     4     0   0 not_null  0

fld: ILK_SAYI                       CHAR    10     0   0 not_null  0

fld: KAMPANYA_TIPI                  CHAR     4     0   0 not_null  0

fld: GSM_OPR                        CHAR     4     0   0 not_null  0

fld: GSM_NO                         CHAR    15     0   0 not_null  0

fld: ONAY_DURUMU                    CHAR     4     0   0 not_null  0

fld: STS_ELMN_KODU                  CHAR    16     0   0 not_null  0


Error in DBUA wizard - Upgrade Oracle DB (11.2 to 12.1) - ORA-01017

$
0
0

Hello,

 

I´m doing an Oracle upgrade from 11.2.0.4 to 12.1.0.2 in Windows Server 2012 (R2). I´m following the "Oracle Upgrade Guide" available in SAP Marketplace. At this moment I´m doing the "DBUA phase "4.5 Performing the Database Upgrade", but during the DBUA wizard in screen "Select Database" it show me the following error:

 

I´m doing this with a non <sid>adm user, I´m using the same user that I used to performing the installation of oracle database 11.2.0.4.

 

ORA-01017: invalid username/password; logon denied

02-01-2016 15.47.30.jpg

 

This appears after I press "Next" in the screen:

02-01-2016 15.47.08.jpg

 

I logged with <sid>adm user and I tried to connect to database (I always start the database instance with the <sid>adm) but now it returns the same error:

02-01-2016 16.32.06.jpg

 

I read the SAP note 1576837 - ORA-01017: invalid username/password;

 

How can I solve this problem if I can´t connect to the database as sysdba? I don´t get it

 

Can you tell me please, can you help me?

 

Thanks,
JD

Differences in refresh of different abap systems

$
0
0

Hi Experts,

 

I wanted to know what are the differences in refresh of different abap systems with oracle as the database. Like, what processes are different in pre and post refresh tasks for BW, CRM, SRM, SCM, ECC etc.

 

Please advice.

 

Thanks,

Asad

Advanced Index Compression 12c - _advanced_index_compression_options

$
0
0

Dear All

 

We are in the process to upgrade from Oracle 11.2.0.4 to 12.1.0.2.13 ( SBP 12.1.0.2.5 201511 for Exadata).

 

One open question is the new 12c feature regarding Advanced Index Compression.

 

In the note

1888485 - Database Parameter for 12.1.0.2

they mentioned the hidden parameter "_advanced_index_compression_options" with the recommend value of 16.

 

In the referenced note

2138262 - Oracle Database 12c Advanced Compression for SAP Systems

it is mentioned

"...By setting the init.ora parameter _advanced_index_compression_options=16 all newly..."

 

For me it is not clear if this hidden parameter is recommended always to set or case by case? If it is set then all indexes are compressed.

 

Does someone has experience with this configuration?

 

thanks and regards

fabian

SAP Kernel 720 Upgrade

$
0
0

Hi Gurus,

 

 

My SAP system has Kernel 720 patch level 500

 

I want to upgrade this kernel but not able to find the next patch level on service market place

 

This is not the 720_EXT kernel

 

I understand I may have to upgrade this kernel to 730 so I want to re-confirm

 

Also, there is an SAP Note as this is not the regular SAP kernel upgrade procedure so can anyone advice on the relevant SAP note for this

 

R..../-

Connect is not possible: DBMS = ORACLE error(return code 12) during transport

$
0
0

Dear experts,

 

While performing transport to production, we are facing below error

 

 

 

Connect is not possible: DBMS = ORACLE                      --- dbs_or

 

Message no. TW169

 

Diagnosis

 

R3trans cannot logon to the database.

 

System Response

 

The program is cancelled.

 

Procedure

 

In the R3trans log you will find an SQL error number, which gives you the cause of the error.

 

Environment variables not set (or incorrectly set) are the most frequent reason for the error

 

 

 

BR,

Fadzly Iqbal

Upgrade to Oracle 12.1.0.2 : performance problem

$
0
0

Hallo.

I upgraded my SAP Production and Test systems to Oracle 12.1.0.2 from 11.2.0.4

 

I note that in Production, some reports are very slower than in Test system

 

Note that oracle parameters are the same except for the parameter regarding the sga size that are larger in Production than Test

 

I trace an ABAP report and I saw a different plan.
In TEST:

QL Statement

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SELECT

  *

FROM

  "ZMMODA"

WHERE

  "MANDT"=:A0 AND "MATNR"=:A1 AND "EINDT" BETWEEN :A2 AND :A3 AND "WERKS"=:A4

ORDER BY

  "MANDT","EBELN","EBELP"

 

 

 

 

Execution Plan

 

 

Explain from gv$sql_plan: Address: 000007FF60A43448 Hash_value:  817699050 Child_number:  0 Instance_ID: 1

Sql_id: 825uahssbu67a  Parse Timestamp: 20160105   05:18:33

 

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

SELECT STATEMENT ( Estimated Costs = 368 , Estimated #Rows = 0 )

  |

  ---   11 SORT ORDER BY

      |    ( Estim. Costs = 368 , Estim. #Rows = 10 )

      |    Estim. CPU-Costs = 29.374.075 Estim. IO-Costs = 366

      |

      ---   10 FILTER

          |    Filter Predicates

          |

          ---   9 HASH JOIN

              |   ( Estim. Costs = 367 , Estim. #Rows = 10 )

              |   Estim. CPU-Costs = 15.281.579 Estim. IO-Costs = 366

              |   Memory Used KB: 194.560

              |   Access Predicates

              |

              |--   6 NESTED LOOPS

              |   |   ( Estim. Costs = 8 , Estim. #Rows = 10 )

              |   |   Estim. CPU-Costs = 64.074 Estim. IO-Costs = 8

              |   |

              |   |--   4 NESTED LOOPS

              |   |   |   ( Estim. Costs = 8 , Estim. #Rows = 10 )

              |   |   |   Estim. CPU-Costs = 64.074 Estim. IO-Costs = 8

              |   |   |

              |   |   |--   2 TABLE ACCESS BY INDEX ROWID EKPO

              |   |   |   |   ( Estim. Costs = 2 , Estim. #Rows = 10 )

              |   |   |   |   Estim. CPU-Costs = 18.381 Estim. IO-Costs = 2

              |   |   |   |

              |   |   |   ------1 INDEX RANGE SCAN EKPO~1

              |   |   |           ( Estim. Costs = 1 , Estim. #Rows = 10 )

              |   |   |           Search Columns: 5

              |   |   |           Estim. CPU-Costs = 4.806 Estim. IO-Costs = 1

              |   |   |           Access Predicates Filter Predicates

              |   |   |

              |   |   ------3 INDEX RANGE SCAN EKET~0

              |   |           Search Columns: 3

              |   |           Estim. CPU-Costs = 3.069 Estim. IO-Costs = 0

              |   |           Access Predicates

              |   |

              |   ------5 TABLE ACCESS BY INDEX ROWID EKET

              |           ( Estim. Costs = 1 , Estim. #Rows = 1 )

              |           Estim. CPU-Costs = 4.569 Estim. IO-Costs = 1

              |           Filter Predicates

              |

              ---   8 TABLE ACCESS BY INDEX ROWID EKKO

                  |   ( Estim. Costs = 358 , Estim. #Rows = 55.290 )

                  |   Estim. CPU-Costs = 9.087.005 Estim. IO-Costs = 357

                  |

                  ------7 INDEX SKIP SCAN EKKO~W

                          ( Estim. Costs = 55 , Estim. #Rows = 55.290 )

                          Search Columns: 1

                          Estim. CPU-Costs = 2.609.239 Estim. IO-Costs = 55

                          Access Predicates Filter Predicates

 

 

 

instead in Production:

SQL Statement

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SELECT

  *

FROM

  "ZMMODA"

WHERE

  "MANDT"=:A0 AND "MATNR"=:A1 AND "EINDT" BETWEEN :A2 AND :A3 AND "WERKS"=:A4

ORDER BY

  "MANDT","EBELN","EBELP"

 

 

 

 

Execution Plan

 

 

Explain from gv$sql_plan: Address: 00000005054A74E0 Hash_value:  817699050 Child_number:  0 Instance_ID: 1

Sql_id: 825uahssbu67a  Parse Timestamp: 20160105   14:03:53

 

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

SELECT STATEMENT ( Estimated Costs = 1.185 , Estimated #Rows = 0 )

  |

  ---   15 SORT ORDER BY

      |    ( Estim. Costs = 1.184 , Estim. #Rows = 10 )

      |    Estim. CPU-Costs = 201.740.851 Estim. IO-Costs = 1.171

      |

      ---   14 FILTER

          |    Filter Predicates

          |

          ---   13 HASH JOIN

              |    ( Estim. Costs = 1.183 , Estim. #Rows = 10 )

              |    Estim. CPU-Costs = 186.836.041 Estim. IO-Costs = 1.171

              |    Memory Used KB: 201.728

              |    Access Predicates

              |

              |--   6 NESTED LOOPS

              |   |   ( Estim. Costs = 8 , Estim. #Rows = 10 )

              |   |   Estim. CPU-Costs = 65.756 Estim. IO-Costs = 8

              |   |

              |   |--   4 NESTED LOOPS

              |   |   |   ( Estim. Costs = 8 , Estim. #Rows = 10 )

              |   |   |   Estim. CPU-Costs = 65.756 Estim. IO-Costs = 8

              |   |   |

              |   |   |--   2 TABLE ACCESS BY INDEX ROWID EKPO

              |   |   |   |   ( Estim. Costs = 2 , Estim. #Rows = 10 )

              |   |   |   |   Estim. CPU-Costs = 20.063 Estim. IO-Costs = 2

              |   |   |   |

              |   |   |   ------1 INDEX RANGE SCAN EKPO~1

              |   |   |           ( Estim. Costs = 1 , Estim. #Rows = 10 )

              |   |   |           Search Columns: 5

              |   |   |           Estim. CPU-Costs = 4.846 Estim. IO-Costs = 1

              |   |   |           Access Predicates Filter Predicates

              |   |   |

              |   |   ------3 INDEX RANGE SCAN EKET~0

              |   |           Search Columns: 3

              |   |           Estim. CPU-Costs = 3.069 Estim. IO-Costs = 0

              |   |           Access Predicates

              |   |

              |   ------5 TABLE ACCESS BY INDEX ROWID EKET

              |           ( Estim. Costs = 1 , Estim. #Rows = 1 )

              |           Estim. CPU-Costs = 4.569 Estim. IO-Costs = 1

              |           Filter Predicates

              |

              ---   12 VIEW index$_join$_004

                  |    ( Estim. Costs = 1.174 , Estim. #Rows = 61.760 )

                  |    Estim. CPU-Costs = 179.992.784 Estim. IO-Costs = 1.162

                  |

                  ---   11 HASH JOIN

                      |    Memory Used KB: 16.027.648

                      |    Access Predicates

                      |

                      |--   9 HASH JOIN

                      |   |   Memory Used KB: 13.181.952

                      |   |   Access Predicates

                      |   |

                      |   |-----7 INDEX FAST FULL SCAN EKKO~0

                      |   |       ( Estim. Costs = 205 , Estim. #Rows = 61.760 )

                      |   |       Estim. CPU-Costs = 10.896.674 Estim. IO-Costs = 204

                      |   ------8 INDEX FAST FULL SCAN EKKO~1

                      |           ( Estim. Costs = 360 , Estim. #Rows = 61.760 )

                      |           Estim. CPU-Costs = 11.922.308 Estim. IO-Costs = 360

                      |

                      ------10 INDEX FAST FULL SCAN EKKO~D

                               ( Estim. Costs = 211 , Estim. #Rows = 61.760 )

                               Estim. CPU-Costs = 10.942.963 Estim. IO-Costs = 211

                               Filter Predicates

 

 

The problem is on VIEW index$_join$_004 executed in Production, instead in Test it executes

TABLE ACCESS BY INDEX ROWID EKKO

                  |   ( Estim. Costs = 358 , Estim. #Rows = 55.290 )

                  |   Estim. CPU-Costs = 9.087.005 Estim. IO-Costs = 357

                  |

                  ------7 INDEX SKIP SCAN EKKO~W

                          ( Estim. Costs = 55 , Estim. #Rows = 55.290 )

                          Search Columns: 1

                          Estim. CPU-Costs = 2.609.239 Estim. IO-Costs = 55

                          Access Predicates Filter Predicates

 

 

 

that seems faster.

The database statistics post upgrade were calculated with brconnect -u / -c -f stats -t all -f collect -p 4


ZMMODA is a view on the tables EKPO, EKET,EKKO:

EKPOMANDT=EKETMANDT
EKPOEBELN=EKETEBELN
EKPOEBELP=EKETEBELP
EKPOEBELN=EKKOEBELN

 

I tried even to delete from DB20 and recreate the statistics with no results.

 

I apllied this _fix_control:

ALTER SYSTEM SET "_FIX_CONTROL"=

'5099019:ON',

'5705630:ON',

'6055658:OFF',

'6120483:OFF',

'6399597:ON',

'6430500:ON',

'6440977:ON',

'6626018:ON',

'6972291:ON',

'7168184:OFF',

'7658097:ON',

'8937971:ON',

'9196440:ON',

'9495669:ON',

'13077335:ON',

'13627489:ON',

'14255600:ON',

'14595273:ON',

'18405517:2',

'20355502:8',

'14846352:OFF'

COMMENT='SAP RECOMMENDED SETTING FOR 12.1.0.2'

  SCOPE=SPFILE;


in particular

'14846352:OFF' mentioned in Oss note "2254070 - 12c: Bad Performance after upgrade from 11.2.0.x to 12.1.0.2 doing a simple join"

but the problem persist.

 

 

What could I do ?

 

 

Thanks for your help.

 

 

Mario Bisonti


SQL error -1017 at location db_connect-2, SQL statement (ORA-01017: invalid username/password; logon denied)

$
0
0

Hello,

 

I´m facing one problem during the post-upgrade activities after an oracle database. I did an oracle database from 11.2.0.4 to 12.1.0.2 version (in Windows Server 2012 R2). I´m following the oracle database upgrade 12.1c guide from SAP (windows) and now I´m doing the "5 Post-Upgrade Steps" chapter.

 

When I try to run the following commands (Oracle database statistics) it show me an error!

brconnect -u / -c -f stats -t system_stats

brconnect -u / -c -f stats -t oradict_stats

brconnect -u / -c -f stats -t all -f collect -p 4

04-01-2016 23.16.45.jpg

BR0801I BRCONNECT 7.20 (42)

BR0805I Start of BRCONNECT processing: cesflcrw.sta 2016-01-05 15.31.44

BR0484I BRCONNECT log file: C:\oracle\SWO\sapcheck\cesflcrw.sta

BR0280I BRCONNECT time stamp: 2016-01-05 15.31.46

BR0301E SQL error -1017 at location db_connect-2, SQL statement:

'CONNECT /'

ORA-01017: invalid username/password; logon denied

BR0310E Connect to database instance SWO failed

BR0280I BRCONNECT time stamp: 2016-01-05 15.31.48

BR0301E SQL error -1017 at location db_connect-2, SQL statement:

'CONNECT /'

ORA-01017: invalid username/password; logon denied

BR0310E Connect to database instance SWO failed

 

BR0806I End of BRCONNECT processing: cesflcrw.sta 2016-01-05 15.31.46

BR0280I BRCONNECT time stamp: 2016-01-05 15.31.48

BR0804I BRCONNECT terminated with errors

 

I searched for a solution and I read the sap note 1576837 - ORA-01017: invalid username/password; but unfortunately I can´t find a solution for this error!

 

I´m running the latest version of BR*Tools 7.21 (patch 600)... the SAP Kernel is the 7.21 EXT UC (X64) version (patch level 619).

 

I already updated the Oracle Instant Client (998004 - Update the Oracle Instant Client on Windows)... I´m running the OIC 12.1.0.2, the latest version of Oracle Instant Client.

 

I ran the following query with the goal to understand if some core oracle users are locked or not... but it seems to me ok, the main oracle users (SYS; SYSTEM; OPS$ users; SAPSR3):

 

select username, account_status from dba_users;

05-01-2016 15.40.48.jpg

 

Can you help me please to understand how can I correct this...!?

 

Best regards,

JD


installing SRM 7.01 oracle 10.2.0.4

$
0
0

Hello

I have a problem during this installation in a Solaris environment.

I started the sapinst and after it asked me for installing oracle , i did it with patches and bugfix (10.2.0.4).

After this i restarted the sapinst and i have an error in ora_sql_results :

 

Output of SQL executing program:

 

 

 

SQL*Plus: Release 10.2.0.4.0 - Production on Wed May 11 15:55:51 2011

 

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

 

Connected to an idle instance.

 

ORACLE instance started.

 

Total System Global Area 4714397696 bytes

Fixed Size                  2145200 bytes

Variable Size            2379138128 bytes

Database Buffers         2332033024 bytes

Redo Buffers                1081344 bytes

Database mounted.

ORA-01092: ORACLE instance terminated. Disconnection forced

 

 

The phase of sapinst is "create database" it stops immediately trying open db.

If i try with startup upgrade it works but the sapinst wants the startup only.

 

from alert i have:

Successful open of redo thread 1

Wed May 11 17:48:16 2011

MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set

Wed May 11 17:48:16 2011

SMON: enabling cache recovery

Wed May 11 17:48:16 2011

Errors in file /oracle/DQM/saptrace/usertrace/dqm_ora_7601.trc:

ORA-00704: bootstrap process failure

ORA-39700: database must be opened with UPGRADE option

Wed May 11 17:48:16 2011

Error 704 happened during db open, shutting down database

USER: terminating instance due to error 704

Instance terminated by USER, pid = 7601

ORA-1092 signalled during: alter database open...

 

Any ideas how to resolve this strange problem please?

Thanks

Nickk

SAP Installation error at IMPORT ABAP Phase

$
0
0

Dear All,

 

I am installing SAP ECC6.0 with oracle 10g on Redhat 5.

Every thing is ok but when installation reached at IMPORT ABAP phase, i am getting issue like.

 

R3load.exe.log

 

/usr/sap/SID/SYS/exe/run/R3load: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

 

 

Sapinst log

 

ERROR 2016-01-07 22:21:03.637

FCO-00011  The step testDatabaseConnection with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR ( Last error reported by the step :Process call '/usr/sap/sid/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.).

 

 

An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection".

 

 

INFO 2016-01-07 22:27:14.926

Creating file /tmp/sapinst_instdir/.lastInstallationLocation.

 

 

INFO 2016-01-07 22:27:15.516

Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.xml.

 

 

 

Please help.

 

With Regards

 

Santosh

Deadlock error WARNING => MtxLock 7f4022f83fd8 RQ_Q_QUE owner=39 deadlock ? [mtxxx.c 2576]

$
0
0

Hi All,

 

Our SAP instance is terminating with the following error.

I have checked with the note 1966321, it says that to do the latest kernel patch.

Our kernel patch is 2 years old.

The system was running fine without any issue.

I need to know whether the kernel patch will do the trick?

 

Regards,

Karthik.R

brconnect libnnz11.so: cannot open shared object file: No such file or directory

$
0
0

Hi Experts,

 

I have ran to an issue..

 

I was upgrading Oracle 11.2.0.3 to 12.1.0.2.

OS - Suse Linux

 

Upgraded the Brtools to 7.40 (16)

Created Database profile for 12c

Craeted OPS$ORACLE

 

Then while trying to execute brconnect -u / -f check or brbackup -u / -q i'm getting this error -

 

brconnect: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory

brbackup: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory

 

All permissions looks ok.

 

lrwxrwxrwx 1 oracle oinstall       11  libnnz10.so -> libnnz11.so

-rw-r--r-- 1 oracle oinstall 11705222   libnnz11.a

-rw-r--r-- 1 oracle oinstall  7955322   libnnz11.so

 

-rwsrwsr-- 1 oracle oinstall 10016505  brarchive

-rwsrwsr-- 1 oracle oinstall 10105330  brbackup

-rwsrwsr-- 1 oracle oinstall 12113091  brconnect

-rwsrwsr-- 1 oracle oinstall 10571753  brrecover

-rwsrwsr-- 1 oracle oinstall  6217759  brrestore

-rwsrwsr-- 1 oracle oinstall 12586841  brspace

-rwxr-xr-x 1 sidadm sapsys    6828776  brtools

 

Tried to run brconnect -u // -f check

Restarted the server even. Still no luck.


Although brtools is opening atleast.

 

Can anyone could guide.

 

Thanks

//Arya

Rebuilding indexes with Bad Storage Quality

$
0
0

Hi All,

 

I need to Know how you can find out indexes with Bad storage quality and then i have to prepare a List of all these indexes and go for an Online Reorginzation, can some one help me in getting this data and the procedure as to how you do it.. I know rebulding Particular index using Brtools, but not Pretty sure about the Online Reorganization

 

Regards,

Ershad Ahmed.

Viewing all 1892 articles
Browse latest View live


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