Blob data and upgrade

I'm going to be upgrading from Oracle 9 to 10 (or possibly 11), and we have a lot of BLOB data. Is there any thing that I should be aware of? I actually am going to do this on a new system, so I'll install 10 or 11, and then put the data over (please feel free to comment on that).
Thanks,
Victoria

Pl post full source/target database versions, along with source/target OS versions. There should be nothing specific you need to do for BLOBs. If the source and target OSs are binary compatible, I assume you can copy over the database files and upgrade the database. If they are not binary compatible, you will need to use exp/imp to upgrade the database.
Pl see the 11g Upgrade Guides for more information
11gR2 - http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/toc.htm
11gR1 - http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/toc.htm
HTH
Srini

Similar Messages

  • Want to Read BLOB data and display on Oracle form

    Hi All,
    I have a table with a BLOB field and there is blob data saved here against a account id.
    I want to display the blob data on the oracle forms front end for the queried account id
    Any one to help me out how to read and display blob data in Oracle and display the same
    Tks

    this is a commoon request please try to search the forum.

  • BLOB data and SQL Loader

    Has any one used SQL Loader for BLOB data? I would think you can only use it for text type data.
    Thanks,
    Vic

    If each blob is in a separate file, then you should be able to use LOBFILES to load them. Each row in the data file would need to have the name of the file containing the blob for that row. File ulcase9.ctl in the demo directory shows an example of using LOBFILES to load a lob column.
    If you want the blob in the data file, then the data file needs to use types that have include length information in then, such as VARRAW, LONG VARRAW or VARRAWC. Also, the records for the data files cannot be terminated by a character string or newline. That's because the blob data might contain the character string or newline in the middle of its data. Instead, you would need to use the VAR record type.

  • Backed up data and upgrading itunes

    I've backed up my ipad to itunes. Apple erased and updated my ipad to enable icloud.Went to restore ipad from itunes but it says itunes must be upgraded sync now. Will upgrade lose my backed up data?!

    My oh my, slightly exceeds your lifespan.. three score and 10 or if you are strong four score..81,000 years hmmm.. 
    Are you using Lion.. 10.7.5 to be exact .. you are subject to a serious bug, created by Apple and not fixed before release to all computers.. great the level of testing Apple does now..  think of yourself as a beta tester..
    Here is the patch to update to the patch.
    http://support.apple.com/kb/DL1599
    If you are on a different OS tell us.. ML can have similar if not quite so bad issues.
    The bug may have corrupted the old backup which is why it needs to be replaced. Unfortunately once it restarts the backup I doubt you can recover what was there.. it seems your backups now need backups if there happened to be anything you actually want.
    I strongly recommend at the moment getting another software backup program.. superduper, CCC, chronosync.. something designed to create a single image.. and not self corrupt.

  • Oracle 01g and forms 6i with BLOB Data type

    Dear All,
    I have upgraded my database from oracle 9i R2 to oracle 10g R2. i have an application developed using oracle forms and reports 6i. this application have a form where it stores and retirive an image from the database, this image is stored in a table with a BLOB data type, it was being retrieved fine until we did the upgrade and now it is impossible for me to see the image and i am getting an error every time i retrive the data. it always pop a message saying that "INCONSISTENT DATA TYPE"
    please guys help.
    Regards

    you can try this procedure
    DECLARE
    t_blob BLOB;
    t_len NUMBER;
    t_file_name VARCHAR2(100);
    t_output UTL_FILE.file_type;
    t_TotalSize number;
    t_position number := 1;
    t_chucklen NUMBER := 4096;
    t_chuck raw(4096);
    t_remain number;
    BEGIN
    -- Get length of blob
    SELECT DBMS_LOB.getlength (PHOTO), ename || '_1.jpg'
    INTO t_TotalSize, t_file_name FROM DEMO WHERE ENAME ='moon';
    t_remain := t_TotalSize;
    -- The directory TEMPDIR should exist before executing
    t_output := UTL_FILE.fopen ('TEMPDIR', t_file_name, 'wb', 32760);
    -- Get BLOB
    SELECT PHOTO INTO t_blob FROM DEMO WHERE ENAME ='moon';
    -- Retrieving BLOB
    WHILE t_position < t_TotalSize
    LOOP
    DBMS_LOB.READ (t_blob, t_chucklen, t_position, t_chuck);
    UTL_FILE.put_raw (t_output, t_chuck);
    UTL_FILE.fflush (t_output);
    t_position := t_position + t_chucklen;
    t_remain := t_remain - t_chucklen;
    IF t_remain < 4096
    THEN
    t_chucklen := t_remain;
    END IF;
    END LOOP;
    END;
    it will work

  • I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i c

    I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i can't because i don't have the earbuds and i have serches or them. now i am suck with a phone i don't like at all until my next upgrade. this is very dishearten

    1. If you are this unhappy with that phone, and the lost earbuds is the only thing stopping you from taking it back, why do not just buy some earbuds. That way you can get rid of that phone. It all depend upon how much you want to get rid of that phone.
    2. Yet if you are stuck with that iPhone, here is something might help you to control the data usage. By design, iPhones do turn off WiFi when they go dormant. So if a download is in progress and so forth when the phone goes dormant, it will switch to use cellular data, if this setting is left on. Therefore, from multi-sources I have learned that if you keep your iPhone connected to a power source, then it will stay connected to the available WiFi.

  • If you have unlimited data and plan to upgrade "BE WARNED"

    This is just an FYI to all those who may fall into the trap I did. I wish I had know about this prior so I would have made my choices accordingly.
    VSW has changed the upgrade plans for those with older unlimited data plans. If you use a line upgrade to get a smartphone that line not only gets the 24 month contract but you will also be forced into a min of $30/month data plan.
    I have 3 phones on my account. 1 of them have unlimited data and the other two are simple flip phones (no data).
    For 3 years I have used one of these non-data plan lines to upgrade the smartphone and then would move the phone to the unlimited line and the flip phone back to the non-data line. This worked great as my 2 non-data lines had contracts that ended on opposite years.
    This last time I upgraded, In January, I explained to the sales person what I wanted to do, they told me they do this all the time and they would take care of it.
    My Feb bill was a bit higher than I expected so I called support. I showed them the $30 data fee and how I did not want this on a flip phone. They stated oh yes we understand, will fix it and credit you. Perfect I thought. Sure enough March's bill came and the credit was there but the $30 data charge had not been removed. I called support again and this time they dropped the hammer on me.
    My credit was an "Inconvience" credit, it was a range of $3-$8 per line, it was not a reversal of the $30 data charge. This is when I find out that VZW has now changed thier smartphone plan upgrades for accounts who are on grandfarthered in plans. If I switch to thier current plan, ie lose my unlimited data then they are more than happy to remove the data charge. So now I'm stuck paying $30 a month for the next 22 months = $660 in charges for something I will not use. A full contract 24 months $30/month is $720 which is more that the cost of most smartphones.
    If this is your situation please be sure you have all the facts prior to getting tricked into a contract worth more that the darn phone you get for "FREE!!!!"

    According to VZW support this was a policy change in 8/14, 7 months ago(ish), I'm not claiming this is brand new but I am telling others who have been with VZW for many years and still like the less expensive package they have had for those many years need to be aware that this is the rule now. In attempts to force those long term customers to go to a more expensive plan that offers far less service they have implemented this.
    I do understand this policy now and certainly will no longer use the upgrades however I wanted to offer my story as a heads up to any other potential person from running into this situation.

  • How can I get missing contacts, notes, calendar dates and reminders that are just on my old iphone onto the iCloud for transfer to my new iPhone upgrade?

    Dear wise & wondeful people:
    How can I get missing contacts, notes, calendar dates and reminders that are just on my old iphone onto the iCloud for transfer to my new iPhone upgrade? Half of my contacts, notes, ect. were on my iCloud so have happily moved to my new iPhone but the rest are completely resistant. For example, on my iCloud I have 14 missing contacts starting with the letter A alone, however they are happily viewable on my old iPhone 4S and won't budge over into the iCloud.
    There are also 3 notes missing yet still acessible on my onld iPhone 4S, the list goes on.
    Your help would be most appreciated. Thank you so much.
    BCHR

    Hi BCHR,
    If you are having issues transfering your content from your old iPhone onto iCloud so it can be transfered to your new iPhone, you may find the following articles helpful:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/TS3998
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/TS3999
    iCloud: Notes overview
    http://support.apple.com/kb/PH12081
    Regards,
    - Brenden

  • ICal lost end dates and ∞ sync conflicts after iOS4 upgrade

       After upgrading my sacrificial iPod 3 (I’m waiting to upgrade my main iPhone 3GS) and synchronizing it to my home MacBook Pro 2007 17", I got huge numbers of old repeating meeting which seem to have lost their end-date, e.g., “Palm-size PC Porting Lab” on June 28th this millennium, which I assure you is an error. I restored from a desktop backup, overwrote the iOS4 Calendar data, and synced again.
       After that, I had a miserable day full of a dozen or so Resolve Sync Conflicts dialogs—sometime three or four in a row after a single, very slow, sync. Several times two sync processes used up all my real memory (using over a gigabyte, out of three) and once it even used up all my disk space (I had 29G free). I also had a few rounds of conflict on my work MacBook Pro 2009 13", synced via MobileMe.
       Some historical notes: My calendar data is quite large, going back to Newton days via PalmOS, and iPhone OS 3 never handled it properly, e.g., both search and over-the-air sync are broken on my 3.1.3 iPhone. MobileMe sync data also gets corrupted every few weeks. And “Palm-size PC” was Microsoft’s court-ordered renaming of their trade-mark infringing Palm PC.
    Macaulay‘s Law of Software Upgrades:
    “To think nothing of symmetry and much of convenience; never to remove an anomaly merely because it is an anomaly; never to innovate except when some grievance is felt; never to innovate except so far as to get rid of the grievance.”

    Deleting my caches per http://support.apple.com/kb/TS2481, and restoring and rebooting a couple of times, seems to have shut up the warnings, at least for now, but there's still some data loss, e.g., two meetings on 6/21 and 6/22 don't show up any more on my main Mac, but do show up on both my sacrificial iOS4 iPod, and my real 3.1.3 iPhone. (I’m also having trouble with a Note failing to sync from my iPad, but I haven’t tried that yet since nuking my caches.)

  • I recently tried to update my iPhone 3 software via my mothers Mac book comp - during the upgrade I lost all my music and calendar dates and now the iTunes on my phone has my mothers iTunes detail - how do I get all my info back on the phone?

    I recently tried to update my iPhone 3 software via my mothers Mac book comp - during the upgrade I lost all my music and calendar dates and now the iTunes on my phone has my mothers iTunes detail - how do I get all my info back on the phone?

    Restore it using the computer you normally sync with.

  • My iphone 5s is now a brick, i lost all my data with upgrading ios8.0.0 and ios8.01

    i upgraded from ios7.1.2 to ios 8.0.0 and my wifi stoped working, it worked only few seconds in 1 minute, and my other apps start to lagg and couldn chat on them, so i was really happy when i saw new ios8.0.1 and started downloading it and tryed to install it but then all went wrong. so i lost all my data and i cant get it back, because when i try to restore my data from itunes it says restoring was incompleate... what can i do now?

    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)
    If this doesn't change anything, backup and restore your software via iTunes. If the problem continues, restore as a NEW device. If this solves it, that means there is some corruption in your backup file, or maybe it's one of your apps causing the trouble. If the problem is still there, you should take it to the Genius Bar at an Apple Store for evaluation.

  • I just upgraded my ipad OS and now my ipad is not picking up the 3G network.  Why and how do I fix this?  When I go into cellular data and view account it says my ipad is activated and ready to go.  What gives???

    Why and how do I fix this?  When I go into cellular data and view account it says my ipad is activated and ready to go.  What gives???
      It was working fine up until I upgraded the OS which I hadn't done in many versions so the ipad was not working as well as it should.  Now it is searching for the network. 

        Hello noodles074!
    Let's get your device working again! It's possible that your device just needs to be reprovisioned on our network. Please go to Settings>General>Reset>Subscriber Services>Reprovision Account. This may take several minutes. After allowing about 5 minutes for completion, please power your iPad off and back on, and test it again. Let us know if this takes care of it!
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • How can i save and retrieve blob data through forms and reports...

    I have blob data type column and I want to save word, html, gif
    document in oracle database through forms 6 and retrieve the
    data into forms and reports.
    Details : I want to open .doc,.html,.gif file through a button
    and save it ..and i want retrieve the data into text item same
    in reports....
    If anybody have the answer then send me at
    [email protected]

    use ole container
    initialize the container with the filename (doc or gif)
    Edited by: arshid on Feb 8, 2009 1:57 PM

  • How to handle blob data with java and mysql and hibernate

    Dear all,
    I am using java 1.6 and mysql 5.5 and hibernate 3.0 . Some time i use blob data type . Earlier my project's data base was oracle 10g but now i am converting it to Mysql and now i am facing problem to save and fetch blob data to mysql database . Can anybody give me the source code for blob handling with java+Mysql+Hibernate
    now my code is :--
    ==================================================
    *.hbm.xml :--
    <property name="image" column="IMAGE" type="com.shrisure.server.usertype.BinaryBlobType" insert="true" update="true" lazy="false"/>
    ===================================================
    *.java :--
    package com.shrisure.server.usertype;
    import java.io.OutputStream;
    import java.io.Serializable;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Types;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    import oracle.sql.BLOB;
    import org.hibernate.HibernateException;
    import org.hibernate.usertype.UserType;
    import org.jboss.resource.adapter.jdbc.WrappedConnection;
    import com.google.gwt.user.client.rpc.IsSerializable;
    public class BinaryBlobType implements UserType, java.io.Serializable, IsSerializable {
    private static final long serialVersionUID = 1111222233331231L;
    public int[] sqlTypes() {
    return new int[] { Types.BLOB };
    public Class returnedClass() {
    return byte[].class;
    public boolean equals(Object x, Object y) {
    return (x == y) || (x != null && y != null && java.util.Arrays.equals((byte[]) x, (byte[]) y));
    public void nullSafeSet(PreparedStatement st, Object value, int index) throws HibernateException, SQLException {
    BLOB tempBlob = null;
    WrappedConnection wc = null;
    try {
    if (value != null) {
    Connection oracleConnection = st.getConnection();
    if (oracleConnection instanceof oracle.jdbc.driver.OracleConnection) {
    tempBlob = BLOB.createTemporary(oracleConnection, true, BLOB.DURATION_SESSION);
    if (oracleConnection instanceof org.jboss.resource.adapter.jdbc.WrappedConnection) {
    InitialContext ctx = new InitialContext();
    DataSource dataSource = (DataSource) ctx.lookup("java:/DefaultDS");
    Connection dsConn = dataSource.getConnection();
    wc = (WrappedConnection) dsConn;
    // with getUnderlying connection method , cast it to Oracle
    // Connection
    oracleConnection = wc.getUnderlyingConnection();
    tempBlob = BLOB.createTemporary(oracleConnection, true, BLOB.DURATION_SESSION);
    tempBlob.open(BLOB.MODE_READWRITE);
    OutputStream tempBlobWriter = tempBlob.getBinaryOutputStream();// setBinaryStream(1);
    tempBlobWriter.write((byte[]) value);
    tempBlobWriter.flush();
    tempBlobWriter.close();
    tempBlob.close();
    st.setBlob(index, tempBlob);
    } else {
    st.setBlob(index, BLOB.empty_lob());
    } catch (Exception exp) {
    if (tempBlob != null) {
    tempBlob.freeTemporary();
    exp.printStackTrace();
    st.setBlob(index, BLOB.empty_lob());
    // throw new RuntimeException();
    } finally {
    if (wc != null) {
    wc.close();
    public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws HibernateException, SQLException {
    final Blob blob = rs.getBlob(names[0]);
    return blob != null ? blob.getBytes(1, (int) blob.length()) : null;
    public Object deepCopy(Object value) {
    if (value == null)
    return null;
    byte[] bytes = (byte[]) value;
    byte[] result = new byte[bytes.length];
    System.arraycopy(bytes, 0, result, 0, bytes.length);
    return result;
    public boolean isMutable() {
    return true;
    public Object assemble(Serializable arg0, Object arg1) throws HibernateException {
    return assemble(arg0, arg1);
    public Serializable disassemble(Object arg0) throws HibernateException {
    return disassemble(arg0);
    public int hashCode(Object arg0) throws HibernateException {
    return hashCode();
    public Object replace(Object arg0, Object arg1, Object arg2) throws HibernateException {
    return replace(arg0, arg1, arg2);
    =================================================================
    can anyone give me the source code for this BinaryBlobType.java according to mysql blob handling ..

    Moderator action: crosspost deleted.

  • I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one made AFTER the lost data. How can I access an older backup from the cloud?

    I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one it made AFTER the lost data. How can I access an older backup from the cloud?

    Why don't you talk to apple and find out if backup exists? That conversation with apple will stop your guessing.

Maybe you are looking for

  • Error when I "Update Vault Path..."

    I have had some lingering problems with my Aperture library that I am just getting around to addressing. One is that I need to back up to my vault, but it is not letting me do so. When I hit the little (red) refresh button on the bottom of my window,

  • Power mac G5 dual, startup and fan problem

    Dear macpeople, I have a Power mac G5 dual, 1.8 ghz, ramm 4.5GB. I guess from 2004. Only added more Ram three years ago. Never had any serious problem till a week ago. I have read a lot of similar questions and responses on my problem in this forum b

  • IDOC Runtime error TIME_OUT has occurred

    Dears,           We are having a Machine to Machine Order interface, where huge volume of order files are being sent to SAP from legacy system through XML files which PI interface converts as Inbound IDOCs. The issue we are facing here is : when huge

  • Check Points we should check before closing the shipment

    Hi Guys What all the check  points we should check before closing the shipment. Thanks in advance SAP MM

  • Testing Variant Configuration

    Hi, Can anybody provide me the information on how testing of Variant Configuration can be done?