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

sql query with parameters executing for long time on oracle 11g

$
0
0

Hi,

I have a query which is executing with in a second if i dont give parameters in it. but when i include parameters, it is taking more than half an hour to display result. I tried by replacing subqueries with views, but the performance is same with both subqueries and views. So please help me on how to execute this query fast.

 

 

 

SELECT

   DPRDC.CATE_NAME                    "LOB", 
MPRD.PRODUCT_NAME                  "Product",

MPOLG.PLAN_GROUP_NAME              "Plan Group",

MPLN.PLAN_NAME                     "Plan",

Limited_SI                         "Count of Policies",

FAILED_PREM                        "Sum of total Premium",

Unlimited_SI                       "Count of Policies (U SI)",--(Unlimited SI)",

PASSED_PREM                        "Sum of total Premium (U SI)",--(UnlimitedSI)",

 

 

 

 

 

FROM

  M_POLICY MPOL

JOIN D_PRODUCT_CATEGORY DPRDC

       ON DPRDC.CATE_ID=MPOL.PRODUCT_CATE_ID

  JOIN M_PRODUCT MPRD

  ON MPRD.PRODUCT_ID=MPOL.PRODUCT_ID

JOIN M_INSURED MI

  ON MI.POLICY_ID=MPOL.POLICY_ID

JOIN M_PLAN MPLN

ON MPLN.PLAN_ID=MI.PLAN_ID

JOIN M_PLAN_GROUP MPOLG

ON MPOLG.PLAN_GROUP_ID=MI.PLAN_GROUP_ID

 

LEFTJOIN (SELECT M.PRODUCT_ID AS PRODUCTID,                   
MI.PLAN_GROUP_ID
AS PLANGROUPID,

MI.PLAN_ID AS PLANID,

SUM(PASSED)AS UNLIMITED_SI,          

    SUM(FAILED) AS  LIMITED_SI         

FROM M_POLICY_COVER MPC, M_POLICY
M, M_INSURED MI,

 

(SELECT
F.POLICY_NO POLICYNO,

  COUNT(DISTINCT (CASEWHEN F.GROSS_WRITTEN_PREM_TCUR=0.25THEN POLICY_NO END)) AS PASSED,

CASEWHENCOUNT(DISTINCT (CASEWHEN F.GROSS_WRITTEN_PREM_TCUR=0.25THEN POLICY_NO END))=0

THEN1ELSE0ENDAS FAILED

  FROM F_PREM_TRANS F

   GROUPBY                  
F.POLICY_NO)

   WHERE
POLICYNO=M.POLICY_NO                

   AND M.POLICY_ID=MPC.POLICY_ID(+)

  AND MI.INSURED_ID=MPC.INSURED_ID

   GROUPBY
M.PRODUCT_ID,MI.PLAN_GROUP_ID,

              MI.PLAN_ID

ORDERBY
M.PRODUCT_ID,MI.PLAN_GROUP_ID,

MI.PLAN_ID

)

  ON PLANID=MPLN.PLAN_ID

AND PRODUCTID=MPRD.PRODUCT_ID

AND
PLANGROUPID=MPOLG.PLAN_GROUP_ID

 

 

LEFTJOIN (SELECT B.PRODUCT_ID AS PRODUCTID2,

MI.PLAN_GROUP_ID AS PLANGROUPID2,

MI.PLAN_ID AS PLANID2,

SUM(B.GROSS_WRITTEN_PREM_TCUR) AS PASSED_PREM

FROM

(SELECTCASEWHEN PASSED=1THEN POLICYNO ENDAS PASSED_POL  FROM

(SELECT F.POLICY_NO
POLICYNO,

COUNT(DISTINCT (CASEWHEN F.GROSS_WRITTEN_PREM_TCUR=0.25THEN POLICY_NO END)) AS PASSED

FROM
F_PREM_TRANS F 

   GROUPBY

F.POLICY_NO)

) A,F_PREM_TRANS B,M_INSURED MI

   WHERE
(B.POLICY_NO=A.PASSED_POL)

   AND
MI.INSURED_ID=B.INSURED_HID

GROUPBY
B.PRODUCT_ID,MI.PLAN_GROUP_ID,

MI.PLAN_ID

  ORDERBY
B.PRODUCT_ID,MI.PLAN_GROUP_ID,

MI.PLAN_ID)

