compress the blob column to save space on the server

Hi friends,

I have a problem with the blob column, in the oracle 11.2.0.4 on aix Server database

I have a table with a blob of column (containing a jpg file). This table is in a tablespace of 300 GB and storage space is full. There is no space on the server (asm).

I need to load the jpg more in this table, but there is no space.

I've read a few articles on tha compress blob type column, but I'm not sure what I should do.

Is it possible to compress the blob column without going to a different tablespace (because the server has no more space to create a new one).

The table and column have been created in a traditional way.

Please, advice?

Best regards

Dbape.

But this method requires add-on EA "Adv. Compression" ($$$).

OP he wanted to compress .jpg files.

BUDOKAI

It is not possible.

the .jpg files are already compressed.

IIRC (of my Compression Adv. test) - SecureFile "knows best" and will not try to compress BLOBs identified as JPGs or any other known formats of files (such as .zip files)

In other words - SecureFile is not the OP no good for the type of data, it is try to compress them.

Are the only solutions that the OP has to enable it to store more JPG images

  • get rid of the old pictures
  • Add more disks
  • resize images (ordimage)
  • recompress the image by reducing the quality as long as the resulting image is unusable (ordimage)

MK

Tags: Database

Similar Questions

  • I unwittingly compressed my hard drive to save space. I didn't know that it starts not after that.

    * Original title: Windows Vista, version 1996

    I unwittingly compressed my hard drive to save space. I didn't know that it starts not after that. Restarting the PC, how can I unpack my hard drive to allow it to boot this drive?

    UM Vista came out in 2007, so there is no version of 1996.  If you have the Vista DVD, you can start since that launch a command prompt and run the command to unpack here.

    It's been almost a decade I ran Vista and I do not know the command to compress (or decompress) from a prompt command in Vista

    It should be the same for vista

    https://TechNet.Microsoft.com/en-us/library/bb490884.aspx?f=255&MSPPError=-2147217396

  • Outlook Express wants to save disk space by compressing the messeges, but I've never used. Why have my messeges?

    I have Windows XP Pro and I use a hotmail account that is now Outlook.  I understand that.  I've never used Outlook Express.  When I turn on my computer, I get the message that save space disc can compress old files that it could take some time.  Even if they do not have my messeges, I would like to know how to uninstall it if it takes all of my disk space required on my old computer junkie.  I know that if I log in as an administrator, I can disable access to outlook express, but it is still in place?  This brings me to the question of the cleaning disc. In the cleaning disc, it says that compress files will not remove them.  Is that mean they cannot be deleted?  If this is the case, then will I not compress them?  Should I compress them before as I have remove access to Outlook Express as an administrator?  Thank you.

    The prompt for Compact messages is indicated after 100 closures of OE. But as you use it, something else is causing the registry counter display the prompt. My guess is that you should look for Windows installed.
     
    You must tell Windows Search to stop indexing OE.
     
    In the control panel. Indexing Options. Change. Clear the check box for Outlook Express.

     
    If you get the prompt again, let compact to reset the counter. It will not affect your Hotmail/Outlook account and messages. In addition, nothing is too much space. It's just a false alarm.
     
    P.S. The removal of access keeps the prompt to appear.
     
     
  • Interactive report will not save the BLOB column attributes

    I created several interactive reports with the 4.0 and 4.1 which had columns of type BLOB with no problems and the download link worked fine. After 4.2 update, interactive reports get the following error when you click on the download link:
    Not found
    The requested URL /apex/apex_util.get_blob was not found on this server

    If I open the edit page of the report, the BLOB downloads very well. When I looked at the report in detail the attributes of the BLOB column, I noticed that the BLOB column attributes had not been met. I tried several times to fill in (name of the Table column name, Primary Key, MIMETYPE, etc), but after applying changes and reopen the attributes page for the blob column, the values, that I entered is not saved.
    For completeness, here is the select statement for the report:
    Select "DESC_ATT_ID."
    "BR_ID,"
    "FILENAME."
    "MIME TYPE"
    DBMS_LOB. GetLength ("DESC_ATTACHMENT") 'DESC_ATTACHMENT '.
    of ' #OWNER # '. " ALTEC_BR_DESC_ATT ".
    WHERE BR_ID =: P3_BR_ID

    Also, here is the value for the number/Date of the BLOB column format:
    DOWNLOAD: ALTEC_BR_DESC_ATT:DESC_ATTACHMENT:DESC_ATT_ID

    Can someone tell me please in the right direction to get the link to the interactive report work correctly?
    Thank you very much
    Jerry

    Hello
    How about you, you do not format BLOB column, do you it manually like this example here:

    Apex. Oracle.com
    workspace: somefeto
    user: test
    PWD: test
    Application 63066

    in the same workspace, there is Sample File Upload and Download (App ID 10540), and it works very well...

    If not, Pls, reproduce the problem on apex.oracle.com

    Best regards
    Fateh
    ------
    If you believe that my answer is correct or helpful to you pls, then mark the reply as useful or correct

  • How can I me favorites to open directly under the folder on the side bar to save space of width?

    Just reset Firefox (latest version) as she was spinning slowly, now much better, but I had customized the bookmarks bar so that everything (folders, bookmarks) opened directly below the other rather than a step to the right. It saves space. This customization is gone and I can't find how I did as there has been a response somewhere at least a couple of years. Help, please. Thank you

    You can use the Stylish extension for easier access to the customization files.

  • I have stored more than 120 bookmarks and deleted the names to save space in the quick bookmark bar. Therefore, since the Bard got full, if a bookmark or folder had desciptive text next to it, the text would collapse until just the icon shows. I have

    I have stored more than 120 bookmarks and deleted the names to save space in the quick bookmark bar. Therefore, since the Bard got full, if a bookmark or folder had desciptive text next to it, the text would collapse until just the icon shows. If I hover over the icon, the test appears again. These days, I found easier to rank my favorites in folders, HOWEVER, I do not know which folder is because the text next to the icons folder remains reduced until I have pass the mouse on them. I want to customize it so that the text is fixed next to the icon or folder. How can I do this? Please help and thank you!

    Incredible bookmarks try: https://addons.mozilla.org/firefox/addon/50722

  • After you import an image (.jpeg) file for the Photos on my Mac app, can I safely delete this image file to save space on my hard drive?

    After you import an image (.jpeg) file for the Photos on my Mac app, can I safely delete this image file to save space on my hard drive?

    Yes, you can remove the file from the imported image, if you have imported the image as managed.  IE preferences in ave Photos settled on "import: copy items to the photo library" being the default.

  • Lost emails after you are prompted to compact the account to save space

    original title: Aargh! Lost emails!

    I hope this is the right forum - cannot find a specific to Outlook Express, my mail server.
    I was asked recently to compact my emails, to save space and did.
    Apparently, I did not notice a check mark which allowed the removal of the most recent messages.
    Now, I've lost all those received & sent during the last 3 months. The before and after April-May are always accessible.
    So, how can I put on the recovery of the missing 3 months?
    Jump44

    1. Surprise! This is the right forum.
    2. Outlook Express is an e-mail client. Your e-mail server is where OE downloads the message of.
    3. There is no checkbox that allows the removal of e-mail.
     
    Two reasons the most common for what you describe is disruption of the compacting process, (never touch anything until it's finished), or bloated folders. More about that below.
     
    Why OE insists on compacting folders when I close it? :
    http://www.insideoe.com/FAQs/why.htm#compact
     
    Why mail disappears:
    http://www.insideoe.com/problems/bugs.htm#mailgone
     
    Recovery methods:
     
    If you are running XP/SP3, then you should have a backup of your dbx files in the Recycle Bin (or possibly the message store), copied as bak files.
     
    To restore a folder bak on the message store folder, first find the location of the message store.
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, the .dbx files are by default marked as hidden. To view these files in the Solution Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder options | View.
     
    Close OE and in Windows Explorer, click on the dbx to the file missing or empty file, then drag it to the desktop. It can be deleted later once you have successfully restored the bak file. Minimize the message store.
     
    Open OE and, if the folder is missing, create a folder with the * exact * same name as the bak file you want to restore but without the .bak. For example: If the file is Saved.bak, the new folder should be named saved. Open the new folder, and then close OE. If the folder is there, but just empty, continue to the next step.
     
    First of all, check if there is a bak file already in the message. If there is, and you have removed the dbx file, go ahead and rename it in dbx.
     
    If it is not already in the message, open the trash and do a right-click on the file bak for the folder in question and click on restore. Open the message store up and replace the .bak by .dbx file extension. Close the message store and open OE. Messages must be in the folder.
     
    If messages are restored successfully, you can go ahead and delete the old dbx file that you moved to the desktop.
     
    If you have not then bak copies of your dbx files in the Recycle Bin:
     
    DBXpress run in extract disc Mode is the best chance to recover messages:
    http://www.oehelp.com/DBXpress/default.aspx
     
    And see:

    http://www.oehelp.com/OETips.aspx#4
     
     
     
    A general warning to help avoid this in the future:
     
    Do not archive mail in default OE folders. They finally are damaged. Create your own folders defined by the user for mail storage and move your mail to them. Empty the deleted items folder regularly. Keep user created folders under 300 MB, and also empty as is possible to default folders.
     
    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:

    http://www.oehelp.com/OETips.aspx#3 
     
    And backup often.
     
    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx  
  • help for 'compress drive c to save space' [or another similar term]. I continue to experience an error trying to post here, so please bear with me [frustrated!]

    recently, I tried to win more space for my drive almost full c.  somehow, I came across an option to compress the drive.  He showed that he would take an extremely long time, so after I started, I thought that I have would end at a later date.  Well, I have been unable to get back to where I left off-in fact, I can't for the life of find me.  all the research developed '0 results '.  help and support has been no help - I'm so frustrated that I don't know what to do!  can anyone help?  PLEASE?  I'm not computer illiterate by any stretch of the imagination, but am out of resources here...

    First thing first: DO NOT compress any drive.

    Here's a tutorial for you to shoes:
    1 disk cleanup (from step #1 to #11)
    2 remove all except the most recent restore points (starting from step #12).

    http://www.Vistax64.com/tutorials/76073-disk-cleanup.html

    That must be restored a lot of disk space fpr you.

    t-4-2

  • What that means to compress or encrypt attributed to save on disk space? CC = us

    Model No.: CQ5210FProduct #: NY540AA-ABASerial #: {removed privacy} software Build #: 94NAv6PrA2Service ID #: 120-809PCBRAND: Presario

    What that means to compress or encrypt attributed to save on disk space? CC = us

    I'm trying to burn all video files to my picture on a dvdr

    SassyMe
    This widget could not be displayed.
  • Need help to save space on the laptop; question related to enforcement of a Anthony

    I am trying to save space on my drive of the laptop and looked at my download folder and "Odile" application takes 118 MB

    I want to know if it's ok to delete it or whatever it is that will affect

    Thank you

    Original title: download Odile

    I am trying to save space on my drive of the laptop and looked at my download folder and "Odile" application takes 118 MB

    I want to know if it's ok to delete it or whatever it is that will affect

    Thank you

    Hello

    118MBs is a minimal amount of space on a hard drive and even if deleted will make no difference to your disk space issue.

    This free program allows you to see what is taking place.

    http://www.Jam-software.com/treesize_free/

    Here's how to understand Treesize Screenshots:

    http://www.Jam-software.com/treesize_free/screenshots.shtml

    ____________________________________

    Also check how much space system restore uses:

    http://Windows.Microsoft.com/en-us/Windows7/how-much-disk-space-does-System-Restore-require

    _____________________________________

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    _____________________________________

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And Norton Backup, if you are using Norton, can do strange things with filling of hard drive space.

    See you soon.

  • Update the Blob column by replacing a string...

    Hello

    I have a table T1 with a (large binary BLOB) column, I need (you) to update the Blob string with replacement of a chain (in the Blob) with another string.

    The update failed: ORA-00933: not correctly completed SQL command

    CREATE table T1

    (

       ID                   NOMBRE (12)           PAS NULL,

    DELIVERY_CONTENT BLOB ,

    )

    Update   T1 The VALUE DELIVERY_CONTENT = LOB_UTL_PCKG . BLOBREPLACE ()DELIVERY_CONTENT 'old_string' 'new_string'( )

    WHERE ID in (...)

    ORA-00933: SQL not correctly completed command

    I use a function LOB_UTL_PCKG . BLOBREPLACE starting from this package

    CREATE OR REPLACE PACKAGE LOB_UTL_PCKG

    IS

    FUNCTION BLOBREPLACE ()p_blob BLOB p_what VARCHAR2 p_with_what VARCHAR2() RETURN BLOB

    FUNCTION BLOB2CLOB (p_blob BLOB) RETURN CLOB ;

    FUNCTION CLOB2BLOB (p_clob CLOB) RETURN BLOB ;

    END;

    /

    CREATE OR REPLACE PACKAGE BODY LOB_UTL_PCKG

    IS

    FUNCTION BLOBREPLACE ()p_blob BLOB p_what VARCHAR2 p_with_what VARCHAR2()RETURN BLOB 

    IS

    START

    RETURN CLOB2BLOB () REPLACE (BLOB2CLOB()p_blob), p_what p_with_what( ) );

    END BLOBREPLACE ;

    ------------------------------ BLOB2CLOB -------------------------

    FUNCTION BLOB2CLOB (p_blob in BLOB) RETURN CLOB

    IS

       v_clob     CLOB ;

    dest_offset INTEGER := 1 ;

    offset INTEGER := 1 ;

    lang_context INTEGER := DBMS_LOB. DEFAULT_LANG_CTX;

    warning INTEGER ;

    START

    DBMS_LOB. CREATETEMPORARY ( ) v_clob TRUE );

    DBMS_LOB. CONVERTTOCLOB( )

    v_clob ,

    p_blob ,

    DBMS_LOB. LOBMAXSIZE,

    dest_offset ,

    offset ,

    DBMS_LOB. DEFAULT_CSID,

    lang_context ,

    warning

    );

    RETURN v_clob ;

    END BLOB2CLOB ;

    ------------------------------ CLOB2BLOB -------------------------

    FUNCTION CLOB2BLOB (p_clob CLOB) RETURN BLOB

    ACE

       l_blob     BLOB ;

    l_dest_offset INTEGER := 1 ;

    l_source_offset INTEGER := 1 ;

    l_warning INTEGER ;

    lang_context INTEGER := DBMS_LOB. DEFAULT_LANG_CTX;

    START

    DBMS_LOB. CREATETEMPORARY()l_blob TRUE);

    DBMS_LOB. CONVERTTOBLOB( )

    l_blob ,

    p_clob ,

    DBMS_LOB. LOBMAXSIZE,

    l_dest_offset ,

    l_source_offset ,

    DBMS_LOB. DEFAULT_CSID,

    lang_context ,

    l_warning

    );

    RETURN l_blob ;

    END CLOB2BLOB ;

    END;

    /

    Concerning

    Djam

    It works well for me.

    Update T1 SET DELIVERY_CONTENT is LOB_UTL_PCKG. BLOBREPLACE (DELIVERY_CONTENT, 'old_string', 'new_string')

    Where IDSQL > 2 = 1;

    0 lines to date.

  • Prepare a document to insert a row that contains the Blob column. Is what sense this correct?

    When we prepare the statement to insert a row that contains the Blob column. Is what sense this correct? And what is the difference? Does anyone know?

    1 Preparestatement.setBlob(parameter number, blob type object)

    2 Preparestatement.setBlob(parameter number, inputstream type object)

    This link shows the test I did.

    https://community.Oracle.com/thread/3680185?SR=Inbox & customTheme = OTN

    When we prepare the statement to insert a row that contains the Blob column. Is what sense this correct? And what is the difference? Anyone know?

    1 Preparestatement.setBlob(parameter number, blob type object)

    2 Preparestatement.setBlob(parameter number, inputstream type object)

    I answered in your other thread and provided a link to the JDBC Dev Guide section, which explains how to work with type LOB and BFILE data.

    Have you read this article from doc?

    Did you read my response to your other thread?

    In java, a BLOB is just the index that gives you access to the content. In your case, you access by selecting a locator BLOB existing and getting his inputstream. This inputstream is what allows you to access the content real blob.

    The Locator is just that; It specifies the LOCATION of the blob content, but NOT the content.

  • How to select the csv data stored in a BLOB column as if it were an external table?

    Hi all

    (Happy to be back after a while! )

    Currently I am working on a site where users should be able to load the data of csv (comma is the separator) of their client machines (APEX 3.2 application) in the Oracle 11.2.0.4.0 EE database.

    My problem is:

    I can't use an external table (for the first time in my life ) so I'm a little clueless what to do as the csv data is stored by the application of the APEX in a BLOB column, and I'm looking for an elegant way (at least SQL PL/SQL/maximization) to insert the data into the destination table (run validations by a MERGER would be the most effective way to do the job).

    I found a few examples, but I think they are too heavy and there could be a more elegant way in Oracle DB 11.2.

    Simple unit test:

    drop table CBC purge;

    drop table dst serving;

    create table src

    (myblob blob

    );

    create table dst

    (num number

    , varchar2 (6) str

    );

    Insert in src

    Select utl_raw.cast_to_raw (1; AAAAAA ;'|| Chr (10) |

    2; BATH; »

    )

    Double;

    Desired (of course) output based on the data in table SRC:

    SQL > select * DST;

    NUM STR

    ---------- ------

    1 ABDELKRIM

    2 BATH

    Does anybody know a solution for this?

    Any ideas/pointers/links/examples are welcome!

    / * WARNING: I was 'off' for about 3 months, then the Oracle - the part of my brain has become a bit "rusty and I feel it should not be so complicated as the examples I've found sofar ' * /"

    Haha, wonder about regexp is like the blind leading the blind!

    However, it's my mistake: I forgot to put the starting position setting (so 1, 2, 3,... was in fact the starting position, not the nth occurrence. duh!)

    So, it should actually be:

    select x.*
    ,      regexp_substr(x.col1, '[^;]+', 1, 1)
    ,      regexp_substr(x.col1, '[^;]+', 1, 2)
    ,      regexp_substr(x.col1, '[^;]+', 1, 3)
    ,      regexp_substr(x.col1, '[^;]+', 1, 4)
    ,      regexp_substr(x.col1, '[^;]+', 1, 5)
    ,      regexp_substr(x.col1, '[^;]+', 1, 6)
    from  src
    ,      xmltable('/a/b'
                  passing xmltype(''||replace(conv_to_clob(src.myblob), chr(10), '')||'')
                  columns
                    col1 varchar2(100) path '.') x;
    

    Note: that's assuming that all the "columns" passed in the string won't be lame.

    If one of them might be null, then:

    select x.*
    ,      regexp_substr(ltrim(x.col1, ';'), '[^;]+', 1, 1)
    ,      regexp_substr(ltrim(x.col1, ';'), '[^;]+', 1, 2)
    ,      regexp_substr(ltrim(x.col1, ';'), '[^;]+', 1, 3)
    ,      regexp_substr(ltrim(x.col1, ';'), '[^;]+', 1, 4)
    ,      regexp_substr(ltrim(x.col1, ';'), '[^;]+', 1, 5)
    ,      regexp_substr(ltrim(x.col1, ';'), '[^;]+', 1, 6)
    from   src
    ,      xmltable('/a/b'
                  passing xmltype(replace(';'||replace(conv_to_clob(src.myblob), chr(10), ';')||'', ';;', '; ;'))
                  columns
                    col1 varchar2(100) path '.') x;
    
  • How to make the image Inline source to read from database BLOB column?

    Dear all

    I have a database table that contains the BLOB column. And tif files in the BLOB column.

    Now, I want to display the value of the BLOB file in af:inlineFrame.

    I want to do this because I installed "AlternateTiff" on my browser to view tif files in the browser.

    You can download it from http://www.alternatiff.com/

    The inLine frame component has a property called 'Source '. The value of the "Source" property must be the location of the URI of the content you want to display in the example of frame.for online:

                          <f:facet name="second">
                                <af:inlineFrame id="if2" styleClass="AFStretchWidth"
                                                shortDesc="To browse the selected document" source="/temp/myFile.tif"/>
    

    now, I want to change this example to read the content of the BLOB column.

    IS this possible?

    Thanks in advance

    You must install a servlet which reads the data from the BLOB and represents the data structure.  My blog http://wp.me/pcBZk-bU shoes how to proceed.

    Timo

Maybe you are looking for

  • FF13 different behavior on the two machines home page

    FF gives different results than "Home Page" on both machines. On the desktop, I get my set (the former google/firefox one) homepage. On laptop, I have two tabs, the first of about: at home, the second is my fixed home page (the same old google/firefo

  • DV6-6053ea: Windows 8.1 for dv6-6053ea drivers

    Right now I use windows 7 and drivers, I need are only from HP that are only 2011 for windows 7. So I was wondering can I find drivers for windows 8.1 and will they work? The main problem is the graphics driver... I can only use that HP has achieved

  • KERNEL_DATA_INPAGE_ERROR message

    Recently I was away for two weeks and my system was closed all the time.  My system was working fine when I left.  No software or hardware has been added.  Nothing has changed.  When I came back, I started getting the following message with a BSOD: K

  • How can I make windows media player display on all monitors at the same time?

    Hello world I hope that you all had a great Christmas and a happy new year.  I just installed a new graphics card and now have a 3 monitor configuration, everything works fine, however, I would like the visualizations for windows media player on all

  • Home, indicators and display screen

    I use the 8820 model. my application uses display its main window. and when I opened the screen, it handles screen physical set, so his title covers the upper part of the main home screen, which contains indicators (GSM, then see the effective signal