Is Oracle VM HA failover supposed to be transparent to guests?

I've been struggling with HA now for days and couldn't figure out why I lose all my guest sessions during failover, despite the fact that my Server Pool must be set up OK because I can do Live Migration (emphasis on the Live) no problems and my guests keep running.
A horrible thought occurred to me though - maybe it IS working and this is the best I can get!!
So the question is - has anybody else set up an HA-enabled Server Pool in Oracle VM 2.2 and managed to crash the server the guests are running on and have them re-appear on the other server without losing current network sessions to the guests?
Am I expecting too much of OVM HA?
This is how I believe other HA solutions work (RHCS, VCS, Serviceguard etc etc)
P.S. When I say I lose my guests during failover, I mean they shut down and come up again on the other node but all processing and all sessions are obviosuly lost - so not "high availability" in my book. It also seems to take a very long time to do this - I've never cared to time it but I'm guessing it's around 20 minutes. I'm using an NFS shared disk btw.

You right :(
I am at a client and I am doing a big implementation of oracle vm, oracle rac and apps. When a oracle vm server crash, we had some storages issues, the guest will start up on the other oracle vm server. The guest will boot, so you will lose all sessions.
Live migration will only help you if you know of an disaster waiting to happen or if you can see the future ;) But it is handy for doing server maintenance.
Ciao
Nardus