ON
PLANID2=MPLN.PLAN_ID

AND
PLANGROUPID2=MPOLG.PLAN_GROUP_ID

  AND
PRODUCTID2=MPRD.PRODUCT_ID

 

 

   LEFTJOIN (SELECT B.PRODUCT_ID AS PRODUCTID3,

MI.PLAN_GROUP_ID AS PLANGROUPID3,

MI.PLAN_ID AS PLANID3,

SUM(B.GROSS_WRITTEN_PREM_TCUR)AS
FAILED_PREM

  FROM

SELECTCASEWHEN FAILED=1THEN POLICYNO ENDAS FAILED_POL  FROM

(SELECT F.POLICY_NO POLICYNO,

CASEWHENCOUNT(DISTINCT (CASEWHEN F.GROSS_WRITTEN_PREM_TCUR=0.25THEN POLICY_NO END))=0

THEN1ELSE0ENDAS FAILED

FROM
F_PREM_TRANS F 

  GROUPBY

F.POLICY_NO)

) A,F_PREM_TRANS B,M_INSURED MI

      WHERE
(B.POLICY_NO=A.FAILED_POL)

                      AND
MI.INSURED_ID=B.INSURED_MID

  GROUPBY
B.PRODUCT_ID,MI.PLAN_GROUP_ID,

  MI.PLAN_ID

ORDERBY
B.PRODUCT_ID,MI.PLAN_GROUP_ID,

MI.PLAN_ID)

ON
PLANID3=MPLN.PLAN_ID

AND
PLANGROUPID3=MPOLG.PLAN_GROUP_ID

AND
PRODUCTID3=MPRD.PRODUCT_ID

 

  WHERE

DPRDC.CATE_NAME IN&p_lob --'Plus'

AND MPRD.PRODUCT_NAME IN&p_product  --'Maid Insurance'

AND MPOLG.PLAN_GROUP_NAME IN&p_plan_group  --'Abnormal'

AND MPLN.PLAN_NAME IN&p_plan  --'Standard'

 

 

 

GROUPBY

DPRDC.CATE_NAME,

MPRD.PRODUCT_NAME,

MPOLG.PLAN_GROUP_NAME,

MPLN.PLAN_NAME,

MPLN.PLAN_ID,

Unlimited_SI,

Limited_SI,

FAILED_PREM,

PASSED_PREM,

 

 

 

ORDERBY

DPRDC.CATE_NAME,

MPRD.PRODUCT_NAME,

MPOLG.PLAN_GROUP_NAME,

MPLN.PLAN_NAME

 

 

  


SAP backup using netbackup

$
0
0

Hello,

 

We are using Symantec Netbackup for backup.

 

I am currently using RMAN to backup SAPonline.

 

On netbackup, how can i use BRtools to backup SAP offline or online?

 

My SAP DBsize is 1.6 TB. What shall be the expected size using BRTOOLS for backup?

 

Please help.

DB02 difference between source and target

$
0
0

Good morning,

i've performed an heterogenous system copy from solaris to linux about an SAP 7.01 system with oracle 10.2.0.5 to oracle 11.2.0.4.

After migration i've noted some differences in db02 trx.

Finding a segment_name and filtering for name...for example *CATALOG* i can see that the number of tables is different ...In target system i can see the tables not empty while other table empty in  target, in db02, doesn't appear. The same tables in source system are visible in db02 trx,

If i go in se14 (target) i can see that they exists also in database.

Note that when I perform an: select count(*) from user_tables ; this gives the same result for both source and target system.

Customer tests the new system migrated without problems...anyway it seems a strange behaviour.

What do you think?

Thanks

Nick




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

Restore and recovery problem

$
0
0

Hello,

 

Our SAP system is running on VMWare but snapshot filled the vmfs and we had to revert to snapshot (feb/2015), however we have backups (full db online)  from end of April. In brtools whole database reset does not show any of full online backups.

 

Is there a way to use full online backups we have and apply archived redo logs in some other way since brtools is not able to use them for some reason?

 

Or is there a way to make brtools use our backup?

 

