Database Check
CRXI R2 sp4 ... asked about setting the database and got quick answer ...
ReportDocument.SetDatabaseLogon("", "", "Server", "Database")
works like a charm. Now I want to compare this config'd value to the actual report value, if different I want to set it and save the report back out. Essentially this is for moving between dev/test, etc ... my Dev copy will always deploy ... first time it's run in test, it will change the database location to the test database server, then save it back out. Subsequent runs in test it will already be set to test.
I can find the ReportDocument.SaveAs ... but cannot find the right option to check the current Database used by the report ...
Hi Scott,
There are a couple of ways of doing this.
If you just want logic to see if it needs to be updated use this line:
crReportDocument.Database.Tables.Item(0).TestConnectivity()
If you want to get the info then use this line:
crReportDocument.Database.Tables.Item(0).LogOnInfo.ConnectionInfo.ServerName.ToString()
I simply added this to my app and ran in debug mode and put a watch on those lines to confirm, the test fails and the ServerName returns the connection string.
You can format and add the result from each line as required in your app.
I hope this is what you are looking for?
Thank you
Don
Similar Messages
-
Error when executing database check using brconnect or in DB13.
Dear Experts,
I am facing problem in executing database check using brconnect or in DB13.
I get the following error:-
<b>I am giving the last few lines where the error comes</b>
G:\oracle\MRP\sapbackup 6 52228060 20440724 60.86 0 0
G:\oracle\MRP\sapcheck 6 52228060 20440724 60.86 0 0
G:\oracle\MRP\sapreorg 6 52228060 20440724 60.86 0 0
BR0252E Function _stat() failed for 'G:\oracle\MRP\saptrace' at location BrDiskStatGet-1
BR0253E errno 2: No such file or directory
BR0277E Determination of disk volume status for G:\oracle\MRP\saptrace failed
BR0806I End of BRCONNECT processing: cdvnwuiw.chk 2007-06-23 16.45.39
BR0280I BRCONNECT time stamp: 2007-06-23 16.45.39
BR0804I BRCONNECT terminated with error
<b>This is the config path in my init<sid>.ora.</b>
*._OPTIM_PEEK_USER_BINDS=FALSE
*.background_dump_dest='F:\oracle\MRP\saptrace\background'
*.compatible='10.2.0'
*.control_file_record_keep_time=30
*.control_files='G:\oracle\MRP\origlogA\cntrl\cntrlMRP.dbf','G:\oracle\MRP\origlogB\cntrl\cntrlMRP.dbf','G:\oracle\MRP\sapdata1\cntrl\cntrlMRP.dbf'
*.core_dump_dest='F:\oracle\MRP\saptrace\background'
*.db_block_size=8192
*.db_cache_size=281699942
*.db_files=254
*.db_name='MRP'
*.dml_locks=4000
*.event='10191 trace name context forever, level 1'
*.FILESYSTEMIO_OPTIONS='setall'
*.job_queue_processes=1
*.log_archive_dest='F:\oracle\MRP\oraarch\MRParch'
*.log_buffer=1048576
*.log_checkpoint_interval=0
*.log_checkpoints_to_alert=true
*.open_cursors=800
*.optimizer_features_enable='10.2.0.1'
*.pga_aggregate_target=375599923
*.processes=80
*.recyclebin='off'
*.remote_login_passwordfile='exclusive'
*.remote_os_authent=true
*.sessions=96
*.sga_max_size=563399884
*.shared_pool_reserved_size=28169994
*.shared_pool_size=281699942
*.sort_area_retained_size=0
*.sort_area_size=2097152
*.statistics_level='typical'
*.undo_management='AUTO'
*.undo_retention=43200
*.undo_tablespace='PSAPUNDO'
*.user_dump_dest='F:\oracle\MRP\saptrace\usertrace'
*.workarea_size_policy='AUTO'
<b>The path in my system is same as mentioned in the init<sid>.ora</b>
Please help me to find out cause of the error.
ThanksDear Mr. Yaroslav,
Thanks,
I have checked in <sid>adm user since we have looged in the same user Id.
There was no entrie for the SAPTRACE in environmental variable.
I have inserted and given the requried path"F:\oracle\MRP\saptrace".
Thankyou....hope in my next restart of the server it will work.... -
DB13 Database check getting following error
Job started
Step 001 started (program RSDBAJOB, variant &0000000000116, user ID KMDBASIS)
No application server found on database host - rsh/gateway will be used
Execute logical command BRCONNECT On host sapbwpor3
Parameters: -u / -jid CHECK20070822134120 -c -f check
BR0801I BRCONNECT 7.00 (26)
BR0252E Function NetShareGetInfo() failed for 'sapmnt' at location BrEnvProcess-89
BR0253E errno 2310: This shared resource does notexist.
BR0806I End of BRCONNECT processing: cdvzfvhd.log2007-08-22 13.41.25
BR0280I BRCONNECT time stamp: 2007-08-22 13.41.25
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finishedthis post is duplicated at DB13 Database check getting following error.
-
Error in the database check.
hi all,
I am getting following error while doing Database check in my system:
BR0976W Database message alert - level: ERROR, line: 7649, time: 2010-08-26 22.56.27, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7650, time: 2010-08-26 22.56.27, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7654, time: 2010-08-26 22.56.27, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7657, time: 2010-08-26 22.56.27, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7658, time: 2010-08-26 22.56.27, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7662, time: 2010-08-26 22.56.27, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7669, time: 2010-08-26 22.56.27, message:
ORA-16038: log 1 sequence# 28567 cannot be archived
BR0976W Database message alert - level: ERROR, line: 7670, time: 2010-08-26 22.56.27, message:
ORA-19502: write error on file "", blockno (blocksize=)
BR0976W Database message alert - level: ERROR, line: 7675, time: 2010-08-26 22.56.27, message:
ORA-16038: log 1 sequence# 28567 cannot be archived
BR0976W Database message alert - level: ERROR, line: 7676, time: 2010-08-26 22.56.27, message:
ORA-19502: write error on file "", blockno (blocksize=)
BR0976W Database message alert - level: ERROR, line: 7686, time: 2010-08-26 22.57.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7687, time: 2010-08-26 22.57.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7691, time: 2010-08-26 22.57.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7694, time: 2010-08-26 22.57.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7695, time: 2010-08-26 22.57.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7699, time: 2010-08-26 22.57.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7709, time: 2010-08-26 22.58.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7710, time: 2010-08-26 22.58.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7714, time: 2010-08-26 22.58.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7717, time: 2010-08-26 22.58.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7718, time: 2010-08-26 22.58.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7722, time: 2010-08-26 22.58.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7734, time: 2010-08-26 22.59.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 69633 (blocksize=512)
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 69633 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7735, time: 2010-08-26 22.59.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7739, time: 2010-08-26 22.59.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 69633 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7742, time: 2010-08-26 22.59.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 69633 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7743, time: 2010-08-26 22.59.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7747, time: 2010-08-26 22.59.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 69633 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7757, time: 2010-08-26 22.59.04, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7758, time: 2010-08-26 22.59.04, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7762, time: 2010-08-26 22.59.04, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7765, time: 2010-08-26 22.59.04, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7766, time: 2010-08-26 22.59.04, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7770, time: 2010-08-26 22.59.04, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7780, time: 2010-08-26 23.00.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7781, time: 2010-08-26 23.00.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7785, time: 2010-08-26 23.00.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7798, time: 2010-08-26 23.00.10, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 77825 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7799, time: 2010-08-26 23.00.10, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7803, time: 2010-08-26 23.00.10, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 77825 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7811, time: 2010-08-26 23.01.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7812, time: 2010-08-26 23.01.02, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7816, time: 2010-08-26 23.01.02, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7826, time: 2010-08-26 23.02.03, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7827, time: 2010-08-26 23.02.03, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7831, time: 2010-08-26 23.02.03, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 63489 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7839, time: 2010-08-26 23.03.03, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 77825 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7840, time: 2010-08-26 23.03.03, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7844, time: 2010-08-26 23.03.03, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 77825 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7857, time: 2010-08-26 23.03.42, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7858, time: 2010-08-26 23.03.42, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7862, time: 2010-08-26 23.03.42, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7870, time: 2010-08-26 23.04.03, message:
ORA-19502: write error on file "/oracle/IRQ/oraarch/IRQarch1_28567_661029934.dbf", blockno 65537 (blocksize=512)
BR0976W Database message alert - level: ERROR, line: 7871, time: 2010-08-26 23.04.03, message:
ORA-27063: number of bytes read/written is incorrect
BR0976W Database message alert - level: ERROR, line: 7875, time: 2010-08-26 23.04.03, message:
BR0978W Database profile alert - level: WARNING, parameter: LOG_BUFFER, value: 14251008 (>< 4096,512 KB)
BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_FEATURES_ENABLE, value: 10.2.0.1 (set in parameter file)
BR0978W Database profile alert - level: WARNING, parameter: PARALLEL_EXECUTION_MESSAGE_SIZE, value: 2152 (>< 16384,4096)
BR0978W Database profile alert - level: ERROR, parameter: QUERY_REWRITE_ENABLED, value: TRUE (<> FALSE)
BR0978W Database profile alert - level: ERROR, parameter: REPLICATION_DEPENDENCY_TRACKING, value: TRUE (<> FALSE)
BR0978W Database profile alert - level: WARNING, parameter: STAR_TRANSFORMATION_ENABLED, value: FALSE (<> TRUE)
BR0978W Database profile alert - level: WARNING, parameter: STATISTICS_LEVEL, value: TYPICAL (set in parameter file)
What are these and how to rectify these?
Regards,
PriyaHi Priya,
When you perform database check either using brtools or in tx code db13, SAP will check the health of database system by reading the content of alert_<SID>.log file located in /oracle/<SID>/saptrace/background. Also it checks the contents of database parameters as per the threshold configuration in tx code db17.
The content of oracle alert log file showed that it cannot write archive log file.. Please see the content of alert_<SID>.log file and correct the archive log error creation. The error indicates that either disk block is corrupted or damaged.
As seen in the error message the error message was created in the month of Aug 2010 and appended in the alert_IRQ.log file located in /oracle/IRQ/saptrace/background.If the error is not present now and if you want to perform database check, then delete old contents from the first line to till last month in alert_IRQ.log file using operating system. Then save the file and Then perform database check again.
Please make sure you must monitor database check daily and ensure that if the error occurs for writing archive log file, it is dangerous as archive will stuck and the whole operation hangs.
The message below is for warning and this can be ignored and this is becasue of threshold configuration. You may change the threshold configuration in tx code db17.
However warning " WARNING, parameter: LOG_BUFFER, value: 14251008 (>< 4096,512 KB) BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_FEATURES_ENABLE, value: 10.2.0.1 (set in parameter file) BR0978W Database profile alert - level: WARNING, parameter: PARALLEL_EXECUTION_MESSAGE_SIZE, value: 2152 (>< 16384,4096) BR0978W Database profile alert - level: ERROR, parameter: QUERY_REWRITE_ENABLED, value: TRUE (<> FALSE) BR0978W Database profile alert - level: ERROR, parameter: REPLICATION_DEPENDENCY_TRACKING, value: TRUE ( FALSE) BR0978W Database profile alert - level: WARNING, parameter: STAR_TRANSFORMATION_ENABLED, value: FALSE ( TRUE) BR0978W Database profile alert - level: WARNING, parameter" - is for warning only it could be bug problems. SO there is no need to correct the problem.
Hope this helps you.
Thanks and Regards
apr -
SAP database check finished with warning
Hello All,
In sapcheck folder latest .chk file finished with following warnings
BR0280I BRCONNECT time stamp: 2009-04-01 10.30.50
BR0972I Checking database operations...
BR0973W Database operation alert - level: WARNING, operation: cdzsjafp.log, time: 2009-01-17 05.13.45, condition: Last 'log' operation failed with rc = 3
Kindly help me resolve the issue.
Regards
Mohsin>
mohsin m wrote:
> Hello All,
>
> In sapcheck folder latest .chk file finished with following warnings
>
> BR0280I BRCONNECT time stamp: 2009-04-01 10.30.50
> BR0972I Checking database operations...
> BR0973W Database operation alert - level: WARNING, operation: cdzsjafp.log, time: 2009-01-17 05.13.45, condition: Last 'log' operation failed with rc = 3
>
> Kindly help me resolve the issue.
>
> Regards
> Mohsin
Hello,
The warning occurs because the database check looks for the logs of all old operations that ended with an error. The text "Last 'log' operation" means: an operation log with the extension ".log"was found for an action that ended with the (error) status RC = 3.
Since the log referred to is old (January 17), you can get rid of it by running:
brconnect -u / -c force -f cleanup -m 60
(60 is the minimum age of the logs to clean up; adapt this value to your requirements)
Also, it is a good idea to schedule the action "Cleanup logs" periodically via DB13.
Regards,
Mark -
Hi Experts,
I am getting the following error when I am starting database check through brconnect.
C:\Documents and Settings\devadm>brconnect -f check
BR0801I BRCONNECT 6.40 (42)
BR0805I Start of BRCONNECT processing: cdzgcybo.chk 2008-11-13 16.46.40
BR0484I BRCONNECT log file: D:\oracle\DEV\sapcheck\cdzgcybo.chk
BR0280I BRCONNECT time stamp: 2008-11-13 16.46.42
BR0301E SQL error -1017 at location db_connect-2
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance DEV failed
BR0280I BRCONNECT time stamp: 2008-11-13 16.46.43
BR0301E SQL error -1017 at location db_connect-2
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance DEV failed
BR0806I End of BRCONNECT processing: cdzgcybo.chk 2008-11-13 16.46.42
BR0280I BRCONNECT time stamp: 2008-11-13 16.46.43
BR0804I BRCONNECT terminated with errors
Pl. suggets.
Thanks
Neerajhi neeraj,
use this command :
brconnect -u / -c -f check
to check your database.
ardhian
http://sapbasis.wordpress.com
http://ardhian.kioslinux.com -
Error in executing Database Check on SRM Server (BRCONNECT)
Dear All,
When executing the Database check by DB13 or BRTOOLS I am getting the following Error.
BR0477I Oracle pfile /oracle/FRP/102_64/dbs/initFRP.ora created from spfile /oracle/FRP/102_64/dbs/spfileFRP.ora
BR1301W Error message from likeywlib:
===...could not load SSF library libsapsecu.o .
BR1301W Error message from likeywlib: likey_init:Couldn't load SAPSECULIB ("libsapsecu.o") using function SsfSupInit (), rc = 1
BR1302E Initialization of license key library likeywlib failed, return code 1
BR0602E No valid SAP license found - please contact SAP
BR0806I End of BRCONNECT processing: cegxjpxo.log2011-10-03 14.02.25
BR0280I BRCONNECT time stamp: 2011-10-03 14.02.25
BR0804I BRCONNECT terminated with errors
I have following profile parameters
ssl/ssl_lib /usr/sap/FRP/SYS/exe/run/libsapcrypto.o
ssf/ssfapi_lib /usr/sap/FRP/SYS/exe/run/libsapcrypto.o
sec/libsapsecu /usr/sap/FRP/SYS/exe/run/libsapcrypto.o
ssf/name SAPSECULIB
I have maintained DIR_LIBRARY as Environment variable with /usr/sap/FRP/SYS/exe/run and all the library files are maintained at above said location including libsapsecu.o which have 777 permission at AIX level.
Please Helpu2026u2026u2026u2026u2026..
Regards,
Manish SachanThanks, Sunny
Problem has been solved by the help of your suggested NOTE....................
Regards,
Manish Sachan -
Database check within javascript
I have javascript validation code, but some of it is depended
on database results. So, I just want to do a simple database check
and then run javascript code based on the query results. For
example:
<script language="JavaScript">
function validate_form ( )
valid = true;
<!-- <cfif not compareNoCase(Topdata.demil_cd,'F')>
//-->
if ( document.test.field1.value == "Test" )
alert ( "Blah, blah blah." );
valid = false;
<!-- <cfelse> //-->
if ( document.test.field2.value == "Test2" )
alert ( "Blah, blah blah." );
valid = false;
<!-- <cfif> //-->
return valid;
</script>Run your query before your opening script tag. Use the
toScript function to bring your database results into js. -
Hi Folks,
What are the database check list to be maintained when a database goes live? (11gR2)
Check list like
Auditing
Backup policy
cron tabs
dbms_jobs
Please add the list and share your experience.
Thanks
KSG
Edited by: KSG on Jun 26, 2011 12:15 AMOracle is Oracle and the version has little bearing on what activities a DBA should be performing.
If licensed for the EM Diagnoistic and/or Performance Packs the DBA should take a baseline and compare the current AWR report to the baseline on a regular basis where regular could be daily to quarterly depending on how stable the system is and if performance problems have been identified, changes made, etc.... If not licensed then statspack can be used to perform the same function.
The DBA Administration manual has a page of DBA activities listed in it that is worth a look.
A lot depends on how what kind and how many applications your environment supports, the user load, and how well the applications make use of available resources. If your applicaitons have issues the DBA is likely to be busy verifying the issues are in the application and not in the database. Once identified then the DBA may be busy tuning SQL but in some shops that is the developer responsibility. So it all depends.
HTH -- Mark D Powell -- -
Hi All,
I have added a field to the standard table NAST. I have activated it. But When i go to the Utilities -> Database Object -> check I am getting the following error
The database object is not consistent: (Fields, Primary index)
folowed by the field which I created which exists in the runtime object column but not in the database.
Below that i can c there is no unique index in the database.
can anyone help me out.
regards,
BalaHi bala,
what field you added and by the way did you created any Index on NAST table.
Try to Activate the Table ,and also Adjust the DB using the Utilities- >Database utility->Activate and Adjust the Database.
Regards
vijay -
Users connected to database-check
Just a basic question, looking for sql command to check which users are connected & active/inactive at the database.
This query will give you all the information like os process id, what is the session program machine from which session started. session start time etc. session status
column sid format 9999
column serial# format 999999
column username format A9
column schemaname format A8
column osuser format a15
column machine format a20
column terminal format a10
column LOGONDATE format a20
col program for a12
select a.sid, a.serial#, b.spid, substr(a.program,1,12) Program, a.username,to_char(a.logon_time,'DD-MM HH24:MI:SS') LogonDate, a.osuser, a.machine, a.status
from v$session a, v$process b where a.paddr = b.addr AND A.USERNAME IS NOT NULL
order by status,osuser -
Flashback database check box isn't available
Hi all, <br>
I am using Oracle Database Control 10g R2 for Win 32-bit.<br>
I tried to use the Recovery Settings lin on the Maintenance tabbed page to enable Flashback Database. As far as I know, I should see there a check box to enable the Flashback Database. Unluckily, I don't see it there.<br>
I logged on as SYS and the ARCHIVEMODE is enabled.<br>
Thanks in advance.<br>Thanks for your reply.<br>
Just one note. How come it is stated in the Oracle Installer that Personal Edition is full compatible with Enterprise Edition? -
Hi all,
I am an accidental dba and my first assignment is to check and review the database health of 4 databases. Please let me know the steps I must take to do this?Hi all,
I am an accidental dba and my first assignment is to check and review the database health of 4 databases. Please let me know the steps I must take to do this?
Health Checks include many things
1. Checkdb
2. Index defragmentation
3. Stats Updation
4. Reading errorlog to be proactive about any possible error .
some links
http://blog.sqlauthority.com/2007/11/17/sql-server-2005-best-practices-for-sql-server-health-check/
https://www.simple-talk.com/sql/database-administration/database-properties-health-check/
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Database check error on DB02-- Alert
Dear All,
We found the below errors on DB02 -->Alert .
E 22.12.2010 12:02:31 10 DBA MISSING_INDEX 1 Table: SAPSR3.ZBIMIS # Table has no index
W 22.12.2010 12:02:31 0 DBO ARCHIVE_TOO_OLD 1 Operation: 'Archive log backup' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 0 DBO BACKUP_TOO_OLD 1 Operation: 'Complete database backup' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 6 DBO OPERATION_TOO_OLD chk 1 Operation: 'chk' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 6 DBO STATS_TOO_OLD 1 Operation: 'Update optimizer statistics' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 6 ORA 00060 5 Time: 2008-11-07 21.41.35, line: ORA-00060: Deadlock detected. More info in file /oracle/IRP/saptrace/usertrace/irp_ora_606586.t
E 22.12.2010 12:02:31 6 ORA 00376 100 Time: 2008-09-26 17.34.39, line: ORA-00376: file 1 cannot be read at this time
E 22.12.2010 12:02:31 6 ORA 00470 2 Time: 2010-02-25 05.34.41, line: ORA-470 signalled during: ALTER DATABASE DISMOUNT...
E 22.12.2010 12:02:31 6 ORA 00471 3 Time: 2008-10-10 18.05.57, line: ORA-00471: DBWR process terminated with error
E 22.12.2010 12:02:31 6 ORA 00474 1 Time: 2010-03-10 04.47.53, line: ORA-00474: SMON process terminated with error
E 22.12.2010 12:02:31 6 ORA 00600 2 Time: 2010-02-12 11.41.38, line: ORA-00600: internal error code, arguments: [1433], [60], [], [], [], [], [], []
E 22.12.2010 12:02:31 6 ORA 01113 10 Time: 2008-11-28 18.38.28, line: ORA-1113 signalled during: ALTER DATABASE OPEN...
W 22.12.2010 12:02:31 6 ORA 01555 1 Time: 2010-09-08 10.01.09, line: ORA-01555 caused by SQL statement below (SQL ID: 6cbacdfn457j9, Query Duration=57100 sec, SCN:
E 22.12.2010 12:02:31 2 ORA 01652 4 Time: 2010-12-20 10.41.41, line: ORA-1652: unable to extend temp segment by 128 in tablespace PSAPTEMP
E 22.12.2010 12:02:31 6 ORA 01653 100 Time: 2010-12-09 16.17.30, line: ORA-1653: unable to extend table SAPSR3.BALDAT by 128 in tablespace PSAPSR3
E 22.12.2010 12:02:31 6 ORA 01691 20 Time: 2010-12-09 16.10.05, line: ORA-1691: unable to extend lobsegment SAPSR3.SYS_LOB0000072694C00007$$ by 128 in tablespace
E 22.12.2010 12:02:31 6 ORA 16038 100 Time: 2008-10-26 13.55.06, line: ORA-16038: log 4 sequence# 1472 cannot be archived
E 22.12.2010 12:02:31 6 ORA 19502 100 Time: 2008-10-26 13.55.06, line: ORA-19502: write error on file "/oracle/IRP/oraarch/IRParch1_1472_664127538.dbf", blockno 79873
E 22.12.2010 12:02:31 6 ORA 19504 1 Time: 2009-07-09 17.34.49, line: ORA-19504: failed to create file "/oracle/IRP/oraarch/IRParch1_14699_664127538.dbf"
E 22.12.2010 12:02:31 6 ORA 19510 11 Time: 2008-10-26 14.17.54, line: ORA-19510: failed to set size of 85896 blocks for file "/oracle/IRP/oraarch/IRParch1_1473_66412
E 22.12.2010 12:02:31 6 ORA 27044 1 Time: 2009-07-09 17.34.49, line: ORA-27044: unable to write the header block of file
E 22.12.2010 12:02:31 6 ORA 27063 100 Time: 2008-10-26 13.55.06, line: ORA-27063: number of bytes read/written is incorrect
E 22.12.2010 12:02:31 6 ORA 27072 2 Time: 2009-06-20 11.03.58, line: ORA-27072: File I/O error
W 22.12.2010 12:02:31 9 ORA Checkpoint not complete 100 Time: 2008-08-29 22.02.36, line: Checkpoint not complete
W 22.12.2010 12:02:31 10 PROF LOG_BUFFER 1 Value: 14238720 (>< 4096,512 KB) # Size of redo log buffer in bytes
W 22.12.2010 12:02:31 10 PROF OPTIMIZER_FEATURES_ENABLE 1 Value: 10.2.0.1 (set in parameter file) # Optimizer plan compatibility parameter
W 22.12.2010 12:02:31 10 PROF OPTIMIZER_INDEX_COST_ADJ 1 Value: 20 (set in parameter file) # Optimizer index cost adjustment
E 22.12.2010 12:02:31 10 PROF REPLICATION_DEPENDENCY_TRACKING 1 Value: TRUE (<> FALSE) # Tracking dependency for Replication parallel propagation
W 22.12.2010 12:02:31 10 PROF STATISTICS_LEVEL 1 Value: TYPICAL (set in parameter file) # Statistics level
W 16.12.2010 08:31:09 6 DBO LAST_ARCHIVE_FAILED 1 Operation: aeeuepco.cds, time: 2010-12-15 15.53.58 failed with rc = 5 # Last archive log backup failed with rc = 5
W 16.12.2010 08:31:09 6 DBO LAST_BACKUP_FAILED 1 Operation: beeuekuv.anf, time: 2010-12-15 15.05.33 failed with rc = 5 # Last complete database backup failed with rc = 5
W 13.12.2010 08:29:12 10 DBA TABLESPACE_FULL 1 Tablespace: PSAPSR3, value: 96.96% (> 95%) # Tablespace full
E 12.12.2010 00:22:33 10 DBA MISSING_STATISTICS 1 Table: SAPSR3.ZMATCOMP # Table or index has no optimizer statistics
Kindly adviseDear,
your first error -->MISSING_INDEX ,so create table index to help APAPER,
2& 3->ARCHIVE_TOO_OLD,your system online/offline redo log backup not take for long time so...
4-->DBO STATS_TOO_OLD ,throw db13 to run database/stats update job(daily seclude) ,
regard
vinod -
Database check finish with warnings
Dear all
Please guide how can resolve this warings
oracle 9.2.0.7 ,oprating system windos 2003 advanced server sap ECC5
ORA-000060: Deadlock detected. More info in file d:\oracle\prd\saptrace\usertrace\prd_ora_6080.trc.
BR0976W Database message alert - level: ERROR, line: 108900, time: 2007-08-29 19.57.47, message:
ORA-00600: internal error code, arguments: [kdtdelrow-2], [65], [65], [], [], [], [], []
BR0976W Database message alert - level: WARNING, line: 108901, time: 2007-08-29 19.57.47, message:
ORA-00060: deadlock detected while waiting for resource
BR0976W Database message alert - level: WARNING, line: 108904, time: 2007-08-29 19.57.51, message:
ORA-000060: Deadlock detected. More info in file d:\oracle\prd\saptrace\usertrace\prd_ora_5992.trc.
BR0976W Database message alert - level: ERROR, line: 108908, time: 2007-08-29 19.57.51, message:
ORA-00600: internal error code, arguments: [kdtdelrow-2], [61], [61], [], [], [], [], []
BR0976W Database message alert - level: WARNING, line: 108909, time: 2007-08-29 19.57.51, message:
ORA-00060: deadlock detected while waiting for resource
BR0976W Database message alert - level: WARNING, line: 109228, time: 2007-08-30 10.10.44, message:
ORA-000060: Deadlock detected. More info in file d:\oracle\prd\saptrace\usertrace\prd_ora_4212.trc.
BR0976W Database message alert - level: ERROR, line: 109232, time: 2007-08-30 10.10.44, message:
ORA-00600: internal error code, arguments: [kdtdelrow-2], [65], [65], [], [], [], [], []
tahnks in advanced
with reagrds
venkatgo for patchset 9.2.0.8 and the latest minipatch (currently 9.2.0.8.10).
deadlocks are normaly application specific and not database related. the ORA-000060 only indicates that the Oracle database prevents a deadlock (two or more transactions locking each other)
Peter
Maybe you are looking for
-
Approve requisition with multiple account assignment
Hi, A requisition with 3 cost ctr. where cost is spread out with 50% to one account and 25% to the other two is send to be approved by the strategy covering the cost ctr. that get the 50% cost. This routing the approval seems logically - but can we c
-
How can I get Entourage to stop downloading old emails again and again?
Hi all, I hope this is an appropriate forum to ask a question re using Entourage in Office 2004 for Mac. I have been using this email client successfully for several years. Suddenly, after being out of the country for about 1 month and gone from my h
-
Win7 Pro, 64-bit. 16Gg RAM I am new to Illustrator. I have the CS4 version, and chose (maybe bad idea for someone new to the SW) to use it to make vector a scan I was placing in a Photoshop (CS6) document. When Placing I of course put it on its own l
-
Hi experts, I need to create IDOC when PO gets saved. I have checked in the Forum i am unable to find the right one. Please explain in detail with configuration with tcode. Kindly help rgds sp
-
Embed SVG to PDF file (SOLVED)
Hi, Plz tell me how I can do it. or maybe someone knows where I find for example pdf with embed svg? SOLVED http://stackoverflow.com/questions/3360641/how-to-insert-a-svg-file-in-a-pdf-document