Quantcast
Channel: SCN : All Content - SAP on Oracle
Viewing all 2104 articles
Browse latest View live

SAP license problem in redolog backup

$
0
0

Hi all,

 

We are using the oracle DB,HA system.

Every half hour the offline redolog backup was triggered in Primary DB and Local standby.

 

log flie in primary DB:

 

BR0006I Start of offline redolog processing: aenaqwfo.cds 2014-01-22 20:00:24

BR0484I BRARCHIVE log file: /oracle/PCT/saparch/aenaqwfo.cds

BR0477I Oracle pfile /oracle/PCT/112_64/dbs/initPCT.ora created from spfile /oracle/PCT/112_64/dbs/spfilePCT.ora

BR1301W Error message from likeywlib:

===...could not load SSF library .//libsapcrypto.so .

 

 

BR1301W Error message from likeywlib: 543 likey_init: Couldn't load SAPSECULIB (".//libsapcrypto.so") using function SsfSupInitEx (), rc = 10 (no library).

BR1301W Error message from likeywlib: 542 likey_init: At least one more attempt to load the SAPSECULIB will follow.

BR1301W Error message from likeywlib:

===...could not load SSF library libsapcrypto.so .

 

 

BR1301W Error message from likeywlib: 543 likey_init: Couldn't load SAPSECULIB ("libsapcrypto.so") using function SsfSupInitEx (), rc = 10 (no library).

BR1301W Error message from likeywlib: 541 likey_init: Couldn't load SAPSECULIB. Giving up.

BR1302W Initialization of license key library likeywlib failed, return code 1

BR1304W Checking SAP license failed at location BrLicCheck-122

BR0602W No valid SAP license found - please contact SAP

 

 

BR0101I Parameters

 

 

Name                           Value

 

 

oracle_sid                     PCT

oracle_home                    /oracle/PCT/112_64

oracle_profile                 /oracle/PCT/112_64/dbs/initPCT.ora

sapdata_home                   /oracle/PCT

sap_profile                    /oracle/PCT/112_64/dbs/initPCT.sap

backup_dev_type                util_file

archive_dupl_del               only

system_info                    orapct/orapct a011440p200 Linux 3.0.80-0.7-default #1 SMP Tue Jun 25 18:32:49 UTC 2013 (25740f8) x86_64

oracle_info                    PCT 11.2.0.3.0 8192 92 49244201 a011440p200 UTF8 UTF8 2054034546 &PCT

sap_info                       731 SAPSR3 PCT TEMPLICENSE R3_ORA INITIAL

make_info                      linuxx86_64 OCI_112 Nov 20 2013 740_REL

command_line                   /usr/sap/PCT/SYS/exe/run/brarchive -d util_file -cds -c -u /

br_env                         ORACLE_SID=PCT,

                               ORACLE_HOME=/oracle/PCT/112_64,

                               NLS_LANG=.UTF8,

                               SAPDATA_HOME=/oracle/PCT

 

 

BR0013W No offline redolog files found for processing

 

 

BR0007I End of offline redolog processing: aenaqwfo.cds 2014-01-22 20:00:25

BR0280I BRARCHIVE time stamp: 2014-01-22 20:00:25

BR0004I BRARCHIVE completed successfully with warnings

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

 

In Local standby DB:

 

BR0006I Start of offline redolog processing: aenaqwfi.cds 2014-01-22 20:00:18

BR0484I BRARCHIVE log file: /oracle/PCT/saparch/aenaqwfi.cds

BR1301W Error message from likeywlib: 2 likey_init: Sid "PCT_LSTB" is not 3 characters long.

BR1302W Initialization of license key library likeywlib failed, return code 1

BR1304W Checking SAP license failed at location BrLicCheck-122

BR0602W No valid SAP license found - please contact SAP

 

 

BR0101I Parameters

 

 

Name                           Value

 

 

oracle_sid                     PCT_LSTB

oracle_home                    /oracle/PCT/112_64

oracle_profile                 /oracle/PCT/112_64/dbs/initPCT_LSTB.ora

sapdata_home                   /oracle/PCT

sap_profile                    /oracle/PCT/112_64/dbs/initPCT_LSTB.sap

archive_type                   standby

backup_dev_type                util_file

archive_dupl_del               only

primary_db                     PCT.WORLD

system_info                    orapct/orapct a011440p201 Linux 3.0.80-0.7-default #1 SMP Tue Jun 25 18:32:49 UTC 2013 (25740f8) x86_64

oracle_info                    PCT 11.2.0.3.0 8192 92 49244201 a011440p200 UTF8 UTF8 2054034546 &PCT_LSTB

sap_info                       731 SAPSR3 PCT TEMPLICENSE R3_ORA INITIAL

make_info                      linuxx86_64 OCI_112 Nov 20 2013 740_REL

command_line                   /usr/sap/PCT/SYS/exe/run/brarchive -d util_file -cds -c -u /

br_env                         ORACLE_SID=PCT_LSTB,

                               ORACLE_HOME=/oracle/PCT/112_64,

                               NLS_LANG=.UTF8,

                               SAPDATA_HOME=/oracle/PCT

 

 

BR0613W Database instance PCT_LSTB/STANDBY is shut down

 

 

BR0039I Last offline redolog file /oracle/PCT/oraarch/PCTarch1_91_835192522.dbf will not be backed due to stopped database instance PCT_LSTB/STANDBY

 

 

BR0013W No offline redolog files found for processing

 

 

BR0007I End of offline redolog processing: aenaqwfi.cds 2014-01-22 20:00:19