The only option that could show backups was Database PIT recover but after successful restore of datafiles it could not apply archive log files as it looked for sequences of archives that were very old for some reason and not the one around time backup was made or after it. Since archive logs were not applied db is now in inconsistent state. Can this be fixed?

 

Best Regards,

Sasha

Upgrade to Oracle 12

$
0
0

Dear experts,

 

I have seen, that SAP, just as promised, has released today Oracle 12.

I would like to perform the first test upgrade as soon as possible. But I

did not find any notes or documentation released by SAP. Is any of you

able to provide some upgrade procedure ? Or it does not differ much

from the procedure for upgrade to Oracle 11 ? For example, SAP note:

 

1949451 - Oracle 11.2.0: Database Upgrade To Release 11.2.0.4 on Unix (Quick Reference)

 

Thanks a lot in advance!

Database couldn't start automaticly

$
0
0

Hello to all!

I installed an empty SAP ERP system and faced with the problem:

database couldn't start automaticly with startsap script with sidadm user:

 

/usr/sap/WM1/SYS/exe/run/startdb: Terminating with error code 12

DB startup failed

 

But if is make su - orasid, run sqlplus / as sysdba and make startup after that I can start SAP normally. I think it's a permission problems. And I use

oracle secure file storage (sap kernel 7.41), maybe this is a problem too. Thanks!

 

ls -ls /usr/sap/WM1/SYS/global/security/rsecssfs/key/

-rw-r--r-- 1 wm1adm sapsys 187 May  7 16:01 SSFS_WM1.KEY

DB01 Locks History : ASH

$
0
0

I am investigating row lock contention issue in one of our PROD systems.

 

i have been checking DBA_HIST_ACTIVE_SESS_HISTORY and GV$ACTIVE_SESSION_HISTORY, and observed a column BLOCKING_SESSION.


does BLOCKiNG_SESSION displays the session holding the lock or it displays the sessions waiting due to lock?


because, the description of BLOCKING_SESSION column on Oracle Docs is as follows.


Session identifier of the blocking session. Populated only when the session was waiting for enqueues or a "buffer busy" wait.


The second statement "Populated only when the session was waiting for enqueues" is confusing me.


any expert opinions on it ?


how to find out, which session is holding the locks ?


I have written a sample query to find out, but i want to know the list of sessions holding the locks.

any tweaks for my query ?


any recommendations will help me a lot


The query i used is below.


SELECT DISTINCT A.SQL_ID,TO_CHAR(A.SAMPLE_TIME,'YYYY-MM-DD HH24:MI:SS') SAMPLE_TIME,A.BLOCKING_SESSION,D.OBJECT_NAME,S.SQL_TEXT

FROM DBA_HIST_ACTIVE_SESS_HISTORY A, GV$SQL S, DBA_OBJECTS D

WHERE A.SQL_ID=S.SQL_ID

AND BLOCKING_SESSION IS NOT NULL

AND A.USER_ID <> 0

AND A.CURRENT_OBJ# = D.OBJECT_ID

AND A.SAMPLE_TIME BETWEEN

TO_TIMESTAMP('12.05.2015 00:00:00', 'dd.mm.yyyy hh24:mi:ss') AND

TO_TIMESTAMP('12.05.2015 23:59:59', 'dd.mm.yyyy hh24:mi:ss')

AND A.EVENT = 'enq: TX - row lock contention'

ORDER BY

SAMPLE_TIME DESC


about shrink table online

$
0
0

1.how to shrink table online and avoid the TM LOCK.'s influence to business.

2. What should i notice at shrinking tables online to decrease the risk? What Pitfalls and Problems was there ?

Steps to convert old TS layout to New TS layout in oracle

$
0
0

Hello All,

 

Recently we did BW upgrade from 6.40 to Netweaver 7.3. Now the customer wants to change the TS layout to new one.

 

Please guide me and share the steps to do this activity.

 

Note : Current version SAP Netweaver 7.3 and oracle 11.2.0.3.10.

 

Regards

Sub

Error while restoring incremental backup

$
0
0

Hi expert,

 

We are doing system copy using online and incremental backup.we had follow the this link  SAP Oracle Restore using Incremental Backup for restoring our system. As per the above doc we had restored the control file from incremental backup and data from online backup but while restoring incremental backup we are facing below issue.

 

>brrestore -b beqjflnm.ind -m incr

 

