The size limit of the OCI LOB Array Insert is 64K for one field?

I have a table with 4 field, and one is BLOB field. I want to insert 16 rows in one OCIStmtExecute. I know I can specify the iter parameter with 16 to execute sql 16 times.
I found example in "Application Developer's Guide - Large Objects" in page "Data Interface for Persistent LOBs 13-17", there is a example function called "array_insert". It shows the usage of OCIBindArrayOfStruct, but can only insert LOB with same size, the LOB field of each row filled with the same size data.
But I have to insert LOB with different size, for example 8K for row 1, and 16K for row 2, 128K for row 3. Than I find the alenp parameter of OCIBindByName/OCIBindByPos. It is "pointer to array of actual lengths of array elements."(OCI document). So I think I find the solution for my problem. But the type of alenp parameter is ub2*, is it means I can only insert 64K data for each row in my array insert? It is too small, I hope I can array insert BLOB with 16M each row.
Or there is any other solution for my problem? I look forward to it for a long time! thanks every one!

It is called Data Interface to work with LOB datatypes by APIs designed for use with legacy datatypes. I can specify SQLT_BIN to bind memory binary data to BLOB column, and INSERT or UPDATE directly. It can be without LOB locator and save round-trip to the server. This is very fit my needs, because I have to insert very much BLOBs to server as soon as possible.
I have make a test program, and multi-row with different size blob( less than 65536 bytes) can be insert at one time, without locators. Multi-row wiht same size blob( more than 64K) also can be insert at one time--the alenp parameter is not used. I only can not insert multi-row with different size blob( more than 64k) because the type of alenp is ub2*.
thank you for your reply!

