Unix file system & Oracle datafiles--urgent plz

How i can chech my oracle db files on which unix file system? In HP/UX exvirnment??

select * from dba_data_files
AUTOEXTENSIBLE column gives you whether autoextend is on or not.
Join with dba_free_space to get free space for each file.
You can check the following link
http://www.oracle.com/technology/oramag/code/tips2003/083103.html

Similar Messages

  • Uploaded Files stored in Oracle 10G database or in Unix File system

    Hey All,
    I am trying to understand best practices on storing uploaded files. Should you store within the database itself (this is the current method we are using by leveraging BLOB storage) or use a BFILE locator to use the files system storage (we have our DB's on UNIX) . . .or is there another method I should be entertaining? I have read arguments on both sides of this question. I wanted to see what answers forum readers could provide!! I understand there are quite a few factors but the situation I am in is as follows:
    1) Storing text and pdf documents.
    2) File sizes range from a few Kb to up to 15MB in size
    3) uploaded files can be deleted and updated / replaced quite frequently
    Right now we have an Oracle stored procedure that is uploading the files binary data into a BLOB column on our table. We have no real "performance" problems with this method but are entertaining the idea of using the UNIX file system for storage instead of the database.
    Thanks for the insight!!
    Anthony Roeder

    Anthony,
    First word you must learn here in this forum is RESPECT.
    If you require any further explanation, just say so.
    BLOB compared with BFILE
    Security:
    BFILEs are inherently insecure, as insecure as your operating system (OS).
    Features:
    BFILEs are not writable from typical database APIs whereas BLOBs are.
    One of the most important features is that BLOBs can participate in transactions and are recoverable. Not so for BFILEs.
    Performance:
    Roughly the same.
    Upping the size of your buffer cache can make a BIG improvement in BLOB performance.
    BLOBs can be configured to exist in Oracle's cache which should make repeated/multiple reads faster.
    Piece wise/non-sequential access of a BLOB is known to be faster than a that of a BFILE.
    Manageability:
    Only the BFILE locator is stored in an Oracle BACKUP. One needs to do a separate backup to save the OS file that the BFILE locator points to. The BLOB data is backed up along with the rest of the database data.
    Storage:
    The amount of table space required to store file data in a BLOB will be larger than that of the file itself due to LOB index which is the reason for better BLOB performance for piece wise random access of the BLOB value.

  • Open API App (Windows based) fails to open FMB on Unix file system

    My Open API, Windows based app, can successfully open and 'get' properties of FMBs stored in the Windows file system. However, it fails to load the FMB when the FMB resides on a networked Unix server. The same FMBs on Unix can be opened by the Windows based FormBuilder (over the network). I can copy the FMB down to Windows and without re-compiling the FMB, my Open API app can 'load' the FMB and 'get' all the properties. What suggestions can you give for debugging / resolving this? I need to be able to 'Load' the FMBs (through the Open API), that reside in the Unix file system, from Windows.
    JJ

    Generally, this is why we will tell you that accessing net shares is not supported and in places where it might even be supported, we would still suggest that it is not recommended. Accessing via net shares (especially through Windows) is often problematic. There are various performance and connectivity issues that, unfortunately fool you into believing that the product you are using is flawed when the problem is really a connection issue with the share.
    In your case, because you are not exactly using an Oracle product (initially), Oracle can't offer much anyway, but I would recommend against using shares whenever possible. If you need to access a file, copy it locally first, perform whatever task on it, then return the updated file to its origin. This method protects you from things like net failure and instability as well as the performance issues associated with accessing files remotely.

  • Java script in HTMLDB to check if file exists in Unix file system

    How do I use javascript to check if file is exists in Unix file system. I would like to dispaly the columns only if file is exists.

    Hello,
    This is one of those features that the manuals do not cover.
    How to use and build AJAX features could be a whole book all by itself, and it's not really HTML DB specific feature even though we have built some hooks in application and javascript to make it easier.
    Take a look at this thread
    Netflix: Nice UI ideas
    and I've built some examples here
    http://htmldb.oracle.com/pls/otn/f?p=11933:11
    Or just search the forums for AJAX or XMLHTTP
    Carl

  • External Tables to Unix File System 10G R2

    Can anyone help with setting up an external table that reads a flat file from a Unix File system.
    I have sampled a file ok and created an external table and deployed it to the database ok but it can find the link through to the unix file system to read the file.
    I created the location as an FTP type and have referenced the path to the relevant directory /oracle02/app/OWB_files when creating the location. I have placed the relevant named file in the directory but when i try to look at the table in TOAD i get the following errors
    ORA-29913 error in executing ODCIEXTTABLEOPEN callout
    ORA-29400 data cartridge error
    KUP-04040 files 121123_PENS.txt in MLCC_FILES_LOCATION_0 not found
    Does anyone have a step by step guide for creating these and am i doing some thing wrong. Is choosing the FTP type in the location correct and is the path specified correctly. I can see much information on thisin the manual!
    Your assistance would be appreciated

    HI,
    You make sure that, the path should be shared one. We can do this using samba server.
    Regards,
    Gowtham Sen.

  • IPod formatted to UNIX File System (UFS)

    Hello all, I had an old 15G iPod (the generation with the 4 button above the wheel) and I decided to reformat it and use it as a firewire drive, it's not used for music anymore. Anyway, I was about half way through the format and I noticed I had accidently sellected UNIX File System (UFS) instead of Mac OS Extended. Well I let lt finish and thought I'd just reformat it again to Mac OS Extended, only now the iPods not even being recognized by OSX? I looked in Disk Utility and nothing there either. iPod restore does nothing either, just says connect an iPod. There's an Apple on the screen and that's it? What gives? Will I be able to get this thing running again?

    Thanks but no thanks! I got it going using info at this link:
    http://ipodlinux.org/Installation
    Got it in Disk Mode!!!

  • Download PDF spool to unix file system

    Does anyone know how to programatically download a PDF document spool to the unix file system?
    I am trying to find a method to send PDF documents that have gone to spool to a unix file system. If anyone had any ideas on how to do this, please let me know.
    Thanks.

    Hi,
    For this define a logical file while using transaction FILE.
    In your code you will get the complete path of the file while using FM FILE_GET_NAME.
    Then download your PDF while using instruction
    OPEN DATASET...
    TRANSFERT ...
    Hope this help you .
    Best regards

  • UNIX File System?

    I was able in the past to format a disk with UNIX File System and read and write to it using Disk Utility in OS X Tiger. Now, my new Leopard machine does not show that option. What happened to that? How do I get it back?
    Thanks,
    John

    I'm pretty sure UFS support is totally gonzo in leopard. you certainly [can not install Leopard|http://docs.info.apple.com/article.html?artnum=306516] on UFS formatted drives.

  • Convert Raw Device to file system based file systems for datafiles [HP-UX]

    Hello experts,
    Once again in seek of guidance..
    I am in the process of migrating my database (Oracle 7.2.3 on HP-UX 10.20 to Oracle 8.1.7 64-bits on HP-UX 11).
    Amongst one of our steps is to convert our RAW Device datafiles to File System based files within the same server and version - Oracle 7.2.3 on HP-UX 10.20.
    E.g. /dev/vg00/rlvol1 to become /d01/oradata/cmtdb/tbs1.dbf
    Is this something possible?
    Can i just do the following:
    a. Shutdown database (normal)
    b. dd if=/dev/vg00/rlvol1 of=/d01/oradata/cmtdb/tbs1.dbf bs=20k
    c. chown oracle7:dba /d01/oradata/cmtdb/tbs1.dbf
    d. svrmgrl> startup mount
    e. alter database rename file '/dev/vg00/rlvol1' to '/d01/oradata/cmtdb/tbs1.dbf'
    f. alter database open.
    Thanks very much for your replies.
    Please tell me about possible problems that i can anticipate.
    Best Regards
    Yogeeraj

    Hello experts,
    Once again in seek of guidance..
    I am in the process of migrating my database (Oracle 7.2.3 on HP-UX 10.20 to Oracle 8.1.7 64-bits on HP-UX 11).
    Amongst one of our steps is to convert our RAW Device datafiles to File System based files within the same server and version - Oracle 7.2.3 on HP-UX 10.20.
    E.g. /dev/vg00/rlvol1 to become /d01/oradata/cmtdb/tbs1.dbf
    Is this something possible?
    Can i just do the following:
    a. Shutdown database (normal)
    b. dd if=/dev/vg00/rlvol1 of=/d01/oradata/cmtdb/tbs1.dbf bs=20k
    c. chown oracle7:dba /d01/oradata/cmtdb/tbs1.dbf
    d. svrmgrl> startup mount
    e. alter database rename file '/dev/vg00/rlvol1' to '/d01/oradata/cmtdb/tbs1.dbf'
    f. alter database open.
    Thanks very much for your replies.
    Please tell me about possible problems that i can anticipate.
    Best Regards
    Yogeeraj

  • Essbase unix file system best practice

    Is there such thing in essbase as storing files in different file system to avoid i/o contention? Like for example in Oracle, it is best practice to store index files and data files indifferent location to avoid i/o contention. If everything in essbase server is stored under one file directory structure as it is now, then the unix team is afraid that there may run into performance issue. Can you please share your thought?
    Thanks

    In an environment with many users (200+) or those with planning apps where users can run large long-running rules I would recommend you separate the application on separate volume groups if possible, each volume group having multiple spindles available.
    The alternative to planning for load up front would be to analyze the load during peak times -- although I've had mixed results in getting the server/disk SME's to assist in these kind of efforts.
    Some more advanced things to worry about is on journaling filesystems where they share a common cache for all disks within a VG.
    Regards,
    -John

  • File system /oracle/SID/sapdata3 empty after EP 6.0 installation

    Hi Friends
    I'm installing EP 6.0 on WAS 6.40- SR1, AIX 5.1/Oracle 9.2.0 central system, where the Oracle database & the central instance are installed on the same host using the standard SAP DVD's, the installlation guide "SAP Web Application Server Java 6.40 SR1 on AIX: Oracle - Planning & Preparation" specifies creating 4 filesystems /oracle/SID/sapdata1, 
    /oracle/SID/sapdata2, /oracle/SID/sapdata3, /oracle/SID/sapdata4.
    I created the 4 filesystems but notice that after completing the installation with portal up & running, filesystem /oracle/SID/sapdata3 is empty, with no directories & files created inside. Can anybody advice if this filesystem doesn't gets any files, then why SAP document asks to create this in 1st place.
    Thanks & Rgds,
    Abhishek

    Hi Abhishek,
    Kindly go through the sap note 972263, it clearly explains the file system required and the size.
    SAP NetWeaver 2004s SR2 Java:
    File System Name Space Requirement
    /oracle/<DBSID>/sapdata1 1 GB
    /oracle/<DBSID>/sapdata2 3 GB
    /oracle/<DBSID>/sapdata3  -  GB
    /oracle/<DBSID>/sapdata4 6 GB
    SUM 10 GB
    Regards
    Manjunath

  • Oracle terminal  urgent plz

    dear fellows i m using form 6i and wish to set some custom key
    and help says about oracle terminal i could not find it any body
    plz help me how to find and use it thanx
    geeta

    Hello,
    Oracle Terminal allows you to customize keys. Find out
    Oracle Terminal Item in menu ..
    Start -> Programs -> Oracle Forms and Reports 6i -> Oracle
    Terminal
    select Oracle Terminal
    Now Open \Orawin95\Forms60\Fmrusw.res file and
    Click on Icon 'K' or select Functions -> Edit Keys from Menu.
    Select Option E.g. Runform, Double Click it.
    From PopUp Window Press Insert Row button then you can use macro
    mode to Create Button.
    E.g. Let's Assign Next Block to Control+Down.
    1. Insert Row
    2. Type Next Block in action.
    3. Click on Macro Mode
    4. Enter any key. e.g. t
    5. Press Control + Down Arrow
    6. Again press 't' to end function.
    7. Save File
    8. you done it.
    Adi

  • Restore DMP file in Oracle 10G  - URGENT!

    hello, Oracle forum. I am a sql dba crossing over and need some help ASAP! Since I am new at 10G, I received some DMP files from a client and need to restore them ASAP!. Can you please provide EXACT steps on how to do this? I prefer to use the OEM gui, but need step-by-step. Await reply...Many thanks!

    Hi..
    There are few questions to be answered:--
    1. What does that dump contain. Is it a table level or a schema level or a full database dump
    2. If its a table level who is the owner of the table
    3. If its a schema level , whats the schema name.
    4. was the export taken with exp or expdp utility.
    5. Is the database in which the export dump is to be imported have that schema or is that the data has to be imported to some other schema.
    After all this information you can use imp or impdp utility it import the data in 10g database.
    For imp [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023560]
    for impdp [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#g1025464]
    HTH
    Anand

  • How to read XML from UNIX file system

    Hi,
    I have this code with read a xml file from windows:
    Document doc = builder.build(new File(C:\\mywork\\src\\Contacts.xml));
    But how can I read the same file from UNIX? (The file is located in "\tmp\Contacts.xml")
    Thanks
    Kenny

    Hi,
    I have this code with read a xml file from windows:
    Document doc = builder.build(new
    File(C:\\mywork\\src\\Contacts.xml));
    But how can I read the same file from UNIX? (The file
    is located in "\tmp\Contacts.xml")
    Thanks
    KennyNo, the file is really located in "/tmp/Contacts.xml". You would writeDocument doc = builder.build(new File("/tmp/Contacts.xml"));Also, your original code would need quotes around the filename too.

  • RAW DEVICE와 FILE SYSTEM 간에 오라클 데이터화일 이동하기

    제품 : ORACLE SERVER
    작성날짜 : 1999-11-30
    RAW DEVICE와 FILE SYSTEM 간에 오라클 데이터화일 이동하기
    ======================================================
    유닉스 명령이 dd를 이용하여 오라클 데이터화일을 Unix File System과 Raw
    Device 간에 이동할 수 있으나, 플랫폼 별 Raw Device의 특성으로 인하여 주의할
    점이 있다. 만일 잘못된 이동으로 인하여 데이터베이스가 기동하지 못하면,
    ORA-7366 (sfifi: invalid file, file does not have valid header block.)
    에러가 발생할 수 있다.
    예를 들어 Digital unix의 경우는 raw device에 64k OS 헤더가 필요하므로 dd
    명령어 옵션 중 iseek와 oseek를 활용하여야 한다.
    다음은 예제를 통하여 데이터화일을 Raw Device에서 Unix File System으로
    이동하는 절차이다.
    (운영 현황)
    - 현재의 위치: /dev/rdsk/c0t15d0s7
    - 이동할 위치: /oracle/file/system.dbf
    - 화일의 크기: 488636416 bytes <--- V$DATAFILE.BYTES column 값!
    - DB_BLOCK_SIZE: 2048 bytes
    (준비 단계)
    1. Oracle 블럭 수 계산:
    BYTES / DB_BLOCK_SIZE = 488636416 / 2048 = 238592 (블럭)
    2. O/S file header 블럭 추가:
    238592 + 1 = 238593 (블럭)
    : "ls -l /oracle/file/system.dbf" 명령으로 확인 가능하며, O/S file
    header는 1블럭으로 항상 일정함.
    3. Raw Device OS header 블럭 계산:
    64K / DB_BLOCK_SIZE = 65536 / 2048 = 32 (블럭)
    : 사용할 dd 명령어 중 블럭의 크기를 DB_BLOCK_SIZE(2048바이트)로 할
    예정이므로 2048로 나누어야 함.
    (명령어 형식)
    $ dd if=<raw device> of=<UFS file> bs=<oracle blocksize>
    iseek=<blocks to skip> count=<total count>
    (명령어 수행 절차)
    (1) SVRMGR> STARTUP MOUNT
    (2) SVRMGR> !dd if=/dev/rdsk/c0t15d0s7 of=/oracle/file/system.dbf
    bs=2048 iseek=32 count=238593
    (3) SVRMGR> ALTER DATABASE RENAME FILE '/dev/rdsk/c0t15d0s7' TO
    '/oracle/file/system.dbf';
    (4) SVRMGR> ALTER DATABASE OPEN;
    ========================================================================
    반대로 Unix File System에서 Raw Device로 이동하는 명령어 형식은 아래와 같다.
    (명령어 형식)
    $ dd if=<UFS file> of=<raw device> bs=<oracle blocksize> \
    oseek=<blocks to skip> count=<total count>
    유사한 방식으로 데이타 화일 뿐 아니라 리두 로그 화일도 이동할 수 있다.
    [주의] Raw Device의 블럭 헤더의 크기는 OS마다 다를 수 있으므로 플랫폼
    벤더사에 미리 확인한 후 작업하여야 한다.

Maybe you are looking for

  • EO on a db view

    Hello, Can anyone give me a use case of creating an EO on top of a database view. I mean, why not create a VO on top of a database view. Also how to you handle methods like create, remove when your EO is based on a database view? regards, Yora

  • HT204088 How do I cancel a recurring payment?

    How do I cancel my recurring payment for pandora one?

  • Posting Adobe Reader Documents to Wordpress

    Interested in using my Wordpress Sites to Post Adobe Documents for users to download.  My 2 sites are:[removed by moderator].  There are numerous plugins available, but I want to know if anyone at Adobe or this forum has done something similar.   It

  • Need help with a upgrade problem

    I have used Lightroom since 1.0 and have had no problems with it, I recently upgraded from 2.3 to 2.4 as to stay current, in the process of the upgrading I have lost multiple photo catalogs that I had in 2.3 and I can't find them since I upgraded to

  • How can I clean Others on my iphone

    Other on my iphone is about 2.76 Gb high, I don't know why I even delete all my Mail acount from it, but I is still very high, is there an app that could help me to clean this folder, or cache or waht ever??? My Best regards Jose Antonio.