BR0280I BRARCHIVE time stamp: 2014-01-22 20:00:19

BR0004I BRARCHIVE completed successfully with warnings

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

If any one know why this error has occur wher I have to check it?

In local standby ther is no copy save only delete has performed. (BR0039I Last offline redolog file /oracle/PCT/oraarch/PCTarch1_91_835192522.dbf will not be backed due to stopped database instance PCT_LSTB/STANDBY)

 

Thanks,

GP


DB 12 Overview of redo log files not yet backed up 133

$
0
0

Dear team,

                In DB 12 ,Be hand the overview of redo log files its Displaying message like redo log files not yet backedup 133. how to resolve this, what is mean by that message!!!

SAP on Oracle RAC with ASM

$
0
0

As per Note 527843 , SAP has a requirement to install Oracle RDBMS binaries on shared filesystem. What would be the issue if we decide to install on local system? It's a standard practise everything to install oracle rdbms binaries locally to facilitate rolling patching but looks like SAP thinks otherwise. 

 

Has anyone installed Oracle RDBMS binaries locally in SAP environment? Would appreciate a quick response.

Featured Content for SAP on Oracle

$
0
0

Oracle Exadata X5 Certified by SAP New!

All SAP products based on SAP NetWeaver 7.x  available on Oracle Linux 6 and certified with Oracle Database 11g Release 2 can now be used with the new Oracle Exadata Database Machine X5 in a non-virtualized setup. For more information, see SAP Note 1590515.
Stay up-to-date by following us on Twitter.

 

SAP on Oracle Development Update

Check our development update for what's up and coming for SAP on the Oracle database - platform news, Oracle 11.2 & 12.1, RAC, ASM, Oracle Linux, BR*Tools....
Stay up-to-date by following us on Twitter.

 

Support for SAP Applications with Oracle Databases in Microsoft Azure Environments

With Oracle Database 11g Release 2 Patchset 3 (11.2..0.4), SAP applications are now certified and supported for Oracle databases in a Microsoft Azure environment. For more information, see SAP Note 2039619.
Stay up-to-date by following us on Twitter.

 

New BR*Tools Patches Now Available

The new BR*Tools patches (7.20 Patch 40 and 7.40 Patch 12) are now available on SAP Service Marketplace. For more information, see SAP Notes  2086963 and 2086966.
Stay up-to-date by following us on Twitter.

 

Structural Changes in SAP Bundle Patches

As of June 2014, there is a change in the internal structure of the SAP Bundle Patches (SBPs) for Oracle. While this has many benefits, applying the new SBP for the first time requires special handling. For more information, see the hot news SAP Note 2011199.
Stay up-to-date by following us on Twitter.

 

Oracle Database 11g Release 2 Patchset 3 (11.2.0.4) Now Available

Oracle Database 11g Release 2 Patchset 3 (11.2.0.4) is now available on all Oracle engineered systems platforms, all Linux platforms, all UNIX platforms, and Microsoft Windows platforms (Oracle 11204 is the first version that supports Microsoft Windows Server 2012 R1 and R2). For more information, see SAP Note 1431799.

Stay up-to-date by following us on Twitter.

 

New Secure Connect Method 

There is now a new method for the connection between SAP processes and the Oracle database. Instead of storing the encrypted password in the database, it is stored in the file system. This means that the Oracle remote OPS$ connect, which has been used up till now, is no longer needed. For more information, see SAP Notes 1622837 and 1639578.
Secure storage is now supported in BR*Tools. For more information, see SAP Note 1764043.

 

SAP on Oracle Presentations

Here are some presentations from the recent conference of the German Oracle Users Group (DOAG):

 

Recently Featured Content

Here you can find entries that were previously shown on this page but have since been removed to make way for new content.

Recently Featured Content

$
0
0

Here you can find entries that were recently shown in http://scn.sap.com/community/oracle but have been removed.

 

Oracle Virtual Compute Appliance (VCA) Certified by SAP

All SAP products based on SAP NetWeaver 7.x available on Oracle Linux 5 and Oracle Linux 6 can now be used on the Oracle Engineered System designed for virtualization - the Oracle Virtual Compute Appliance (VCA). For more information, see SAP Note 2052912.
Stay up-to-date by following us on Twitter.

 

Virtual Exalogic Certified by SAP

All SAP products based on SAP NetWeaver 7.x available on the Oracle Linux 5 platform can now be used in a Virtual Exalogic configuration. For more information, see SAP Note 1617188.
Stay up-to-date by following us on Twitter.

 

Virtual Exalogic Certified by SAP

All SAP products based on SAP NetWeaver 7.x available on the Oracle Linux 5 platform can now be used in a Virtual Exalogic configuration. For more information, see SAP Note 1617188.

 

SAP NW Master Data Management Now Certified with Oracle ASM

SAP’s solution for managing, consolidating, and synchronizing your enterprise master data, SAP NetWeaver Master Data Management (MDM), has been officially certified with Oracle Automatic Storage Management (ASM), as of SAP NW MDM 7.1 SP10. For more information, see SAP Note 1825328.
Stay up-to-date by following us on Twitter.

 

Microsoft Hyper-V Now Supported for SAP on Oracle

Microsoft virtualization solution Windows Server 2012 Hyper-V is now certified for use with SAP systems running on Oracle database, supporting Windows Server 2008 R2 SP1 and Windows Server 2012 (with upcoming Oracle 11.2.0.4) as guest operating systems, and all SAP and Oracle products certified with these guest OSs. For more information, see SAP Note 1329848.
Stay up-to-date by following us on Twitter.

 