Similar Messages

  • Oracle Database down /failover clause ?

    hi
    I am collecting the information regarding oracle database down / failover clouses , so all of you requested kindly send me your experience regarding Oracle database down/failover reason/clause.
    thanks in advance
    regards

    Hi,
    Are you looking for notes or scenarious.
    If you are looking for some notes follow the below link:
    http://pavandba.wordpress.com/category/dataguard/
    Thanks,
    Rafi.

  • Oracle RAC installation failover

    Hi,
    I have an Oracle RAC installation with 2 nodes with the data stored on a shared OCFS partition. I had a client test the connection using jdbc string for RAC failover. I tried shutting down one of the nodes on the RAC installation and the client could not connect to the oracle cluster database for the next 5 to 10mins.
    I understand that the client would failover to the next available listener (On the next retry connection) if the node it is currently listening to has failed. Is there any configuration i should make to increase the failover efficiency?
    Thanks for any advice.

    Hi,
    Server side failover is arranged by setting the remote_listener parameter.
    Client side failover is set by using T(ransparent) A(pplication) F(ailover) (9i and higher)
    or F(ast)C(onnection)F(ailover). Both are documented in the Net administrators manual for the version you didn't care to mention.
    As far as I know, both TAF and FCF are not supported by the JDBC thin driver.
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle VM Server 2.2.1 as VM Ware Guest

    Hi,
    I have download and installed Oracle VM Server 2.2.1 and Oracle VM Manager 2.2.0 in a VM ware virtual machine.
    After installing Oracle VM Manager i wanted to access https://127.0.0.1:4443/OVS, for that i tried changing to GUI, but its not working.
    I have researched and found out that "Oracle VM Server is a bare-metal product. You cannot install it as a VMware guest."
    Is this true for VM Server 2.2.1?
    Is VM ware server command line only, then how we access the http link to access oracle VM Manager?
    Also is there anyway i can install VM Server as a Guest using VM ware.
    thanks,

    Ok, i have figured it out taht i have use another system to access the oracle vm server.
    I am able to ping from my host pc to my guest oracle vm server pc, but when i give
    https://192.168.111.1:4443/OVS it gives page cannot be displayed
    also netstat command on vm server virtual disk gives
    netstat -na|grep 4443
    tcp 0 0.0.0.0:4443  0.0.0.0:*  LIST ENany ideas?
    Edited by: user10243788 on Jan 4, 2011 7:12 AM

  • Background is supposed to be transparent - but its not!

    I am doing an NTSC DV project, 720x480.
    Its just a simple lower 3rd.
    When I right click the background Project Properties... its says "transparent" (not "solid") for background which is what I want.
    However, when I export, I export as Apple ProRes 422 HQ NTSC (which I find is best quality).
    When I import it into FCP, the background is SOLID black. So the transparency is being lost.
    Why? How can I preserve transparent background? I looked in the ProRes422 options before export and tried exporting color+alpha etc etc, but can't find an option that respects transparency.
    Help!

    Hmmm, just tried Animation... still black. :s
    Here's my presets:
    Project is NTSC DC
    Project properties:
    Preset: NTSC DV
    W,H: 720x480
    Bit depth: 8
    Pixel Aspect Ratio: NTSC D1/DV 0.90
    Field Order: Lower first
    Frame rate: 29.97
    Background color [black]
    Background: Transparent
    Render settings:
    Samples 8
    Shutter angle 360
    Exporting in ProRes422
    Compressor: Animation
    Col Depth: Millions
    Quality 100%
    Frame rate: 29.97
    Key frame rate: 0
    Sample size: 16
    Channels: 2
    Resolution 7820x480
    Color: color+alpha
    Premultiply : on
    etc...

  • Do I need to change OCI layer to utilize Oracle RAC failover Feature?

    Dear Oracle Experts,
    From the Oracle documents, the RAC is a great feature providing the scalability and high availablility. I thought the failover features should be transparent to users.
    However, from this book:
    http://www.oreilly.com/catalog/oressentials2/chapter/ch01.html
    "For instance, in high-availability implementations in which multiple systems share disks and implement Real Application Clusters/Oracle Parallel Server, you may want users to reattach to a second server transparently if the first fails. You can write programs that do this using OCI. "
    "You can write applications with the Oracle Call Interface (OCI) to provide failover to a second instance transparently to the user. "
    I am confused if RAC failover feature have to depend on OCI user application coding?
    I have an application developed over Oracle 8.1.6, if I buy Oracle9i to use RAC failover feature, should I modify my application at OCI layer to make it work? Can I switch the oracle instance when the original one fails only by RAC setup instead of changing OCI code?
    Thanks.
    Wei
    P.S. I am running application over Compaq tru64 5.1A.

    Hi ,
    As answered by Sumit u need not alter ur application for shifting it to RAC.But there are few things which will determine the perfoemance of your application on RAC and depend on the type of application u use .Application partioning,data partitioning,index partitioning ... look for these topics . This may help.
    The other thing u mentioned abt. Oracle Libraries,DB name,SID .. . Now when u'll have RAC there will be more than 1 Node I believe. So each Node will have its SID,Oracle Binaries but DB name will be same.
    Gud Luck!
    Vijay Shanker
    Edited by: Vijay Shanker on Feb 14, 2009 6:12 PM

  • How to deploy oracle 11g under cold failover cluster

    Hi,
    I am trying to install oracle 11g under failover cluster environments. I am trying to find some oracle documentation about it. But not able to find one. Can anyone help me. Please i need it badly.
    we have two servers sun solaris 10. on which we have failover cluster being installed. one is active while one is passive. How can i install oracle 11g on this failover clusters. did i have to install oracle of shared SAN. what are the extra configuration i have to do please help
    Also is it wise to install 11g warehouse with fail safe or use RAC.
    regards
    Nick
    Edited by: Nick Naughty on Feb 1, 2009 4:02 AM

    thanks alot for reply.
    I am of the same point of view. but the machine i am working on is sun solaris 10 with two partitions finance and accounts which have been protected by a failed over machine having two partitions finance and accounts and i think you are right these are the same shared storage folder which are mounted on active machine as well as on passive machine.
    Now my question is if i install oracle 11g on one machine without oracle cluster then sun cluster should be able to mount the database in case the primary machine fails.
    I have tried hard to get some documentation on this top but nothing so far. please help
    regards
    Nick

  • Problem when trying to refresh oracle screens with latest data

    hello experts,
    i have one problem,i want to refresh the oracle screen with the latest data from the data
    base.
    It is a two stage process.At first step one user will select a row from the screen and then he will press a button .
    now the second screen will appear and the detail of the employee will be displayed.
    First step has been completed and the data is coming in the second form via parameters and i can see the full information of the employee.
    Now i want to refresh the oracle form i.e. suppose if my dba has made any changes in the oracle table( EMP table) i want that after pressing the refresh button user can see the
    latest data from the database.
    in WHEN_BUTTON_PRESSED trigger i have written this codes.
    enter_query;
    execute_query;
    but they are not giving the expected result.
    And one more thing please suggest whether in the second form i should use database item
    or non database item.
    When i am using database item when i am trying to close second from one pop up is appearing
    and asking that whether i want to save the changes.
    please suggest how can i remove this message from my application.
    Regards
    Anutosh

    Hi,
    what data did you transfer via parameters to the second form ?
    how did you populate the datablock in the second form ?
    Typical solution would be:
    (For my example the block is both forms is named EMP, and is based on the table SCOTT.EMP)
    In Form 1, transfer the primary key-value of the current record to a global or parameter (will use global in my example):
    e.g. you have a WHEN-BUTTON-PRESSED-Trigger with the following code:
    <pre>
    :GLOBAL.EMPNO:=:EMP.EMPNO;
    CALL_FORM('FORM2');
    </pre>
    In Form 2, you have a WHEN-NEW-FORM-INSTANCE-Trigger with code:
    <pre>
    DEFAULT_VALUE('GLOBAL.EMPNO', NULL);
    IF :GLOBAL.EMPNO IS NOT NULL THEN
    GO_BLOCK('EMP');
    EXECUTE_QUERY;
    :GLOBAL.EMPNO:=NULL;
    END IF;
    </pre>
    On block EMP in Form 2 there is a PRE-QUERY-Trigger with following code:
    <pre>
    IF :GLOBAL.EMPNO IS NOT NULL THEN
    :EMP.EMPNO:=:GLOBAL.EMPNO;
    END IF;
    </pre>
    And at last, in your refresh-button would be the following code:
    <pre>
    :GLOBAL.EMPNO:=:EMP.EMPNO;
    GO_BLOCK('EMP');
    EXECUTE_QUERY;
    :GLOBAL.EMPNO:=NULL;
    </pre>
    Hope this helps

  • Ant oracle:compileJsp errors in JDeveloper 10.1.3.5 with PolicyClassLoader

    Hi,
    I am developing ant script to build and ADF 10g application through jDeveloper 10.1.3.5 and then later we'll running it on the app server.
    As part of the ant script, when I use the oracle:compileJsp task to pre-compile jsps, I am getting NoClassDefFoundError: oracle/classloader/PolicyClassLoader
    After a little research I found that this class is located in JDEV_HOME/j2ee/home/lib/pcl.jar
    There is no way to get around the problem as the java process that is spawned by the oracle:compileJsp ant task has hard-coded classpath setting and pcl.jar is not one of them
    I am not getting this error when I am using JDeveloper 10.1.3.4
    So the questions are:
    1) Is the oracle:compileJsp ant task supposed to use this classloader?
    2) If yes, how can I make this class available to the java process spawned by the ant task?
    3) If no, how can I make ant task no use the classloader?
    regards - rutwik

    There is a workaround for this issue.. instead of using standard <tt>oracle:compileJsp</tt> task you can do the following:
    Add the following path entry in your ant build file
      <path id="ojspcInvokeClasspath">
        <path location="${oracle.home}/j2ee/home/lib/pcl.jar"/>
        <path location="${oracle.home}/j2ee/home/lib/ojsp.jar"/>
        <path location="${oracle.home}/j2ee/home/lib/oc4j-internal.jar"/>
        <path location="${oracle.home}/j2ee/home/lib/servlet.jar"/>
        <path location="${oracle.home}/j2ee/home/lib/commons-el.jar"/>
        <path location="${oracle.home}/j2ee/home/lib/bcel.jar"/>
        <path location="${oracle.home}/lib/xmlparserv2.jar"/>
        <path location="${oracle.home}/j2ee/home/lib/oc4j-schemas.jar"/>
        <path location="${oracle.home}/j2ee/home/jsp/lib/taglib/ojsputil.jar"/>
      </path>Then after bundling the war file do the following in your build.xml
        <java jar="${oracle.home}/j2ee/home/ojspc.jar" classpathref="ojspcInvokeClasspath" fork="true">
            <arg value="-addClasspath"/>
            <arg pathref="classpath"/>
            <arg line="'${view.deploy.dir}/${view.appname}.war'"/>
        </java>Thanks to guys on Metalink who suggested a similar workaround approach to compile indivisual pages. But that will not work if you have large no of pages ( > 10) in your application.
    Pre-compiling pages inside a war file as mentioned above works and also is has better performance.
    For those having access to Metalink they should be able to download the patch for the actual fix... sooon...

  • How to set up external storage in Oracle VM?

    Hi,
    We have oracle VM server 2.1.2 installed with the Oracle DB vm, and will need the Oracle DB access the external storage for better I/O perf. We'd need to install SAS Raid controller driver and Raidman software to configure the storage array, firstly, my understanding is that we can't install the dirver and sw to a virtual machine(oracle db vm) but would need to install them on the Oracle VM server, then create raw disk file on it and add it into the disk parameter in the "vm.cfg", after restart the oracle db vm, we suppose to be able to format and create partition in the oracle db vm. Please let me know if my understanding of configuration procedure as above is correct.
    Second question is: Do we suppose to download driver and Raidman software for the RedHat Enterprise Linux 5 platform? Can the driver/sw versions on the Redhat enterprise linux 5 be used on Oracle VM server 2.1.2?
    Thanks in advance for your reply.
    Jenny

    If you are using OVM without a support license, you can try building the drivers from source. If you do have support for OVM, then open a Metalink SR to request the drivers you need. Adding drivers that were not originally included with OVM or provided for your OVM version by Oracle will void your support.

  • PDF Compression in Oracle Reports

    We are testing Oracle Reports 6.0.8.13.1 that came as part of
    Oracle 9iAS (v 1.0.2.2.1) on Windows 2000. When we generate a
    PDF report , we do not see any compression of the pdf file
    taking place and the generated pdf report is using pdf version
    1.1. The database that is in use is Oracle 8i which is on a
    different box.
    Isnt the pdf version that is used in Oracle 9iAS Reports service
    supposed to be pdf version 1.4.
    Is there anything wrong with this reports server installation or
    are there any other settings/pre-requisites to get pdf
    compression in Reports to work. Also please see my earlier
    posting today
    Thanks in advance.
    R. Adarsh

    There is no PDF compression with Reports 6.0.8 and iAS 1.0.2
    This is a new feature of the upcoming product release iAS V2
    Reports 9i which will use PDF 1.4

  • JDBC URL for Two Oracle Nodes

    Hi All,
    I have two DB nodes which are running independently (Mean no RAC), I want to configure JDBC URL for these nodes that if one node goes down my application automatically connected to second one.
    Both nodes have different HOST and SID.
    Regards,
    imran

    Hi jwenting,
    I tried following URL in PL/SQL developer and my fail over is working fine with separate nodes, Only thing i did was i keep SID of both nodes with same name.
    ERS=(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
    But strange when i connected this through JDBC URL like following it gives me error of invalid URL
    jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
    Regards,
    imran

  • Oracle VM 3.1.1, Oracle VM Server, PeopleSoft Templates and networking

    I have installed Oracle VM Manager on an Oracle Linux x86_64 system, all freshly installed, and two Oracle VM Server 6 systems also freshly installed. These three servers are each connected to two networks. One is a 192.168.15.0/24 ("net-A"), and the other is 10.8.15.0/24 ("net-B"). net-B also has the fileserver for the repositories et al directly attached. "net-A" is connected to the outside world. This is all working great; all servers can intercommunicate, can be reached from other devices on each network, et cetera. I can ssh from any machine on the network to these machines, and vice versa. All servers correctly use the internal and the external DNS, and can communicate with Google, et cetera. Excellent!
    Now, I have downloaded the templates for PeopleSoft HCM9.1, and PeopleSoft PeopleTools 8.52, and have successfully created Virtual Machines from these. The VMs start up and run successfully, and I have gone through the startup configuration prompts using the Oracle VM "Launch Console" feature.
    My problem is that I have not yet figured out how Oracle VM Networking is supposed to work, and so I cannot get these machines to talk to each other nor to the outside world. And I cannot ping them from other devices on the network, either. Obviously, there's no advantage to having a PeopleSoft server running when one cannot attach to it. I've read through the documentation numerous times, and I've pored through http://itnewscast.com/chapter-7-oracle-vm-networking-8021q document over and over, but I get lost in the virtual-upon-virtual-upon-virtual world. Maybe (probably) it's me, but I am not getting how this fits together, and where/how the virtual-ness of the network ends. Plus, all of the configurations in that itnewscast.com Chapter 7 article involve at least one switch (virtual maybe? not clear!) between the VMM and the VMS, and I don't have a switch invoved in this network... it's flat, with everything on the same wire.
    My Oracle VM network is super simple at present: There is exactly one network ("ps-net"), and it runs all five network channels (server management, live migrate, storage, etc.). Both servers are on this network, and the NIC used is the "net-B" NIC. There is no VLAN, and the IP addresses are set by DHCP. Bonding, the configuration display says, is Not applicable. Since these devices are on the same NIC as "net-B," I provided the 10.8.15.x network information when prompted, and assigned them fixed IP addresses on that network. For "gateway," I specified the address of the VMM, not knowing what else to use. And, as I said, these VM don't talk to anything, not even to each other.
    My needs are very simple. The shame is I've built all this up for the express purpose of running those two templates, and it's been a battle, to say the least, to get this far. Who can point me to the error of my ways, or a better way to accomplish this end?
    Thanks for your time, and for reading this far!

    OK. Out of desire to resolve this, I have completely removed the 192.* network from this configuration, by disconnecting the eth0 networks, and changing the ifcfg-eth0 to ONBOOT=no (yes, I know either action should suffice).
    So there is exactly one network involved now. (Greg King said that's OK, if scalability is not an issue, and if he said it, I believe it. I'll complicate it later, after I get simple working.) And one VMS is out of the configuration for now. So I have ora-vmm at 10.8.15.49 ora-vms1 at 10.8.15.47, and the fileserver at 10.8.15.50. ora-vms2 is at 10.8.15.48, but is down for now. The server pool address is set to 10.8.15.1. The network looks like this:
    ID: 10.8.15.0
    Name: ps-net1
    Channels: all
    Servers: ora-vms1, ora-vms2
    Selected paths: ora-vms1 Port (2) (eth1), ora-vms2 Port (2) (eth1)
    VLAN Group: None
    VLAN Segment: None
    Configure IP Address: ora-vms1 Port (2) (eth1) Use DHCP 10.8.15.47 255.255.255.0 Bonding: N/A
    Configure IP Address: ora-vms2 Port (2) (eth1) Use DHCP 10.8.15.48 255.255.255.0 Bonding: N/A
    ifconfig from ora-vmm
    eth1 Link encap:Ethernet HWaddr 00:0C:29:38:92:7E
    inet addr:10.8.15.49 Bcast:10.8.15.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe38:927e/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3516 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3186 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1520847 (1.4 MiB) TX bytes:383384 (374.3 KiB)
    eth2 Link encap:Ethernet HWaddr 00:0C:29:38:92:88
    inet addr:10.8.16.1 Bcast:10.8.16.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe38:9288/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:830 (830.0 b)
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:136683 errors:0 dropped:0 overruns:0 frame:0
    TX packets:136683 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:30853824 (29.4 MiB) TX bytes:30853824 (29.4 MiB)
    ifconfig from ora-vms1
    10.8.15.0 Link encap:Ethernet HWaddr 00:0C:29:D5:97:F1
    inet addr:10.8.15.47 Bcast:10.8.15.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:21463 errors:0 dropped:1 overruns:0 frame:0
    TX packets:23017 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:10033833 (9.5 MiB) TX bytes:12175262 (11.6 MiB)
    10.8.15.0:0 Link encap:Ethernet HWaddr 00:0C:29:D5:97:F1
    inet addr:10.8.15.1 Bcast:10.8.15.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    eth1 Link encap:Ethernet HWaddr 00:0C:29:D5:97:F1
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:47343 errors:0 dropped:0 overruns:0 frame:0
    TX packets:48885 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:23261224 (22.1 MiB) TX bytes:22212168 (21.1 MiB)
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:5858 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5858 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2749072 (2.6 MiB) TX bytes:2749072 (2.6 MiB)
    I don't understand why, but the VMM has placed this entry into each server's /etc/sysconfig/network-scripts directory:
    ifcfg-10.8.15.0
    Contents are:
    #This file was dynamically created by OVM manager. Please Do not edit
    DEVICE=10.8.15.0
    TYPE=Bridge
    BOOTPROTO=dhcp
    ONBOOT=yes
    DELAY=0
    I am able to start the guest with no issue. It has been configured with IP address 10.8.15.101, netmask 255.255.255.0. Its gateway is 10.8.15.50, the same network configuration as all the other servers.
    The important parts of ifconfig output from the guest (which I must manually type since Launch Console provides no copy/paste functionality) are:
    eth0 Ethernet, HW Addr: 00:21:f6:00:00:11
    inet addr: 10.8.15.101 Bcast: 10.8.15.255 Mask: 255.255.255.0
    inet6 ...
    UP BROADCAST RUNNING MULTICAST ...
    RX Packets: 11 errors:0 dropped:0 overruns:0 frame:0
    TX Packets: 101 errors:0 dropped:0 overruns:0 carrier:0
    RX bytes:620 (620.0 b) TX bytes:10592 (10.3 KiB)
    Interrupt:14
    Ping to 10.8.15.47 (the server on which this guest is running) is successful
    All other ping attempts fail.
    This is where I am, and why I'm confused. Can anyone help me understand why this guest can only talk to its "host?"
    Thank you.

  • Shrinking BLOB tablespace in Oracle 10g

    Hello,
    I have table created with 32 GB in Oracle 10g with BLOB field containing images. after that I have deleted some of the images from the table but when I'm checking free space, it is show full 32 GB. But when I'm looking at Toad it shows me out of 32 GB 17 GB is free.
    my question is how to shrink/resize blob tablespace/table having BLOB field in oracle 10g 2rel ?

    Hello urgent,
    Tablespace management is not really an Oracle Spatial topic, I suppose these are georaster images?. You probably want to search and post in the more general database forums.
    The quick answer is that it is not easy. Oracle tablespaces may only be "shrunk" if the free space is at the end of the datafile at the "high water" mark. If by some wild coincidence the images you removed were indeed at the back of the datafile, then you could alter the datafile with a RESIZE command. But the odds of that being the case are incredibly low. If you really, really MUST recover that space then about the only thing to do is export the data, delete it from the tablespace, shrink the tablespace and then import the data back in. Another approach if you have the space is just move the data into another empty tablespace and then drop the original tablespace. I would guess that the salary expended for you to take everything offline and do this would be more than just buying another cheap disk. Considering that in doing your daily work you may well indeed be in this position again in a few weeks, then it makes even less sense.
    Now having said all that I have been in the situation where I MUST recover that space without taking everything offline.
    One thing you can try is to "pop" the last items off the datafile (moving them to another tablespace) identified using the query below. But this is an exercise in futility unless your resources happen to be nicely "chunked" together near the highwater mark. Oracle tends to stripe resources across the available space in the datafile. So you might find you need to move half the contents before recovering any significant amount of space.
    Cheers,
    Paul
       SELECT '
       a.owner, '
       a.segment_name, '
       a.segment_type, '
       a.block_id, '
       a.tablespace_name '
       FROM '
       dba_extents a '
       WHERE '
       a.file_id = ( '
          SELECT '
          b.file_id '
          FROM '
          dba_data_files b '
          WHERE '
          b.file_name = :p1 '
       ORDER BY '
       a.block_id DESC

  • Oracle Procedure returning more number of records

    Hi,
    I have created an Oracle Procedure which is supposed to fetch a record as per the input parameter passed.
    The core query in the procedure is as below -
    SELECT DISTINCT col1 FROM my_tab WHERE col2 = 'Input parameter'
    Few of the input parms (col2) has more number of records (col1) and so the procedure gives an error like -
    'ORA-01422: exact fetch returns more than requested number of rows'
    Could you please let me know how can I modify the procedure so that it would return more number of records as the case may be?
    Thank you!

    It still gives me the same error when it encounters more than one output.Yes, I'm sure it does.
    But we can't tell you how to fix it because we don't know what you want.
    What's the purpose of the procedure?
    Is it to "spell check" the name of an intermediary? If so, you'll need to figure out what to do when you have more then one person with the same name.
    You can add AND ROWNUM = 1. Or perhaps you can trap the too_many_rows exception.
    Your procedure doesn't return anything (no out variables). Is that correct?
    Or is the purpose of the procedure to return the ID of the matching name?

Maybe you are looking for

  • AD Provisioning in OIM 11g R2

    Hi everyone, I want to provisioning to AD. I create a Application Instance and I create form. Then I go details of a user, and a go Accounts tab and I enter "Request Account". Then I search catalog screent and add to cart then complete the operation

  • Error when updating data in a form based in a view

    Hi: i have 5 tables for enterprise data (telephone, fax and so on). i want to create a form based in all those tables, so i create a view over all the 5 tables and create the form. but when calling the portlet and trying to alter (update, insert, etc

  • Can I convert PDF to PowerPoint in acrobat 10.1.8?

    Good day, is there any way to confert pdf to pptx in acrobat 10.1.8? See no pptx options in save as and tools. Thank you.

  • Batch Change "Date Modified" to match Exif Data After iPhoto Export

    Among several other posts about similar situations, I have found none that directly and simply resolve this issue. My wife imported a bunch of photos into iPhoto directly, but I wanted them in a folder on the hard drive. I pulled them out of iPhoto i

  • Outlook 2007 keeps asking for username and password

    We have a new exchange 2007 SP1 server but occasionally the outlook clients will ask for the username and password. Is this a bug or does anyone have a fix?