Diagnosing ORA-01555: what table had the unreconstructable block?
We have some very long-running batch processes (i.e. > 20 hours for a single INSERT statement) and we sometimes get ORA-01555 (snapshot too old) failures. Our undo_retention is 10800 seconds=3 hours.
We have discussed (with the development team) the combination of events that are needed for this situation to arise. They are unable to think of a situation where any of the tables (in today's incident, there are 7 of them) would have been updated after this job started.
Is there a method for analyzing the trace file to determine which table had the block that could not be reconstructed due to overwritten UNDO? This might give us ideas for how to avoid this via operational changes (i.e. changing the job schedule).
Of course, we are also pursuing tuning efforts for this query.
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Solaris: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
Thanks,
Mike
Well you could still check to see if there are any uncommitted transactions for those tables:
Query the DBA_DML_LOCKS view (and/or DDL view)
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_3157.htm
select * from DBA_DML_LOCKS
SESSION_ID,OWNER,NAME,MODE_HELD,MODE_REQUESTED,LAST_CONVERT,BLOCKING_OTHERS
10,SCOTT,EMP_READ_ONLY,Row-X (SX),None,1163,Not Blocking
69,SCOTT,EMP_READ_ONLY,Row-X (SX),None,1648,Not Blocking
That shows that two session are holding exclusive row lock on the EMP_READ_ONLY TABLE. As a test I inserted a row from two different sessions but did NOT commit it yet.
The DDL version of the view can be used in addition.
See my reply Sep 4, 2013 12:23 AM in this thread from yesterday for more info.
https://forums.oracle.com/message/11174417#11174417
At least in 10g you can tell before you start if there are any issues to resolve. If there are no issues then once you start your query there won't be any issues that could cause the snapshot problem since your query will be first in line.
Similar Messages
-
ORA-27047: unable to read the header block of file
My Windows 2003 crashed which was running Oracle XE.
I installed Oracle XE on Windows XP on another machine.
I coped my D:\oracle\XE10g\oradata folder of Win2003 to the same location in WinXP machine.
When I start the database in WinXP using SQLPLUS i get the following message
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
ORA-00205: error in identifying control file, check alert log for more info
I my D:\oracle\XE10g\app\oracle\admin\XE\bdump\alert_xe I found following errors
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Wed Apr 25 18:38:36 2007
ALTER DATABASE MOUNT
Wed Apr 25 18:38:36 2007
ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
ORA-27047: unable to read the header block of file
OSD-04001: invalid logical block size (OS 2800189884)
Wed Apr 25 18:38:36 2007
ORA-205 signalled during: ALTER DATABASE MOUNT...
ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
ORA-27047: unable to read the header block of file
OSD-04001: invalid logical block size (OS 2800189884)
Please help.
Regards,
ZulqarnainTry to install win 2003 server software, do the fresh installation of oracle software, now copy the datafiles and controlfiles to same locations as you did on winxp.
get back to us, if still not out of the woods. I still doubt that a simple restore would do the trick, since you doing it across different platforms, might be I can be wrong, but this is what I personally feel, you not able to start the database on winxp.
hare krishna
Alok -
ORA-27044: unable to write the header block of file / IBM AIX RISC System/6
We are getting an error like this...
Oracle 11.2.0.2
AIX 5.3
Error:
CREATE CONTROLFILE REUSE DATABASE "CLMST" RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/clmst02/UAT/oradata/control/control01.ctl'
ORA-27044: unable to write the header block of file
IBM AIX RISC System/6000 Error: 89: Invalid file system control data detected
Additional information: 3
Additional information: -1
Additional information: 1ORA-09817 IBM AIX RISC System/6000 Error: 89
Oracle 11.2.0.2
AIX 5.3
Related Errors:-
Mon Nov 05 18:33:51 2012
ARC3 started with pid=30, OS id=954622
ARC1: Becoming the 'no FAL' ARCH
ARC1: Becoming the 'no SRL' ARCH
ARC2: Becoming the heartbeat ARCH
Errors in file /clmst01/UAT/oracode/app/oracle/diag/rdbms/clmst/clmst/trace/clmst_ora_2514960.trc (incident=17053):
ORA-00600: internal error code, arguments: [kccugg_end], [], [], [], [], [], [], [], [], [], [], []
Errors in file /clmst01/UAT/oracode/app/oracle/diag/rdbms/clmst/clmst/trace/clmst_m000_2105586.trc:
ORA-00313: open failed for members of log group 3 of thread 1
ORA-00312: online log 3 thread 1: '/clmst02/UAT/oradata/redo/redo03A.log'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
CREATE CONTROLFILE REUSE DATABASE "CLMST" RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/clmst02/UAT/oradata/control/control01.ctl'
ORA-27044: unable to write the header block of file
IBM AIX RISC System/6000 Error: 89: Invalid file system control data detected
Additional information: 3
Additional information: -1
Additional information: 1
Cause:-
Your /clmst02/ mount point might be corrupted.
Check:-
fsck /clmst02
The current volume is: /dev/fslv00
File system is currently mounted.
Primary superblock is valid.
fsck: Performing read-only processing does not produce dependable results.
*** Phase 1 - Initial inode scan
*** Phase 2 - Process remaining directories
*** Phase 3 - Process remaining files
*** Phase 4 - Check inode allocation map
File system inode map is corrupt (NOT FIXED)
fsck: 0507-278 Cannot continue.
File system is currently mounted.
fsck: Performing read-only processing does not produce dependable results.
Fix:-
Either you can change the file location to another mount points or shutdown the database and run the fsck on /clmst02 mount point to fix the corrupted one & start the database.
Fix:-
Recreate the affected Redolog files
alter database add logfile group 3 (
'/clmst02/UAT/oradata/redo/redo03A.log',
'/clmst03/UAT/oradata2/redo/redo03B.log',
'/clmst04/UAT/oradata3/redo/redo03C.log') size 50m reuse; -
What table is the Release Date of MIRO Invoice Block stored on?
I'm attempting to track the timeframe between the date when a block is placed on an invoice vs the date that the block is released. I realize in the application you can see the release date through document changes...but can anyone tell me what table the release date is stored on forf reporting purposes?
Is there a standard t-code that would display both the date the block is placed and the date the block is released?
Thanks.Hi Jan,
in table CDHDR you can see the last person that changed the object. To release an invoice causes saving the object. Therefore the person releasing blocked Invoices is the last changer.
Check wit transaction SE16 table CDHDR with "Change doc. object" = "INCOMINGINVOICE" and "Object value" your invoice number.
Hope this helps.
Regards
C.S. -
What table is the business purpose for mileage stored?
We need to report the business purpose for mileage just as we do the business purpose for receipts. However, it does not appear that the business purpose is stored in the same location?
Thank you,
SandraA consultant was able to help us with this - it is stored in a cluster table and the FM HRTRV_IF_GET_TRIP can be used to retrieve it.
Sandra -
Delivery (VL02n) - What table contains the Batch Item details?
Hi,
I have a question in regards to Deliveries (VL01n/02n/03n).
Right now, I have a delivery that has 1 Item (Item 10) and a batch split
under it (Batch SPlit is item 900001).
From which table can I get the batch item details (what material it is for and etc).
Table LIPS only contains the Delivery Item details and does not contain the
Batch/Batch Split item details.
Please help.
Thanks,
Johnhi check these tables..
VBFA Document flow (alg.)
VTFA Flow shipping documents
6.1 Sales order :
VBAK Header data
VBAP Item data
VBPA Partners in sales order
VBKD Sales district data
VBEP Data related to line items, delivery lines
6.2 Billing document :
VBRK header data
VBRP Item data
6.3 Shipping :
VTTK Shipment header
VTTP Shipment item
VTTS Stage in transport
VTSP Stage in transport per shipment item
VTPA Shipment partners
VEKP Handling Unit - Header Table
VEPO Packing: Handling Unit Item (Contents)
6.4 Delivery :
LIKP Delivery header
LIPS Delivery item
6.5 Pricing :
KONH Conditions header
KONP Conditions items
KONV Procedure ( billing doc or sales order)
KOND
6.6 contracts :
VEDA Contract data
regards,
venkat -
CAA3 - what table holds the address?
Hello experts,
On screen of CAA3, at the lower part of the screen, there can appear a secondary address which can be different from the address displayed at the top of the screen. I saw something about invoicing. Am I wrong?
At any rate, I need to use this secondary address on a report. So, I launched CAA3, used F1 on the field, and then the technical data. The field is comes from, or, is mapped onto a structure and not an actual table. My question is where can I find this secondary address, or if it is to be found on ADRC table, what key or address number do I use to get this particular address please?
Your help is greatly appreciated.
AGTry BUPA_ADDRESSES_GET
-
Talent Assessment form - what table is the data stored in?
Hi All,
I am just wondering what SAP data table is used to store the data from the Talent Assessment form?
Kind regards,
LukeHey Luke:
So for Potential - HRP7408-POTENTIAL. SAP came up with a very nice and easy way to find the performance and potential values, which is great.
For Risk of Loss, that's not really stored in the same way. I wish I could tell you this would be easy, but it's not. For the output on the Talent Profile screens, SAP simplifies it for configurators and lets them choose a value called SAP_RISK. If you want to go get a person's risk assessment (or impact of loss... or whatever Assessment attribute other than potential you want) other than this, you'd do it the same way as SAP does it for SAP_RISK
They start by looking at the table t77tmcaesfield. This is the set of fields you maintain in the IMG step - "Adjust Data Retrieval for Appraisals, Evaluations, and Surveys". This is where you say template (VA) and criteria group (VB) is where the risk value is stored in.
You can find the source code for this in BAdI BADI_HRTMC_DR_FIELDS -> Enhancement Implementation HRTMC_IM_DR_FIELDS_AES -> Method IF_HRTMC_DR_FIELDS~GET_FIELD_INFOS
Then in the same path, Method IF_HRTMC_DR_FIELDS~GET_FIELD_VALUES details how they get the values. Basically they call Class cl_hrtmc_cp_basic_utilities and Method get_aes_field_value_fapp.
If you look at that Method, it has all of the ugly details about getting the appraisal document ID for a person, then using what you already have to grab the value of the correct data element.
Hopefully that helps you, sorry it's not more straightforward. Holler if you have any questions.
Thanks,
Chris -
What table stores the SAPscript paragraph formats for a form.
Does anyone know where the paragraph formats are stored for a SAPscript form. I can view them using SE71, but what I am looking for is the table where all this information is stored.
Thanks.
Bill LomeliHi Bill,
Check table "DOKHL" .
ID = 'DE' (Paragraph ID)
LANGU = SY-LANGU
OBJECT = 'TDPARAGRAPH'.
TYP = 'E'.
*------Sample code -
SELECT SINGLE *
FROM DOKHL
WHERE LANGU = LANGU
AND ID = ID "Paragraph ID"
AND OBJECT = OBJECT "value :TDPARAGRAPH"
AND TYP = TYP 'value :E'.
Lanka
Message was edited by: Lanka Murthy -
BTW i am using SCOM 2012 R2. If you have the query to extract the availability data from the database, it would be of a great help. Also, i meant database when i said OperationsManagerDW table.
Hi,
You need following Parameters for example:
@ManagedEntityMonitorRowId
@StartDate=
'2014-05-01 00:00:00'
@EndDate= '2014-06-01
00:00:00'
@DataAggregation= '1'
@LevelCount= '1'
@LanguageCode= 'ENU'
To get the ManagedEntityMonitorRowId you can use following SQL Queries on the DWH (You
also can do it with a Inner Join but i'm not that good in T-SQL)
# MonitorRowID: With this query you can look after the ID based on the MonitorDefaultName
SELECT *
FROM [dbo].[vMonitor]
WHERE MonitorDefaultName = 'AD_Database_and_Log_DBSpace.Monitor'
# ManagedEntityRowID: With this query you can look after the ID based on the DisplayName of the Entity
SELECT *
FROM [dbo].[vManagedEntity]
WHERE DisplayName LIKE 'DC1'
# Now you can query for the right ManagedEntityMonitorRowID (For Example)
SELECT [ManagedEntityMonitorRowId]
FROM dbo.vManagedEntityMonitor
WHERE ManagedEntityRowId = '4753' AND MonitorRowId = '1371'
I hope this help you.
Cheers,
Christoph
Blog: http://blog.cmaresch.at/ Twitter:
LinkedIn:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
In what table is the Quality Notification have the Delete Flag?
I have a report that list all open tasks for a Quality Notification. There are notifictions that I went into QM02 and deleted the notification. I do not want these to show up on the report. Where would I find the "delete" flag?
ThanksHi,
Please check table JEST and TJ02T (QMEL-OBJNR -> JEST-OBJNR and JEST-STAT -> TJ02T-ISTAT)
ISTAT TXT04 TXT30
I0076 DLFL Deletion flag
Regards,
Ferry Lianto -
What table is the contract number stored for Limit POu2019s
Hi,
I wanted to know the table name where the contract numbers are stored for the Limit PO? Are there any specific tables where contract numbers are stored.
Thanks in advance.
Regards,
Deepak BRHi Deepak,
i think in the BBPS_MON_SC_ITEM structure we can know the contract no asigned to limit item PO as in that structure the ITM_TYPE field specifices whether it is a normal Shopping cart or Limit cart. And there are many other structures which you can search via SE16.
Hope it helps you to some extent,
Lokesh. -
What tables store the email addresses for a distribution list?
Can someone please tell me the table or tables used to store the email addresses for a distribution list
I have a requirement in BW to send an email to a person who starts a process chain. One to many people will be able to do this and the requirement is to have the email only go to the person who executes the Process chain. I would like to dynamically maintain the distribution list in my job.Here is piece of code i used one of my program to fetch email address from distribution list
if not soid-objnam is initial.
call function 'SO_DLI_READ_API1'
exporting
dli_name = soid-objnam
shared_dli = 'X'
tables
dli_entries = i_distlist
exceptions
dli_not_exist = 1
operation_no_authorization = 2
parameter_error = 3
x_error = 4
others = 5.
if sy-subrc ne 0.
else.
loop at i_distlist.
if i_distlist-member_adr is initial.
move i_distlist-member_nam to i_user-bapibname.
call function 'BAPI_USER_GET_DETAIL'
exporting
username = i_user-bapibname
importing
address = wa_address
tables
return = i_return.
move wa_address-e_mail to wa_receiver-receiver.
append wa_receiver to i_receiver.
else.
move i_distlist-member_adr to wa_receiver-receiver.
append wa_receiver to i_receiver.
endif.
endloop.
endif.
a® -
What table holds the underlying metric data for Tablespace Free Space (MB)?
10.2.0.4; Windows 64bit
I'm assuming it's in the SYSMAN schema? I can view it in DBConsole, and can see the Avergae, Low & High values for the last 31days - but want to query the raw data itself.
Cheers
GaryCheck out the Reference Manual: DBA_HIST_TBSPC_SPACE_USAGE
I suspect the averages and such are derived values in Oracle's queries.
Edited by: Centinul on Jul 12, 2012 11:08 AM -
Alias for the tables in the datesource block
HI,
Is it possible to give an alias to the tables who forms the query of the block, if there are more than one table.Yes it is posible.
E.g.:
"Query Data Source Name" property - Emp e, dept d
"DML Data Target Name" property - Emp e
Maybe you are looking for
-
Setting up a Mac OS 10.6 Server for the first time
I'm new to servers, and I would like to set up a Mac Mini Server for my network. There would be 3 Windows clients running Vista Home Premium and 2 Mac OS 10.5 clients. I want to be able to log-in on any computer to an account from the server. Then I
-
Apple TV mirror reverts back to iPad
Apple TV mirror reverts back to iPad every few minutes. Is there a fix?
-
Using Motu DP and Logic Together - More use of all cores on the PPC Quad
Since there's been some talk about how DP uses four cores on the PPC quad lately I thought I might add what I've been doing to take advantage of untapped processing power. If you have DP (I am running 4.5) you can run it alongside Logic Pro and use i
-
How to adjust hostname info for Sendmail
Hello folks, When sending mail from the command line in Solaris, the emails always say they are from [email protected] What I'd like instead would be [email protected] What file must I edit to make this happen? Many thanks in advance. Lurch
-
Install applet without admin rights
Hi, Apologies for my complete lack of knowledge here, but I'm wondering if there's a way of installing java applets on users profiles who don't have local admin rights on their machine. Basically, I work for a company with a lot of users who access v