Oracle Clusterware 11g Release 2 Integration with SAP NetWeaver Certified!

The integration of Oracle Clusterware 11g Release 2 running on the Solaris and Linux operating system with SAP NetWeaver 7.30 via the SAP integration scenario NW-HA-CLU 730 has been officially certified by SAP AG (certification reports 20284533 and 20284617). The integration is implemented with SAPCTL V7.
For more information, see SAP Note 1496927.

 

Oracle VM Certified by SAP

The latest release of Oracle's server virtualization solution Oracle VM 3.2.1 has now been certified by SAP for x86_64 platforms. SAP products can now be deployed in Oracle VM virtualized environments using Linux and Solaris guests. Oracle VM provides SAP customers with a fully supported and certified virtualization environment for the Oracle database.
For more information on Oracle VM, see SAP Note 1808268.

 

SAP Library Docu for SAP on Oracle with BR*Tools

We now have a new updated version of the SAP Library documentation for SAP on Oracle, including BR*Tools.
For more information, see SAP Database Guide: Oracle. Sep 18 2012

 

Oracle Linux 6 (including Unbreakable Enterprise Kernel Release 2) certified by SAP

Oracle Linux 6 is the newest Linux version of Oracle for your SAP infrastructure computing needs. Unbreakable Enterprise Kernel Release 2 is based on the mainline Linux kernel and boasts a wide range of new features and improvements relevant for enterprise workloads. It includes performance and scalability enhancements that enable Oracle to achieve excellent performance.
For more information, see SAP Note 1635808. May 16, 2012

 

BR*Tools Now Supports Oracle ASM and Exadata

As of patch 18 for BR*Tools 7.20, you can use BR*Tools to manage Oracle 11g databases based on Oracle Automatic Storage Management (ASM), including Oralce Exadata Database Machine. For more information, see SAP Notes 1627541 and 1598594.

We released Oracle ASM for SAP in February 2011 - see SAP Note 1550133.

We released Oracle Exadata Database Machine for SAP in June 2011 - see SAP Note 15905158 Nov 2011

 

 

SAP on Oracle White Papers

Updated February 2012

 

Oracle Patch Set 11.2.0.3 Released

We have now released the Oracle patchset 11.2.0.3 for use with SAP systems on UNIX platforms. For more information, see SAP Notes 1431799 and 1631931 and the guide Upgrade to Oracle Database 11g Release 2 (11.2): UNIX - For Oracle Patch Set Release 11.2.0.2 and 11.2.0.3.  20 Dec 2011

 

Oracle Exalogic and Exadata Now Certified by SAP

All SAP products based on SAP NetWeaver 7.x that are also certified for Oracle Database 11g Release 2 can now be used with the Oracle Exadata Database Machine and the Oracle Exalogic system. Only the Oracle database can run on the Oracle Exadata Database Machine. No SAP instance can be deployed on the Oracle Exadata Database Machine. SAP instances have to run on different middle-tier machines of any hardware architecture and operating system or on the Oracle Exalogic system.

For more information on the Oracle Exadata Database Machine, see SAP Note 1590515 and the Oracle white paper. For more information on the Oracle Exalogic system, see SAP Note 1617188.

DB13 Function failed with return code=No configuration data

$
0
0

Dear Experts,

I unable take backup in DB13. i am facing issue like:Function  failed with return code=No configuration data, while i enter db13.

Please help me resolve this issue.

 

OS:windows NT

DB:DB6

 

 

Warm Regards,

Prabaharan B

BR1628E Invalid character '@' in database password During Installation Phase

$
0
0

HI all

 

Iam installing Net weaver 7.4 SR2 on Windows Server2013R2 machine with orcale database.

My master password consist of @ symbol,

 

I was stuck in the Middle of installation of  Perform oracle Post load Step.

 

During this step installation is throwing an error , i checked br connect.log file , the log file is as below

 

BR0801I BRCONNECT 7.40 (11)

 

BR0280I BRCONNECT time stamp: 2014-10-15 19:42:47

BR0828I Changing password for database user SAPSR3 ...

BR1628E Invalid character '@' in database password

BR0832E Changing password for user SAPSR3 failed

 

BR0280I BRCONNECT time stamp: 2014-10-15 19:42:47

BR0804I BRCONNECT terminated with errors

 

i stoped and closed the sapinst and other sap process.

 

I tried to change the password using Sql plus and brtools by using the below commands

 

sql> alter user SAPSR3 identified by sap;

user alterd.

c:\Users\sapadmin>brconnect -u / -c -f chpass -o SAPSR3 -p sap

BR0801I BRCONNECT 7.40 (11)

 

BR0280I BRCONNECT time stamp: 2014-10-15 19:41:00

BR0828I Changing password for database user SAPSR3 ...

 

BR0280I BRCONNECT time stamp: 2014-10-15 19:41:00

BR0829I Password changed successfully in database for user SAPSR3

BR0830I Password changed successfully in table SAPSR3.SAPUSER for user SAPSR3

 

BR0280I BRCONNECT time stamp: 2014-10-15 19:41:00

BR0802I BRCONNECT completed successfully

 

C:\Users\sapadmin>brconnect -u / -c -f chpass -o SAPSR3 -p sap

BR0801I BRCONNECT 7.40 (11)

 

BR0280I BRCONNECT time stamp: 2014-10-15 19:41:00

BR0828I Changing password for database user SAPSR3 ...

 

BR0280I BRCONNECT time stamp: 2014-10-15 19:41:00