BR0401I BRRESTORE 7.20 (39)

BR0405I Start of file restore: reqmpleh.rsb 2015-05-13 17.26.59

BR0484I BRRESTORE log file: E:\oracle\SID\sapbackup\reqmpleh.rsb

 

 

BR0460W Termination message not found in E:\oracle\SID\sapbackup\beqjflnm.ind -

log file incomplete (this is OK if the log file has been restored)

BR0280I BRRESTORE time stamp: 2015-05-13 17.27.14

BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRRESTORE:

c

BR0280I BRRESTORE time stamp: 2015-05-13 17.28.00

BR0257I Your reply: 'c'

BR0259I Program execution will be continued...

 

 

BR0456I Probably the database must be recovered due to restore from online backu

p

 

 

BR0280I BRRESTORE time stamp: 2015-05-13 17.28.00

BR0407I Restore of database: SID

BR0408I BRRESTORE action ID: reqmpinc

BR0409I BRRESTORE function ID: rsb

BR0449I Restore mode: INCR

BR0411I Database file for restore: BEQJFLNM.INCR

BR0419I Files will be restored from backup: beqjflnm.ind 2015-04-25 20.22.50

BR0416I 1 file found to restore, size 1580.383 MB

BR0513I Last full database backup (level 0): beqjenwb.fnd 2015-04-25 15.56.09

BR0424I Files will not be decompressed

BR0421I Restore device type: disk

BR0420I Files will be restored from directory: K:\OL_Backup\incr\beqjflnm

 

 

BR0280I BRRESTORE time stamp: 2015-05-13 17.28.00

BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRRESTORE:

c

BR0280I BRRESTORE time stamp: 2015-05-13 17.28.09

BR0257I Your reply: 'c'

BR0259I Program execution will be continued...

 

 

BR0280I BRRESTORE time stamp: 2015-05-13 17.28.09

BR0557I Starting restore of incremental database backup using RMAN...

 

 

BR0351I Restoring BEQJFLNM.INCR

BR0355I from K:\OL_Backup\incr\beqjflnm\BEQJFLNM.INCR ...

BR0278E Command output of 'D:\oracle\SID\11203\BIN\rman nocatalog':

 

 

Recovery Manager: Release 11.2.0.3.0 - Production on Wed May 13 17:28:10 2015

 

 

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

 

 

RMAN>

RMAN> connect target *

connected to target database: SID (DBID=3473728770, not open)

using target database control file instead of recovery catalog

 

 

RMAN> **end-of-file**

 

 

RMAN>

host command complete

 

 

RMAN>

allocated channel: ORA_MAINT_DISK_1

channel ORA_MAINT_DISK_1: SID=201 device type=DISK

 

 

RMAN>

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of available command at 05/13/2015 17:29:13

RMAN-20215: backup set not found

RMAN-06159: error while looking up backup set

 

 

RMAN>

released channel: ORA_MAINT_DISK_1

 

 

RMAN> 2> 3>

allocated channel: dsk

channel dsk: SID=201 device type=DISK

 

 

Starting recover at 13-MAY-15

 

 

Finished recover at 13-MAY-15

 

 

released channel: dsk

 

 

RMAN>

 

 

Recovery Manager complete.

BR0280I BRRESTORE time stamp: 2015-05-13 17.29.17

BR0279E Return code from 'D:\oracle\SID\11203\BIN\rman nocatalog': 1

BR0536E RMAN call for database instance SID failed

BR0200I BR_TRACE: location BrRmanCall-56, commands for RMAN in: E:\oracle\SID\sa

pbackup\.reqmpinc.cmd

@E:\oracle\SID\sapbackup\..reqmpinc..cmd

host 'F:\usr\sap\SID\SYS\exe\uc\NTAMD64\brtools.exe -f delete E:\oracle\SID\sapb

ackup\..reqmpinc..cmd';

allocate channel for maintenance device type disk;

change backupset 28761 available;

release channel;

run { allocate channel dsk device type disk;

recover database from tag beqjflnm, noredo;

release channel dsk; }

exit;

 

 

BR0280I BRRESTORE time stamp: 2015-05-13 17.29.17

BR0559E Restore of incremental database backup using RMAN failed

