Patch Oracle database

Hi all

11.2.0.3

AIX 6.1

I'm new to this company. My boss give me the task of applying all the patches that are not yet implemented in our databases that is recommended by Oracle, and

put our database to the latest patch available in the MOS.  It is mandated by the auditor company to our database for the latest patch

especially the security patches. My boss said that all the unique patches of GDR, PSU, must be applied. Where can I find the inventory of the latest patches

MOS? How many types of patches of the database is there?  What do you mean by GDR, PSU and exceptional items? What do you call the patch 11.2. 0.3.5? it's one-off/GDR/psu? I also download patch 11.2. 0.3 and I find that it is 5 GB in size? I get the right file?

Thank you very much

zxy

yxes2013 wrote:

Thank you all,.

My question is where can I download or find these quarterly patches generated by oracle? Is an email sent to members that the quarterly security patch is already available? What file should I download it from?

Where you think you can download the patches from? You should be knowing this now since you've spent a lot of time on the forums already. Patches are distributed to My Oracle Support and needs a CSI valid before you try to connect to this Web site. If you are a valid customer, you would E-mail of MOS. For the folder in which you have to download it since then, many do not leave a file but a MOS Web site.

Aman...

Tags: Database

Similar Questions

  • How patch Oracle Database 10g Release 2 (10.2.0.1.0) to (+ 10.2.0.2)

    Hello
    does anyone know if Oracle Database 10 g Release 2 (10.2.0.1.0) can be patched up (+ 10.2.0.2) for Solaris (x 86-64) operating system
    If possible someone can mail me the download link for the patches and instructions.

    Look for the numbers of patch 4547817 (10.2.0.2) and 5337014 (10.2.0.3) on My Oracle Support (formerly Metalink).

  • How patch oracle dataguard database under windows

    Hi friends,

    I need to update a database of Oracle 11 g Dataguard on Windows 8 Pro x 64 with the latest Patch critical update available for this configuration. I read that there is a CPU 20833831 (July 2015).

    What documents Oracle I pay to play? or what are the steps I need to follow? Or what is the best way to accomplish this task?

    Details of PRIMARY database:

    SQL > select * from v version $;

    BANNER

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

    Oracle Database 11g Release 11.2.0.4.0 - Production personnel

    PL/SQL Release 11.2.0.4.0 - Production

    CORE Production 11.2.0.4.0

    AMT for 32-bit Windows: Version 11.2.0.4.0 - Production

    NLSRTL Version 11.2.0.4.0 - Production

    SQL > SELECT * FROM history of registry of $;

    ACTION_TIME ACTION NAMESPACE VERSION ID COMMENTS BUNDLE_SERIES

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

    08/07/14 21:59:26, 422000 APPLY SERVER 11.2.0.4 WinBundle 4 11.2.0.4.4 PSU

    SQL >

    C:\app\product\11.2.0\dbhome_1\OPatch > lsinventory opatch

    Installer of temporal parchment of Oracle versi¾n 11.2.0.3.6

    Copyright (c) 2013, Oracle Corporation. All rights reserved.

    Oracle home: C:\app\product\112~1.0\dbhome_1

    The central inventory: C:\Program Files (x 86) \Oracle\Inventory

    from: n/a

    OPatch version: 11.2.0.3.6

    YES version: 11.2.0.4.0

    Location of the log file: C:\app\product\112~1.0\dbhome_1\cfgtoollogs\opatch\opatch2015-09-06_19-54-29PM_1.log

    Location of the output file Lsinventory: C:\app\product\112~1.0\dbhome_1\cfgtoollogs\opatch\lsinv\lsinventory2015-09-06_19-54-29PM

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

    Nivel superior instalados products (1):

    Oracle Database 11g 11.2.0.4.0

    Hay 1 productos instalados in este directory Rayz of Oracle.

    Sears temporal (1):

    Patch 18296644: applied on Thu Aug 07 18:48:26 COT 2014

    Patch ID: 17560341

    Patch description: "WINDOWS DB BUNDLE . 11.2 PATCH " . 0.4.4: (18296644)"

    Created April 22, 2014, 02:01:38 hours

    Bugs fixed:

    16809786, 17716305, 16180763, 17545847, 17597748, 16992075, 17610798

    18235390, 17446237, 16450169, 16731148, 17761775, 14602788, 17726838

    17441661, 17050888, 17622427, 17546761, 13866822, 16315398, 17215306

    17040764, 14010183, 16837842, 16228604, 17346671, 18084625, 16683112

    14133975, 17721717, 17602269, 16777840, 17577218, 17071721, 16929165

    18241194, 17080436, 17265217, 17036973, 16698971, 4189542, 14852021

    16399083, 13609098, 17493764, 16785708, 17987366, 16187992, 17781991

    17313525, 16833527, 16618694, 17741995, 11733603, 14285317, 17341326

    16491477, 17357979, 17344412, 17088068, 17332800, 13498243, 16850630

    17783588, 14580303, 16296213, 18223971, 17393683, 18069285, 16863422

    16069901, 17443671, 17897511, 18296644, 17389192, 17394950, 10136473

    17785632, 14458214, 18069723, 17397545, 17186905, 17325413, 13364795

    16472716, 17468141, 13944971, 17883081, 16721594, 13853126, 18088509

    17205719, 16849620, 17284817, 17239687, 17079301, 18180390, 16976121

    17235750, 17951124, 17564992, 17754782, 17082359, 16314254, 17478145

    18154779, 18160822, 16613964, 17174582, 16043574, 17865671, 16943711

    18232462, 17612828, 17375354, 17393915, 17571306, 16825679, 18230522

    17546973, 17209410, 16633319, 16956380, 13077335, 16470836, 18328509

    12905058, 17921190, 17799716, 17614227, 18094246, 18018515, 18034871

    17672719, 16912439, 17385178, 16394467, 16220077, 17016369, 18115594

    17501491, 17027426, 17591148, 16875449, 17465741, 17752121, 17892268

    17614134, 14829250, 17288409, 17296856, 16285691, 17390431, 14338435, 17323222

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

    OPatch succeeded.

    Best regards

    dbape.

    What documents Oracle I pay to play? or what are the steps I need to follow? Or what is the best way to accomplish this task?

    1 doc oracle suggest to talk about the 'Readme file' patch... remember this is a basic step that you do.

    2. go to read me and follow the steps of which has suggested correction doc. Nobody does something special on the benches.

    -KumarN pavan

  • Oracle Database 10.2.0.3 CPU patch

    Hello

    Could you please let me know I can apply the latest patch of CPU (7631956) directly on this version of oracle 10.2.0.3 on windows 32-bit database or should I start applying one by one old plates on the neighborhoods for two years?

    Please find opatch below output:

    D:\oracle\product\10.2.0\db_1\OPatch > lsinventory opatch
    Citing O Patch 10.2 .0.3.0

    Interim fix installer Oracle version 10.2.0.3.0
    Copyright (c) 2005, Oracle Corporation. All rights reserved...


    Oracle home: D:\oracle\product\10.2.0\db_1
    Inventory Center: C:\Program Files\Oracle\Inventory
    from: n/a
    OPatch version: 10.2.0.3.0
    YES version: 10.2.0.3.0
    YES location: D:\oracle\product\10.2.0\db_1\oui
    Location of the log file: D:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\opatch2010-
    01-04_18-51 - 49 PM .log

    Location of the output file Lsinventory: D:\oracle\product\10.2.0\db_1\cfgtoollogs\opa
    tch\lsinv\lsinventory2010-01-04_18-51-49PM.txt

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

    Installed products of higher level (2):

    Oracle Database 10g 10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 2 10.2.0.3.0
    There are 2 products in this House of Oracle.


    Interim plates (2):

    Patch 5556081 : applied to Wed Dec 12 19:41:05 GMT 2007
    Created November 9, 2006, 22:20:50 hrs PST8PDT
    Bugs fixed:
    5556081

    Patch 5557962 : applied to Wed Dec 12 19:40:57 GMT 2007
    Created November 9, 2006, 23:23:06 hrs PST8PDT
    Bugs fixed:
    4269423, 5557962, 5528974


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


    OPatch succeeded.



    Thank you!!!

    Database CPU patches are cumulative. Just apply later.

    http://www.Oracle.com/technology/deploy/security/critical-patch-updates/cpuoct2009.html

  • Connect to the Oracle database fails when you use Microsoft ODBC or OLE DB Driver

    There was a problem when you apply the KB3126587 hotfix where connections to an Oracle database using the Microsoft ODBC driver fails if run from automated processes. Running the same process manually would succeed. The update issued KB3147071 solved the problem successfully.

    Yesterday, several patched have been applied and the problem came back. The patches are: KB2862152, KB2868626, KB3163244, KB3168965, KB3170455, KB3163251.

    I saw yet no acknowledgement or difficulty of Microsoft. I prefer not to uninstall security patches, but it is a problem of production.

    Any ideas what specific patch maybe breaking it again?

    Thank you

    Josh

    Server: Windows 2008 R2

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • 10.2.0.5 Oracle database link (Linux - x 86) for MS SQL Server 2012 (x 64)

    Please guys, I really need your help on this issue.

    I tried using freetds driver but when I use db link I get this error:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    [Generic connectivity using ODBC] [S1000] [9013] error General nvITrans_BeginT - rc = - 1. Please see the log file for more details.

    ORA-02063: preceding 2 lines MIXERI

    To cite that I can connect to the remote sql server through isql tool with no problem at all. I study a lot and I found no solution for this error, so to this end, I will try to find another alternative way.


    Is there another way to manage the communication link between the system of 2 DB db?

    Thank you

    Hello

    S erro coming from the ODBC side then you can try the following-

    1. change the listener.ora LD_LIBRARY_PATH for-

    (ENVS=LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/db/oracle/10.2.0/lib)

    stop and start the listener.

    2. don't you get the error even if you delete the entry-

    HS_FDS_SQLLEN_INTERPRETATION = 32

    3. get a debugging bridge route-

    -Comment the entry
    HS_FDS_TRACE_FILE_NAME = /db/oracle/10.2.0/hs/admin/MIKSERI.trc

    then the tracks go to the location by default with default names-

    /DB/Oracle/10.2.0/HS/log

    -set the level of the trace-

    HS_FDS_TRACE_LEVEL = DEBUG

    -start a new session of SQLPLUS, run select, close the session.

    -Download the trace from somewhere, it can be displayed by our care.

    It can also be an idea to install and use the 11.2.0.5 last DG4ODBC gateway that is certified with RDBMS 10.2.0.5 and available at My Oracle Support you.

    Patch 13390677: 11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER

    which must be installed in a new and separate ORACLE_HOME.

    Kind regards

    Mike

  • What Linux RHEL (Linux Red Hat Enterprise Server 6.7) compatible for oracle database 11.2.0.4 with grid Infrastructure?

    Compatible Linux RHEL (Linux Red Hat Enterprise Server 6.7) for oracle database 11.2.0.4 with grid Infrastructure.

    Hi all

    We plan to patch Linux Redhat Enterprise Server (6.4 and 6.5) to 6.7.

    I tried Searchin' on support of oracle for the compatibility of the database for Linux patches, but not able to find accurate information.

    can anyone share the ID document or information related to it.

    If OS RHEL 6 update 4 to 6-7 update patch

    (1) is it compatible

    (2) bugs or problems reported

    (3) in addition to the binary link again than the DBA to perform any other

    Thank you

    Hello

    6.7 RHEL is certified for the database 11.2.0.3 or newer. In other words, it is certified for RHEL 6.7 11.2.0.4

    Certification information for the Oracle database on Linux x 86-64 (Doc ID 1304727.1)

    -Jonathan Rolland

  • Upgrade to EBS and oracle database examples database

    Hi all

    I'm upgrading our database of 11.1 to 11.2.0.4 EBS Note 1058763.1 said the examples of oracle database installation is required. The database examples guide also gives this link: Oracle database software download | Oracle Technology Network | Oracle

    But the link does not 11.2.0.4 software file linux 86_64.

    Am I missing something here...?

    Kind regards

    Vinod

    Hello

    The two 11.2.0.4 of the database and the CD examples are available in the patch 13390677.

    The part of the database is included in the files 1 & 2.

    The examples CD is in file 6.

    Kind regards

    Bashar

  • Fix power supply more recent Oracle database

    Dear all,

    I installed my database 2 years ago, we have several versions of different databases, 11.2.0.3, versions of linux (5,6) 11.2.0.4, 11.2.0.1.in. We did not apply a patch CPU or power supply until today.i want to apply last patch of power supply to my oracle databases. we would think that offer more security to the database, please suggest me the last patch of PSU for that not to apply previous patches.

    Thanks in advance.

    Kind regards

    Tiwary.

    PL to re-read my answer above - PSU patches are cumulative - apply more later one will do

  • Where can I download Oracle database 11.2.0.4.0 for Windows (x 64)?

    Hello

    I want to download Oracle database 11 g 2 with the latest patch (11.2.0.4.0) but I can't find it on the download page of Oracle (just 11.2.0.1.0 can be found).

    Where can I get?

    Kind regards.

    Dave

    Include John Patch # 13390677

  • 11.2.0.3 on Windows 2008 x 64 Oracle database

    Hello

    Could you please tell me where I could download the 11.2.0.3 on Windows 2008 x 64 install Oracle database?

    Rgds,

    Frédéric

    You must download the patch from MOS group.

    the patch number 10404530.

    Download the files two first zip and unzip in the single folder. (See READ ME)

    Concerning

    Robin

  • Loading SpreadsheetML to Oracle database '

    Hello! Good day to all.

    I was given a task of processing an Excel file that was created on an XML (I think that's what we call a SpreadsheetML, please correct me if I'm wrong).
    With my little knowledge about XML, I would ask for help if it will be possible to extract data on this file and load it into Oracle Database 10 g?

    Note: When you open it in excel, the file contains several. calculation sheet, I have need to face a worksheet and that's all I need to load into the database to further process, the data.

    Here is an excerpt of the file:

    <? XML version = "1.0"? > <? application mso progid = "Excel.Sheet"? "" > < workbook xmlns = "" urn: schemas-microsoft - com:office:spreadsheet "xmlns:o =" urn: schemas-microsoft-com "xmlns: x =" "urn: schemas-microsoft-com: excel" xmlns:ss = "urn: schemas-microsoft - com:office:spreadsheet" xmlns:html = "http://www.w3.org/TR/REC-html40" > < DocumentProperties xmlns = "urn: schemas-microsoft-com" > < LastAuthor > APS_OWNER < / LastAuthor > < created > 2013-03-05 T 07: 03:29 < / created > < Version > 11.6408 < / Version > < / DocumentProperties > < ExcelWorkbook xmlns = "urn". : schemas-microsoft-com: excel "> < WindowHeight > 8445 < / WindowHeight > < WindowWidth > 11115 < / WindowWidth > < WindowTopX > 720 < / WindowTopX > < WindowTopY > 375 < / WindowTopY > < RefModeR1C1 / > < ProtectStructure > False < / ProtectStructure > < ProtectWindows > False < / ProtectWindows > < / ExcelWorkbook >.
    < styles >
    < style ss:ID = 'Default' ss:Name = 'Normal' > < alignment ss:Vertical = 'Bottom' / > < borders / > < fonts / > < Interior / > < NumberFormat / > < Protection / > < / Style >
    < style ss:ID = "ColumnHeader" > < alignment ss:Vertical = 'Bottom' ss: Horizontal = "Center" / > < police ss:FontName = "Times New Roman" family: x = "Roman" = "10" ss:Size ss: "BOLD" = "1" ss:Underline = "Single" / > < Interior / > < NumberFormat / > < / Style >
    < style ss:ID = "ColumnHeaderDate" > < ss:Vertical alignment = 'Bottom' ss: Horizontal = "Center" / > < police ss:Size = "10" ss: "BOLD" = "1" ss:Underline = "Single" / > < Interior / > < NumberFormat ss:Format="[ENG][$-409]dd\-mmm\-yy;@"/ > < / Style >
    < style ss:ID = "NumberStyleBlueCell" > < alignment ss: Horizontal = "Right" / > < fonts / > < internal ss:Color = "Cyan" ss:Pattern = "Solid" / > < NumberFormat = ss:Format "#, #, #. 00" / > < / Style >
    < style ss:ID = "TextStyleBlueCell" > < alignment / > < font / > < inside ss:Color = "Cyan" ss:Pattern = "Solid" / > < NumberFormat / > < / Style >
    < style ss:ID = "NumberStyle" > < ss: Horizontal align = "Right" / > < fonts / > < inside / > < NumberFormat = ss:Format "#, # 0" / > < / Style >
    < style ss:ID = "NumberStyle2" > < ss: Horizontal align = "Right" / > < fonts / > < Interior / > < NumberFormat = ss:Format "#" / > < / Style >
    < style ss:ID = "DateStyle" > < alignment / > < font / > < Interior / > < NumberFormat ss:Format="[ENG][$-409]dd\-mmm\-yy;@"/ > < / Style >
    < style ss:ID = "ColumnSum" > < ss: Horizontal align = "Right" / > < police ss:Color = 'Blue' / > < Interior / > < NumberFormat = ss:Format "#, #, #. 00" / > < / Style >
    < style ss:ID = "RowSum" > < ss: Horizontal align = "Right" / > < police ss:Color = "Red" / > < Interior / > < NumberFormat = ss:Format "#, #, #. 00" / > < / Style >
    < / style >
    < worksheet ss:Name = "NO_Details_Down" > < Table ss:ExpandedColumnCount = "18" ss:ExpandedRowCount = "9978" x: FullColumns = "1" x: FullRows = "1" >
    < ss:Index column = '1' ss:AutoFitWidth = '0' ss:Width = "55" / >
    < ss:Index column = '2' ss:AutoFitWidth = '0' ss:Width = "55" / >
    < ss:Index column = "3" ss:AutoFitWidth = "0" ss:Width = "82" / >
    < ss:Index column = "4" ss:AutoFitWidth = "0" ss:Width = "55" / >
    < ss:Index column = '5' ss:AutoFitWidth = '0' ss:Width = "55" / >
    < ss:Index column = '6' ss:AutoFitWidth = '0' ss:Width = "55" / >
    < ss:Index column = '7' ss:AutoFitWidth = '0' ss:Width = "82" / >
    < ss:Index column = '8' ss:AutoFitWidth = '0' ss:Width = '110' / >
    < ss:Index column = '9' ss:AutoFitWidth = '0' ss:Width = '110' / >
    < ss:Index column = "10" ss:AutoFitWidth = "0" ss:Width = "110" / >
    < ss:Index column = "11" ss:AutoFitWidth = "0" ss:Width = "55" / >
    < ss:Index column = '12' ss:AutoFitWidth = '0' ss:Width = "55" / >
    < ss:Index column = '13' ss:AutoFitWidth = '0' ss:Width = "55" / >
    < ss:Index column = ss:AutoFitWidth "14" = "0" ss:Width = "55" / >
    < ss:Index column = "15" ss:AutoFitWidth = "0" ss:Width = "55" / >
    < ss:Index column = "16" ss:AutoFitWidth = "0" ss:Width = "55" / >
    < ss:Index column = "17" ss:AutoFitWidth = "0" ss:Width = "55" / >
    < ss:Index column = '18' ss:AutoFitWidth = '0' ss:Width = '165' / >

    < row >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > data 1 < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > data 2 < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > data 3 < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > data 4 < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > data 5 < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 6 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 7 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 8 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 9 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > data 10 < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 11 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 12 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > data 13 < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 14 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 15 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 16 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 17 data < / Data > < / cell >
    < cells ss:StyleID = "ColumnHeader" > < data ss:Type = "String" > 18 data < / Data > < / cell >
    < / row >
    < row >
    < cell > < data ss:Type = "String" > No. < / Data > < / cell >
    < ss:StyleID of cells = "DateStyle" > < data ss:Type = "DateTime" > 2013-03-05 T 07: 03:28 < / Data > < / cell >
    < cell > < data ss:Type = "String" > No. < / Data > < / cell >
    < cell > < data ss:Type = "String" > NMC < / Data > < / cell >
    < cell > < data ss:Type = "String" > NMC < / Data > < / cell >
    < cell > < data ss:Type = "String" > DSS < / Data > < / cell >
    < cell > < data ss:Type = "String" > S039 < / Data > < / cell >
    < cell > < data ss:Type = "String" > CP4 - XS < / Data > < / cell >
    < cell > < data ss:Type = "String" > 3SK263-5-TG-E < / Data > < / cell >
    < cell > < data ss:Type = "String" > 3SK263-E-5-ASY < / Data > < / cell >
    < cell > < data ss:Type = "String" > 3SK263-E-5-WDQ < / Data > < / cell >
    < cell > < data ss:Type = "String" > NO PNX < / Data > < / cell >
    < ss:StyleID of cells = "DateStyle" > < data ss:Type = "DateTime" > 2013-03-09 T 00: 00:00 < / Data > < / cell >
    < cell > < data ss:Type = "String" > MP < / Data > < / cell >
    < cells ss:StyleID = "NumberStyle" > < data ss:Type = 'Number' > 23280 < / Data > < / cell >
    < cells ss:StyleID = "NumberStyle" > < data ss:Type = 'Number' > 0 < / Data > < / cell >
    < cells ss:StyleID = "NumberStyle" > < data ss:Type = "Number" > 468149 < / Data > < / cell >
    < cell > < data ss:Type = "String" > MASD_NO_ASY_20130306F17405401 < / Data > < / cell >
    < / row >

    ...

    < /table >
    < / worksheet >
    < / workbook >

    Any help would be appreciated...


    Thank you
    Jeff.

    Published by: JEFTPHPH on March 14, 2013 17:42

    Our version of the database is 10.2.0.1.0

    Well, you use a non-patched database.
    XMLTable just appeared in this version and was still implemented in Java, where the relatively slow to deal with expressions of XPath 1.0 compared to the old function of XMLSequence (written in C).

    Can you provide me with more details or link on how to perform this conversion XSLT?

    The following test case addresses the same XML document, that I used in my blog article ("smldata.xml"). It contains 50,000 rows and 3 columns.
    We first turn into a canonical format: ...
    Then, we can use DBMS_XMLStore to parse and insert the record into the table:

    SQL> create table smldata (
      2    rec_id number
      3  , description varchar2(80)
      4  , rec_value varchar2(30)
      5  );
    
    Table created.
    
    SQL> set serveroutput on
    SQL> set timing on
    SQL>
    SQL> declare
      2
      3    doc    xmltype;
      4    ctx    dbms_xmlstore.ctxHandle;
      5    nrows  number;
      6
      7    xsl    xmltype := xmltype('
     10    
     11    DataSource
     12    
     13      
     14        
     15      
     16    
     17    
     18      
     19       
     20       
     21       
     22      
     23    
     24  ');
     25
     26  begin
     27
     28    doc := xmltype(bfilename('TEST_DIR', 'smldata.xml'), nls_charset_id('AL32UTF8'));
     29    doc := doc.transform(xsl, 'sheetname="''DataSource''"');
     30
     31    ctx := dbms_xmlstore.newContext('SMLDATA');
     32    dbms_xmlstore.setUpdateColumn(ctx, 'REC_ID');
     33    dbms_xmlstore.setUpdateColumn(ctx, 'DESCRIPTION');
     34    dbms_xmlstore.setUpdateColumn(ctx, 'REC_VALUE');
     35    nrows := dbms_xmlstore.insertXML(ctx, doc);
     36    dbms_xmlstore.closeContext(ctx);
     37
     38    dbms_output.put_line('Row(s) inserted : '||to_char(nrows));
     39
     40  end;
     41  /
    Row(s) inserted : 50000
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:32.55
    SQL>
    SQL> column rec_id format 99999
    SQL> column description format a15
    SQL> select * from smldata where rownum < 10;
    
    REC_ID DESCRIPTION     REC_VALUE
    ------ --------------- ------------------------------
       571 LINE-00571      NSP2UL0XMIJQXKZWQMIUY37HOTF4D8
       572 LINE-00572      SK600LOF6YH5CBXYLZ5ELA5RWCM468
       573 LINE-00573      TSITJJCL06U7RU6V2SHU70EJZPXS56
       574 LINE-00574      UH8OR0POWX4F6X9R68JE6T5KRSIFLO
       575 LINE-00575      P639UL8GJ3T78NSGSKRI34MARMAR3C
       576 LINE-00576      OEV06Z1FESUZFR2ZAY5JBMJ8YHSE0Y
       577 LINE-00577      YXVE3079369NJ7953X8W5LDNLNVNE7
       578 LINE-00578      X0CA6YZM055JLPQLRM57DY0DLJKR1I
       579 LINE-00579      759FGFLJUAA9HTLW659QU9MELJKW18
    
    9 rows selected.
    
    Elapsed: 00:00:00.06
    SQL>
    SQL> select count(*) from smldata;
    
      COUNT(*)
    ----------
         50000
    
    Elapsed: 00:00:00.04
    

    A similar result can be obtained with XMLSequence, but it is much slower:

    SQL> declare
      2
      3    xmlnsmap varchar2(80) := 'xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"';
      4    doc      xmltype := xmltype(bfilename('TEST_DIR', 'smldata.xml'), nls_charset_id('AL32UTF8'));
      5
      6  begin
      7
      8    insert into smldata (rec_id, description, rec_value)
      9    select extractvalue(value(t), '/ss:Row/ss:Cell[1]/ss:Data', xmlnsmap)
     10         , extractvalue(value(t), '/ss:Row/ss:Cell[2]/ss:Data', xmlnsmap)
     11         , extractvalue(value(t), '/ss:Row/ss:Cell[3]/ss:Data', xmlnsmap)
     12    from table(
     13           xmlsequence(
     14             extract(
     15               doc
     16             , '/ss:Workbook/ss:Worksheet[@ss:Name="DataSource"]/ss:Table/ss:Row'
     17             , xmlnsmap
     18             )
     19           )
     20         ) t ;
     21
     22  end;
     23  /
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:03:18.83
    

    Published by: odie_63 on March 21, 2013 22:40

  • Oracle Database Personal Edition

    Hi, if I buy Oracle Database Personal Edition with a perpetual license and 1 year of support, I use the complete Meta-Link base support? If the answer is Yes, can I renew this support?

    Hi, if I buy Oracle Database Personal Edition with a perpetual license and 1 year of support, I use the complete Meta-Link base support?

    I would like to say - Yes. You can create support requests and download patches for Oracle Database Personal Edition. And you can search and read articles here.

    If the answer is Yes, can I renew this support?

    I would like to say - Yes. But you better check out representing Oracle.

  • What is the latest version of the Oracle database?

    Hello

    I have 10 g and 11 g instances.

    Oracle 12 x? been released yet and it is quite ready for prime time?

    Thank you, John

    You can find the latest version by going to MOS and clicking on the certification tab. It varies.

    When 12 c is released, he won't be ready for prime time. It's called "using your customers in beta" or "to be on the cutting edge." If it is appropriate for a given site, depends on.

    Versions are somewhat arbitrary, as the distance between point releases is sometimes as much between versions. Sometimes new features of the version are backported to earlier versions. Who can't too.

    MOS release schedule of data releases current [742060.1 ID] and roadmap for Oracle database releases patches [1360790.1 ID] group are worth keeping an eye.

    But honestly, there will be a big hoopla on the net when it becomes official.

  • Is the 10.2.0.5 Oracle database still supported?

    Do you know if the 10.2.0.5 database is always supported by oracle? We do not have extended support


    Thank you


    JP

    JpMill wrote:
    Do you know if the 10.2.0.5 database is always supported by oracle? We do not have extended support

    Thank you

    JP

    You have an extended support for July 2013 and first support to Jul 2010

    At a glance-
    Roadmap for Oracle database releases patches [ID 1360790.1] group
    Calendar of the publications of the current releases of database [ID 742060.1]

Maybe you are looking for