BR0829I Password changed successfully in database for user SAPSR3

BR0830I Password changed successfully in table SAPSR3.SAPUSER for user SAPSR3.

 

I restarted the Installation , but the same error persists,

can any one guide how to get rid of this Special character issue , requesting your guidance in resolving the above error.

 

Regards

Sandeep

Oracle Critical Patch Update Advisory - January 2015


Oracle 10.2.0.4 patch from oracle 10.2.0.1 giving error

$
0
0

Hi Experts,

 

I have installed oracle 10.2.0.1(software only) in windows server 2008 R2(X64).

 

Now I want to patch this to oracle 10.2.0.4 version.

 

I have downloaded the patch and extracted and run the installer.

 

Now when I choose the oracle to patch, it gives the error that 'this can be used on an existing oracle home only'.

 

Also in the 'installed product' button, this is not showing any software details.

 

I am not able to understand what is the reason for this error. Please help.

 

 

Thanks,

Arijit

May I know where to get the RDBMS Client Oracle 11.2

$
0
0

Hi,


I am trying to set up a SAP ERP 6.0 EHP7 environment on my local VMWare.

 

  • Windows Server 2008 R2
  • Oracle Database 11g Release 2
  • SOFTWARE PROVISIONING MGR 1.0
  • 51049350_10_SAP Kernel 742_SAP NETWEAVER 7.4 SR2
  • 51048312_1_EHP7 FOR SAP ERP 6.0_IDES
  • 51048312_2_EHP7 FOR SAP ERP 6.0_IDES

Oracle Instant Clients are used in SAP installations certified with Oracle database releases 10.2 or 11.2.


So, The problem is that, during the SAPinst installation, RDBMS Client Oracle 11.2 is mandatory to load. However I found that recently SAP download center doesn’t provide any Oracle software packages any longer. Now I get stuck there, where I can download it? or is there any way I can skip this step?

I tried to download the client directly from Oracle, but that client doesn’t contain the identification file LABEL.ASC.


May I know where to get the RDBMS Client Oracle 11.2


Optimized Loading into the F-Fact Table

ORACLE: archive log count - hour-by-hour, daily - for a month: view on ONE Page

$
0
0

Hi Folks,

If you are running your shop on ORACLE database, monitoring/tracking count (& thus, volume/size) of archive log must be on top list.

 

As transaction activities (OLTP transactions or batch processing) increases, the amount of transaction logs also goes up. And, if it goes beyond the storage capacity of archive-log directory, your database may hit 'archiver stuck' situation. In addition, various questions may come on surface to be addressed - like

- available space for backup may get filled

- available bandwidth to ship archive logs to DR site (Disaster Recovery site) may come short (i.e. there may be delay in transferring archive log files from PRIMARY site to DR site)

- when did archive log generation was huge (this will help in tracing which background process to look for tuning)

 

In this document, i am coming up a script - which will give archive log count - hour-by-hour, daily - for a month: view on ONE Page.

This script runs on ORACLE Database Version 8i/9i/10g/11g.

 

This 'SELECT only' SQL QUERY to be run run as SYSTEM account.

 

This SQL QUERY finishes in 'few' seconds only (so, no adverse effect on database performance).

For your safety, advisable to run on your Development or Test instance (whichever is running in ARCHIVE MODE) first, before running on Production instance.

 

This script will generate output file named archive_log_count.html in the current (or running ) directory.

If your Oracle database is running on non-Windows server, you need to transfer (ftp or WinSCP or similar) this file from Oracle database host to Windows server and open it in web browser.

 

Best way to run this script is COPY & PASTE blue color text below at your 'SYSTEM' account SQL> prompt.

 

Here is the script (blue color) and sample output (as image):


set echo off

set feedback off

set termout off

set pause off

set head on

set lines 100

set pages 500

clear columns

clear computes

 

set markup html on spool on preformat off entmap on -