BR0359E Restore of BEQJFLNM.INCR from E:\oracle\SID\sapbackup\..reqmpinc..cmd fa

iled due to previous errors

 

 

BR0406I End of file restore: reqmpinc.rsb 2015-05-13 17.29.17

BR0280I BRRESTORE time stamp: 2015-05-13 17.29.17

BR0404I BRRESTORE terminated with errors

 

 

 

Please let me know how to resolve this error and restore the incremental backup properly.

 

Thanks,

Pradeep

ORA-28040: No matching authentication protocol after 12c upgrade

$
0
0

Dear Friends,

 

i have upgraded oracle version ( 11.2.0.4 )of solution manager 7.1 SP14 system  to 12c successfully.

 

ABAP started but java was unable to start due to JDBC issue.

 

i got error log in bootstrap folder

 

ORA-28040: No matching authentication protocol.


JDBC version is ojdbc14.jar ( java_class_archive.jar )

 

ABAP and Java worked before upgrade with 12x client.

after 12c only java had issue.

 

kindly suggest us.

 

Regards,

 

hari

Backup full with Rman COMPRESSED BACKUPSET PARALLELISM

$
0
0

Hi Experts,

 

 

I'm trying  to configure backup (to disk) with Brtools and Rman but doesn't work correctly.

When I execute backup on rman I use this command:

 

CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 16;

CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/backup/%U' MAXPIECESIZE 100 G;

CONFIGURE COMPRESSION ALGORITHM 'LOW' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;

 

RUN{

CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 4 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 5 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 6 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 7 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 8 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 9 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 10 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 11 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 12 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 13 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 14 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 15 DEVICE TYPE DISK FORMAT   '/backup/%U';

CONFIGURE CHANNEL 16 DEVICE TYPE DISK FORMAT   '/backup/%U';

BACKUP DATABASE;

}


It's work perfectly! The rman open 16 channels and divides all datafiles in the database in 16 channels.

Thus the backup completes in 40 minutes in disk.


When I configure brtools to do this backup, the brtools do 16 datafile at a time and ends 5 hours.


In init.sap:


backup_dev_type = rman_disk

stage_root_dir = /backup/full

disk_copy_cmd = rman_set

saveset_members = 16

rman_channels = 16

rman_filesperset = 10

rman_maxpiecesize = 10240000

rman_compress = yes

rman_parms = "ENV=(NB_ORA_SAP=/oracle/XXX/112_64/dbs/initXXX_disk.utl)"

 


Dou you have any idea?


Thank you.

Best Regards.

Fernanda


Standby redo log

$
0
0

Hello,

 

In my landscape we are planning to increase the size of online redo log files. This system is connected to DR system. So, my question here is if I increase the size of online redo logs on primary database do I have to do the same in secondary immediately? or can I do  it later? Also do I have to change any configuration in oracle dataguard regarding the changes.

 

Regards,

RaJiTh R s

DBIF_RSQL_SQL_ERROR CX_SY_OPEN_SQL_DB

$
0
0

Dear Experts,

 

Recently I had finished System copy from Old dev (OS 2003 DB- oracle 10g) to new Dev server (OS 2012  DB - Oracle 11g) through swpm, All post activities has been finished but when I execute ME22N & ME23N system give me below error

 

DBIF_RSQL_SQL_ERROR

CX_SY_OPEN_SQL_DB

 

Short text

    SQL error in the database when accessing a table.

 

How to correct the error

    Database error text........: "ORA-01722: invalid number"

    Internal call code.........: "[RSQL/FTCH/EKBE ]"

    Please check the entries in the system log (Transaction SM21).

 

 

    If the error occures in a non-modified SAP program, you may be able to

    find an interim solution in an SAP Note.

    If you have access to SAP Notes, carry out a search with the following

    keywords:

 

 

    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"

    "SAPLME07" or "LME07U02"

    "MMPUR_EKBE_READ_EBELN_EBELP"

 

Kind Regards,

 

N S Rathore


DB02 ALERT PROFILE PARAMETER

$
0
0

Hi,

 

My system is :

 

SAP ECC 6.0 EHP 5

Database Oracle 11G 11.2.0.2.0

 

In transaction DB02 , Alert Monitor ,  Profile Parameters,  there is a red alert in "compatible "

 

