Questions BLOB

I have a project to store huge image. Database is the best place to store data, I store them in the Oracle database as BLOB. However, my db Administrator said that it is difficult to maintain the large tables and also the table has the limitation on the size and he told me to store as a file system. My question:
1. this statement is correct?
2. are there storage question concerns huge image BLOB?

TX in advance

When the database is damaged, it cannot fix.

A DBA, it is supposed to be able to cope. ;)
Anyway, I'm certainly not the right person to get advice from (I just expressed an opinion) so it may be more appropriate to post your question in the general database Forum where a lot more DBA are active.

Concerning

Etbin

Tags: Database

Similar Questions

  • BLOB object

    It is always better to try to save the images / pdf to a file system from a database and just store a file location in the database? If the database blob works better?

    The main difference between these two approaches is transactionality.

    If we store the images (or any other file) in the database, they are managed with Oracle transaction management process. So we get read consistency, rollback and commit, workspace management, etc. Our files are backed up and restored with the rest of our data. In short, we don't have to worry about them.

    While their storage on the file system means backinbg them up separately and perhaps having inconsistencies after a restore, as redo logs tend to have many more great motto that BONES of backups. On the operating system files are accessible without having to use SQL statements; This can be a bargain (especially if you are not a developer of database) or a nightmare: it depends on the security model.

    In fact, it's a little old chestnut. The two parts are:

    (1) pirates of the database: put them in the database
    (2) server or front end Pirates: put them in the structure of the operating system files

    First door damage, if you have some lakhs or millions of files of the database will be able to cope better in ranger. UNIX has an inode limit that limits how we can put in a file directory. And have you ever tried using Windows Explorer on a filesystem that contains loads of files? Instant coffee break!

    To answer your second question: BLOB. They are binary files, why would you use anything else?

    Cheers, APC

  • Facing the question with blob url

    Hi all

    I am facing a problem with the URL of the BLOB. When I try to print with "< % = ics. GetVar ("imageUrl") % > ' print fine but when I try to store it in a string variable, its getting changed to "satellitescheme://SSURI/?". "SSURIapptype = BlobServer & id = blobkey & SSURIcontainer = Default & blobwhere = 1403298855215 & SSURIsession = false & ssbinary = true & SSURIsscontext = Server + Satellite & blobcol = urldata and blobtable MungoBlobs #satellite"

    There is no error in the log. Here is my code: -.

    < outstr render: getbloburl = "imageUrl" c =' < % = ics. GetVar ("c") % > ' cid =' < % = ics. GetVar ("cid") % > ' field = "file_req" />

    Can any body tell me what could be the reason for this.

    Kind regards

    NJ

    Use the tag

    Kind regards

    Guddu

  • Should be a simple question: How do I search for properties of the BLOB columns?

    Hi people,

    It's just out of my mind. How can I get a BLOB properties using the query?

    I have a table with a BLOB column where documents are stored. I would like to get information on the size of each BLOB content.
    SQL> desc document
    Name              Type          Nullable Default Comments 
    ----------------- ------------- -------- ------- -------- 
    OBJECT_ID         NUMBER                                  
    TIMESTAMP         DATE                   sysdate          
    TITLE             VARCHAR2(200) Y                         
    DOCUMENT_TYPE     NUMBER        Y                         
    DOCUMENT_FILENAME VARCHAR2(200) Y                         
    DOCUMENT_TEXT     BLOB          Y   
    How to find the DOCUMENT_TEXT properties (size)?

    Thank you
    Tomas
    dbms_lob.getlength(document_text)
    
  • Optical block causing a bright blue blob on screen LCD

    Has anyone tried to replace the optical block on a LCD TV themselves? I have read some other assignments of messages and it seems that's what causing the bright blue blob on my LCD TV. Status messages also Sony has stopped the program offers free replacement.

    They can be replaced/rebuilt but what I told by a tech that alignment is the real question, if replace you it yourself

  • Conversion of BLOB data in images

    Hello

    I have a sqlite .db file which consists of data in string, int, and blob data types. The data blob is made up of images. Can someone tell me how to convert the data blob in images and then display in a list field. Code snippets and tutorials will be of great help...

    Hi @rahul_kalidindi

    I've never used SQLITE so let me ask you a question first.

    You can retrieve an array of bytes of this blob?

    If so, than to simply use in Bitmap.createBitmap... method...

  • Quick Search (of BLOB)

    Company analyzes the data BLOB using BCS and he analysed all elements of sql (including binary) database to seek works perfectly. But even tried with Fast search for Sharepoint but it analyzed all items except the element binary blob and the search of content fails.

    Why the binary is not in the list analyzed?  How to solve this problem...?  Also send more information on the property managed and analyzed the property settings.

    Help please?

    Hi AnanthZJ,

    Thanks for posting your query in Microsoft Community.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer

  • ORA-22835: buffer too small for to CHAR CLOB or BLOB to RAW conversion (real: 22960, maximum: 2000)

    Hi all

    I have the underside of SQL that returns the error in question:

    WITH c_file_imp_data
             
              AS
              (select t_data.src
                from sni_ar_file_import_blob t,
                    xmltable('/a/b'
                        passing xmltype('<a><b>'||replace(UTL_RAW.CAST_TO_VARCHAR2(t.file_blob),chr(10),'</b><b>')||'</b></a>')
                        columns src varchar2(4000) path '.'
                       ) t_data  )
             
             SELECT
             -- regexp_subsr is finding the position of the x occcurrance of a tab delimitter
             -- the format mask for date is reckognizing masks without '-' e.g. 01feb2016 will work as well as 01-Feb-2016
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 1), chr(9))), --RECORD_ID
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 2), chr(9))), --BILL_TO_CUSTOMER_NUMBER,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 3), chr(9))), -- BILL_TO_LOCATION,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 4), chr(9))), -- SHIP_TO_CUSTOMER_NUMBER,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 5), chr(9))), -- SHIP_TO_LOCATION,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 6), chr(9)), -- CURRENCY,
              to_date(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 7), chr(9)),
                      'DD-MON-YYYY'), -- GL_DATE,
              to_date(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 8), chr(9)),
                      'DD-MON-YYYY'), -- TRANSACTION_DATE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 9), chr(9)), -- TRANSACTION_TYPE_NAME,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 10), chr(9)), -- TRANSACTION_SOURCE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 11), chr(9)), -- TERMS,
              to_date(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 12), chr(9)),
                      'DD-MON-YYYY'), -- DUE_DATE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 13), chr(9)), -- PAYMENT_METHOD,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 14), chr(9))), -- SALESREP_NUMBER,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 15), chr(9)), -- ITEM,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 16), chr(9)), -- DESCRIPTION,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 17), chr(9))), -- QUANTITY,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 18), chr(9))), -- UNIT_SELLING_PRICE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 19), chr(9)), -- UNIT_OF_MEASURE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 20), chr(9)), -- WAREHOUSE,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 21), chr(9))), -- TAX_RATE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 22), chr(9)), -- TAX_CODE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 23), chr(9)), -- GL_ACCOUNT_STRING,
              to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 24), chr(9))), -- CURRENCY_EXCHANGE_RATE,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 25), chr(9)), -- LINE_TRX_DFF_CONTEXT_VAL,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 26), chr(9)), -- LINE_TRANSACTION_FIELD1,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 27), chr(9)), -- LINE_TRANSACTION_FIELD2,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 28), chr(9)), -- LINE_TRANSACTION_FIELD3,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 29), chr(9)), -- LINE_TRANSACTION_FIELD4,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 30), chr(9)), -- LINE_TRANSACTION_FIELD5,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 31), chr(9)), -- LINE_TRANSACTION_FIELD6,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 32), chr(9)), -- LINE_TRANSACTION_FIELD7,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 33), chr(9)), -- LINE_TRANSACTION_FIELD8,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 34), chr(9)), -- LINE_TRANSACTION_FIELD9,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 35), chr(9)), -- LINE_TRANSACTION_FIELD10,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 36), chr(9)), -- LINE_TRANSACTION_FIELD11,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 37), chr(9)), -- LINE_TRANSACTION_FIELD12,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 38), chr(9)), -- LINE_TRANSACTION_FIELD13,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 39), chr(9)), -- LINE_TRANSACTION_FIELD14,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 40), chr(9)), -- LINE_TRANSACTION_FIELD15,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 41), chr(9)), -- INV_LINE_INFO_DFF_CONT_VAL,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 42), chr(9)), -- NO_ANIMALS,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 43), chr(9)), -- MX_WEIGHT,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 44), chr(9)), -- MX_SLAUGHTER,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 45), chr(9)), -- REBILLED,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 46), chr(9)), -- NON_STAT,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 47), chr(9)), -- ATTRIBUTE12,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 48), chr(9)), -- ATTRIBUTE13,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 49), chr(9)), -- ATTRIBUTE14,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 50), chr(9)), -- ATTRIBUTE15,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 51), chr(9)), -- ATTRIBUTE8,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 52), chr(9)), -- ATTRIBUTE11,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 53), chr(9)), -- ATTRIBUTE2,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 54), chr(9)), -- ATTRIBUTE3,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 55), chr(9)), -- ATTRIBUTE4,
              rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 56), chr(9)) -- ATTRIBUTE9
                      
               FROM c_file_imp_data
               ;
    
    
    
    
    
    

    The sni_ar_file_import_blob of source table has the FILE_BLOB column as blob data type. The data inside the tab delimeted and as we can see above the limit.

    Is anyone know anything how to get this data and select as stated above?

    Oracle version: 12 c

    Kind regards

    Alex

    Hello

    You must use dbms_lob.writeappend

    Here is an example here:

    https://Doganay.WordPress.com/2016/02/10/BLOB-to-CLOB/

  • BLOB type column

    Hi Master,

    In my application, I have a blob column, when I used in my select query, it takes a full table scan. How to avoid FTS? Please notify

    Concerning

    AR

    FTS are not so bad... FTS is chosen by the optimizer based on many factors... (more often if the table is very small, then FTS is preferred to the scan restricted index...)

    Coming to your question... Provide more information about the query you have, the objects involved, the oracle version, etc... What information do you keep in the BLOB column (data e.g. HTML or PDF or huge XML etc...)

    You can also check the below input (goto documentation of oracle to find more information about this)

    CONTEXT index

    See you soon,.

    Manik.

  • BLOB Clean up

    Oracle 12 c

    OS Linux.

    As I understand it, in what concerns the storage of BLOB (such as image files or audio) data, only the reference to the BLOB is stored in the table, while the data itself is stored outside the table, somewhere in the file system of the server.  Is this correct?  If so, then I have a few questions:


    (1) pourraient all those related to the view of database or change the BLOB data directly?  This will pose a real risk to safety?


    (2) the issue of removal:

    When I run the "removal of the TABLE where row_id = 12345" command, will be the reference and the BLOB data deleted from the system, OR, that the reference will be removed, while the BLOB data will be left behind and I run scripts of cleaning using cron or some other tool of periodic planning?




    Thank you


    Scott

    958303 wrote:

    Oracle 12 c

    OS Linux.

    As I understand it, in what concerns the storage of BLOB (such as image files or audio) data, only the reference to the BLOB is stored in the table, while the data itself is stored outside the table, somewhere in the file system of the server.  Is this correct?  If so, then I have a few questions:

    (1) pourraient all those related to the view of database or change the BLOB data directly?  This will pose a real risk to safety?

    (2) the issue of removal:

    When I run the "removal of the TABLE where row_id = 12345" command, will be the reference and the BLOB data deleted from the system, OR, that the reference will be removed, while the BLOB data will be left behind, and I need to run the scripts of cleaning using cron or another recurring planning tool?

    Thank you

    Scott

    https://docs.Oracle.com/database/121/ADLOB/adlob_smart.htm#ADLOB4444

    BLOBs are stored in the database (still technically on disk, but not in the sense I think mean you in your question).

    BFILE is stored on the file system (the database stores a pointer to the file).

    https://docs.Oracle.com/database/121/SQLRF/sql_elements001.htm#SQLRF0021

    "

    LOB (large Object) data types

    Integrated LOB data types BLOB , CLOB , and NCLOB (stored internally) and BFILE (stored externally) can store large and structured data such as text, image, video, and data space. The size of BLOB , CLOB , and NCLOB data can be up to (232-1 bytes) * (the value of the CHUNK parameter of LOB storage). Storage in your database are standard block size, so if you have used the value by default to the CHUNK LOB storage parameter when you create a LOB column, then this is equivalent to (232-1 bytes) * (database block size). BFILE data can be up to 264-1 bytes, even if your operating system may impose restrictions on the maximum.

    "

    See you soon,.

  • Javascript DB BLOB...

    Hello

    In my APEX App, I have an img src = BASE64 tag in the html code, the data comes from an external source on a web socket.

    him will look like, the base64 string is of course much longer, even larger than 32K.

    < img id = "video" width = "400" src = "data: image / Jpeg;" Base64, / 9j/4AAQSkZJRg >

    Question: I have a table with a column of type BLOB and I want just store this img src in this blob. How do I do that with APEX? I tried first with a CLOB approach, but it does not work as the limit is 32K and also a CLOB BLOB conversion is not really what I want. I need to have the right of the image in the database as a BLOB.

    I hope someone can help me with this,

    Best regards

    Sebastian

    Hi SebastianScholz,

    SebastianScholz wrote:

    Thanks for the response - I think I need to re - explain what I want to do and what my situation is.

    I have an APEX application where images are created on the javascript side. (via external hardware websockets)  So what I got is a page in the apex and javascript code that creates a container with CBC affect some base64 image.

    Now what I want to do is to store this image in the database and I absolutely do not know how to do it. So I need to know how can I submit an image big encoded in base64 in a blob column. \

    As you use websockets to read your image, you can use what Tom Petrus suggested above to create apex_collection of raw bytes, stick on the CLOB type and convert CLOB BLOB and write it into the database BLOB column.

    Reference: https://emoracle.wordpress.com/2012/04/11/using-websockets-in-apex-for-automatic-refresh-with-nodejs/

    The blog above is just for reference on the use of websockets with Oracle APEX.

    The second option is: you can use Nodejs with node-oracledb - Oracle for Node.js database driver and directly push pieces of binary image file read of websocket to the BLOB of your table column.

    Reference: https://jsao.io/2015/03/throttled-file-loading-with-node-js-oracle-database/

    Third option: you can use the RESTful Web Services with AJAX to send the read piece of websocket to BLOB column in DB.

    Reference: Kris blog: file chunked loading with APEX earphone + HTML5

    Kind regards

    Kiran

  • Send the POST request with BLOB content

    Hello

    I usually use the following structure to send the POST request with content of varchar2 and numbers

          content := '{"Original File Name":"'||V_HOMEBANNER_1_EN_NAME(indx)||'"}';
         url := 'https://api.appery.io/rest/1/db/Names'; 
          req     := utl_http.begin_request(url, 'POST',' HTTP/1.1');
          UTL_HTTP.set_header(req, 'X-Appery-Database-Id', '5f2dac54b02cc6402dbe');
          utl_http.set_header(req, 'content-type', 'application/json');
          UTL_HTTP.set_header(req, 'X-Appery-Session-Token', sessionToken);
          utl_http.set_header(req, 'Content-Length', LENGTH(content));
          utl_http.write_text(req, content);
          res := utl_http.get_response(req);
    
    
    BEGIN
      LOOP
        utl_http.read_line(res, buffer);
      END LOOP;
      utl_http.end_response(res);
    EXCEPTION
    WHEN utl_http.end_of_body THEN
      utl_http.end_response(res);
    END;
    

    And it works very well. However, now I want to send/download (jpg image) files a blob in a MongoDB collection called "Files" (so url: = ttps://api.appery.io/rest/1/db/files). The guide of the collection is the next loop as a general advice:

    curl -X POST \
      -H "X-Appery-Database-Id: 5f2dac54b02cc6402dbe" \
      -H "X-Appery-Session-Token: <session_token>" \
      -H "Content-Type: <content_type>" \
      --data-binary '<file_content>' \
      https://api.appery.io/rest/1/db/files/<file_name>
    

    But I couldn't translate this curvature in PL/SQL query. Specifically, the part (-given binary '< file_content >")

    I have these BLOB files in an Oracle table, and they are stored with their names as follows:

    File_name File_content
    PIC_1.jpgBLOB OBJECT
    PIC_2.jpgBLOB OBJECT
    PIC_3.jpgBLOB OBJECT

    My question, how to download these images in the target URL?

    After a few hours I spent on it, I got it working. My solutions is inspired by this http://blog.optiosys.com/?p=246

    Since you must send you no the (same) CLOB and BLOB files, you need just need to replace .write_text by .write_raw.

    Here is my part of work for your reference:

    content: = V_HOMEBANNER_1_EN (indx);    -blob

    file_name: = 'test.jpg ';

    URL: = "https://api.appery.io/rest/1/db/files/": file_name;

    Req: = utl_http.begin_request (url, 'POST', ' HTTP/1.1');

    Utl_http.set_header (req, 'X-Appery-database - Id', '53fae4b02cc4021dbe');

    Utl_http.set_header (req, 'X-Appery-Session-token', sessionToken);

    Utl_http.set_header (req, "content-type', ' image/jpeg");

    req_length: = DBMS_LOB.getlength (CONTENT);

    DBMS_OUTPUT. Put_line (req_length);

    -IF YOU LIMIT THE DATA UNDER 32KB MSG:

    IF req_length<=>

    THEN

    Start

    Utl_http.set_header (req, "Content-Length", req_length);

    Utl_http.write_raw (req, content);

    exception

    while others then

    DBMS_OUTPUT. Put_line (SQLERRM);

    end;

    -IF MSG DATA MORE THAN 32 KB

    ELSIF req_length > 32767

    THEN

    BEGIN

    DBMS_OUTPUT. Put_line (req_length);

    Utl_http.set_header (req, "Transfer-Encoding", "Chunked");

    While (offset<>

    LOOP

    DBMS_LOB. Read (content, amount, offset, buffer);

    Utl_http.write_raw (req, buffer);

    offset: = offset + amount;

    END LOOP;

    exception

    while others then

    DBMS_OUTPUT. Put_line (SQLERRM);

    end;

    END IF;

    l_http_response: = UTL_HTTP.get_response (req);

    Utl_http.READ_TEXT (l_http_response, response_body, 32767);

    Utl_http.end_response (l_http_response);

    I hope this helps. Good luck

  • When you insert a blob field which way is correct? (Transferred to another forum: jdbc)

    When we prepare a paper for the insertion of a row that contains the blob column. Is what sense this correct? And what is the difference?

    1 preparestatement.setblob(parameter number, blob type object)

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

    Anyone know?

    When we prepare a paper for the insertion of a row that contains the blob column. Is what sense this correct? And what is the difference?

    1 preparestatement.setblob(parameter number, blob type object)

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

    As suggested, you should post this question in the JDBC forum.

    Java Database Connectivity (JDBC)

    Before posting it see Chapter 14, "Working with LOBs and BFILE" in the JDBC Developer's Guide

    http://docs.Oracle.com/CD/B28359_01/Java.111/b31224/oralob.htm

    This chapter shows how to do what you are trying to do you and has the code example.

    Also for a character BLOB series are obsolete, since there is NO conversion is performed.

    With LOBs, you will need to first obtain a locator. Do you it by introducing a row first, and then ask Oracle returns the Locator for the LOB column. Then you can transfer the data using this index.

    The doc explain it.

  • Extract GG generates a considerable track when number of blob files wide of transfers

    Hello experts

    GG, workplace we tried to transfer the blob wide about 400 MB - extracted began to generate a huge number of trail files(thousands files) with no error message.

    We played with the trail file size - has increased up to 1 GB, but the result was same.

    Can help you with this question?

    Hope that this problem is known

    Thanks in advance

    Vladimir

    If you use dbms_lob.write procedure and entry into small pieces then each call to dbms_log.write () creates an update causing a large trail.

    You can solve the problem by writing to a temporary blob and then copy this blob in the actual blob column

    Thank you

    REDA

  • Classic report SQL with BLOB column not refreshing with jQuery Trigger Apexrefresh call

    Hello

    Really hoping that someone can help me, but for some reason that I try to report updated in dynamic Action to help:

    jQuery('#my-report').trigger('apexrefresh');

    on a simple SQL query report classic. I have used this many times on other parts of the report but the only difference with the report region where it is not refreshing, is that the table contains a BLOB column as it is essentially a report of downloaded files that users have made to the page by using the file browse.

    Would really appreciate help with that basically, I don't want to perform a full page refresh, because it currently operates.

    It has to do with the fact that this report is the question about a BLOB column, which is a link to the uploaded file?

    Thank you.

    Tony.

    Hello

    Check this area of report model have id.
    You should have id = "" #REGION_STATIC_ID # "in the model of the region"

    Make sure you have correctly write the id of the report in JavaScript. JavaScript is case-sensitive

    Kind regards
    Jari

Maybe you are looking for