Finding datafile numbers

Hi,
Can anybody help me find the datafile numbers for the datafile. V$datafile will not help because the datafiles I'm looking for have been dropped from the existing database. I have the backups and the trace files which has the right datafiles. So I need to get the datafile numbers from either the backup or the trace file.
Thanks,
Mamata

Why do you need to know the file numbers for deleted files? What is it that you intend to try?
Way back when we had a sytem that would 'lose' control file information and the fix was to create a new control file. We would back it up to trace and the file list would would include slots for no longer existing files. You might try looking in the trace to see if it provides anything you need.
Do you have backups of the control file? We actually run a job to back it up to trace every day. If we take OS backups of the trace directories then we have lists of our files going back a couple of months. If you do anything like this then you may have the information you want in a form you just have not thought about yet.
If you have a OS copy you could run strings on it to get the list of files out.
HTH -- Mark D Powell --

Similar Messages

  • Find no numbers  characters in a string

    HI, how i can find no numbers characters in a string
    By example.
    '45125454564#4545'.
    I only want to know if the string contains no number characters or not, i dont want to know the character '#'.
    Is there a function module for doing that?
    Thanks

    You can try:
    NUMERIC_CHECK
    OR
    IF var CO '0123456789'.
    ENDIF.

  • My free trail for $29.99 as run out. want to join but i can't find serial numbers. help!

    my free trail for $29.99 as run out. want to join but i can't find serial numbers. help!

    Cloud programs do not use serial numbers... you download & install & activate by logging in to your paid Cloud account
    http://www.adobe.com/products/creativecloud/faq.html
    http://helpx.adobe.com/creative-cloud/help/install-apps.html
    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
    what is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
    Cloud Getting Started https://helpx.adobe.com/creative-cloud/topics/getting-started.html

  • I need to know how many downloads individual albums and songs had off of iTunes for a project, how do I find these numbers?

    I need to know how many downloads individual albums and songs had off of iTunes for a project, how do I find these numbers?

    Ed...maybe a little less time gaming and a bit more time in English class? They got this thing called punctuation and sentences now. Last things first; there is no amount of money that can change your GPU so you can scratch that expense off the list. So you need a battery and a fan? Where do you live? USA? We can help you find a battery but where did you plan to have the new fan put in? 

  • Finding Missing Numbers

    I want to find missing numbers from a column which is alpha numeric, its last five positions are numeric. At first three positions there are different combinations of alphas i.e. *'BA ','BAW','SA ','SAA' ..........* if alphas are two then 3rd position is blank. I also need it to generalised this to cover all existing alpha numeric series.
    SELECT SUBSTR (a.claim_no, 4, 5) + 1
      FROM core_business.cb_pensioner a
    WHERE SUBSTR (a.claim_no, 1, 3) = 'BA '
       AND NOT EXISTS (
                     SELECT NULL
                       FROM core_business.cb_pensioner b
                      WHERE to_number(SUBSTR (b.claim_no, 4, 5)) =  to_number(SUBSTR (a.claim_no, 4, 5)) + 1)
       order by SUBSTR (a.claim_no, 4, 5);I am getting ORA-01722 error

    You have two issues with such a task.
    Problem 1 is how to convert the trailing part into a number so that you can compare values.
    to_number(SUBSTR (b.claim_no, 4, 5)) works, but only if the value in b.claim_no is always a number regardless of the other column criteria.
    A statement like
    WHERE SUBSTR (a.claim_no, 1, 3) = 'BA ' /* filter 1 */
    and to_number(SUBSTR (b.claim_no, 4, 5)) > 1 /* filter 2 */
    ...might fail because your table might have a value like
    b.claimno = 'XYZ1234b'
    The way you wrote the query the database will decide which filter criteria it executes first. It might be filter1, but could also be filter2. If filter2 is executed first then you will get the error message.
    Problem 2 how to order and compare different rows, so that you can find the missing values.
    Here the analytic LEAD(LAG) function is very helpful. it will give you access to the next (or previous row).
    Both problems can be overcome.
    Here is my try, but I'm not sure if it works in your case. You might need to adapt a little.
    This should work if all the rows are numeric that belong to the specific groups. if you can have wrong data in there too, then a different approach is needed.
    with testdata as (select 'XYZ1234b' claim_no from dual union all
                select 'BA 12345' claim_no from dual union all
                select 'BA 12346' claim_no from dual union all
                select 'BA 12350' claim_no from dual union all
                select 'BAW11111' claim_no from dual union all
                select 'BAW11113' claim_no from dual union all
                select 'XYZ1234b' claim_no from dual )
    /* end of test data creation */
    select claim_no, substr(claim_no, 1,3) part1, substr(claim_no, 4) part2,
           to_number(substr(claim_no, 4)) current_num,
           lead(to_number(substr(claim_no, 4))) over (partition by substr(claim_no, 1,3) order by to_number(substr(claim_no, 4))) next_num,
           lead(to_number(substr(claim_no, 4))) over (partition by substr(claim_no, 1,3) order by to_number(substr(claim_no, 4)))
            - 1 - to_number(substr(claim_no, 4))
            as "missing_values"
    from testdata
    where substr(claim_no, 1,3) in ('BAW','BA ')
    order by claim_no;
    CLAIM_NO PAR PART2 CURRENT_NUM   NEXT_NUM missing_values
    BA 12345 BA  12345       12345      12346              0
    BA 12346 BA  12346       12346      12350              3
    BA 12350 BA  12350       12350
    BAW11111 BAW 11111       11111      11113              1
    BAW11113 BAW 11113       11113Problem 1 is solved because the where condition is always executed before the function in the select clause, especially in connection with an analytic function.
    Problem 2 is also solved by using the analytic function LEAD function. And this is fast, because you access the same table only one time. Other solution might do a subquery to fetch the value from the previous/next row. This means several accesses to the same table and is usually much slower.
    Edited by: Sven W. on Sep 20, 2010 2:32 PM

  • How to find Port numbers used by RMI application

    Hi, hope u all find me a solution, how to find port numbers used in the RMI application, that is port number which the RMI application communicates between RMIserver and RMIclient. ur answers would b highly appreciated

    Currently RMI transport layer does not directly expose any public methods to get the listening ports of the exported RMI objects, but the application can always export RMI server objects at certain designated ports instead of relying on the RMI runtime by specifying them to UnicastRemoteObjcect at the time of exporting.
    RMI transport layer try to optimize the number of listeing sockets by exporting all RMI server objects on a single port if no explicit ports were chosen. If the application is really interested in knowing the listeing ports, it can always specify the client and server socket factories to be used for creating Socket and ServerSocket to the RMI runtime at the time of exporting. When a RMI server object is exported, but the listening socket is not yet created, RMI transport layer invokes the createServerSocket(host, port) of server socket factory by passing the host and port details. If no explicit port is specified, underlying socket implementation choses anonymous port. At this point of time application can log these listeing ports to some log file.
    Similarly when the stub to the remote object is de-serialized in the client address space, it does also contain the client socket factory along with the end point details (host, port and server object ID). RMI runtime in the client address space needs to establish connection with the remote server object, it try to get the socket from client socket factory by invoking createSocket() on the client socket factory. Now the application can call getLocalPort() on the socket before returning it to the RMI transport layer.
    There is a undocumented class RMIStat to dump RMI runtime state information. It provides a lot of static methods to dump RMI state information like object table, transports, threads etc. You can download the source code of this utility from RMI archives, but remember this is not a comman-line utility, you must invoke these static methods as part of the application code.
    -- Srinath Mandalapu

  • I have iWork but can't find the Numbers application, should I reinstall iWork?

    I have iWork, but can't find the Numbers application.  Should I reinstall iWork?

    Yes, Numbers should definitely be included.
    Check your install location as well, and search for the application in Spotlight.
    Numbers.app

  • HT4061 How do I find serial numbers through itunes

    How do I find serial numbers through itunes, I lost my phone, tracking it but it is offline. I am trying to register it to prevent someone from trying to use it after wiping it.

    Thanks man. Losing an Iphone *****. Hopefully now that it is in lost mode, and registered it will prevent someone from being a would be thief. Again thank you for the quick reply.

  • Find unique numbers in an array.

    How would I find unique numbers in an array by using only one array?

    At the above codes, I use the String representation of the number that I want to find. I know that it is an easy example but it can give you an idea that how Hash works in Java.
    Give symbols(aliases) to your numbers which helps you to remember the each specific number, so you can find specific number by only using its symbol(nickname) instead of using its location which is more difficult to remember.
    import java.util.*;
    * ...Hashdescription...
    * @author  ...yourname...
    * @version 1.00, 2006/05/19
    public class Hash
         // properties
         ArrayList keys;
         ArrayList values;
         // constructors
         public Hash(){
              keys = new ArrayList();
              values = new ArrayList();
         // methods
         public void add(int val){
              values.add(new Integer( val));
              keys.add("" + val);
         public int get(String key){
              int index = keys.indexOf(key);
              return ((Integer)(values.get(index )) ). intValue();
         public static void main( String[] args)
              Hash list = new Hash();
              list.add(1);
              list.add(2);
              list.add(3);
              list.add(4);     
              list.add(5);
              list.add(6);
              list.add(7);
              list.add(8);
              list.add(9);
              System.out.println(list.get("3"));
    } // end of class Hash

  • I can'r find 'Keynote' 'Numbers' 'Pages' or 'iWork'

    I can seem find 'Keynote' 'Numbers' 'Pages' or 'iWork' in my applications folder.
    Do they reside in another location?
    Thank you

    Are you aware of the availability of a search tool in macOs ?
    Don't move the three apps out of their official folder.
    If you want to trigger them from an other location, build aliases of them.
    Yvan KOENIG (VALLAURIS, France) mardi 21 décembre 2010 10:27:05

  • Finding discontiguous numbers

    Greetings,
    I need to write a plsql scripts that will find discontiguous numbers. For example, say I have a table..
    id int
    store varchar
    tracking_num int
    Each store uses a different sequence for their tracking number. ii need to find and list the contiguous segments for each store, and the total number of items shipped. For example..
    STORE MIN MAX
    STORE X 100 105
    STORE X 107 110
    STORE X 112 115
    STORE X TOTAL 14
    STORE Y 901 903
    STORE Y 905 907
    STORE Y 908 910
    STORE X TOTAL 9
    OK, I figure I need a cursor to be able to do this. I figure I'll loop through each store's records, increment a counter for the total. For the discontinuous I figure I'll add a new column which I'll use to group the contiguous segments together, then I can just a max and min tracking number for each store's contiguous groups.
    The problem I'm having is wrapping my head around how to build a dataset with a cursor populating the new contiguous column IN MEMORY, in an line view or something, without having to create a physical table.
    Anyone have any suggestions, or see any flaws with this logic?

    Using Oracle 10.2.0.4
    I thought this was a simple enough question that I could get away without specific examples. Tha being said
    create table store_tracking (
    id  int,
    store varchar2(20),
    tracking int
    INSERT INTO STORE_TRACKING (SELECT 1, 'STORE X', 100 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 2, 'STORE X', 101 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 3, 'STORE X', 102 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 4, 'STORE X', 103 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 5, 'STORE X', 104 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 6, 'STORE X', 105 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 7, 'STORE X', 107 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 8, 'STORE X', 108 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 9, 'STORE X', 109 FROM DUAL );
    INSERT INTO STORE_TRACKING (SELECT 10, 'STORE X', 110 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 11, 'STORE X', 112 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 12, 'STORE X', 113 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 13, 'STORE X', 114 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 14, 'STORE X', 115 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 15, 'STORE Y', 901 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 16, 'STORE Y', 902 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 17, 'STORE Y', 903 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 18, 'STORE Y', 905 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 19, 'STORE Y', 906 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 20, 'STORE Y', 907 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 21, 'STORE Y', 908 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 22, 'STORE Y', 909 FROM DUAL);
    INSERT INTO STORE_TRACKING (SELECT 23, 'STORE Y', 910 FROM DUAL); Expected Output is ...
    STORE      MIN     MAX
    STORE X   100     105
    STORE X   107     110
    STORE X   112     115
    STORE X TOTAL 14
    STORE      MIN     MAX
    STORE Y   901     903
    STORE Y   905     907
    STORE Y   908     910
    STORE Y TOTAL 9The explaination of the output is that we need to identify the contiguous segments of tracking numbers for each store (and thereby implicitly indicating where we are missing tacking numbers), and the total number of tracking number for each store.
    I hope this helps. let me know if you have additional questions.
    Edited by: user7352432 on Apr 9, 2010 8:21 AM

  • Where do I find "The Numbers Game" demo project?

    Can somebody tell me where to find "The Numbers Game" demo project?
    Thanks

    Hi
    The Numbers Game demo material is only installed with the original Disk version of Logic 9. If you bought Logic from the AppStore, you will have Foster the People instead.
    You can get at the demo material via the Logic Help menu (Exploring Logic)
    CCT

  • How do i find a numbers file

    in numbers I type Command-o
    in the search field i type "numbers" without the quotes.
    no numbers files are found in that directory.
    .xls and .csv files are found, including .xls versions of previously created .numbers files
    typing the full filename also fails to find any file with a .numbers extension
    spotlight finds them. clicking them opens numbers as expected.
    clearly something's broken, and i thought only on my system (since no one else has mentioned it),
    but my son's macbook has the same behavior as mine.
    any ideas?

    [Note: I tried reinstalling iWork, which claimed "Success!", but trying to run it (numbers) failed, big time, since i already upgraded to SL and the old numbers isn't compatible. Apparently Software Update doesn't really know what you're running ... but that's a separate problem.]
    Behavior described and explained several times.
    When you buy iWork, you get the version 9.0.3.
    Before running the apps in Snow Leopard, you must apply at least the update 9.0.4.
    There is also an update 9.0.5.
    And on my side, I'm running the version 9.1
    Updates are delivered to be applied.
    Yvan KOENIG (VALLAURIS, France) vendredi 30 septembre 2011 20:20:24
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Find datafile for a table (Urgent)

    Is there a way to find a datafile for a non-partitioned table.
    For examples
    Table 'A' belong to tablespace 'T'
    tablespace 'T' has 2 files 'F1' and 'F2' both in different filesystem in unix.
    I need to run a huge load on table 'T'
    I need to find which file system should have enough space for this load.
    Thanks

    Here an example to find the file name and the size taken by the table:
    SELECT a.name,sum(nvl(b.bytes/1024,0)) from dba_extents b, v$dbfile a
    where b.owner='X'
    and b.segment_name='A' and
    b.file_id=a.file#
    group by a.name
    Michel.
    http://www.odbtools.com

  • Why does Siri not able to find phone numbers that are not listed in contacts

    What could be dragging my battery life down to less than eight hours per day with minimal usage

    Hi darceyam,
    I'm sorry to hear you are having these issues with iCloud Drive. If you are having issues accesssing your previous files, you may find the following article helpful:
    What if I don't see all my files at iCloud.com?
    Any documents that you've already stored in iCloud are automatically moved to iCloud Drive when you upgrade. iCloud.com will display these files in the new iCloud Drive app in addition to the iWork apps (Pages, Numbers, and Keynote) that you're used to seeing.
    If you don’t see your files in the iWork apps or in iCloud Drive, then make sure that you set up iCloud Drive on all of your devices.
    Get help using iCloud Drive - Apple Support
    Regards,
    - Brenden

Maybe you are looking for

  • I am done with Verizon for their inability to update Android in a timely manner. When my contract is up, after 10 years, I am gone.

    Verizon, Nobody.. and I mean NOBODY is buying your crap. You don't update to the latest software in a timely manner. The entire planet has the KitKat update for Android and you don't under the guise of better experience. That is crap, everyone else c

  • Acobat Reader no longer working

    I have the latest version of Acrobat Reader was working fine before, but after loading Powerpoint, Reader no longer works, tried reinstalling and message says unable to install Any ideas or suggestion? 20" iMac (Intel)   Mac OS X (10.4.7)  

  • HP LaserJet 2100tn, Error message: "out of memory"

    When I'm printing, an error message appears after printing the first page: "out of memory". My printer has 40MB of memory. I tried to change the printer settings for several time (8MB RAM, ..., over 30MB), but no result. The pages I want to print are

  • Regarding Workflow mailer error

    Hi Could anyone teach me how to troubleshooting these errors in log of mailer? My customer made mailer available through OAM and could send notification. However, a lot of errors were found in log of mailer. Quote [Nov 7, 2011 8:33:55 PM JST]:1320665

  • Corrupted text when inserting another PDF file.

    Hi all, Currently using Acrobat Pro 11.0.10. When inserting a page or multiple pages (all PDF) into an existing PDF file, the text becomes corrupted with the new pages. I can edit the text and change it from Arial to another font and back to Arial to