value : 11.2.0 <> 10.2.0

How can i corret this red alert ?

 

 

Also in DB02 , Space Management,  Segments , Mosta Allocate extents in any segments,  has red alert.

How can i fix it ?

 

Thanks.

ABAP Import stuck for last two jobs

$
0
0

Hi,

 

I am installing SAP IDES on Win Server 2003 with Oracle 10.2 and patch to h 10.2.0.4.

I am stuck at last two jobs in ABAP import step.

I have set 4 jobs to execute in parallel but in the end there was 1 running and 1 waiting for almost 6 hours and I kept monitoring disk size and found no difference. I have finally stopped the installation.

 

After restarting server I get error that SAP can't connect to Oracle, In short log appear as

 

<<

DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034

 

 

DbSl Trace: CONNECT failed with sql error '1034'

 

 

DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034

 

 

DbSl Trace: CONNECT failed with sql error '1034'

 

 

(DB) ERROR: db_connect rc = 256

DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034

 

 

DbSl Trace: CONNECT failed with sql error '1034'

 

 

DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034

 

 

DbSl Trace: CONNECT failed with sql error '1034'

 

 

(DB) ERROR: DbSlErrorMsg rc = 99

 

>>

 

Oracle listener is up and running and yes listener doesn't start automatically but needs manual start in from services

These last steps were running for long time and I suspect issue with oracle db space.

Can any one please guide how to proceed further?

 

Thanks,

Rahul.

BRConnect reports BRTools is an unknown program

$
0
0

Greetings,

 

I am having a curious problem on two of five systems.  We are using Netbackup to execute our nightly backups which in turn calls BRBackup and BRArchive.  As far as we can tell, the backups are working well with no problems save for one warning message which only appears on our SolMan system and our Development system.

 

BR0280I BRBACKUP time stamp: 2008-08-12 20.19.51                                

BR0232I 113 of 113 files saved by backup utility                                

BR0230I Backup utility called successfully                                      

 

BR0278I Command output of 'brconnect':                                          

'brtools' is not recognized as an internal or external command,                 

operable program or batch file.                                                 

BR0074W BRCONNECT call failed                                                   

 

BR0280I BRBACKUP time stamp: 2008-08-12 20.19.55                                

BR0317I 'Alter database end backup' successful                                  

BR0280I BRBACKUP time stamp: 2008-08-12 20.19.55                                

BR0340I Switching to next online redo log file for database instance DV1 ...    

BR0321I Switch to next online redo log file for database instance DV1 successful

 

What makes this odd, is that BRTools is in the same directory as BRConnect (and all the other tools) so there should be no issue in finding it.  Also, this doesn't happen on our Sandbox server which is essentially a duplicate environment from Development.

 

Anyone run into this problem or have any thoughts where I might start looking for a solution?  I have found nothing useful on SAP Notes or on the web thus far.

 

Thanks in advance,

Conrad Thonger

Not Able To Perform Table space Extension Through BRtools

$
0
0

Hello Guru's

 

In Our Production Server we are not able to extend table space through BRtools while performing table space extend i am facing this error, please give me the solution so that this error is going to rectified

 

i am attaching the log for your reference :

 

BR0280I BRTOOLS time stamp: 2007-06-19 11.18.57

BR0657I Input menu 81 - please check/enter input values

-


BRSPACE options for tablespace extension

 

1 - BRSPACE profile (profile) ...... [initPBW.sap]

2 - Database user/password (user) .. [/]

3 ~ Tablespace name (tablespace) ... [PSAPODSD]

4 - Confirmation mode (confirm) .... [yes]

5 - Scrolling line count (scroll) .. [20]

6 - Message language (language) .... [E]

7 - BRSPACE command line (command) . [-p initPBW.sap -s 20 -l E -f tsextend -t

PSAPODSD]

 

Standard keys: c - cont, b - back, s - stop, r - refr, h - help

-


BR0662I Enter your choice:

c

BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02

BR0663I Your choice: 'c'

BR0259I Program execution will be continued...

 

BR0291I BRSPACE will be started with options '-p initPBW.sap -s 20 -l E -f tsext

end -t PSAPODSD'

 

BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02

BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:

c

BR0280I BRTOOLS time stamp: 2007-06-19 11.19.05

BR0257I Your reply: 'c'

