cancel
Showing results for 
Search instead for 
Did you mean: 

DB13 Problem

Former Member
0 Kudos

Hi Experts,

I am not able to schedule any jobs through DB13 it is get failed.

we have CI -- Gateway -- DB server configuration.

While scheduling the job in DB13 it is created and gets failed.

In DB13

Job name Status Scheduled start Actual start End Time

DBA:VERIFYDB________@003944/3000 Completed 14.05.2008 00:40:01 14.05.2008 00:40:01 14.05.2008 00:40:02

In SM37

Job Ln Job CreatedBy Status Start date Start time Duration(sec.) Delay (sec.)

DBA:VERIFYDB________@003944/3000 SAPBASIS Finished 14.05.2008 00:40:01 1 0

SM37 Log

Job log overview for job: DBA:VERIFYDB________@003944/3000 / 00400101

Date Time Message text Message class Message no. Message type

14.05.2008 00:40:01 Job started 00 516 S

14.05.2008 00:40:01 Step 001 started (program RSDBAJOB, variant &0000000000086, user ID SAPBASIS) 00 550 S

14.05.2008 00:40:01 No application server found on database host - rsh/gateway will be used Q2 305 I

14.05.2008 00:40:01 Execute logical command BRBACKUP On host sdce20k-03 Q2 233 S

14.05.2008 00:40:01 Parameters:-u / -jid VERIF20080514003944 -c force -w only_dbv -p initBP1.sap -m PSAPBP1700 Q2 232 S

14.05.2008 00:40:02 BR0051I BRBACKUP 7.00 (11) Q2 232 S

14.05.2008 00:40:02 BR0252E Function fopen() failed for './dbs/initBP1.sap' at location BrInitSapRead-1 Q2 232 S

14.05.2008 00:40:02 BR0253E errno 2: No such file or directory Q2 232 S

14.05.2008 00:40:02 BR0159E Error reading BR*Tools profile ./dbs/initBP1.sap Q2 232 S

14.05.2008 00:40:02 BR0280I BRBACKUP time stamp: 2008-05-14 00.40.02 Q2 232 S

14.05.2008 00:40:02 BR0301E SQL error -12545 at location BrDbConnect-2 Q2 232 S

14.05.2008 00:40:02 Error while trying to retrieve text for error ORA-12545 Q2 232 S

14.05.2008 00:40:02 BR0310E Connect to database instance BP1 failed Q2 232 S

14.05.2008 00:40:02 Q2 232 S

14.05.2008 00:40:02 BR0056I End of database backup: bdxxmpmo.log 2008-05-14 00.40.02 Q2 232 S

14.05.2008 00:40:02 BR0280I BRBACKUP time stamp: 2008-05-14 00.40.02 Q2 232 S

14.05.2008 00:40:02 BR0054I BRBACKUP terminated with errors Q2 232 S

14.05.2008 00:40:02 External program terminated with exit code 3 Q2 232 S

14.05.2008 00:40:02 BRBACKUP returned error status E Q2 233 S

14.05.2008 00:40:02 Job finished 00 517 S

DB13 Log

Job log

Job started

Step 001 started (program RSDBAJOB, variant &0000000000086, user ID SAPBASIS)

No application server found on database host - rsh/gateway will be used

Execute logical command BRBACKUP On host sdce20k-03

Parameters:-u / -jid VERIF20080514003944 -c force -w only_dbv -p initBP1.sap -m PSAPBP1700

BR0051I BRBACKUP 7.00 (11)

BR0252E Function fopen() failed for './dbs/initBP1.sap' at location BrInitSapRead-1

BR0253E errno 2: No such file or directory

BR0159E Error reading BR*Tools profile ./dbs/initBP1.sap

BR0280I BRBACKUP time stamp: 2008-05-14 00.40.02

BR0301E SQL error -12545 at location BrDbConnect-2

Error while trying to retrieve text for error ORA-12545

BR0310E Connect to database instance BP1 failed

BR0056I End of database backup: bdxxmpmo.log 2008-05-14 00.40.02

BR0280I BRBACKUP time stamp: 2008-05-14 00.40.02

BR0054I BRBACKUP terminated with errors

External program terminated with exit code 3

BRBACKUP returned error status E

Job finished

Please help me to resolve this issue.

Thanks in advance.

Khadar

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

We got this fixed by creating a trustrd/trusting relationship between the Db and app servers for SSH protocol (also changed the remsh to SSH from RSH in the profile param)

Former Member
0 Kudos

Hey Guys this is Kalinga here. Did you find a solution to this, We are getting the same error .

We do have a distributed installation (CI , DB on separate servers) and Gateway installed on DB server

If I run brtools from DB server it works fine.

But when i run a DB13 job it fails with:

-


Job started

Step 001 started (program RSDBAJOB, variant &0000000000049, user ID 501272174)

No application server found on database host - rsh/gateway will be used

Execute logical command BRCONNECT On host usalpdbsdv041

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

BR0801I BRCONNECT 7.00 (32)

BR0252E Function fopen() failed for './dbs/initUUD.sap' at location BrInitSapRead-1

BR0253E errno 2: No such file or directory

BR0159E Error reading BR*Tools profile ./dbs/initUUD.sap

BR0280I BRCONNECT time stamp: 2009-06-19 03.45.01

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

'CONNECT /'

Error while trying to retrieve text for error ORA-12545

BR0310E Connect to database instance UUD failed

BR0806I End of BRCONNECT processing: ceavhvzx.log2009-06-19 03.45.01

BR0280I BRCONNECT time stamp: 2009-06-19 03.45.01

BR0804I BRCONNECT terminated with errors

External program terminated with exit code 3

BRCONNECT returned error status E

Job finished

-


Can some one help me on this please?

Thanks

Kalinga

tolulope_okusaga
Participant
0 Kudos

Hi,

Which OS & DB are you using?

logon on to your OS with <sid>adm

connect with the local sap database tool for the relevant OS and DB

This would be a good lead to solving the problem.

Regards,

Tolulope

Former Member
0 Kudos

Hello Expert,

We are using Operating System "Sun Solaris 9"

Database "Oracle 10.2"

we are having separate CI and DB

connecting the CI to DB through standalone gateway server installed on DB server.

connecting the database through SQL & BRTOOLS

Thanks for your co-operation to move forward.

Khadar

Former Member
0 Kudos

Hello Kadhar,

This is due to soft connections of BRtools with DB.

Usually in SAPDATA_HOME vatiable we mention softlinks like

/oracle/SID/origlogA -> origlog

/oracle/SID/sapdata9 -> sapdata

Use absolute soft links instead:

/oracle/SID/origlogA -> /oracle/SID/origlog

/oracle/SID/sapdata9 -> /oracle/SID/sapdata

This will resolve your issues.

Thanks & Regards

Vivek

Former Member
0 Kudos

Hello Expert,

I am not able to understand about the SAPDATA_HOME variable.

is it mention in the init<SID>.sap profile.

Now, our backup process going through RMAN utility.

init<SID>.sap profile content

  1. backup mode [all | all_data | full | incr | sap_dir | ora_dir

  2. | all_dir | <tablespace_name> | <file_id> | <file_id1>-<file_id2>

  3. | <generic_path> | (<object_list>)]

  4. default: all