head ' -

  <title>Redo Log Switch Report</title> -

  <style type="text/css"> -

    body              {font:9pt Arial,Helvetica,sans-serif; color:black; background:White;} -

    p                 {font:9pt Arial,Helvetica,sans-serif; color:black; background:White;} -

    table,tr,td       {font:9pt Arial,Helvetica,sans-serif; color:Black; background:#C0C0C0; padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;} -

    th                {font:bold 9pt Arial,Helvetica,sans-serif; color:#336699; background:#cccc99; padding:0px 0px 0px 0px;} -

    h1                {font:bold 12pt Arial,Helvetica,Geneva,sans-serif; color:#336699; background-color:White; border-bottom:1px solid #cccc99; margin-top:0pt; margin-bottom:0pt; padding:0px 0px 0px 0px;} -

    h2                {font:bold 10pt Arial,Helvetica,Geneva,sans-serif; color:#336699; background-color:White; margin-top:4pt; margin-bottom:0pt;} -

    a                 {font:9pt Arial,Helvetica,sans-serif; color:#663300; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.link            {font:9pt Arial,Helvetica,sans-serif; color:#663300; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.noLink          {font:9pt Arial,Helvetica,sans-serif; color:#663300; text-decoration: none; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.noLinkBlue      {font:9pt Arial,Helvetica,sans-serif; color:#0000ff; text-decoration: none; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.noLinkDarkBlue  {font:9pt Arial,Helvetica,sans-serif; color:#000099; text-decoration: none; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.noLinkRed       {font:9pt Arial,Helvetica,sans-serif; color:#ff0000; text-decoration: none; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.noLinkDarkRed   {font:9pt Arial,Helvetica,sans-serif; color:#990000; text-decoration: none; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.noLinkGreen     {font:9pt Arial,Helvetica,sans-serif; color:#00ff00; text-decoration: none; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

    a.noLinkDarkGreen {font:9pt Arial,Helvetica,sans-serif; color:#009900; text-decoration: none; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -

  </style>' -

body   'BGCOLOR="#C0C0C0"' -

table  'BORDER="1"'

 

set heading on

 

prompt Redo Log Switches for a month

 

CLEAR COLUMNS BREAKS COMPUTES

 

COLUMN DAY   FORMAT a75              HEADING 'MM/dd; Time'

COLUMN H00   FORMAT 999,999B         HEADING '00'

COLUMN H01   FORMAT 999,999B         HEADING '01'

COLUMN H02   FORMAT 999,999B         HEADING '02'

COLUMN H03   FORMAT 999,999B         HEADING '03'

COLUMN H04   FORMAT 999,999B         HEADING '04'

COLUMN H05   FORMAT 999,999B         HEADING '05'

COLUMN H06   FORMAT 999,999B         HEADING '06'

COLUMN H07   FORMAT 999,999B         HEADING '07'

COLUMN H08   FORMAT 999,999B         HEADING '08'

COLUMN H09   FORMAT 999,999B         HEADING '09'

COLUMN H10   FORMAT 999,999B         HEADING '10'

COLUMN H11   FORMAT 999,999B         HEADING '11'

COLUMN H12   FORMAT 999,999B         HEADING '12'

COLUMN H13   FORMAT 999,999B         HEADING '13'

COLUMN H14   FORMAT 999,999B         HEADING '14'

COLUMN H15   FORMAT 999,999B         HEADING '15'

COLUMN H16   FORMAT 999,999B         HEADING '16'

COLUMN H17   FORMAT 999,999B         HEADING '17'

COLUMN H18   FORMAT 999,999B         HEADING '18'

COLUMN H19   FORMAT 999,999B         HEADING '19'

COLUMN H20   FORMAT 999,999B         HEADING '20'

COLUMN H21   FORMAT 999,999B         HEADING '21'

COLUMN H22   FORMAT 999,999B         HEADING '22'

COLUMN H23   FORMAT 999,999B         HEADING '23'

COLUMN TOTAL FORMAT 999,999,999      HEADING 'Total'

 

break on report

 

compute  avg LABEL 'Average:' sum LABEL 'Total:' of total  ON report

 

 

SELECT

    SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH:MI:SS'),1,5) || TO_CHAR(first_time, ' Dy') DAY

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'00',1,0)) H00

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'01',1,0)) H01

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'02',1,0)) H02

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'03',1,0)) H03

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'04',1,0)) H04

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'05',1,0)) H05

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'06',1,0)) H06

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'07',1,0)) H07

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'08',1,0)) H08

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'09',1,0)) H09

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'10',1,0)) H10

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'11',1,0)) H11

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'12',1,0)) H12

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'13',1,0)) H13

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'14',1,0)) H14

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'15',1,0)) H15

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'16',1,0)) H16

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'17',1,0)) H17

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'18',1,0)) H18

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'19',1,0)) H19

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'20',1,0)) H20

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'21',1,0)) H21

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'22',1,0)) H22

  , SUM(DECODE(SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH24:MI:SS'),10,2),'23',1,0)) H23

  , COUNT(*)                                                                      TOTAL

FROM

  v$log_history  a

  where trunc(first_time) >= trunc(sysdate)-30

GROUP BY SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH:MI:SS'),1,5) || TO_CHAR(first_time, ' Dy')

order BY SUBSTR(TO_CHAR(first_time, 'MM/DD/RR HH:MI:SS'),1,5) || TO_CHAR(first_time, ' Dy')

;

spool archive_log_count.html

/

spool off

 

exit

 

Sample Output:

archive_log_count.png

Hope this helps!

 

 

Please feel free to revert back with your feedback of any type - corrections/concerns/clarifications/appreciation.

 

Best Regards,

 

Bhavesh Patel

TATA CONSULTANCT SERVICES,

Gandhinagar,

Gujarat, INDIA.

DB13 Doesnt work after system refresh on SAP ECC 6.0 Netweaver 7.4

$
0
0

Hi Team

 

We have completed System refresh on Prod to QA in ECC 6.0 EHP7.0 .Everything works fine except DB13

01/23/201515:54:04Job started
01/23/201515:54:04Step 001 started (program RSDBAJOB, variant &0000000000147, user ID GOPALM)
01/23/201515:54:04Execute logical command BRCONNECT On host casandsaperp
01/23/201515:54:04Parameters: -jid CHECK20150123155404 -u // -c -f check
01/23/201515:54:05BR0801I BRCONNECT 7.40 (12)
01/23/201515:54:05BR0252E Function stat() failed for '/oracle/L8S/security/rsecssfs/data' at location BrFileStatGet-1
01/23/201515:54:05BR0253E errno 13: Permission denied
01/23/201515:54:05BR0273E Determination of file status for /oracle/L8S/security/rsecssfs/data failed
01/23/201515:54:05BR1529E Getting BR*Tools user name/password from secure storage failed
01/23/201515:54:05
01/23/201515:54:05BR0806I End of BRCONNECT processing: ceprxazl.log2015-01-23 15:54:05
01/23/201515:54:05BR0280I BRCONNECT time stamp: 2015-01-23 15:54:05
01/23/201515:54:05BR0804I BRCONNECT terminated with errors
01/23/201515:54:05External program terminated with exit code 3
01/23/201515:54:05BRCONNECT returned error status E
01/23/201515:54:05Job finished

Pls note that we have ABAP SSFS configured both for BRTOOLS and for DB Connect ,completely eliminated OPS$ CONNECT. SAP Works fine by  using SSFS.I am able to execute BRTOOLS using sidadm and orasid from OS but it doesnt work from DB13 at SAP

 

As per note 1764043 - Support for secure storage in BR*Tools the file system are as below

 

ls -al $SAPDATA_HOME/security/rsecssfs

drwx------  5 orasid   dba          512 Feb 19 10:52 .

drwx------  3 orasid   dba          512 Feb 19 10:50 ..

drwx------  2 orasid   dba          512 Feb 19 10:56 data

drwx------  2 orasid   dba          512 Feb 19 10:56 key


DB13 works the moment I change the file system permissions above but as per note ,only orasid should have access and not sid adm.

 

Pls advice on to solve it

 

Thanks

Gopal

SQL Error in database when accessing a table

$
0
0

i get sql error when try to log into the sap system, it says sql error in the database when accessing a table

How to identify Oracle Instant Client Version

$
0
0

Here is a list of all possibilities to check and identify Oracle Instant Client Version.

 

  1. SM51->"Release Notes"

    SM51.png

  2. From SAP Workprocess trace

    WP.png
  3. UNIX/ Using 'genezi -v'

    genezi.png
  4. Windws / oci.dll

    Locate oci.dll within %ORACLE_HOME% and use right-click on the file.

    oci.png


These are the options known to me.

If you feel the list is incomplete, please let me know.

 

Regards,

János


SAP on Oracle - Performance

$
0
0

Here you can find information on database performance for SAP systems running on Oracle.
The information includes concept papers clarifying the performance topic as well as best practice papers containing recommendations for performance optimization.

 

Optimized Loading into the F-Fact Table

This presentation is a discussion of how to optimize loading into the F-fact table for SAP Business Warehouse.

 

Oracle Compression

This presentation is a discussion of Oracle compression.

 

Configuration Overview Command

This presentation from the 2013 German Oracle Users Conference (DOAG) discusses the configuration overview command from the SAP Oracle script collection.

 

SAP Service Tools for Performance Analysis

This presentation from the 2013 German Oracle Users Conference (DOAG) describes SAP service tools for performance analysis with an Oracle database.

 

Oracle LGWR Analysis

This presentation from the 2012 German Oracle Users Conference (DOAG) provides a detailed analysis of the Oracle log writer, including case studies, scenarios, and scripts.

 

Oracle 11g - Ten Less Popular Features 
This presentation from the 2011 German Oracle Users Conference (DOAG) focuses on the less popular new features and some minor changes in Oracle 11g that are good to know in SAP environments.

 

SQL Commands for Lock, Fragmentation and Index Compression Analysis
This presentation from the 2010 German Oracle Users Conference (DOAG) offers additional SQL scripts to monitor Oracle databases by analyzing lock, fragmentation, and index compression.

 

Oracle CBO Cost Calculation 
This presentation from the Oracle German Users Conference (DOAG) discusses how the Oracle cost-based optimizer (CBO) works, including detailed examples.

 

Oracle 10g Performance Case Studies 
This presentation from the German Oracle Users Conference (DOAG) looks at some case studies in performance analysis using the Oracle 10g database.

 

Oracle Bind Variables 
This paper is a detailed discussion of Oracle bind variables, including the advantages and disadvantages of this approach and alternatives to it.

 

Update Statistics for the Oracle Cost-Based Optimizer 
The cost-based optimizer (CBO) is an essential component for improving Oracle database performance. It uses statistics describing database objects and the distribution of data within them. Statistics on data distribution help identify which data is the most selective. This SAP whitepaper describes how update statistics work with the Oracle Cost-Based Optimizer.

 

Faster Oracle DB Access for R3SZCHK - SAP Note 1047369 
We've reduced the typical runtime of R3szchk from several hours to a few minutes by reworking the database access routines, which are used to find the space requirements of tables, indexes, and LOBs. R3szchk no longer requires statistics created with BRCONNECT. However, if the statistics are available, R3szchk automatically uses them to more accurately calculate the space requirements of LOBs and indexes - without noticeably taking any extra time.

 

The CBO and its Optimism About Cardinalities 
This paper discusses how cardinality (the number of rows estimated by the Oracle Cost-Based Optimizer for each step of the execution plan) can significantly impact complex queries.

 

Analyzing SQL Statement with the SQL ID Data Collector 
This presentation describes how SQL statement tuning can improve database performance.

 

sql error 600 on accessing table SNAP_BEG

$
0
0

Hi all,

 

I am getting error while accessing some tcodes in SAP with my id.

I have checked the alert log. I can see many ORA errors like follows:

ORA-00600: internal error code, arguments: [17124], [0x000000000], [], [], [],

[], [], [], [], [], [], [].

I have checked for corruption, no corruptions found. I have checked for the status of datafile, all are online.

Kindly suggest on it.

 

Regards,

Karthik.R

Oracle12c Database Installation steps

$
0
0

Oracle12c Installation step on Linux

 

 

Summary:-

 

This document contains the steps that how to do the oracle12c Database installations steps on Linux.

 

Database: Oracle12c

OS Level    : Red Hat Linux 6

 

Author: Brindavan Mookaiah

 

Designation: SAP BASIS Consultant


 

Note: The steps are only suitable for NON SAP Oracle


Pre Installation Steps:-


   Step 1)

 

  1. Download the software 12c http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomen

 

Step 2) Hardware requirements:

 

