Need to find the corrupted blocks.
Hi,
I am having blocks corruption(nologging) for the 11g database. Want to find the whether corrupted blocks are from indexes or from specific tables...
Thanx..
I am firing below query.
SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file#
, greatest(e.block_id, c.block#) corr_start_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1)
- greatest(e.block_id, c.block#) + 1 blocks_corrupted
, null description
FROM dba_extents e, v$database_block_corruption c
WHERE e.file_id = c.file#
AND e.block_id <= c.block# + c.blocks - 1
AND e.block_id + e.blocks - 1 >= c.block#
UNION
SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file#
, header_block corr_start_block#
, header_block corr_end_block#
, 1 blocks_corrupted
, 'Segment Header' description
FROM dba_segments s, v$database_block_corruption c
WHERE s.header_file = c.file#
AND s.header_block between c.block# and c.block# + c.blocks - 1
UNION
SELECT null owner, null segment_type, null segment_name, null partition_name, c.file#
, greatest(f.block_id, c.block#) corr_start_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1)
- greatest(f.block_id, c.block#) + 1 blocks_corrupted
, 'Free Block' description
FROM dba_free_space f, v$database_block_corruption c
WHERE f.file_id = c.file#
AND f.block_id <= c.block# + c.blocks - 1
AND f.block_id + f.blocks - 1 >= c.block#
order by file#, corr_start_block#;
Similar Messages
-
How to find the corrupted files using javascript?
Hi all,
I need to run batch of files some of which were corrupted?? instead of using the method "the files which were not opened are corrupted" is there any way to find the corrupted files??
I need to find this using javascript or apple script??
Please some one help me..
Regards,
subhaWe found one datafile has corrupted by using dbv.dbv would have reported the block ids (block numbers) that are corrupted.
query dba_extents to identify the segments that contain such blocks. -
How to find the First block....in a multi block form
hi
How i can find which is the first block in a multi block form....
( there are n number of forms with multi blocks...so
i need to generalise the code to find the first block in all of
the forms)
regards
KrisIf you searched in the on-line help for "First", you would find that the Get_Form_Property built-in provides two: First_Block and First_Navigation_Block.
-
APP-QA-16161: Cant find the Transaction Block
When I click on Create Service Request or View Service Request form I get message
APP-QA-16161: Cant find the Transaction Block
The error is coming from the pre-form trigger of the CSXSRISR.fmb.
We have copied the .fmx of this file and all associated files from other instnaces, but still the issue is present.
Also, the issue is not present when we enable FRD trace.
Anyone has any suggestions on the same?Hi,
Please verify that you have no invalid objects in the database -- See (Note: 308927.1 - APP-QA-16161 - Can't find transaction block. Please inform system administrator).
If the above does not help, see (Bug 7253526 - RCVTXERT: APP-QA-16161 CAN'T FIND TRANSACTION BLOCK), I believe you would need to log a SR as the solution is not mentioned.
Regards,
Hussein -
Need help finding the right codec to play QT files
Like many others who have posted, all the quicktime files on my drive have turned to black. Previously when I opened the file, I saw picture and sound. Now every single file has only audio, but the picture is black.
I am operation on Mac O.S. 10.4.11. I am using Quicktime Pro 7.5. I have been trying to fix this problem for a month now. Many people have suggested I need to find the right codec, but so far I have not found it. I have tried: A52codec.component, AC3codec, MacOS 8.x, 9.1.x, Apple Intermediate Codec.com, Apple MPEG2.codec.component, Avilmporter-r7.component, DivX Decoder.component, DivX Encoder.component, DivX Pro 6.8.0.19 + keymaker, EnsharpEncoderMacOsX.cmg, Fbx 20091quicktime_macemu.pkg.tar, Fbx QT.pkg, Flipsformac, WMV Advanced.component, Flipsformac WMV Advanced Exports.component, Flipsformac WMV Import.component, IMXCodec.component, LAAME Universal Installer.mpkg, LAAMEncoder.component, QSSP_2.1.dmg, QSXEssentials.component, QSXEssentials.dmg, QTFvx.component, Red Quicktime Codec v3.1.pkg, Red Code iedcod.qt.component, Spectrograph.component, TSCC.component xiphqt.component, XviD_codec-r58.component, XviDELEGATE.component
Nothing worked!
I also tried to install Perian. This did not work.
What should I do? Should I re-install my operating system and start over? About a month ago, all the video clips played just fine. Is there any solution?
ThanksHi Wangerer!
I haven't even heard of half of those! You may have reached overkill on codecs!
Get rid of some of them and read this:
These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
It is known to work in the great majority of cases with Safari 3.0.4, 3.1, 3.1.1, QT 7.3, 7.4.x and 7.5 and OS 10.4.11.
Assuming you already run Tiger versions OS 10.4.11 and have Quicktime 7.4 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
RealPlayer 11 (which is no longer in beta) for Mac from:
http://www.versiontracker.com/dyn/moreinfo/macosx/15540
Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
Perian from http://perian.org/
You should read this support page http://perian.org/#support in case you need to delete older codecs.
Adobe FlashPlayer should first be uninstalled using the appropriate uninstaller available here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=2
and then the latest version obtained from here:
http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
and installed.
(You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS, but please see my footnote if you are running Leopard.)
In earlier versions than QT 7.1.3 in Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
You should also ensure, if you are running Tiger 10.4.11, that you have downloaded and installed all the correct version for your Mac of Security Updates up to and including 2008-004. (N.B. Security Updates require both a restart and a permission repair.)
In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/
Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them) to enable Java.
Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz, and that you have selected 'Built in Audio'.
Important: Now repair permissions and restart.
You should also consider having the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.
There is an additional 'fix' you could try if you are having problems with Flash and Quicktime, depending on which type of Mac you have:
On Intel Macs, make sure that you are not running Safari in Rosetta. You can check this, and change it, in the Get Info window.
On PPC Macs, go to the Hard Disk/Library/Internet Plug-Ins folder, and drag the file 'QuickTime Plugin.webplugin' to the desktop. Quit and restart Safari. If things have improved you can trash that file. If they haven't put it back, as the lack of this plug-in can cause QT content in some widgets to cease functioning.
And now there is an additional kid on the block: SilverLight. Microsoft has created their own version of what a replacement for Flash should be. You can read more about it here:
http://silverlight.net/
So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards):
http://silverlight.net/GetStarted/
FOOTNOTE
If you are running Leopard:
Some users have mentioned that the latest Flash Player (v.9.0.115.0) conflicts with Leopard, and that they have needed to revert to v. 9.0.47. This can be downloaded from here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&sliceId=1 -
Need to download the ALV blocked output in to excel sheet
I have a requirement where there is a need to download the Alv block output to excel sheet. when i click on excel button which is on output only header block data is coming in excel sheet.but i need both header block and item block data into excel.
Hi,
create a pushbutton on the toolbar,
whenever user clicks the pushbutton,
call the fm gui_download for 2 times
for the first time,
append = ' ',
and for second time.
append = 'X'.
check this thread.
Re: How to download multiple ALV Container data on a screen to a single Excel?
Regards.
R K. -
I NEED TO FIND THE PURCHASE ORDER NO.
HAI ALL,
I NEED TO FIND THE PURCHASE ORDER NO.
I have MATNR (material no.), LIFNR (vendor no.), RDOC OR MBLNR (material doc.no). values of these in my internal table. Using this i need to find purchase order no. I HAVE TRIED WITH MSEG TABLE ,but purchase order no. is not stored there.
PL. tell me TABLE NAME OR HOW TO JOIN THA TABLES OR ANY VIEWS to find purchase order no.
If u need any clarification regarding my req. pl send mail to below address.
[email protected]
THANKS IN ADVANCE,
SENTHIL KUMARHAI,
THANKS FOR UR REPLY.
I am using 541 movement type, (which is used for subcontracting)
my req. is for 541 movement type in which table purchse order no. and mblnr(material doc. no.) are stored.
Thanks in advance
senthil kumar -
Need to find the Difference between two table
Hello ,
I have stucked in program as below scenario:-
I have two tables of huge data of same structure in a same schema.I need to find the difference exact values in tables.
By using MINUS we can find the difference between two table ,i need to find the what exact difference in the there values with colunm and value at that column.
Example TableA
Col1 col2 col3 col4 col5.... col50
10 ABC 2001 EE 444 TT
40 XYZ 3002 RR 445 TT3
80 DEF 6005 YY 446 YY8
TableB
Col1 col2 col3 col4 col5.... col50
10 ABC 2001 EE 444 TT
40 XYZ 3002 RR 445 TT3
81 DEF 6005 Yu 447 YY8
I need to the out put like this :-
The Diffence between two table is
TableA.COL1=80 TableB.Col1=81, Different
TableA.Col4=YY TableB.col4=Yu,Different
TableA.Col5=446TableB.col5=447,Different
Please suggest me to write the pl/sql program for the same
thanx in advance
KKThanx friends for all your efforts
I have a sample code for the same,this will compare the two tables for single row in each table .
what r the modification needed for the multiple rows of values in the two tables??
Please suggest!!
CREATE OR REPLACE PROCEDURE test_compare
IS
TYPE t_col
IS
TABLE OF VARCHAR2 (30)
INDEX BY PLS_INTEGER;
l_col t_col;
j NUMBER := 0;
l_sql VARCHAR2 (2000);
col1 VARCHAR2 (30);
col2 VARCHAR2 (30);
val1 NUMBER;
val2 NUMBER;
status VARCHAR2 (30);
CURSOR c1
IS
SELECT column_id, column_name
FROM all_tab_columns
WHERE table_name = 'TEST1';
BEGIN
FOR i IN c1
LOOP
j := j + 1;
l_col (j) := i.column_name;
END LOOP;
FOR k IN 1 .. j
LOOP
l_sql :=
'SELECT '
|| ''''
|| l_col (k)
|| ''''
|| ', '
|| 'TEST2.'
|| l_col (k)
|| ', '
|| ''''
|| l_col (k)
|| ''''
|| ', '
|| 'TEST1.'
|| l_col (k )
|| ', '
|| 'DECODE(TEST2.'
|| l_col (k)
|| ' -TEST1.'
|| l_col (k)
|| ', 0, ''NO CHANGE'', ''CHANGED'') FROM TEST2, TEST1';
EXECUTE IMMEDIATE l_sql INTO col1, val1,col2, val2, status;
IF status = 'CHANGED'
THEN
DBMS_OUTPUT.put_line( 'TEST2.'
|| col1
|| '='
|| val1
|| ', TEST1.'
|| col2
|| '='
|| val2
|| ', '
|| status);
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('Error:- ' || SQLERRM);
END;
/ -
Need to find the assets associated to a BCC project using SQL query
Hi,
Given a BCC project (project_id), I need to find the assets (type of asset, version, status etc) in that project using SQL queries.
I need this for reporting purpose and cannot do this programatically using any code.
Surprisingly ATG does not store this association in a direct way. Can someone provide me the query if you have already done this before?
I tried enabling loggingDebug in PublishingRepository and VersionManagerRepository to get the queries, but I did not get what I want.
Thanks in advance,
Gopinath RamasamyUPDATE:
When a project is selected in BCC, ATG is doing something crazy, as it appears to me, of querying all the tables (ofcourse when there is a cache miss) in all the versioned item descriptor with the workspace id of the project to display the assets contained in it.
I do not see an easy or direct way of coming up with a query for this requirement.
Please let me know if anyone has any other idea.
Thanks,
Gopinath Ramasamy -
Need to find the SID of a forms session.
Hi,
I need to find the SID of a form session. How to find the same.
Eg:- If a user connected to our EBS system, Then automatically one sid will be generated to that user. I need to find the SID for this user. If given detailed steps it would be great help.
Regards
SR.Hello,
Although I am a bit unclear about the question. But please see if the following helps;
I can query the v$session to know about the SID. Here is a simple example;
select sid,
substr(username,1,15) "DB UserName",
substr(osuser,1,15) "OS UserName",
substr(command,1,3) CMD,
substr(machine,1,10) Machine,
terminal, process, status,
substr(program,1,50) "OS Program Name"
from v$session
where type = 'USER'
order by usernameHere is a sample output;
SID DB UserName OS UserName CMD MACHINE TERMINAL PROCESS STATUS OS Program Name
7 SYSTEM 0 ORAAPPPROD ORAAPPPROD 976 ACTIVE ORACLE.EXE
8 SYSTEM 0 ORAAPPPROD ORAAPPPROD 3548 ACTIVE ORACLE.EXE
Additionally you can also review Oracle Metalink Script: How To Identify The apps User Using The O/S PID For Forms Users In 11i Doc ID: Note:185762.1.
https://metalink.oracle.com/metalink/plsql/f?p=130:14:38346007578631471::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,185762.1,1,1,1,helvetica
Hope it helps. Maybe others might add in this.
Adith -
Hello , I need to find the serial number of my programs .
Would anyone know where and how to do it?
The programs are installed on PC
Thank youFind your serial number quickly
-
HT4910 I need to find the file location for my iCal in iCloud
I need to find the file location for my iCal in iCloud for my Mac. I inadvertently changed the file location in Terminal and need to restore the proper location but do not know how to locate that information. Any help is much appreciated,
You should find "Preferences" in your Edit menu in iTunes.
-
Need to find the free space on storage server
Hi,
I need to find the free space on storage server through Java code, and even find whether web server has access to the storage server.
So please tell me how do i do that.This will be through an API for your "storage
server". It would be helpful if you at least
indicated what this "storage server" is: a NFS? an
FTP site? something else?I forgot to mention that. Its NFS. Please let me know
clearly, what APIs I need to use and in simple how.How am I supposed to clearly know this?
Consult the documentation for your NFS system and figure it out. That's what to do. -
BW3.5 : Busness content == Need to find the source cube from an web item
Hi,
While executing( preview) an iview of the predelivered CRM business package( com.sap.pct.crm.slsAnalyt.spa.Customer iview for Sales manager), in Enterprise Portal, I get an error " Error loading template 0TPL_0CRM_SM_CUSTOMER".
I can see this perticular web template in BW and when trying to activate this by tranferring into the content windows it brought thousands of other objects( even when I selected 'Only necessary object'). I am not sure whether I should go ahead with the activation.
I would like to know what is the relationship between a cube and a web template and how to findout the related cube from the template?
Also is it possible to activate only certain webtemplates only for queries of a perticular cube?
Thanks
ArunavaThanks Dinesh,
\ BW3.5 : Busness content ==>Need to find the source cube from an web item
Posted: Nov 2, 2005 10:00 PM Reply E-mail this post
Thanks Dinesh
I would still like to know the relationship between a cube and a web template and how to find out the related cube( or query etc) from the template?
Please let me know,
Thanks
Arunava -
I have turned two computers on to home sharing. I am now on this computer wanting to put my music on to this itunes and i know i need to find the other computer in the drop down menu from " Home Sharing " but that menu isnt there on the left?
If you have the horizontal menu bar showing (File, Edit, View,...), select View, then select Show Sidebar.
If the menu bar is not showing, dorp down the menu in the very upper left corner and select show menu bar, then follow steps above.
Hope that helps. Good luck.
Maybe you are looking for
-
A80: I can't get s-video-cableit into the notebook
hi everybody, i want to connect my A80 to my tv and got a s-video-cable. i can't get it into the notebook. it's not the cable, i tried it on something else. is there any trick or is it a hardware problem? and yes, the notebook has an s-video-output..
-
I have been using BT Infinity 1 since July last year with no problems. For the last two months I have been warned that I am using more than my allowance of 40G incurring extra charges. I have no explanation for this. Is it possible to retrieve my usa
-
Excessive Client Authentication/Association Failure's. What is going on!?
Hello Community, Once again I am reaching out to you for help. I am hoping someone can help me. I have been noticing in my trap logs that there are an excessive amount of Client Association/Authentication Failures. I cannot figure out why. I have a C
-
I have a virus which may mean I will have to wipe my HD and re-install software. I am concerned about losing data and settings when I re-install LR5. Is everything recoverable through the LR catalogue?
-
Mic socket wont work on the front panel of fatal
When i connect my headset & mic to the headphone & mic socket on the front panel, the mic dosent seem to work even though if i blow in it i can hear myself thru the headphones a little but if i turn up the mic volume on the front panel it makes a wei