backup_mode = all

  1. restore mode [all | all_data | full | incr | incr_only | incr_full

  2. | incr_all | <tablespace_name> | <file_id> | <file_id1>-<file_id2>

  3. | <generic_path> | (<object_list>) | partial | non_db

  4. redirection with '=' is not supported here - use option '-m' instead

  5. default: all

restore_mode = all

  1. backup type [offline | offline_force | offline_standby | offline_split

  2. | offline_mirror | offline_stop | online | online_cons | online_split

  3. | online_mirror

  4. default: offline

backup_type = offline

  1. backup device type

  2. [tape | tape_auto | tape_box | pipe | pipe_auto | pipe_box | disk

  3. | disk_copy | disk_standby | stage | stage_copy | stage_standby

  4. | util_file | util_file_online | rman_util | rman_disk | rman_stage

  5. | rman_prep]

  6. default: tape

#backup_dev_type = tape

backup_dev_type = disk_copy

  1. backup root directory [<path_name> | (<path_name_list>)]

  2. default: $SAPDATA_HOME/sapbackup

#backup_root_dir = /orabw7/fs1/oracle/BP1/sapbackup

backup_root_dir = /orabw7/misc/backup

  1. stage root directory [<path_name> | (<path_name_list>)]

  2. default: value of the backup_root_dir parameter

stage_root_dir = /orabw7/fs1/oracle/BP1/sapbackup

  1. compression flag [no | yes | hardware | only]

  2. default: no

compress = no

  1. compress command

  2. first $-character is replaced by the source file name

  3. second $-character is replaced by the target file name

  4. <target_file_name> = <source_file_name>.Z

  5. for compress command the -c option must be set

  6. recommended setting for brbackup -k only run:

  7. "compress -b 12 -c $ > $"

  8. no default

compress_cmd = "compress -c $ > $"

  1. uncompress command

  2. first $-character is replaced by the source file name

  3. second $-character is replaced by the target file name

  4. <source_file_name> = <target_file_name>.Z

  5. for uncompress command the -c option must be set

  6. no default

uncompress_cmd = "uncompress -c $ > $"

  1. directory for compression [<path_name> | (<path_name_list>)]

  2. default: value of the backup_root_dir parameter

compress_dir = /orabw7/fs1/oracle/BP1/sapreorg

  1. brarchive function [save | second_copy | double_save | save_delete

  2. | second_copy_delete | double_save_delete | copy_save

  3. | copy_delete_save | delete_saved | delete_copied]

  4. default: save

#archive_function = save

archive_function = save_delete

  1. directory for archive log copies to disk

  2. default: first value of the backup_root_dir parameter

#archive_copy_dir = /orabw7/fs1/oracle/BP1/sapbackup

archive_copy_dir = /orabw7/misc/backup/BP1/sapbackup

  1. directory for archive log copies to stage

  2. default: first value of the stage_root_dir parameter

archive_stage_dir = /orabw7/fs1/oracle/BP1/sapbackup

  1. delete archive logs from duplex destination [only | no | yes | check]

  2. default: only

  3. archive_dupl_del = only

  4. new sapdata home directory for disk_copy | disk_standby

  5. no default

  6. new_db_home = /oracle/C11

new_db_home = /orabw7/misc/backup/BP1

  1. stage sapdata home directory for stage_copy | stage_standby

  2. default: value of the new_db_home parameter

  3. stage_db_home = /oracle/C11

  4. original sapdata home directory for split mirror disk backup

  5. no default

  6. orig_db_home = /oracle/C11

  7. remote host name

  8. no default

  9. remote_host = <host_name>

  10. remote user name

  11. default: current operating system user

  12. remote_user = <user_name>

  13. tape copy command [cpio | cpio_gnu | dd | dd_gnu | rman | rman_gnu

  14. rman_dd | rman_dd_gnu]

  15. default: cpio

tape_copy_cmd = cpio

  1. disk copy command [copy | copy_gnu | dd | dd_gnu | rman | rman_gnu]

  2. default: copy

disk_copy_cmd = copy

  1. stage copy command [rcp | scp | ftp]

  2. default: rcp

stage_copy_cmd = rcp

  1. pipe copy command [rsh | ssh]

  2. default: rsh

pipe_copy_cmd = rsh

  1. flags for cpio output command

  2. default: -ovB

cpio_flags = -ovB

  1. flags for cpio input command

  2. default: -iuvB

cpio_in_flags = -iuvB

  1. flags for cpio command for copy of directories to disk

  2. default: -pdcu

  3. use flags -pdu for gnu tools

cpio_disk_flags = -pdcu

  1. flags for dd output command

  2. default: "obs=16k"

  3. recommended setting:

  4. Unix: "obs=nk bs=nk", example: "obs=64k bs=64k"

  5. Windows: "bs=nk", example: "bs=64k"

dd_flags = "obs=64k bs=64k"

  1. flags for dd input command

  2. default: "ibs=16k"

  3. recommended setting:

  4. Unix: "ibs=nk bs=nk", example: "ibs=64k bs=64k"

  5. Windows: "bs=nk", example: "bs=64k"

dd_in_flags = "ibs=64k bs=64k"

  1. number of members in RMAN save sets [ 1 | 2 | 3 | 4 | tsp | all ]

  2. default: 1

saveset_members = 1

  1. additional parameters for RMAN

  2. rman_channels and rman_filesperset are only used when rman_util,

  3. rman_disk or rman_stage

  4. rman_channels defines the number of parallel sbt channel allocations

  5. rman_filesperset = 0 means:

  6. one file per save set - for non-incremental backups

  7. all files in one save set - for incremental backups

  8. the others have the same meaning as for native RMAN

  9. rman_channels = 1

  10. rman_filesperset = 0

  11. rman_maxpiecesize = 0 # in KB - former name rman_kbytes

  12. rman_rate = 0 # in KB - former name rman_readrate

  13. rman_maxopenfiles = 0

  14. rman_maxsetsize = 0 # in KB - former name rman_setsize

  15. additional parameters for RMAN version 8.1

  16. the parameters have the same meaning as for native RMAN

  17. rman_diskratio = 0 # deprecated in Oracle 10g

  18. rman_pool = 0

  19. rman_copies = 0 | 1 | 2 | 3 | 4 # former name rman_duplex

  20. rman_proxy = no | yes | only

  21. special parameters for an external backup library, example:

  22. rman_parms = "BLKSIZE=65536 ENV=(BACKUP_SERVER=HOSTNAME)"

  23. rman_send = "'<command>'"

  24. rman_send = ("channel sbt_1 '<command1>' parms='<parameters1>'",

  25. "channel sbt_2 '<command2>' parms='<parameters2>'")

  26. remote copy-out command (backup_dev_type = pipe)

  27. $-character is replaced by current device address

  28. no default

copy_out_cmd = "dd ibs=8k obs=64k of=$"

  1. remote copy-in command (backup_dev_type = pipe)

  2. $-character is replaced by current device address

  3. no default

copy_in_cmd = "dd ibs=64k obs=8k if=$"

  1. rewind command

  2. $-character is replaced by current device address

  3. no default

  4. operating system dependent, examples:

  5. HP-UX: "mt -f $ rew"

  6. TRU64: "mt -f $ rewind"

  7. AIX: "tctl -f $ rewind"

  8. Solaris: "mt -f $ rewind"

  9. Windows: "mt -f $ rewind"

  10. Linux: "mt -f $ rewind"

rewind = "mt -f $ rewind"

  1. rewind and set offline command

  2. $-character is replaced by current device address

  3. default: value of the rewind parameter

  4. operating system dependent, examples:

  5. HP-UX: "mt -f $ offl"

  6. TRU64: "mt -f $ offline"

  7. AIX: "tctl -f $ offline"

  8. Solaris: "mt -f $ offline"

  9. Windows: "mt -f $ offline"

  10. Linux: "mt -f $ offline"

rewind_offline = "mt -f $ offline"

  1. tape positioning command

  2. first $-character is replaced by current device address

  3. second $-character is replaced by number of files to be skipped

  4. no default

  5. operating system dependent, examples:

  6. HP-UX: "mt -f $ fsf $"

  7. TRU64: "mt -f $ fsf $"

  8. AIX: "tctl -f $ fsf $"

  9. Solaris: "mt -f $ fsf $"

  10. Windows: "mt -f $ fsf $"

  11. Linux: "mt -f $ fsf $"

tape_pos_cmd = "mt -f $ fsf $"

  1. mount backup volume command in auto loader / juke box

  2. used if backup_dev_type = tape_box | pipe_box

  3. no default

  4. mount_cmd = "<mount_cmd> $ $ $ [$]"

  5. dismount backup volume command in auto loader / juke box

  6. used if backup_dev_type = tape_box | pipe_box

  7. no default

  8. dismount_cmd = "<dismount_cmd> $ $ [$]"

  9. split mirror disks command

  10. used if backup_type = offline_split | online_split | offline_mirror

  11. | online_mirror

  12. no default

  13. split_cmd = "<split_cmd> [$]"

  14. resynchronize mirror disks command

  15. used if backup_type = offline_split | online_split | offline_mirror

  16. | online_mirror

  17. no default

  18. resync_cmd = "<resync_cmd> [$]"

  19. additional options for SPLITINT interface program

  20. no default

  21. split_options = "<split_options>"

  22. resynchronize after backup flag [no | yes]

  23. default: no

  24. split_resync = no

  25. volume size in KB = K, MB = M or GB = G (backup device dependent)

  26. default: 1200M

  27. recommended values for tape devices without hardware compression:

  28. 60 m 4 mm DAT DDS-1 tape: 1200M

  29. 90 m 4 mm DAT DDS-1 tape: 1800M

  30. 120 m 4 mm DAT DDS-2 tape: 3800M

  31. 125 m 4 mm DAT DDS-3 tape: 11000M

  32. 112 m 8 mm Video tape: 2000M

  33. 112 m 8 mm high density: 4500M

  34. DLT 2000 10/20 GB: 10000M

  35. DLT 2000XT 15/30 GB: 15000M

  36. DLT 4000 20/40 GB: 20000M

  37. DLT 7000 35/70 GB: 35000M

  38. recommended values for tape devices with hardware compression:

  39. 60 m 4 mm DAT DDS-1 tape: 1000M

  40. 90 m 4 mm DAT DDS-1 tape: 1600M

  41. 120 m 4 mm DAT DDS-2 tape: 3600M

  42. 125 m 4 mm DAT DDS-3 tape: 10000M

  43. 112 m 8 mm Video tape: 1800M

  44. 112 m 8 mm high density: 4300M

  45. DLT 2000 10/20 GB: 9000M

  46. DLT 2000XT 15/30 GB: 14000M

  47. DLT 4000 20/40 GB: 18000M

  48. DLT 7000 35/70 GB: 30000M

tape_size = 100G

  1. volume size in KB = K, MB = M or GB = G used by brarchive

  2. default: value of the tape_size parameter

  3. tape_size_arch = 100G

  4. level of parallel execution

  5. default: 0 - set to number of backup devices

exec_parallel = 0

  1. address of backup device without rewind

  2. [<dev_address> | (<dev_address_list>)]

  3. no default

  4. operating system dependent, examples:

  5. HP-UX: /dev/rmt/0mn

  6. TRU64: /dev/nrmt0h

  7. AIX: /dev/rmt0.1

  8. Solaris: /dev/rmt/0mn

  9. Windows: /dev/nmt0

  10. Linux: /dev/nst0

tape_address = /dev/rmt/0mn

  1. address of backup device without rewind used by brarchive

  2. default: value of the tape_address parameter

  3. operating system dependent

  4. tape_address_arch = /dev/rmt/0mn

  5. address of backup device with rewind

  6. [<dev_address> | (<dev_address_list>)]

  7. no default

  8. operating system dependent, examples:

  9. HP-UX: /dev/rmt/0m

  10. TRU64: /dev/rmt0h

  11. AIX: /dev/rmt0

  12. Solaris: /dev/rmt/0m

  13. Windows: /dev/mt0

  14. Linux: /dev/st0

tape_address_rew = /dev/rmt/0m

  1. address of backup device with rewind used by brarchive

  2. default: value of the tape_address_rew parameter

  3. operating system dependent

  4. tape_address_rew_arch = /dev/rmt/0m

  5. address of backup device with control for mount/dismount command

  6. [<dev_address> | (<dev_address_list>)]

  7. default: value of the tape_address_rew parameter

  8. operating system dependent

  9. tape_address_ctl = /dev/...

  10. address of backup device with control for mount/dismount command

  11. used by brarchive

  12. default: value of the tape_address_rew_arch parameter

  13. operating system dependent

  14. tape_address_ctl_arch = /dev/...

  15. volumes for brarchive

  16. [<volume_name> | (<volume_name_list>) | SCRATCH]

  17. no default

volume_archive = (BP1A01, BP1A02, BP1A03, BP1A04, BP1A05,

BP1A06, BP1A07, BP1A08, BP1A09, BP1A10,

BP1A11, BP1A12, BP1A13, BP1A14, BP1A15,

BP1A16, BP1A17, BP1A18, BP1A19, BP1A20,

BP1A21, BP1A22, BP1A23, BP1A24, BP1A25,

BP1A26, BP1A27, BP1A28, BP1A29, BP1A30)

  1. volumes for brbackup

  2. [<volume_name> | (<volume_name_list>) | SCRATCH]

  3. no default

volume_backup = (BP1B01, BP1B02, BP1B03, BP1B04, BP1B05,

BP1B06, BP1B07, BP1B08, BP1B09, BP1B10,

BP1B11, BP1B12, BP1B13, BP1B14, BP1B15,

BP1B16, BP1B17, BP1B18, BP1B19, BP1B20,

BP1B21, BP1B22, BP1B23, BP1B24, BP1B25,

BP1B26, BP1B27, BP1B28, BP1B29, BP1B30)

  1. expiration period for backup volumes in days

  2. default: 30

expir_period = 30

  1. recommended usages of backup volumes

  2. default: 100

tape_use_count = 100

  1. backup utility parameter file

  2. default: no parameter file

  3. util_par_file = initBP1.utl

  4. mount/dismount command parameter file

  5. default: no parameter file

  6. mount_par_file = initBP1.mnt

  7. Oracle instance string to the primary database

  8. [primary_db = <conn_name> | LOCAL]

  9. no default

  10. primary_db = <conn_name>

  11. description of parallel instances for Oracle RAC

  12. parallel_instances = <instance_desc> | (<instance_desc_list>)

  13. <instance_desc_list> -> <instance_desc>[,<instance_desc>...]

  14. <instance_desc> -> <Oracle_sid>:<Oracle_home>@<conn_name>

  15. <Oracle_sid> -> Oracle system id for parallel instance

  16. <Oracle_home> -> Oracle home for parallel instance

  17. <conn_name> -> Oracle instance string to parallel instance

  18. Please include the local instance in the parameter definition!

  19. default: no parallel instances

  20. example for initRAC001.sap:

  21. parallel_instances = (RAC001:/oracle/RAC/920_64@RAC001,

  22. RAC002:/oracle/RAC/920_64@RAC002, RAC003:/oracle/RAC/920_64@RAC003)

  23. database owner of objects to be checked

  24. <owner> | (<owner_list>)

  25. default: all SAP owners

  26. check_owner = sapr3

  27. database objects to be excluded from checks

  28. all_part | non_sap | [<owner>.]<table> | [<owner>.]<index>

  29. | [<owner>.]<prefix>* | <tablespace> | (<object_list>)

  30. default: no exclusion, example:

  31. check_exclude = (SDBAH, SAPR3.SDBAD)

  32. database owner of SDBAH, SDBAD and XDB tables for cleanup

  33. <owner> | (<owner_list>)

  34. default: all SAP owners

  35. cleanup_owner = sapr3

  36. retention period in days for brarchive log files

  37. default: 30

  38. cleanup_brarchive_log = 30

  39. retention period in days for brbackup log files

  40. default: 30

  41. cleanup_brbackup_log = 30

  42. retention period in days for brconnect log files

  43. default: 30

  44. cleanup_brconnect_log = 30

  45. retention period in days for brrestore log files

  46. default: 30

  47. cleanup_brrestore_log = 30

  48. retention period in days for brrecover log files

  49. default: 30

  50. cleanup_brrecover_log = 30

  51. retention period in days for brspace log files

  52. default: 30

  53. cleanup_brspace_log = 30

  54. retention period in days for archive log files saved on disk

  55. default: 30

  56. cleanup_disk_archive = 30

  57. retention period in days for database files backed up on disk

  58. default: 30

  59. cleanup_disk_backup = 30

  60. retention period in days for brspace export dumps and scripts

  61. default: 30

  62. cleanup_exp_dump = 30

  63. retention period in days for Oracle trace and audit files

  64. default: 30

  65. cleanup_ora_trace = 30

  66. retention period in days for records in SDBAH and SDBAD tables

  67. default: 100

  68. cleanup_db_log = 100

  69. retention period in days for records in XDB tables

  70. default: 100

  71. cleanup_xdb_log = 100

  72. retention period in days for database check messages

  73. default: 100

  74. cleanup_check_msg = 100

  75. database owner of objects to adapt next extents

  76. <owner> | (<owner_list>)

  77. default: all SAP owners

  78. next_owner = sapr3

  79. database objects to adapt next extents

  80. all | all_ind | special | [<owner>.]<table> | [<owner>.]<index>

  81. | [<owner>.]<prefix>* | <tablespace> | (<object_list>)

  82. default: all abjects of selected owners, example:

  83. next_table = (SDBAH, SAPR3.SDBAD)

  84. database objects to be excluded from adapting next extents

  85. all_part | [<owner>.]<table> | [<owner>.]<index> | [<owner>.]<prefix>*

  86. | <tablespace> | (<object_list>)

  87. default: no exclusion, example:

  88. next_exclude = (SDBAH, SAPR3.SDBAD)

  89. database objects to get special next extent size

  90. all_sel:<size>[/<limit>] | [<owner>.]<table>:<size>[/<limit>]

  91. | [<owner>.]<index>:<size>[/<limit>]

  92. | [<owner>.]<prefix>*:<size>[/<limit>] | (<object_size_list>)

  93. default: according to table category, example:

  94. next_special = (SDBAH:100K, SAPR3.SDBAD:1M/200)

  95. maximum next extent size

  96. default: 2 GB - 5 * <database_block_size>

  97. next_max_size = 1G

  98. maximum number of next extents

  99. default: 0 - unlimited

  100. next_limit_count = 300

  101. database owner of objects to update statistics

  102. <owner> | (<owner_list>)

  103. default: all SAP owners

  104. stats_owner = sapr3

  105. database objects to update statistics

  106. all | all_ind | all_part | missing | info_cubes | dbstatc_tab

  107. | dbstatc_mon | dbstatc_mona | [<owner>.]<table> | [<owner>.]<index>

  108. | [<owner>.]<prefix>* | <tablespace> | (<object_list>) | harmful

  109. | locked | system_stats | oradict_stats

  110. default: all abjects of selected owners, example:

  111. stats_table = (SDBAH, SAPR3.SDBAD)

  112. database objects to be excluded from updating statistics

  113. all_part | info_cubes | [<owner>.]<table> | [<owner>.]<index>

  114. | [<owner>.]<prefix>* | <tablespace> | (<object_list>)

  115. default: no exclusion, example:

  116. stats_exclude = (SDBAH, SAPR3.SDBAD)

  117. method for updating statistics for tables not in DBSTATC

  118. E | EH | EI | EX | C | CH | CI | CX | A | AH | AI | AX | E= | C= | =H

  119. | =I | =X | +H | +I

  120. default: according to internal rules

  121. stats_method = E

  122. sample size for updating statistics for tables not in DBSTATC

  123. P<percentage_of_rows> | R<thousands_of_rows>

  124. default: according to internal rules

  125. stats_sample_size = P10

  126. number of buckets for updating statistics with histograms

  127. default: 75

  128. stats_bucket_count = 75

  129. threshold for collecting statistics after checking

  130. default: 50%

  131. stats_change_threshold = 50

  132. number of parallel threads for updating statistics

  133. default: 1

  134. stats_parallel_degree = 1

  135. processing time limit in minutes for updating statistics

  136. default: 0 - no limit

  137. stats_limit_time = 0

  138. parameters for calling DBMS_STATS supplied package

  139. all:R|B:<degree> | all_part:R|B:<degree> | info_cubes:R|B:<degree>

  140. | [<owner>.]<table>:R|B:<degree> | [<owner>.]<prefix>*:R|B:<degree>

  141. | (<object_list>) | NO

  142. default: NULL - use ANALYZE statement

  143. stats_dbms_stats = ([ALL:R:1,][<owner>.]<table>:R|B:<degree>,...)

  144. definition of info cube tables

  145. default | rsnspace_tab | [<owner>.]<table> | [<owner>.]<prefix>*

  146. | (<object_list>) | null

  147. default: from RSNSPACE control table

  148. stats_info_cubes = (/BIC/D, /BI0/D, ...)

  149. recovery type [complete | dbpit | tspit | reset | restore | apply

  150. | disaster]

  151. default: complete

  152. recov_type = complete

  153. directory for brrecover file copies

  154. default: $SAPDATA_HOME/sapbackup

  155. recov_copy_dir = /orabw7/fs1/oracle/BP1/sapbackup

  156. time period for searching for backups

  157. 0 - all available backups, >0 - backups from n last days

  158. default: 30

  159. recov_interval = 30

  160. degree of paralelism for applying archive log files

  161. 0 - use Oracle default parallelism, 1 - serial, >1 - parallel

  162. default: Oracle default

  163. recov_degree = 0

  164. number of lines for scrolling in list menus

  165. 0 - no scrolling, >0 - scroll n lines

  166. default: 20

  167. scroll_lines = 20

  168. time period for displaying profiles and logs

  169. 0 - all available logs, >0 - logs from n last days

  170. default: 30

  171. show_period = 30

  172. directory for brspace file copies

  173. default: $SAPDATA_HOME/sapreorg

  174. space_copy_dir = /orabw7/fs1/oracle/BP1/sapreorg

  175. directory for table export dump files

  176. default: $SAPDATA_HOME/sapreorg

  177. exp_dump_dir = /orabw7/fs1/oracle/BP1/sapreorg

  178. database tables for reorganization

  179. [<owner>.]<table> | [<owner>.]<prefix>* | [<owner>.]<prefix>%

  180. | (<table_list>)

  181. no default

  182. reorg_table = (SDBAH, SAPR3.SDBAD)

  183. database indexes for rebuild

  184. [<owner>.]<index> | [<owner>.]<prefix>* | [<owner>.]<prefix>%

  185. | (<index_list>)

  186. no default

  187. rebuild_index = (SDBAH0, SAPR3.SDBAD0)

  188. database tables for export

  189. [<owner>.]<table> | [<owner>.]<prefix>* | [<owner>.]<prefix>%

  190. | (<table_list>)

  191. no default

  192. exp_table = (SDBAH, SAPR3.SDBAD)

  193. database tables for import

  194. [<owner>.]<table> | (<table_list>)

  195. no default

  196. imp_table = (SDBAH, SAPR3.SDBAD)

Please show me the changes to move forward

Khadar

Edited by: Khadar Batcha on May 15, 2008 5:37 PM

Hello Expert,

I am not able to understand about the SAPDATA_HOME variable.

is it mention in the init<SID>.sap profile.

Now, our backup process going through RMAN utility.

init<SID>.sap profile content

  1. @(#) $Id: //bas/700_REL/src/ccm/rsbr/initSUN.sap#5 $ SAP

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

  1. #

  2. SAP backup sample profile. #

  3. The parameter syntax is the same as for init.ora parameters. #

  4. Enclose parameter values which consist of more than one symbol in #

  5. double quotes. #

  6. After any symbol, parameter definition can be continued on the next #

  7. line. #

  8. A parameter value list should be enclosed in parentheses, the list #

  9. items should be delimited by commas. #

  10. There can be any number of white spaces (blanks, tabs and new lines) #

  11. between symbols in parameter definition. #

  12. #

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

  1. backup mode [all | all_data | full | incr | sap_dir | ora_dir

  2. | all_dir | <tablespace_name> | <file_id> | <file_id1>-<file_id2>

  3. | <generic_path> | (<object_list>)]

  4. default: all

backup_mode = all

  1. restore mode [all | all_data | full | incr | incr_only | incr_full

  2. | incr_all | <tablespace_name> | <file_id> | <file_id1>-<file_id2>

  3. | <generic_path> | (<object_list>) | partial | non_db

  4. redirection with '=' is not supported here - use option '-m' instead

  5. default: all

restore_mode = all

  1. backup type [offline | offline_force | offline_standby | offline_split

  2. | offline_mirror | offline_stop | online | online_cons | online_split

  3. | online_mirror

  4. default: offline

backup_type = offline

  1. backup device type

  2. [tape | tape_auto | tape_box | pipe | pipe_auto | pipe_box | disk

  3. | disk_copy | disk_standby | stage | stage_copy | stage_standby

  4. | util_file | util_file_online | rman_util | rman_disk | rman_stage

  5. | rman_prep]

  6. default: tape

#backup_dev_type = tape

backup_dev_type = disk_copy

  1. backup root directory [<path_name> | (<path_name_list>)]

  2. default: $SAPDATA_HOME/sapbackup

#backup_root_dir = /orabw7/fs1/oracle/BP1/sapbackup

backup_root_dir = /orabw7/misc/backup

  1. stage root directory [<path_name> | (<path_name_list>)]

  2. default: value of the backup_root_dir parameter

stage_root_dir = /orabw7/fs1/oracle/BP1/sapbackup

  1. compression flag [no | yes | hardware | only]

  2. default: no

compress = no

  1. compress command

  2. first $-character is replaced by the source file name

  3. second $-character is replaced by the target file name

  4. <target_file_name> = <source_file_name>.Z

  5. for compress command the -c option must be set

  6. recommended setting for brbackup -k only run:

  7. "compress -b 12 -c $ > $"

  8. no default

compress_cmd = "compress -c $ > $"

  1. uncompress command

  2. first $-character is replaced by the source file name

  3. second $-character is replaced by the target file name

  4. <source_file_name> = <target_file_name>.Z

  5. for uncompress command the -c option must be set

  6. no default

uncompress_cmd = "uncompress -c $ > $"

  1. directory for compression [<path_name> | (<path_name_list>)]

  2. default: value of the backup_root_dir parameter

compress_dir = /orabw7/fs1/oracle/BP1/sapreorg

  1. brarchive function [save | second_copy | double_save | save_delete

  2. | second_copy_delete | double_save_delete | copy_save

  3. | copy_delete_save | delete_saved | delete_copied]

  4. default: save

#archive_function = save

archive_function = save_delete

  1. directory for archive log copies to disk

  2. default: first value of the backup_root_dir parameter

#archive_copy_dir = /orabw7/fs1/oracle/BP1/sapbackup

archive_copy_dir = /orabw7/misc/backup/BP1/sapbackup

  1. directory for archive log copies to stage

  2. default: first value of the stage_root_dir parameter

archive_stage_dir = /orabw7/fs1/oracle/BP1/sapbackup

  1. delete archive logs from duplex destination [only | no | yes | check]

  2. default: only

  3. archive_dupl_del = only

  4. new sapdata home directory for disk_copy | disk_standby

  5. no default

  6. new_db_home = /oracle/C11

new_db_home = /orabw7/misc/backup/BP1

  1. stage sapdata home directory for stage_copy | stage_standby

  2. default: value of the new_db_home parameter

  3. stage_db_home = /oracle/C11

  4. original sapdata home directory for split mirror disk backup

  5. no default

  6. orig_db_home = /oracle/C11

  7. remote host name

  8. no default

  9. remote_host = <host_name>

  10. remote user name

  11. default: current operating system user

  12. remote_user = <user_name>

  13. tape copy command [cpio | cpio_gnu | dd | dd_gnu | rman | rman_gnu

  14. rman_dd | rman_dd_gnu]

  15. default: cpio

tape_copy_cmd = cpio

  1. disk copy command [copy | copy_gnu | dd | dd_gnu | rman | rman_gnu]

  2. default: copy

disk_copy_cmd = copy

  1. stage copy command [rcp | scp | ftp]

  2. default: rcp

stage_copy_cmd = rcp

  1. pipe copy command [rsh | ssh]

  2. default: rsh

pipe_copy_cmd = rsh

  1. flags for cpio output command

  2. default: -ovB

cpio_flags = -ovB

  1. flags for cpio input command

  2. default: -iuvB

cpio_in_flags = -iuvB

  1. flags for cpio command for copy of directories to disk

  2. default: -pdcu

  3. use flags -pdu for gnu tools

cpio_disk_flags = -pdcu

  1. flags for dd output command

  2. default: "obs=16k"

  3. recommended setting:

  4. Unix: "obs=nk bs=nk", example: "obs=64k bs=64k"

  5. Windows: "bs=nk", example: "bs=64k"

dd_flags = "obs=64k bs=64k"

  1. flags for dd input command

  2. default: "ibs=16k"

  3. recommended setting:

  4. Unix: "ibs=nk bs=nk", example: "ibs=64k bs=64k"

  5. Windows: "bs=nk", example: "bs=64k"

dd_in_flags = "ibs=64k bs=64k"

  1. number of members in RMAN save sets [ 1 | 2 | 3 | 4 | tsp | all ]

  2. default: 1

saveset_members = 1

  1. additional parameters for RMAN

  2. rman_channels and rman_filesperset are only used when rman_util,

  3. rman_disk or rman_stage

  4. rman_channels defines the number of parallel sbt channel allocations

  5. rman_filesperset = 0 means:

  6. one file per save set - for non-incremental backups

  7. all files in one save set - for incremental backups

  8. the others have the same meaning as for native RMAN

  9. rman_channels = 1

  10. rman_filesperset = 0

  11. rman_maxpiecesize = 0 # in KB - former name rman_kbytes

  12. rman_rate = 0 # in KB - former name rman_readrate

  13. rman_maxopenfiles = 0

  14. rman_maxsetsize = 0 # in KB - former name rman_setsize

  15. additional parameters for RMAN version 8.1

  16. the parameters have the same meaning as for native RMAN

  17. rman_diskratio = 0 # deprecated in Oracle 10g

  18. rman_pool = 0

  19. rman_copies = 0 | 1 | 2 | 3 | 4 # former name rman_duplex

  20. rman_proxy = no | yes | only

  21. special parameters for an external backup library, example:

  22. rman_parms = "BLKSIZE=65536 ENV=(BACKUP_SERVER=HOSTNAME)"

  23. rman_send = "'<command>'"

  24. rman_send = ("channel sbt_1 '<command1>' parms='<parameters1>'",

  25. "channel sbt_2 '<command2>' parms='<parameters2>'")

  26. remote copy-out command (backup_dev_type = pipe)

  27. $-character is replaced by current device address

  28. no default

copy_out_cmd = "dd ibs=8k obs=64k of=$"

  1. remote copy-in command (backup_dev_type = pipe)

  2. $-character is replaced by current device address

  3. no default

copy_in_cmd = "dd ibs=64k obs=8k if=$"

  1. rewind command

  2. $-character is replaced by current device address

  3. no default

  4. operating system dependent, examples:

  5. HP-UX: "mt -f $ rew"

  6. TRU64: "mt -f $ rewind"

  7. AIX: "tctl -f $ rewind"

  8. Solaris: "mt -f $ rewind"

  9. Windows: "mt -f $ rewind"

  10. Linux: "mt -f $ rewind"

rewind = "mt -f $ rewind"

  1. rewind and set offline command

  2. $-character is replaced by current device address

  3. default: value of the rewind parameter

  4. operating system dependent, examples:

  5. HP-UX: "mt -f $ offl"

  6. TRU64: "mt -f $ offline"

  7. AIX: "tctl -f $ offline"

  8. Solaris: "mt -f $ offline"

  9. Windows: "mt -f $ offline"

  10. Linux: "mt -f $ offline"

rewind_offline = "mt -f $ offline"

  1. tape positioning command

  2. first $-character is replaced by current device address

  3. second $-character is replaced by number of files to be skipped

  4. no default

  5. operating system dependent, examples:

  6. HP-UX: "mt -f $ fsf $"

  7. TRU64: "mt -f $ fsf $"

  8. AIX: "tctl -f $ fsf $"

  9. Solaris: "mt -f $ fsf $"

  10. Windows: "mt -f $ fsf $"

  11. Linux: "mt -f $ fsf $"

tape_pos_cmd = "mt -f $ fsf $"

  1. mount backup volume command in auto loader / juke box

  2. used if backup_dev_type = tape_box | pipe_box

  3. no default

  4. mount_cmd = "<mount_cmd> $ $ $ [$]"

  5. dismount backup volume command in auto loader / juke box

  6. used if backup_dev_type = tape_box | pipe_box

  7. no default

  8. dismount_cmd = "<dismount_cmd> $ $ [$]"

  9. split mirror disks command

  10. used if backup_type = offline_split | online_split | offline_mirror

  11. | online_mirror

  12. no default

  13. split_cmd = "<split_cmd> [$]"

  14. resynchronize mirror disks command

  15. used if backup_type = offline_split | online_split | offline_mirror

  16. | online_mirror

  17. no default

  18. resync_cmd = "<resync_cmd> [$]"

  19. additional options for SPLITINT interface program

  20. no default

  21. split_options = "<split_options>"

  22. resynchronize after backup flag [no | yes]

  23. default: no

  24. split_resync = no

  25. volume size in KB = K, MB = M or GB = G (backup device dependent)

  26. default: 1200M

  27. recommended values for tape devices without hardware compression:

  28. 60 m 4 mm DAT DDS-1 tape: 1200M

  29. 90 m 4 mm DAT DDS-1 tape: 1800M

  30. 120 m 4 mm DAT DDS-2 tape: 3800M

  31. 125 m 4 mm DAT DDS-3 tape: 11000M

  32. 112 m 8 mm Video tape: 2000M

  33. 112 m 8 mm high density: 4500M

  34. DLT 2000 10/20 GB: 10000M

  35. DLT 2000XT 15/30 GB: 15000M

  36. DLT 4000 20/40 GB: 20000M

  37. DLT 7000 35/70 GB: 35000M

  38. recommended values for tape devices with hardware compression:

  39. 60 m 4 mm DAT DDS-1 tape: 1000M

  40. 90 m 4 mm DAT DDS-1 tape: 1600M

  41. 120 m 4 mm DAT DDS-2 tape: 3600M

  42. 125 m 4 mm DAT DDS-3 tape: 10000M

  43. 112 m 8 mm Video tape: 1800M

  44. 112 m 8 mm high density: 4300M

  45. DLT 2000 10/20 GB: 9000M

  46. DLT 2000XT 15/30 GB: 14000M

  47. DLT 4000 20/40 GB: 18000M

  48. DLT 7000 35/70 GB: 30000M

tape_size = 100G

  1. volume size in KB = K, MB = M or GB = G used by brarchive

  2. default: value of the tape_size parameter

  3. tape_size_arch = 100G

  4. level of parallel execution

  5. default: 0 - set to number of backup devices

exec_parallel = 0

  1. address of backup device without rewind

  2. [<dev_address> | (<dev_address_list>)]

  3. no default

  4. operating system dependent, examples:

  5. HP-UX: /dev/rmt/0mn

  6. TRU64: /dev/nrmt0h

  7. AIX: /dev/rmt0.1

  8. Solaris: /dev/rmt/0mn

  9. Windows: /dev/nmt0

  10. Linux: /dev/nst0

tape_address = /dev/rmt/0mn

  1. address of backup device without rewind used by brarchive

  2. default: value of the tape_address parameter

  3. operating system dependent

  4. tape_address_arch = /dev/rmt/0mn

  5. address of backup device with rewind

  6. [<dev_address> | (<dev_address_list>)]

  7. no default

  8. operating system dependent, examples:

  9. HP-UX: /dev/rmt/0m

  10. TRU64: /dev/rmt0h

  11. AIX: /dev/rmt0

  12. Solaris: /dev/rmt/0m

  13. Windows: /dev/mt0

  14. Linux: /dev/st0

tape_address_rew = /dev/rmt/0m

  1. address of backup device with rewind used by brarchive

  2. default: value of the tape_address_rew parameter

  3. operating system dependent

  4. tape_address_rew_arch = /dev/rmt/0m

  5. address of backup device with control for mount/dismount command

  6. [<dev_address> | (<dev_address_list>)]

  7. default: value of the tape_address_rew parameter

  8. operating system dependent

  9. tape_address_ctl = /dev/...

  10. address of backup device with control for mount/dismount command

  11. used by brarchive

  12. default: value of the tape_address_rew_arch parameter

  13. operating system dependent

  14. tape_address_ctl_arch = /dev/...

  15. volumes for brarchive

  16. [<volume_name> | (<volume_name_list>) | SCRATCH]

  17. no default

volume_archive = (BP1A01, BP1A02, BP1A03, BP1A04, BP1A05,

BP1A06, BP1A07, BP1A08, BP1A09, BP1A10,

BP1A11, BP1A12, BP1A13, BP1A14, BP1A15,

BP1A16, BP1A17, BP1A18, BP1A19, BP1A20,

BP1A21, BP1A22, BP1A23, BP1A24, BP1A25,

BP1A26, BP1A27, BP1A28, BP1A29, BP1A30)

  1. volumes for brbackup

  2. [<volume_name> | (<volume_name_list>) | SCRATCH]

  3. no default

volume_backup = (BP1B01, BP1B02, BP1B03, BP1B04, BP1B05,

BP1B06, BP1B07, BP1B08, BP1B09, BP1B10,

BP1B11, BP1B12, BP1B13, BP1B14, BP1B15,

BP1B16, BP1B17, BP1B18, BP1B19, BP1B20,

BP1B21, BP1B22, BP1B23, BP1B24, BP1B25,

BP1B26, BP1B27, BP1B28, BP1B29, BP1B30)

  1. expiration period for backup volumes in days

  2. default: 30

expir_period = 30

  1. recommended usages of backup volumes

  2. default: 100

tape_use_count = 100

  1. backup utility parameter file

  2. default: no parameter file

  3. util_par_file = initBP1.utl

  4. mount/dismount command parameter file

  5. default: no parameter file

  6. mount_par_file = initBP1.mnt

  7. Oracle instance string to the primary database

  8. [primary_db = <conn_name> | LOCAL]

  9. no default

  10. primary_db = <conn_name>

  11. description of parallel instances for Oracle RAC

  12. parallel_instances = <instance_desc> | (<instance_desc_list>)

  13. <instance_desc_list> -> <instance_desc>[,<instance_desc>...]

  14. <instance_desc> -> <Oracle_sid>:<Oracle_home>@<conn_name>

  15. <Oracle_sid> -> Oracle system id for parallel instance

  16. <Oracle_home> -> Oracle home for parallel instance

  17. <conn_name> -> Oracle instance string to parallel instance

  18. Please include the local instance in the parameter definition!

  19. default: no parallel instances

  20. example for initRAC001.sap:

  21. parallel_instances = (RAC001:/oracle/RAC/920_64@RAC001,

  22. RAC002:/oracle/RAC/920_64@RAC002, RAC003:/oracle/RAC/920_64@RAC003)

  23. database owner of objects to be checked

  24. <owner> | (<owner_list>)

  25. default: all SAP owners

  26. check_owner = sapr3

  27. database objects to be excluded from checks

  28. all_part | non_sap | [<owner>.]<table> | [<owner>.]<index>

  29. | [<owner>.]<prefix>* | <tablespace> | (<object_list>)

  30. default: no exclusion, example:

  31. check_exclude = (SDBAH, SAPR3.SDBAD)

  32. database owner of SDBAH, SDBAD and XDB tables for cleanup

  33. <owner> | (<owner_list>)

  34. default: all SAP owners

  35. cleanup_owner = sapr3

  36. retention period in days for brarchive log files

  37. default: 30

  38. cleanup_brarchive_log = 30

  39. retention period in days for brbackup log files

  40. default: 30

  41. cleanup_brbackup_log = 30

  42. retention period in days for brconnect log files

  43. default: 30

  44. cleanup_brconnect_log = 30

  45. retention period in days for brrestore log files

  46. default: 30

  47. cleanup_brrestore_log = 30

  48. retention period in days for brrecover log files

  49. default: 30

  50. cleanup_brrecover_log = 30

  51. retention period in days for brspace log files

  52. default: 30

  53. cleanup_brspace_log = 30

  54. retention period in days for archive log files saved on disk

  55. default: 30

  56. cleanup_disk_archive = 30

  57. retention period in days for database files backed up on disk

  58. default: 30

  59. cleanup_disk_backup = 30

  60. retention period in days for brspace export dumps and scripts

  61. default: 30

  62. cleanup_exp_dump = 30

  63. retention period in days for Oracle trace and audit files

  64. default: 30

  65. cleanup_ora_trace = 30

  66. retention period in days for records in SDBAH and SDBAD tables

  67. default: 100

  68. cleanup_db_log = 100

  69. retention period in days for records in XDB tables

  70. default: 100

  71. cleanup_xdb_log = 100

  72. retention period in days for database check messages

  73. default: 100

  74. cleanup_check_msg = 100

  75. database owner of objects to adapt next extents

  76. <owner> | (<owner_list>)

  77. default: all SAP owners

  78. next_owner = sapr3

  79. database objects to adapt next extents

  80. all | all_ind | special | [<owner>.]<table> | [<owner>.]<index>

  81. | [<owner>.]<prefix>* | <tablespace> | (<object_list>)

  82. default: all abjects of selected owners, example:

  83. next_table = (SDBAH, SAPR3.SDBAD)

  84. database objects to be excluded from adapting next extents

  85. all_part | [<owner>.]<table> | [<owner>.]<index> | [<owner>.]<prefix>*

  86. | <tablespace> | (<object_list>)

  87. default: no exclusion, example:

  88. next_exclude = (SDBAH, SAPR3.SDBAD)

  89. database objects to get special next extent size

  90. all_sel:<size>[/<limit>] | [<owner>.]<table>:<size>[/<limit>]

  91. | [<owner>.]<index>:<size>[/<limit>]

  92. | [<owner>.]<prefix>*:<size>[/<limit>] | (<object_size_list>)

  93. default: according to table category, example:

  94. next_special = (SDBAH:100K, SAPR3.SDBAD:1M/200)

  95. maximum next extent size

  96. default: 2 GB - 5 * <database_block_size>

  97. next_max_size = 1G

  98. maximum number of next extents

  99. default: 0 - unlimited

  100. next_limit_count = 300

  101. database owner of objects to update statistics

  102. <owner> | (<owner_list>)

  103. default: all SAP owners

  104. stats_owner = sapr3

  105. database objects to update statistics

  106. all | all_ind | all_part | missing | info_cubes | dbstatc_tab

  107. | dbstatc_mon | dbstatc_mona | [<owner>.]<table> | [<owner>.]<index>

  108. | [<owner>.]<prefix>* | <tablespace> | (<object_list>) | harmful

  109. | locked | system_stats | oradict_stats

  110. default: all abjects of selected owners, example:

  111. stats_table = (SDBAH, SAPR3.SDBAD)

  112. database objects to be excluded from updating statistics

  113. all_part | info_cubes | [<owner>.]<table> | [<owner>.]<index>

  114. | [<owner>.]<prefix>* | <tablespace> | (<object_list>)

  115. default: no exclusion, example:

  116. stats_exclude = (SDBAH, SAPR3.SDBAD)

  117. method for updating statistics for tables not in DBSTATC

  118. E | EH | EI | EX | C | CH | CI | CX | A | AH | AI | AX | E= | C= | =H

  119. | =I | =X | +H | +I

  120. default: according to internal rules

  121. stats_method = E

  122. sample size for updating statistics for tables not in DBSTATC

  123. P<percentage_of_rows> | R<thousands_of_rows>

  124. default: according to internal rules

  125. stats_sample_size = P10

  126. number of buckets for updating statistics with histograms

  127. default: 75

  128. stats_bucket_count = 75

  129. threshold for collecting statistics after checking

  130. default: 50%

  131. stats_change_threshold = 50

  132. number of parallel threads for updating statistics

  133. default: 1

  134. stats_parallel_degree = 1

  135. processing time limit in minutes for updating statistics

  136. default: 0 - no limit

  137. stats_limit_time = 0

  138. parameters for calling DBMS_STATS supplied package

  139. all:R|B:<degree> | all_part:R|B:<degree> | info_cubes:R|B:<degree>

  140. | [<owner>.]<table>:R|B:<degree> | [<owner>.]<prefix>*:R|B:<degree>

  141. | (<object_list>) | NO

  142. default: NULL - use ANALYZE statement

  143. stats_dbms_stats = ([ALL:R:1,][<owner>.]<table>:R|B:<degree>,...)

  144. definition of info cube tables

  145. default | rsnspace_tab | [<owner>.]<table> | [<owner>.]<prefix>*

  146. | (<object_list>) | null

  147. default: from RSNSPACE control table

  148. stats_info_cubes = (/BIC/D, /BI0/D, ...)

  149. recovery type [complete | dbpit | tspit | reset | restore | apply

  150. | disaster]

  151. default: complete

  152. recov_type = complete

  153. directory for brrecover file copies

  154. default: $SAPDATA_HOME/sapbackup

  155. recov_copy_dir = /orabw7/fs1/oracle/BP1/sapbackup

  156. time period for searching for backups

  157. 0 - all available backups, >0 - backups from n last days

  158. default: 30

  159. recov_interval = 30

  160. degree of paralelism for applying archive log files

  161. 0 - use Oracle default parallelism, 1 - serial, >1 - parallel

  162. default: Oracle default

  163. recov_degree = 0

  164. number of lines for scrolling in list menus

  165. 0 - no scrolling, >0 - scroll n lines

  166. default: 20

  167. scroll_lines = 20

  168. time period for displaying profiles and logs

  169. 0 - all available logs, >0 - logs from n last days

  170. default: 30

  171. show_period = 30

  172. directory for brspace file copies

  173. default: $SAPDATA_HOME/sapreorg

  174. space_copy_dir = /orabw7/fs1/oracle/BP1/sapreorg

  175. directory for table export dump files

  176. default: $SAPDATA_HOME/sapreorg

  177. exp_dump_dir = /orabw7/fs1/oracle/BP1/sapreorg

  178. database tables for reorganization

  179. [<owner>.]<table> | [<owner>.]<prefix>* | [<owner>.]<prefix>%

  180. | (<table_list>)

  181. no default

  182. reorg_table = (SDBAH, SAPR3.SDBAD)

  183. database indexes for rebuild

  184. [<owner>.]<index> | [<owner>.]<prefix>* | [<owner>.]<prefix>%

  185. | (<index_list>)

  186. no default

  187. rebuild_index = (SDBAH0, SAPR3.SDBAD0)

  188. database tables for export

  189. [<owner>.]<table> | [<owner>.]<prefix>* | [<owner>.]<prefix>%

  190. | (<table_list>)

  191. no default

  192. exp_table = (SDBAH, SAPR3.SDBAD)

  193. database tables for import

  194. [<owner>.]<table> | (<table_list>)

  195. no default

  196. imp_table = (SDBAH, SAPR3.SDBAD)

Please show me the changes to move forward

Khadar

Edited by: Khadar Batcha on May 16, 2008 12:03 PM

Former Member
0 Kudos

Hello Expert,

I am not able to understand about the SAPDATA_HOME variable.

is it mention in the init<SID>.sap profile.

Now, our backup process going through RMAN utility.

if you want any profile or file i will send it to your email ID.

Please provide your email ID.

Also show me the changes to move forward

Khadar

Former Member
0 Kudos

Hello,

check the authorization to the /oracle/<SID>/<oracle_version>/dbs

Former Member
0 Kudos

Hello Expert,

I have checked the permissions in OS level.

OS Level permission of dbs directory

drwxr-xr-x 2 ora<sid> dba 42496 May 14 20:19 dbs

Thanks for your help to move forward.

Khadar

Former Member
0 Kudos

hi,

if you r using ecc6 (netweaver 7) use the t-code 'dbacockpit' to schedule jobs related to database.

I would suggest you to upgrade the basis patch level to 12

Former Member
0 Kudos

Hello Expert,

I have also checked the permissions of the files residing in dbs directory.

dbs directory files and their permissions

-rw-r----- 1 ora<sid> dba 4608 Sep 8 2007 spfileBP1.ora

-rw-r----- 1 ora<sid> dba 2048 Nov 21 2006 orapw<SID>

-rw-r-xr-x 1 ora<sid> dba 20366 Nov 5 2006 init<SID>.sap

-rw-r-xr-x 1 ora<sid> dba 20174 Nov 5 2006 init<SID>.sap.master

-rw-r----- 1 ora<sid> dba 24 Nov 3 2006 lk<SID>

-rw-r-x--- 1 root sapinst 4545 Nov 3 2006 init<SID>.ora.SAPINST-ORIG

-rw-r----- 1 root sapinst 3908 Nov 3 2006 init<SID>.3.ora

-rw-r-x--- 1 root sapinst 4372 Nov 3 2006 init<SID>.4.ora

-rw-r----- 1 ora<sid> dba 3908 Nov 2 2006 init<SID>.1.ora

-rw-r-x--- 1 root sapinst 4372 Nov 2 2006 init<SID>.2.ora

-rw-r-xr-x 1 ora<sid> dba 20102 Mar 10 2006 init<SID>.dba

-rw-r----- 1 ora<sid> dba 12920 May 3 2001 initdw.ora

-rw-r----- 1 ora<sid> dba 8385 Sep 11 1998 init.ora

Khadar

Former Member
0 Kudos

Hi,

Are you able to schedule the backup using Brtools ?

try to login to the database from os level

using sqlplus /nolog

connect / as sysdba

if not chek this note

Note 723641 - Composite SAP Note: ORA-12545

Former Member
0 Kudos

Hello Expert,

I am not doing the activity of backup. our DBA team is doing backup through RMAN utility.

I am not much aware of BRTOOL backup procedure.

Could you tell me how to take backup with scheduled options.

Thanks for your help to move forward.

Khadar