Similar Messages

  • Exchange 2010 SP2 RU2 - Indexing backlog reached a critical limit of 48 hours or the number of items in the retry queue is greater than 10000 for one or more databases

    We have been getting intermittent SCOM alarms for our Exchange 2010 MBX server citing "Indexing backlog reached a critical limit of 48 hours or the number of items in the retry queue is greater than 10000 for one or more databases"
    I see events in EventViewer that SCOM is triggering on, but not whats generating the events or how else to test for them.
        get-eventlog -computername SERVERNAME -logname "Application" -after "03/14/2013" | ?{$_.eventid -eq "5604"} | select MachineName,EventID,EntryType,Message | ft -autosize
    One MS Forum post online says it is a bug in RU4, unclear if it may also be a bug in RU2 (our installed version).
        http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/9dcb3011-9327-4935-9479-62b38a6ddd87
        "I was looking for the same error and found this.. it basically says that this is a bug in RU4 and RU4-v2...and it needs to be removed."
    tests using troubleshooting scripts find no issues with search indexer,
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>.\Troubleshoot-CI.ps1
        Get-EventLog : No matches found
        At C:\Program Files\Microsoft\Exchange Server\V14\scripts\CITSLibrary.ps1:622 char:40
        + $msftesqlCrashes = get-eventlog <<<< -computername $Server -after $StartTime -logname "Application" -source $msftesqlServiceName | where {$_.eventId
        -eq $msftesqlCrashEventId}
            + CategoryInfo : ObjectNotFound: (:) [Get-EventLog], ArgumentException
            + FullyQualifiedErrorId : GetEventLogNoEntriesFound,Microsoft.PowerShell.Commands.GetEventLogCommand
        Name IsDeadLocked CatalogStatusArray
        SERVERNAME False {DATABASENAME\SERVERNAME, DATABASENAME\S...
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>
    and tests against searches on each DB themselves show no issues and respond typically within 3 seconds.
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>Test-ExchangeSearch | ft Server, Database, ServerGuid, ResultFound, SearchTimeInSeconds, Error -AutoSize
        Server Database ServerGuid ResultFound SearchTimeInSeconds Error
        SERVERNAME DATABASENAME b16e3461-257c-40dd-a9ad-99a5f41a927e True 2.937
    I also tried to check the Performance Viewer for the MSExchange Search Indexer and MXExchange Search Indices but am unsure which of the many metrics would indicate this issue.
    We have had no reports of search issues from our users and have been unable to duplicate any impairment in our testing.
    Does anyone else have any suggestions for tests to check or steps to take on this alert? Is it simply a false alarm or a timeout of other sorts during testing? We have 80 DAGs on this server (as well as all our servers, some of which have also reported the
    same alert) and the Test-ExchangeSearch command times out before completely testing all DAGs.

    Hi IAMChrisL,
    Any updates?
    Frank Wang
    TechNet Community Support

  • How to delete the row in table control with respect to one field in module pool programming?

    Hi,
    Can I know the way to delete the row in table control with respect to one field in module pool programming
    Regards
    Darshan MS

    HI,
    I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
    I have written this code,
    module USER_COMMAND_9000 input.
    DATA OK_CODE TYPE SY-UCOMM.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE.
         WHEN 'DELETE'.
            LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
                APPEND LS_SOURCE TO LT_RESTORE.
                DELETE TABLE LT_SOURCE FROM LS_SOURCE.
                SOURCE-LINES = SOURCE-LINES - 1.
            ENDLOOP.
    But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
    So I thought of doing with respect to the field.

  • HT204088 An album downloaded twice on my iTunes and I'm charged twice for the album.  I want a refund for one of the charges.

    An album downloaded twice on my iTunes and I'm charged twice for the album.  I want a refund for one of the charges.  How do I do this?

    You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Is there a file size limit of each pic /or total of all pictures for iBook

    I am putting together an iPhoto book using pages of several pictures each I have composed in Photoshop. I then import these pages as a jpeg or psd to iPhoto. I am finding the jpegs often do not import (with message explaining, etc) but that the psd documents do import. These are rather large documents because of the several pictures used on each page. I am planning to do 30 double sided full bleed pages and I am concerned the finished book will be refused because the completed book file is to large. Should I be? Another way to put this could be: is there a size limit of each page or the total size of the book that iPhoto will accept for an individual book?

    Your best bet would be to make duplicate of your iPhoto Library folder and then open the duplicate and delete all the photos that do not belong to the book. Keep the book in the Source pane however. If you think some photos might be added later then keep them also.
    Now the iPhoto Library folder will be small enough to burn to disk (just drag the folder onto a mounted, blank disk and burn via the Finder). That folder can then be copied from the CD to the desktop of the other computer and opened with iPhoto to continue with the fine tuning. I'd rename the library folder to something like "Book Library" before burning to disk. This method is also a great way of preserving the book after you've ordered it in case you want to order a second copy at a later date. I create a special library for all my books for that exact reason. Once ordered and burned, I can reorder the same book later on even if I have a catastrophic drive crash in the meantime.
    Do you Twango?

  • I just bought the 29.99 a month Acrobat XI for one of my employees... should I just send him the .EXE file? Please confirm

    I bought it for one of my remote employees... Should I just share the EXE file or how they can start using it or they need anything else?
    Thanks

    Installing it is no great difficulty, the subscription is the issue. If you are using this Adobe ID for anything else, you cannot split off the subscription, and cannot share the Adobe ID. Volume licensing (with team management) is only available for the full Creative Cloud subscription.
    Acrobat Pro XI subscription FAQ

  • Lion and Rosetta/The Mouse/Installing In As Many Mac For One Price

    According to the NY Times, Lion eats Rosetta to shreds.  Is there a way to know which programs use Rosetta? Like say, Photoshop or Word? How do you utilize the mouse? Say as always? Back to the article, it states: "your $30 covers as many Macs as you own.  How do you install the app into the other Macs, if they are in three different locations, and don't speak to one another. Do you put the app on a flash?
    Thanks for any responses

    For info on Rosetta >  Lion upgrade questions and answers:  Apple Support Communities
    You can install Lion on all your authorized Macs using the same Apple ID.
    Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Click your Apple menu / About This Mac then click More Info. Select Applications to see which apps are Intel or PowerPC.

  • XSLT List View Web part with Inline Editing changing value for one field changes the other lookup field

    Hi
    It's a bit of a weird one. In an XSLT List View web part when Inline editing is enabled if I change the date column, it changes the lookup field column as well. This behavior only occurs if the lookup list has more than 20 entries. Below 20 and we are
    OK.
    Let me explain by example:
    MileStones List - Having more than 20 items
    Tasks List - having a lookup to the Title field from MileStones list. Also having a due date field.
    Simple web part page with one XSLT List View web part for Tasks having inline editing enabled.
    When I edit the first record's due date and press enter (which saves the changes and moves onto next record) and change the due date on second record without even touching the MileStone field. Press enter to commit changes and you see the milestone changing
    on first record!
    The wierd thing is that if the MileStone list has less than 20 items all works as expected.
    Any pointers will be appreciated
    Thanks

    Hi,
    This is a known limitation when working with complex fields like Lookup field.
    A workaround is that we can avoid using the inline edit feature when there are
    complex fields in a list.
    You can take a look at this KB from Microsoft Support to get more details:
    http://support.microsoft.com/kb/2600186/en-us
    A similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/3d369611-ee79-4b5c-86bb-c0f3878cd746/standard-list-view-with-inline-editing-lookup-column-copies-preceding-or-following-items-related?forum=sharepointgeneralprevious
    Thanks
    Patrick Liang
    TechNet Community Support

  • Dynamic search help for one field of the SM30 generated maintenance view

    Hi experts,
    I have one Z* table with three fields. For that table I have generated maintenance dialog in SE55 so I can now run the maintenance in SM30. My requirement is: as soon as a user enters a value for the first field, the search help for the second field should be depended on the value in the first field. Let's say when user entered value 01 into the first field then the search help for the second field should be S_HLP01. For other values entered into the first screen the search help for the second field should be S_HLP02. Both search helps are standard (the names differ).
    Is there any change how to achieve this without making completely new dynpro transaction?

    Hi ,
    You can try it this way.
    pass your match-code( search help to function ) HELP_VALUES_GET_WITH_MATCHCODE and get the value and update it in  your screen field.
    But you have to modify the flow logic in POV event. it would be better if you create your own transaction because once the maintenance is regenerated your modified flow logic will vanish

  • Is the Promo Pricing of $10 Per Month for One App Considered an UPGRADE?

    I currently have Flash Pro CS5.5.
    If I sign up for Flash CC at the promo price of $9.99 per month, does that mean my CS5.5 license can no longer be used?
    Because if I cannot use Flash CS5.5 anymore and I paid $450 for it, getting a $10 savings for 12 months isn't worth it.
    A $120 discount for a $450+ program doesn't really seem like promo pricing?
    Am I missing something?
    Now if Adobe is being kind enough to allow CS users to purchase a single app for a discounted price of $10 per year as a courtesy for being a valued customer, that I could understand.
    I certainly hope someone can verify this by the end of the day as the $10 per month promo ends in a day or so.
    Thanks,
    Sean

    Hi Madclevr,
    Please consider this :
    Adobe Flash Professional CS5.5 (11.5)
    2011
    Flash Professional CS5.5 was released in 2011. It includes improved support for publishing iPhoneapplications, following Apple's revision of their iOS developer terms. Flash CS5.5 also contains several features to improve mobile app workflows across devices. Some examples are: Content scaling and stage resizing, copy and paste layers, sharing symbols across FLA files, symbol rasterization, incremental compilation, auto-save and file recovery, and integration with CS Live online services.
    Adobe Flash Professional CS6 (12)
    2012
    Adobe Flash Professional CS6 was released in 2012. It includes support for publishing files as HTML5and generating sprite sheets.[6]
    Adobe Flash Professional CC (13)
    2013
    Flash Professional CC was released in June 2013 as part of Adobe's Creative Cloud rebrand. Changes include a native 64-bit scene rendering engine, minor performance improvements and bug fixes, and the removal of legacy features such as ActionScript 2 support. As part of the Creative Cloud suite, Flash CC also offers users the ability to synchronize settings or save files online.
    Coutsey: http://en.wikipedia.org/wiki/Adobe_Flash_Professional 
    It is an upgrade. Flash pro CS5.5 can be still used.
    Reagrds,
    Rajshree

  • The apple store has charge me 3x for one purchase, the apple store has charge me 3x for one purchase

    I have been changed three x's for the same download .. please advise

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • Downloaded Photoshop 11 to move to a new computer. Download wouldn't accept the password and now won't ask for one. Now what?

    I wish to install Photoshop 11 on my new computer. From My Products I received my password, after the download was opened the password was rejected and now it won't ask for it. Message..program is in use or I'm not authorized. How do I solve this?

    If this is a Mac then it might be the Mac security asking for a password rather than anything to do with Adobe.

  • Error while exporting : ORA-24801: illegal parameter value in OCI lob funct

    hello,
    I am doing an export on a 10.2.0.4 , solaris machine.
    The table i am doing an export has a blob & clob.
    During the export I get the error :
    EXP-00056: ORACLE error 24801 encountered
    ORA-24801: illegal parameter value in OCI lob function
    In metalink it was given : Check every parameter in the OCI Lob function call to make sure they
         are correct. Offsets should be greater than or equal to one.
    Where should I check for that OCI Lob function. Or is there any other alternative to do the export.
    Thanks for any help.

    I have increased the space on the mount I was doing the export and that solved the problem.
    Thanks

  • Procedure varchar2 parameter size limit? ORA-6502 Numeric or value error

    Hi ALL,
    I am trying to create out parameters in a Procedure. This procedure will be called by 4 other Procedures.
    PROCEDURE create_serv_conf_attn_cc_email
    ( v_pdf_or_text varchar2,
    v_trip_number number ,
    v_display_attn_for_allmodes out varchar2,
    v_display_cc_for_allmodes out varchar2,
    v_multi_email_addresses out varchar2,
    v_multi_copy_email_addresses out varchar2
    When I call that procedure in another Procedure I am getting following error, which is caused by one of the out parameter being more than 255 characters.
    I found that out via dbms_output.put_line(ing) one of the out parameter as I increased its size.
    ORA-06502: PL/SQL: numeric or value error
    I thought there was no size limit on any parameters passed to a Procedure.
    Any one know of this limit of 255 characters on varchar2 Procedure parameters? Is there a work around keeping the same logic?
    If not I will have to take those parameters out and resort to some global varchar2s which I do not like.
    Thanks,
    Suresh Bhat

    I assume one of the variables you have declared is not large enough for it's assignment.
    Here's an example.
    ME_XE?create or replace procedure test_size(plarge in out varchar2 )
      2  is
      3  begin
      4     plarge := rpad('a', 32000, 'a');
      5  end;
      6  /
    SP2-0804: Procedure created with compilation warnings
    Elapsed: 00:00:00.03
    ME_XE?
    ME_XE?declare
      2     my_var   varchar2(32767);
      3  begin
      4     test_size(my_var);
      5     dbms_output.put_line(length(my_var));
      6  end;
      7  /
    32000
    PL/SQL procedure successfully completed.
    --NOTE here how the declared variable is 500 characters, but the procedure will try to assign it over 32,000 characters...no dice
    Elapsed: 00:00:00.00
    ME_XE?
    ME_XE?declare
      2     my_var   varchar2(500);
      3  begin
      4     test_size(my_var);
      5     dbms_output.put_line(length(my_var));
      6  end;
      7  /
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "TUBBY.TEST_SIZE", line 4
    ORA-06512: at line 4
    Elapsed: 00:00:00.04Edited by: Tubby on Oct 22, 2008 12:47 PM

  • PHP and OCI-Lob::read from oracle clob

    I'm having a weird problem with PHP and the OCI-Lob::read method.
    We have a page that connects to the database and pulls all the other fields out with no problems. However, it when it comes to the clobs, only a small portion of the actual data is retrieved.
    The code uses:
    $content= $features[14]->read(2000); echo $content;
    And we're getting a tiny section of the field returned (only about 185 out of a total 553 chars). The really strange thing is that no matter what the length specified is - it still only returns a small section - and the cut off seems to actually be 549 bytes/chars - anything below the read(length) specified as 549 shortens the returned string (even though what is returned is far less the 549 chars) but anything over 549 makes no difference.
    Additionally, we've used the OCI-Lob::load method with exactly the same results where only a portion of the actual contents of the clob field is returned.
    Any ideas what could be causing this?
    PHP version is 5.1.6
    RDBMS is 11.2.0.4.2
    Following shows OCI config via phpinfo()
    oci8
    OCI8 Support
    enabled
    Revision
    $Revision: 1.269.2.18 $
    Active Persistent Connections
    1
    Active Connections
    1
    Oracle Instant Client Version
    10.2
    Temporary Lob support
    enabled
    Collections support
    enabled
    Directive
    Local Value
    Master Value
    oci8.default_prefetch
    10
    10
    oci8.max_persistent
    -1
    -1
    oci8.old_oci_close_semantics
    0
    0
    oci8.persistent_timeout
    60
    60
    oci8.ping_interval
    60
    60
    oci8.privileged_connect
    Off
    Off
    oci8.statement_cache_size
    20
    20

    Your version of OCI8 corresponds to PECL OCI8 1.2.1, which is very old.  You can see the subsequent fixes in the changelog PECL :: oci8 Changelog In particular there have been a number of LOB changes.
    I would start by upgrading. Ideally you would use PHP 5.5 with PECL OCI8 2.0.8 and Instant Client 11.2.0.4.  Otherwise just upgrade to PECL OCI8 1.4.10 and Instant Client to 11.2.0.4.  The following instructions should help: Installing PHP and the Oracle 11g Instant Client for Linux and Windows
    I am suggesting using PECL OCI8 because it is more recent than the OCI8 in the PHP 5.1.x - 5.5.x bundles.  PHP 5.6 natively has OCI8 2.0 but you may not want to upgrade an existing site to PHP 5.6 until this branch of PHP has matured.

Maybe you are looking for

  • ITunes is 'not responding' on startup

    Running windows vista , just downloaded and installed iTunes a couple hours ago , while i was sorting my music there was a pop up about lack of memory or something , then it got really laggy so i closed it . And now when i try to open it it opens fin

  • Procedure needed 4 changing the sequence order

    For example, there are ten employees. The first employee’s id will be 1. The second employee says his id he wants to be 14. For the third employee, the employee id should come in sequence, i.e it should assign 2 by default, if he have not requested a

  • SQL Query converted to PL/SQL?

    I am trying to get my sql query here (which works) converted over to a pl/sql function so I can use an IF / THEN statement to determine whether my 2nd search field has been submitted with something in it. My current query: select      comm_Devices.ID

  • Modify dynamically Static LOV and System Tables

    Hello, Does anyone know if it is possible to dynamically modify a Static LOV using a system table. All suggestions greatly appreciated! Sharon

  • Problem with PL/SQL loop

    Hi, Here is what I am trying to do. The SQL query retrurns only one record but the loop is execuitng twice. The count returns 2. What could be the problem? Thanks for your help. type t_name is record(id number, c_name varchar2(100)); type t_names is