1. If Large-scale installation need to be use multicore processors with High availability.

      2. Recommended minimum RAM needed for Oracle is 2GB or more.

      3. Swap must be enabled double the size of RAM.

 

    Step 3) Disc Space & system meets

 

  1. Disk space must be more than 8GB,
  1. /tmp directory must have free space more than 1GB for error free installation.
  2. Both x86_64 and i686 packages are required for installation.
  3. Screen resolution must be more than 1024×768 resolution.

 

 

Introduction:-

 

The current version of oracle is 12c (C stands for Cloud) with cloud features. Oracle Database 12c makes the process far faster and simpler, enabling the high density of schema-based consolidation—without requiring changes to existing applications. To make this possible, a single, multitenant container database can now host many "pluggable" databases.



Capture.PNG




Step 1


    1. Login into OS with user “root”.

    2. Update /etc/hosts file with fully qualified name of server

 

[root@<hostname>]# cat /etc/hosts

 

   3. Check the Linux kernal version.

 

   [root@<hostname>]# uname -a

 

  4.  OS Packages (RPMs) requirements:

 

  5. Use  “oracle-rdbms-server-12cR1-preinstall” package to automatically install all required RPMs using “yum” OS utility.

 

   # cd /etc/yum.repos.d

  # wget https://public-yum.oracle.com/public-yum-ol6.repo

  # yum install oracle-rdbms-server-12cR1-preinstall -y

 

  6. Create Oracle user & Group base on your requirements

 

  7. Stet the value current ulimits in followings "/etc/profile"


  8 . Set the enviorment variable like below for example:

 

  Capture2.PNG