BR0259I Program execution will be continued...

 

###############################################################################

 

BR1001I BRSPACE 7.00 (11)

BR0252E Function remove() failed for '/oracle/PBW/sapbackup/.user.pas' at locati

on global_set-5

BR0253E errno 13: Permission denied

 

BR0700E Fatal errors occurred - terminating processing...

 

BR1008I End of BRSPACE processing: sdvncsuh.log 2007-06-19 11.19.19

BR0280I BRSPACE time stamp: 2007-06-19 11.19.19

BR1007I BRSPACE terminated with errors

 

###############################################################################

 

BR0292I Execution of BRSPACE finished with return code 3

 

BR0668I Warnings or errors occurred - you can continue to ignore them or go back

to repeat the last action

BR0280I BRTOOLS time stamp: 2007-06-19 11.19.19

BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:

Database check and update stats after Kernel upgrade

$
0
0

Hi All,

I know this is an old topic but still I wish to bring this in as I am unable to figure out by myself what the issue would be.

I did Kernel patch upgrade from 741 PL 15 to 110.

After that DB check and update stats are failing with the below log.

Job started

Step 001 started (program RSDBAJOB, variant &0000000000001, user ID DDIC)

Execute logical command BRCONNECT On host SAPHR

Parameters: -jid CHECK20150217024618 -u / -c -f check

BR0801I BRCONNECT 7.40 (12)

BR0805I Start of BRCONNECT processing: cepwngil.chk 2015-02-17 02:46:19

BR0252E Function fopen() failed for '/oracle/SID/sapcheck/cepwngil.chk' at location main-5

BR0253E errno 13: Permission denied

BR0121E Processing of log file /oracle/SID/sapcheck/cepwngil.chk failed

BR0806I End of BRCONNECT processing: cepwngil.chk2015-02-17 02:46:19

BR0280I BRCONNECT time stamp: 2015-02-17 02:46:19

BR0804I BRCONNECT terminated with errors

External program terminated with exit code 3

BRCONNECT returned error status E

Job finished

 

Anyhow after Kernel upgrade I ran saproot.sh so all the brtools exe's permissions were set right.

-rwsrwxr--    1 orasid   sapsys     13542030 Nov  1 15:47 brbackup

-rwsrwxr--    1 orasid   sapsys     13385793 Nov  1 15:47 brarchive

-rwsrwxr--    1 orasid   sapsys     15952052 Nov  1 15:47 brconnect

-rwxr-xr-x    1 sidadm   sapsys     16806620 Nov  1 15:47 brspace

-rwxr-xr-x    1 sidadm   sapsys     14249766 Nov  1 15:46 brrecover

-rwxr-xr-x    1 sidadm   sapsys      5847113 Nov  1 15:32 brrestore

-rwxr-xr-x    1 sidadm   sapsys      6740867 Nov  1 15:32 brtools

 

Then after further troubleshooting found that SYSTEM password was locked which I found after triggering brconnect db check at Server level.

 

BR0801I BRCONNECT 7.40 (12)

BR0805I Start of BRCONNECT processing: cepwnoel.chk 2015-02-17 04:14:43

BR0484I BRCONNECT log file: /oracle/SID/sapcheck/cepwnoel.chk

BR0280I BRCONNECT time stamp: 2015-02-17 04:14:47

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

'CONNECT system/*******'

ORA-01017: invalid username/password; logon denied

BR0310E Connect to database instance SID failed

BR0280I BRCONNECT time stamp: 2015-02-17 04:14:50

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

'CONNECT system/*******'

ORA-01017: invalid username/password; logon denied

BR0310E Connect to database instance SID failed

 

BR0806I End of BRCONNECT processing: cepwnoel.chk 2015-02-17 04:14:47

BR0280I BRCONNECT time stamp: 2015-02-17 04:14:50

BR0804I BRCONNECT terminated with errors

 

So unlocked and updated the password thru brconnect below command.

brconnect -c -u / -p init%ORACLE_SID%.sap -f chpass -o SYSTEM -password new password


But still facing the issue as brconnect check DB command fails and locks the SYSTEM password.

Any suggestions would be very much valuable to me.

Please respond.


Thanks...


Viewing all 1892 articles
Browse latest View live




Latest Images