9.  Install the database (Note : You need X-manager or anyother tool to execute GUI to install Oracle DB)

 

[oracle@<hostname>]# cd /software/database

[oracle@<hostname>]# ls

[oracle@<hostname>]# ./runInstaller

 

 

Capture3.PNG

 

 

Capture4.PNG

 

It will ask the E-mail ID to registred to send oracle updates. If you don't want to  registre then just select the option skip  and continue.

 

Capture5.PNG

 

Click "Next"

 

Capture6.PNG

 

Select any of installation options, and click Next.

 

 

 

1) Here we select “Install database software only”.This option only installs the database binaries.

2) To configure the database, you must run Oracle Database Configuration Assistant after the software installation.

3) To upgrade 11G to 12C then select upgrade option

 

Then click " Next"

 

 

.Capture7.PNG


Here we select option "Single instance database installation".( This option installs the database software and the listener) and then click "Next"

 

Capture8.PNG

Select the language and  then Click " Next "

 

Capture9.PNG

 

You can select the Edition as per the requirement, Here we have select Enterprise Edition, and then click " Next"

 

Capture10.PNG

 

The Oracle base path appears by default. You can change this path based on your requirement.

Specify Oracle Base, Software Location, and then click "Next".

 

Capture11.PNG

The operating system groups are selected by default. You can also manually select the groups and select "Next".

 

Capture12.PNG

 

 

. You should fix all issues before proceed to Next if you found any system requirements to install database mets.

 

Capture13.PNG

 

If everything find then Click " Next".

 

Capture14.PNG

 

Click " Install"

 

Capture16.PNG

 

Capture17.PNG

Run the "root.sh script" and then click "Ok".

 

[root@<hostname>]# cd /u01/app/oracle/product/12.1.0/db_1

[root@<hostname>]# sh root.sh

 

Performing root user operation for Oracle 12c

 

The following environment variables are set as:


ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of “dbhome” have not changed. No need to overwrite.
The contents of “oraenv” have not changed. No need to overwrite.
The contents of “coraenv” have not changed. No need to overwrite.

 

 

Capture18.PNG

 

Oracle12c database install sucessfully.

 

After Software installation and then create database using "DBCA"

 

Creating Oracle Database 12c (Container & Pluggable)

 

Capture19.PNG

Capture20.PNG

 

For beginners, default is good, but here we use advanced option to learn more.

Specify Container & Pluggable database name and then click " Next".

 

Capture21.PNG

Click " Finish"

 

Capture22.PNG

 

Click " Next"

 

Capture23.PNG

Select what type of database you want to create (OLTP, Warehouse, General, or Custom). You can view detailed featured for all types by clicking “Show Details” button. Once selected, click “Next”.

 

Capture24.PNG

 

 

Enter the Global database name and then click " Next"

 

Capture25.PNG

 

Select the required Option and then click " Next" ( Here we have selected " Datbase Express"

 

 

Capture26.PNG

 

Enter rhe password and then Click " Next"

 

Capture28.PNG

Click " Next"

 

Capture29.PNG

 

Select location of datafiles, Storage File System, Fast Recover Area as previously known as FLASHBACK and size. You can also enable archiving here and can setup Multiplex (multiple duplicate locations) for REDO & Control files.

 

 

Capture30.PNG

 

You can select Database Vault & Label Security features here as per your requirement.

 

 

Capture31.PNG

You can select the memory and click " Next".

 

 

Then check the sizing & character stets and then click " Next"

 

Capture32.PNG

 

Dedicated Server Mode is most commonly used, but you can select “Shared Server Mode”

 

Capture33.PNG

 

Select the Create " Database " and then click " Next"

 

The Next screen Summary and then click " Next"

 

Capture34.PNG

 

Creating Oracle Database 12c (Container & Pluggable)

 

 

 

Capture35.PNG

 

Once Complete, it will prompt you for “Password Management” of default accounts Note the URL: https://hostname:5500/em for managing database.

 

Give the URL in IE with user " system and password.

 

Capture36.PNG

Oracle web login page

 

Capture37.PNG

 

Oracle database home

 

Capture38.PNG

Oracle Memory Management

 

Capture39.PNG

 

 

Oracle Tablespace

 

Capture40.PNG

Oracle Performance Hub

 

All the performance,backup, configuration can be see in web.

Oracle Upgrade 11G to 12C

$
0
0

                                    Oracle Upgrade 11G to 12C

 

 

Summary:-

 

This document contains the steps that how to do the oracle upgrade 11 G to 12C.

 

 

Author: Brindavan Mookaiah

 

Designation: SAP BASIS Consultant


Note: The steps are only suitable for NON SAP Oracle Upgrade.

 

Steps to follow:-

 

1) Backup Oracle database and profile

2) Take full offline or online backup

3) Stop the database

3) Stop listener

4) Change ORACLE_HOME environment variable in the bash profile of “oracle” user

5) Check the version SQ> Select instance_name,host_name,version,status from  V$INSTANCE;

6) Check the components version SQL> Select from comp_name, version, status from dba_registry ORDER BY status;

7)  Run the installer 12c

8)  Pre-upgrade

9) Upgrade the 11G to 12C

10) Post upgrade



Introduction:-

 

The oracle release and years

 

Oracle Release 2

 

  1. 11.2.0.1.0 (August 2009 -GA)
  2. 11.2.0.2.0 (November 2010)
  3. 11.2.0.3.0 (September 2011)
  4. 11.2.0.4.0 (August 2013)

 

Oracle 12c Release 1

 

  1. 12.1.0.1.0 (June 2013 - GA)
  2. 12.1.0.1.1 (October 2013) (PSU)
  3. 12.1.0.1.2 (January 2014) (PSU)


 

Oracle Database

 

 

Direct upgrade 10.2.0.5.0/11.1.0.7.0/11.2.0.2.0 upgrade to 12.1.0.1.0

 

  • . In -Place Upgrade  -> Install Binaries in same ORACLE_HOME
  • . Out-of-Place Upgrade --> Install binaries in new ORACLE_HOME

Upgrade suing DBUA or Manual

 

 

Indirect Upgrade

 

  • . Migrate using Data pump utility
  • . Transportable Table-space
  • . Golden Gate Replication

 

There are different ways of oracle upgrading

 

1) Database Upgrade Assistant (DBUA)

2) Manual Upgrade

3) Transportable Tablespaces

4) Datapump export/import

5) Oracle Streams

6) Oracle GoldenGate


Here we are going to use


Oracle Database Version:            Oracle Database 11gR2 (11.2.0.2.0) (64-bit)

Operating System:                        Oracle Enterprise SUSE Linux

 

1) Check the release and version

Capture1.PNG

 

2) check the oratab

 

Capture2.PNG

3) check the oraInventory

Capture3.PNG

 

 

4) stop the database & stop the listener

 

oracle&hostname > sys /as sysdba

 

SQL> shutdown immediate;

 

oracle& hostanme> lsnrctl

LSNRCTL> stop

 

5) Check the version

 

Capture4.PNG

 

6) Check the components

 

Capture5.PNG

 

 

7) set the new ORACLE_HOME

 

hostname> export ORACLE_HOME=oracle/SID/12.1.0

 

8) Go to the 12c media directory and run the command

 

oracle&hostname> ./runInstaller

 

 

Capture6.PNG

Click Next

 

Click "Next" and chose "Skip software updates".

 

Capture7.PNG

Click "Next" and chose "Skip software updates".


 

Capture8.PNG

 

Click "Next" and select "Upgrade an existing database". It automatically launch DBUA to upgrade the databases.

Capture9.PNG

 

Select the Language eg " English"

 

Capture10.PNG

 

Select Enterprise edition and click "Next"

 

Capture11.PNG

Click "Next"

 

 

Capture12.PNG

Click "Next"

 

Capture14.PNG

 

Fix all the warnings are resolved before proceeding with the next step. In here we are ignored and click " Next"


Capture15.PNG

Click "Install"

Capture16.PNG



Capture17.PNG


Capture18.PNG


Click " Next"


Capture19.PNG

Click " Next"


Capture20.PNG



Click " Next" ignore and continue


Capture21.PNG


Click " Next"


Capture22.PNG

Click " Next":


Capture23.PNG

select "configure Enterprise Manger and Click " Next"


Capture24.PNG


Click " Next"


Capture25.PNG

Click " Next"


Capture26.PNG

select " I have my own backup "  and Click " Next"


Capture28.PNG

click " Finish"

 

Capture29.PNG

Capture30.PNG

Capture31.PNG

If you would like to restore the database to be fall-back to previous version then click on restore to revert back.

 

Capture32.PNG

Well the oracle database upgrade completed successfully.

 

SQL> select * from v$version;

  ---------------------------------------------------------------------------- ----------
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production 0
PL/SQL Release 12.1.0.1.0 - Production      0
CORE 12.1.0.1.0 Production       0
TNS for Linux: Version 12.1.0.1.0 - Production      0
NLSRTL Version 12.1.0.1.0 - Production      0

Capture33.PNG

Capture34.PNG


All steps are completed.



DB 12 Overview of redo log files not yet backed up 133

$
0
0

Dear team,

                In DB 12 ,Be hand the overview of redo log files its Displaying message like redo log files not yet backedup 133. how to resolve this, what is mean by that message!!!

Viewing all 2104 articles
Browse latest View live


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