Enterprise system for big oracle database and datawarehouse

Hi
i wana to implemnet System for Big Oracle Database that increase rapidly(monthly by 20 GB).
what is the best and specification of the required servers.
what is the best way to implemnet backup for my big database.
what is required server to implement Datawarehouse.
what others servers i need to implement applications that will interact with the big oracle database and Data Warehouse.
Best Regards,
Alaa

Hi
i wana to implemnet System for Big Oracle Database that increase rapidly(monthly by 20 GB).
what is the best and specification of the required servers.
what is the best way to implemnet backup for my big database.
what is required server to implement Datawarehouse.
what others servers i need to implement applications that will interact with the big oracle database and Data Warehouse.
Best Regards,
Alaa

Similar Messages

  • Can Jdeveloper Be Used For Non-Oracle Databases

    I have been trying to evaluate Jdeveloper 9i and Jbuilder 7 Enterprise for Swing database development. I am particularly interested in the productivity enhancements such as BC4J and Jclient. The underlying database might be Oracle, SapDb (excellent, easy to use, and free), SQLServer, etc.
    I evaluated Jbuilder Enterprise tools and it worked flawlessly with SapDb. This emphasized using their DataExpress and DbSwing components which provide many useful capabilities similar to BC4j and Jclient. It also involved using their DBPilot tool which allows browsing similar to that provided via a Jdeveloper connection.
    I tried to use Jdeveloper for the same SapDB and it is essentially non-functional. I followed the instructions for using a non-default driver and tried to define a connection. It behaved inconsistently: often saying no suitable driver can be found and yet when you edit the connection and test without making any changes, it works. If you try to establish a BC4J definition, it is very inconsistent and fails to recognize important details as foreign keys. Even if you define a ViewLink manually, it still does not work properly if you attempt to define a Master-Detail Jclient form. As I have stated, all these types of capabilities worked flawlessly in their Jbuilder equivalent. Furthermore, I really like the fact that Jbuilder gives many of BC4Js benefits without needing a BC4J J2EE container.
    Has anyone had real success using Jdeveloper's advanced features to develop for non-Oracle databases and if so, how did you get around these types of problems?

    Hi,
    generally, SCAN can be used for 10g databases and you discovered the first half: for 10g databases you will have to modify the REMOTE_LISTENER entry for each 10g database instance to point to the SCAN listeners (as opposed to pointing to the remote local listeners, which is the default in 10g). You could even have the databases registers themselves with SCAN and the remote listeners, if you wanted to... It's more or less a matter of configuration. But for simplification reasons, I will stick to the case where you have your 10g databases register with the SCAN listeners only.
    Now the other half is the client and the client configuration. An 11g Rel. 2 client configured for RAC would have a TNSNAMES entry that has only one address line for the RAC databases. The host entry in this one address line should point to the SCAN (the SCAN name is ideally resolved in DNS). A 10g client configured for RAC would have as many address lines in the TNSNAMES as you have nodes in the cluster.
    The 10g client SCAN configuration would then be in the middle so to speak: You would have 3 address lines in your TNSNAMES, in which each host entry would resolve to one SCAN address (I assume you will use the recommended default of 3 SCAN IPs). If you choose, you can have a name resolution for each of your SCAN IPs, but this would not be required. Now, why would you do it this way? Because this configuration will always work and does not make you dependent on certain functionality that your DNS server may or may not offer.
    For the remaining questions: SCAN is a DNS entry resolving one name to more than one (typically 3) IP addresses. OID is short for Oracle Internet Directory, which is a complete LDAP server. And you are right that there is no document how to configure 10g clients for SCAN from Oracle yet. However, there is a quite good document on SCAN on otn.oracle.com/rac, but I am sure you are aware of it already.
    Hope that helps. Thanks,
    Markus

  • Jdeveloper Team RE Jdeveloper 9.0.3 For Non-Oracle Databases

    I see that support for non-Oracle databases and Third-Party JDBC drivers is very improved. However, I have tried to use the SAPDb JDBC driver and the BC4J tester and generated Swing clients all display greyed so that no updates are possible. This appears to be a bug since Jbuilder works fine with this driver. However, I think Jbuilder's Express dataset and commit philosophy is really bad. Any commitments as to when this will be fixed?

    Yes, I examined the attribute settings and manually adjusted them in the entities and views. They are now updateable. Using Jdeveloper with SAPDB would be very tedious. Jdeveloper did not recognize foreign key constrains, primary keys, nor that attributes were updateable.
    Is there a way to include SAPDB in the testing? It is trivial to install and run and would make Jdeveloper a more robust tool. I do not like Jbuilder's approach to master-detail client screens and would recommend using Jdeveloper for this type of work if it could handle more databases like SapDb.

  • Compression for oracle database and index compression during import of data

    Hi All,
    I have a query , in order to import into oracle database and also have compression and index compression , do we have some kind of load args for r3load and also do we have to change the tpl file ?

    Hello guy,
    I did this kind of compression within migration project before.
    I performed index compress first and then export -> import with table compress.
    One thing you should take care, delete nocompress flag from TARGET.SQL (created by program SMIGR_CREATE_DDL, program SMIGR_CREATE_DDL created pure non-compression objects for these considered non-standard tables). For table columns > 255, we should not delete this flag.
    Regarding to the index compress in source system, please check the following notes:
    Note 1464156 - Support for index compression in BRSPACE 7.20
    Note 1109743 - Use of Index Key Compression for Oracle Databases
    Note 682926 - Composite SAP note: Problems with "create/rebuild index"
    Best Regards,
    Ning Tong

  • Can we have oracle database and gateway for SLQServer on same machine

    Can we install oracle database and Gateway for sQLServer on same machine>?
    If yes, How does the listener files in gateway home (EG: C:\product\11.2.0\NETWORK\ADMIN) and oracle home (EG: C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN) look like?
    Where will we give dg4msql details in tnsnames and listner files?

    Here is the output of starting both the listeners. This is output when i appended listener1 settings in Oracle_home listener.ora file.
    C:\Users\Administrator>lsnrctl start listener
    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 03-DIC-2012 04:46
    :15
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Avvio di tnslsnr: attendere...
    TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Production
    Il file dei parametri di sistema Þ C:\app\Administrator\product\11.2.0\dbhome_1\
    network\admin\listener.ora
    Messaggi di log registrati in C:\app\Administrator\diag\tnslsnr\WIN-77CAQGHJSA2\
    listener\alert\log.xml
    Ascolto su: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    Connessione a (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521
    STATO del LISTENER
    Alias listener
    Versione TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Data di inizio 03-DIC-2012 04:46:20
    Tempo di attivitÓ 0 giorni 0 ore 0 min. 5 sec.
    Livello trace off
    Sicurezza ON: Local OS Authentication
    SNMP OFF
    File di parametri listenerC:\app\Administrator\product\11.2.0\dbhome_1\network\a
    dmin\listener.ora
    File di log listener C:\app\Administrator\diag\tnslsnr\WIN-77CAQGHJSA2\list
    ener\alert\log.xml
    Summary table degli endpoint di ascolto...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Summary table dei servizi...
    Il servizio "test" ha 1 istanze.
    L'istanza "test", stato UNKNOWN, ha 1 handler per questo servizio...
    Il comando Þ stato eseguito
    C:\Users\Administrator>lsnrctl start listener1
    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 03-DIC-2012 04:46
    :23
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Avvio di tnslsnr: attendere...
    TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Production
    Il file dei parametri di sistema Þ C:\app\Administrator\product\11.2.0\dbhome_1\
    network\admin\listener.ora
    Messaggi di log registrati in D:\product\11.2.0\tg_2\diag\tnslsnr\WIN-77CAQGHJSA
    2\listener1\alert\log.xml
    Ascolto su: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    Connessione a (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522
    STATO del LISTENER
    Alias listener1
    Versione TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Data di inizio 03-DIC-2012 04:46:29
    Tempo di attivitÓ 0 giorni 0 ore 0 min. 5 sec.
    Livello trace off
    Sicurezza ON: Local OS Authentication
    SNMP OFF
    File di parametri listenerC:\app\Administrator\product\11.2.0\dbhome_1\network\a
    dmin\listener.ora
    File di log listener D:\product\11.2.0\tg_2\diag\tnslsnr\WIN-77CAQGHJSA2\li
    stener1\alert\log.xml
    Summary table degli endpoint di ascolto...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))
    Summary table dei servizi...
    Il servizio "dg4msql" ha 1 istanze.
    L'istanza "dg4msql", stato UNKNOWN, ha 1 handler per questo servizio...
    Il comando Þ stato eseguito
    C:\Users\Administrator>sqlplus /nolog
    SQL*Plus: Release 11.2.0.2.0 Production on Lun Dic 3 04:46:34 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> conn system/Manager1@star
    Connesso.
    SQL> create public database link test2 connect to "sa" identified by "pwd"
    using 'dg4msql';
    Creato database link.
    SQL> select count(*) from prefer@test2;
    select count(*) from prefer@test2
    ERRORE alla riga 1:
    ORA-28545: errore diagnosticato da Net8 durante la connessione a un agente
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: precedente 2 lines da TEST2
    Output of tnsping from oracle_home
    C:\Users\Administrator>tnsping dg4msql
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.2.0 - Production on 03-DIC-2
    012 05:01:28
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    File di parametri utilizzati:
    C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    ╚ stato utilizzato l'adattatore TNSNAMES per risolvere l'alias
    Tentativo di contattare (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522)) (CONNECT_DATA = (SERVICE_NAME = dg4msql)) (HS=OK))
    OK (0 msec)
    tnsnames.ora file at D:\product\11.2.0\tg_2\NETWORK\ADMIN
    dg4msql =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA = (SERVICE_NAME = dg4msql))
    (HS=OK)
    C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN
    LISTENER_test=
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    dg4msql =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA = (SERVICE_NAME = dg4msql))
    (HS=OK)
    test=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = test)
    )

  • For preparing the filenames and paths for the oracle database files..

    Hi,
    I am preparing the filenames and paths for the oracle database files.....but I am not able to complete this one...Will you Please help for filling this one.
    Controlfile ---- > select name from v$controlfile;
    Redologfile -- > select member from v$logfile;
    Datafile --------- > select tablespace_name,file_name from dba_data_files order by 1;
    Tempfile --------> select tablespace_name,file_name from dba_temp_files;
    Spfile -----------> show parameter spfile
    Pfile --------------->
    Passwordfile ---->
    tnsnames.ora -->
    listener.ora------>
    sqlnet.ora ------>
    oratab ------------->
    Thanks
    Shiju

    orashiju wrote:
    Hi,
    I am preparing the filenames and paths for the oracle database files.....but I am not able to complete this one...Will you Please help for filling this one.
    Controlfile ---- > select name from v$controlfile;
    Redologfile -- > select member from v$logfile;
    Datafile --------- > select tablespace_name,file_name from dba_data_files order by 1;
    Tempfile --------> select tablespace_name,file_name from dba_temp_files;
    Spfile -----------> show parameter spfile
    Pfile --------------->spfile and pfile are located under $ORACLE_HOME/dbs/
    Passwordfile ----> passwordfile is located under $ORACLE_HOME/dbs
    tnsnames.ora -->
    listener.ora------>
    sqlnet.ora ------>all above files are under $ORACLE_HOME/network/admin
    oratab ------------->depends on operating system. Usualy under /etc/oratab

  • [Blog] Using VMware vROPs to monitor Oracle Database and WebLogic.  Management Pack for Oracle EM, Hyperic Plugins, or Both?

    This blog post provides a suggested methodology for helping users of VMware vROps/vCOps decide which of the existing solutions, the vROps Management Pack for Oracle EM and the VMware vROps Hyperic Plugins for Oracle, should be used to monitor their Oracle workloads.
    It’s been a nearly a year since VMware transferred the vCOps Adapter for Oracle Enterprise Manager (OEM) to Blue Medora and since that transfer Blue Medora has released a number of major updates as well as rebranded it the Blue Medora vROps Management Pack for Oracle EM. Over that same period of time VMware has continued to evolve their Oracle-focused (Oracle Database and WebLogic J2EE) Hyperic agent-based plugins culminating most recently with a October 2014 update to the Oracle Database plugin that provides support for Oracle Database 12c.
    vROps for Oracle Database - Management Pack vs Hyperic comparison
    Read the rest here.

    can you also post 28,000 more lines? I'm sure this will be helpful....

  • For oracle database and websphere on LINUX

    Hi
    All,
    I have installled Oracle database 10.2.0.3 on AIX server and Application will be hosted on websphere on LINUX.
    Now I don't know what are the things require to connect with oracle database from websphere application on LINUX.. for example .. connection string , driver etc..
    any help will be appreciated.
    Thanks,
    Vishal

    Already answered at the dup post --> Re: For Oracle Database and WEbsphere
    ~ Madrid
    http://hrivera99.blogspot.com

  • Error when installing 9.0.1.4.0 patch set for the Oracle Database Server.

    Hi to all.
    Currently, i am trying to install patches for portal server.
    The server OS is Sun Solaris 8.
    We are using Oracle9iAS.
    Now, we are installing 9.0.1.4.0 patch set for the Oracle Database Server.
    We managed to install the patch, but have problem with the Post Install Action.
    We managed to run
    -ALTER SYSTEM ENABLE RESTRICTED SESSION;
    -@rdbms/admin/catpatch.sql
    -ALTER SYSTEM DISABLE RESTRICTED SESSION;
    -CONNECT / AS SYSDBA
    -update obj$ set status=5 where type#=29 and owner#!=0;
    -commit;
    But, when we come to the next command, which is to shutdown, it gives us like
    this..
    SQL> update obj$ set status=5 where type#=29 and owner#!=0;
    1402 rows updated.
    SQL> commit;
    Commit complete.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    We tried to startup the database..it gives us this error..
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    So, we tried to shutdown again..
    SQL> shutdown immediate
    ORA-01089: immediate shutdown in progress - no operations are permitted
    I been informed that this is maybe a Database problem related. Any ideas?
    Best Wishes,
    Rushdan Md Saad.

    Patchsets could be obtained (only) from http://metalink.oracle.com
    You need to have valid CSI for access.
    P.S: Sorry Werner, I didn't see you post.
    Message was edited by:
    Ivan Kartik

  • How to load PDF files into oracle database and display them in APEX

    Hi All,
    We have a requirement for loading the Loading PDF files (lots of PDf files) to the oracle database and then display the PDF files in the Oracel APEX report.
    So that User can view the PDF files. Our current APEX verison is 3.2..
    Please let me know how to implement it and where to find the sample application!
    Thanks in advanced!
    Jane

    Thanks Tony for your quick response!
    We need to load a lot of PDfs (history + current).
    I have a questions about the SQL loader. I am trying to insert a pdf file into a table by following the oracle loading sample:
    http://download.oracle.com/docs/cd/B10501_01/text.920/a96518/aload.htm
    Example Data File: loader2.dat
    This file contains the data to be loaded into each row of the table, articles_formatted.
    Each line contains a comma separated list of the fields to be loaded in articles_formatted. The last field of every line names the file to be loaded in to the text column:
    Ben Kanobi, plaintext,Kawasaki news article,../sample_docs/kawasaki.txt,
    But i don't know to where should I put my pdf file on the server.
    for example:
    ,../sample_docs/kawasaki.txt,
    Where is the file 'kawasaki.txt'??
    I try my local path, it didn't work. like c:\temp.
    then I loaded teh PDf file into our server(/findev20/olmtest/orafin/11.5.7/olmtestcomn/temp) , and In my data file. I put the path
    1, pdf_emp1,../findev20/olmtest/orafin/11.5.7/olmtestcomn/temp
    but I got the error: the system can not find the file specified.
    Where should I put the PDf files on the server and how to specify the path in the data file?
    Thanks!
    Jane

  • Pagination support for non-Oracle databases?

    Hi,
    I just read this thread (Pagination Support on pagination support. Is there any way to get pagination with non-Oracle databases? We are using an IBM iSeries / AS/400 DB2 database right now, and we're planning to use some local lightweight database in the near future as well (probably Cloudscape/Derby or "IBM Everyplace database".)
    We currently use code like this:
    String sql = "SELECT art FROM Artikel art" +
                /* dynamically generated where statement is added here */
                + "ORDER BY art.artikelNummer";
    Query q = em.createQuery(sql);
    q.setFirstResult(firstResult);
    q.setMaxResults(maxResults);If I look in the TopLink logs, I see queries like this:
    SELECT ARTNR, ARALT, ARAFJ, ARXII, ARAVJ, ARXIV, ARANJ, AHGCD, ARNVJ, ARCRJ, ARARK, ARFKJ, ARTNK, ARGP1, ASGCD, ARGP2, ARPR1, ARGP3, ARPR2, AREX1, ARPR3, AREX2, ARPR4, AREX3, ARASA, ARINA, ASSCD, ARIA1, ARBAN, ARIN1, ARBAV, ARIA2, ARBAK, ARIN2, ARCES, ARIA3, ARCDT, ARIN3, ARCRE, ARIA4, ARCWK, ARIN4, ARHBH, ARIA5, ARDFA, ARIN5, ARDFG, ARIA6, ARDOS, ARIN6, AREPW, ARINN, ARFOD, ARIAS, ARFOE, ARINS, ARFOF, ARNAB, ARFOI, ARNIB, ARFON, ARNIA, ARFOS, ARNN1, ARFTA, ARNA2, ARVIV, ARNO2, ARGAP, ARNN3, ARGPT, ARNA4, ARGPD, ARNO4, ARGPA, ARNN5, ARGPO, ARNA6, ARHIS, ARNN6, ARISP, ARNIO, ARKHM, ARNNS, MAGCD, AROVJ, MTGCD, ARPL1, ARMXM, ARPL2, MRKCD, ARPL3, ARMVR, ARVKJ, ARMIM, ARV12, ARMDT, ARVVJ, ARMTE, AR#VR, ARMTU, ARZLS, ARMTM, ARIAT, ARMWK, ARAVS, MPCCD, ARNVS, ARBTW, ARFJS, ARXI2, ARG2S, ARXI3, ARE1S, ARXI4, ARE3S, ARXI6, ARIB1, ARXI1, ARIB2, ARXI5, ARIB3, AROPI, ARIB4, ARPRV, ARIB5, SZGCD, ARIB6, ARSPC, ARINO, ARSMF, ARIOS, VEAAN, ARNIS, ARSYN, ARNO1, ARVR1, ARNA3, ARV1S, ARNN4, ARVR2, ARNO5, ARV2S, ARNIN, ARVR3, ARNOS, ARV3S, ARP1S, ARTFA, ARP3S, ARTFG, ARS12, ARUVC, ARZLD, ARUCW, ARAJS, ARBKV, ARCJS, ARVVI, ARG3S, ARVVP, ARINB, VPOCD, ARIO2, VPECD, ARIO4, ARVIH, ARIO6, ARVHG, ARNBS, ARVRW, ARNN2, ARVPR, ARNA5, ARVVR, ARNAS, ARVVS, ARP2S, ARVV1, ARSVV, ARZK1, ARNJS, ARNA1, ARNO3, ARIO1, ARNO6, ARIO5, AROJS, ARE2S, ARVJS, ARIBS, ARIAD, ARIO3, ARG1S FROM ART WHERE ((((ARUVC = 'N') AND (ARHIS = 'N')) AND (ASGCD = 7)) AND (AHGCD = 15)) ORDER BY ARTNR ASC
    (Yeah, I know we have too much columns in the table...)
    So, no pagination in the query. As you can see, we have a mechanism in place to dynamically generate a where clause. This is because the user can set filters. The problem is, if our user sets a filter that causes the result set to be significantly smaller, the performance is way better than when he sets no filter at all. We suppose this is because the whole result set is sent to TopLink, regardless of the values of firstResult and maxResults.
    We are using TopLink Essentials 2.1-10, by the way.
    Message was edited by:
    Bart Kummel

    Hi all,
    I'm trying to subclass <tt>DatabasePlatform</tt> to add pagination support for the AS/400 DB2 database of my customer. To be fair, it is not going very well so far.
    The first problem is, the query Chris found by googling (Re: Pagination support for non-Oracle databases?), does not work for AS/400s version of DB2. In fact, although it is called "DB2", the database on the AS/400 system is a whole other database than the "normal" DB2 database that runs on Windows and *nix. The AS/400 DB2 simply does not have a "ROW_NEXT" function.
    Another option would be to use the <b>row_number() over()</b> mehtod. But, as can be read here, this function is only available from version V5R4 of OS/400. And guess what? We're stuck on V5R3 at this client. (We cannot upgrade, because there's an application in use that's written in Delphi and IBM dropped the Delphi binding from V5R4...)
    So I pretty much ran out of options. On the mailing list I linked to above, someone mentions the option to make a sort of stored procedure that generates a row count number. An example of how to do this can be found here. I implemented it, and ended up with this code:
    package com.myclientsname.persistence;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import org.eclipse.persistence.expressions.ExpressionBuilder;
    import org.eclipse.persistence.internal.databaseaccess.DatabaseCall;
    import org.eclipse.persistence.internal.expressions.ExpressionSQLPrinter;
    import org.eclipse.persistence.internal.expressions.SQLSelectStatement;
    import org.eclipse.persistence.internal.sessions.AbstractSession;
    import org.eclipse.persistence.logging.SessionLog;
    import org.eclipse.persistence.platform.database.DatabasePlatform;
    import org.eclipse.persistence.sessions.SessionProfiler;
    public class AS400Platform extends DatabasePlatform {
        private static final long serialVersionUID = 0L;
        public AS400Platform(){
             super();
             super.setShouldBindAllParameters(false);
        public void printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) {
            int max = 0;
            int firstRow = 0;
            if (statement.getQuery()!=null){
                max = statement.getQuery().getMaxRows();
                firstRow = statement.getQuery().getFirstResult();
            if ( !(max>0) && !(firstRow>0) ){
                super.printSQLSelectStatement(call, printer,statement);
                return;
            } else {
                statement.setUseUniqueFieldAliases(true);
                ExpressionBuilder builder = new ExpressionBuilder();
                statement.addField(builder.getField("COUNTER() AS CNTR"));
                printer.printString("SELECT * FROM (");
                call.setFields(statement.printSQL(printer));
                printer.printString(") AS R WHERE R.CNTR >= ");
                printer.printParameter(DatabaseCall.FIRSTRESULT_FIELD);
                if ( max > 0 ){
                    // Use of binding parameters is not allowed here, so use
                    // String concatenation instead...
                    printer.printString(" FETCH FIRST " + max + " ROWS ONLY");
            call.setIgnoreFirstRowMaxResultsSettings(true);
        public boolean wasFailureCommunicationBased(SQLException exception, Connection connection, AbstractSession sessionForProfile){
            if (connection == null || this.pingSQL == null){
                //Without a connection we are  unable to determine what caused the error so return false.
                //The only case where connection will be null should be External Connection Pooling so
                //returning false is ok as there is no connection management requirement
                    //If there is no ping sql then we can not perform the ping.
                return false;
            PreparedStatement statement = null;
            try{
                sessionForProfile.startOperationProfile(SessionProfiler.ConnectionPing);
                if (sessionForProfile.shouldLog(SessionLog.FINE, SessionLog.SQL)) {// Avoid printing if no logging required.
                     sessionForProfile.log(SessionLog.FINE, SessionLog.SQL, getPingSQL(), (Object[])null, null, false);
                statement = connection.prepareStatement(getPingSQL());
                ResultSet result = statement.executeQuery();
                result.close();
                statement.close();
            }catch (SQLException ex){
                try{
                    // Had to add this check because of NullPointerExceptions
                    // (maybe a bug?)
                    if(statement != null){
                        //try to close statement again in case the query or result.close() caused an exception.
                        statement.close();
                } catch (SQLException exception2) {
                    //ignore;
                return true;
            }finally{
                sessionForProfile.endOperationProfile(SessionProfiler.ConnectionPing);
            return false;
    }(As you can see, I had to override the <tt>wasFailureCommunicationBased()</tt> method as well, due to some unexpected NPE's. (A bug, perhaps?))
    This code does work. However, the performance is not very well. The first page comes relatively fast, but as you browse further in the table, each page comes slower. I assume this is because the counter() method has to be evaluated for each row in the table.
    I have to get the performance better and constant. Does anyone have an idea how to optimize this further?
    Best regards,
    Bart Kummel

  • Where should one install Oracle Database and the Grid Infrastructure in order to adhere to OFA?

    I've downloaded the two zipped install folders for Oracle Database, and the two zipped install folders for the Grid Infrastructure.  The book I'm following for installation says to use one directory for the database, and one directory for the Grid Infrastructure, but it doesn't explain where they should be located in OFA.  Presumably they should both end up somewhere in the same Oracle Base (since everything Oracle related on a single file system should go in the same base, according to my understanding), but it isn't clear where they should be installed in relation to each other.  For example, is the Grid Infrastructure a separate product that gets its own Oracle Home?  Can anyone shed light on this process?
    Also, does it matter to which location the zipped files are unzipped?  For example, are any of these files used after the installation process, or does OFA only care about post-installation location?

    I think this links may be helpful -- ORACLE-BASE - Oracle Database 11g Release 2 RAC On Oracle Linux 5.8 Using VirtualBox, http://www.oracle.com/technetwork/articles/hunter-rac11gr2-iscsi-088677.html.
    OFA -- Optimal Flexible Architecture standard. The standard is a set of configuration guidelines created to ensure well organized Oracle installations that are easier to maintain (http://docs.oracle.com/cd/B28359_01/install.111/b32002/app_ofa.htm#LADBI440).
    It relates to location of the grid and dbms files location. Actually you should specify base directory and follow installer. System will be installed in correct directories.
    It does not matter where you will unzip your distributives. You may delete them after installation to free space.

  • Installing Oracle Database and SQL Developer

    Hi, I was looking for some help/advice in regards to installing an Oracle Database and SQL Developer onto a Windows 7 32bit machine. I have been asked to create a database to store data that I create through reports in Excel so I am required to create a local database but not sure how to go about doing this. Also not sure if I install the Express Edition or Oracle Database 11g R2. If somebody could please advise on how I can get this started or even any links/tutorials that would guide me in how to get this installed with a localhost.
    Thanks in advanc.

    318f20b8-a3d0-4fb4-bb0f-73785250b7d4 wrote:
    Thanks guys, I have managed to install Oracle 11gR2 and I have setup a database using the dbca tool and I can connect to my new database. One thing that I have noticed is that when i look into my tables in sql developer i see loads of different tables i.e. def$_, logmnr_, etc and I am not sure why this is as I expected an empty tablespace.
    Thanks btw for all your help.
    One of the key principles of relational databases is that they use their own facilities to manage themselves.  That means the database management system uses the database to manage data about the database using exactly the same facilities (tablespaces, tables, user accounts, procedures, etc) that an application uses to keep data for the application. See "data dictionary"   So there is no such thing as a completely empty database.
    As said by others, you do NOT want to be creating your own tables under oracle's schemas (users) or in oracle's own tablespaces (esp. SYSTEM and SYSAUX).  Create your own user account/schema.  Create your own tablespace. Make that tablespace the default for that user.

  • System Utilities Check: Check system for make, ld, ar and cc - Windows XP

    Can somebody help me?
    I am trying to install Oracle 11i on a Windows XP home edition machine in a single mode and Vis database. I am getting the error message as following.
    System Utilities Check: Check system for make, ld, ar and cc.
    Is it possible to install Oracle 11i on XP home edition at all?
    Appreciate your help.

    How can i find this command make, ld, ar and cc.????
    thanks

  • Creating A New Oracle Database And Sql Developer

    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AM

    user8948230 wrote:
    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AMIn addition to downloading and installing the database software to create a database, might I also suggest you start getting familiar with the documentation.
    Learning where to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com. Drill down to your product and version.
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are reference manuals. Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    After you have familiarized yourself with what is available, read the "2-Day DBA" manual to help get you started.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

Maybe you are looking for

  • Time Delay Express VI default to show as icon?

    I am really only intrested in the Time Delay "express vi" This is the only express vi I ever use and it drives me nuts everytime I drop it in and this HUGE box takes up space for nothing. I would really love to have just the one VI able to default to

  • I get a message "before viewing pdf documents i must launch adobe reader and accept end user licence

    I get a message "before viewing documents in this browser you must launch adobe reader and accept the end user licence agreement then quit and relaunch the browser". How do I do this?

  • How to create an interface if the class has a nested class

    I have the following class public class SampleImport{ public SampleResult import (InputSource xml) { SampleResult sampleResult = new SampleResult();           //do something           return sampleResult; public static class SampleResult {           

  • Keyborad layout in new models

    Hi: I've noticed that in new models (T410 and so on) there's a change in the keyboard layout, so now there's a double sized "Supr." key instead of the "Insert/Supr." keys. Is there an option keyboard with the old layout? I've a T400 which I'm thinkin

  • [Mega 180] Media Center III with Hauppauge PVR250

    Hi We have a problem to get the TV card installied in MSI Media Center III deluxe. The TV card (Hauppauge PVR 250) works very well with the Hauppauge WinTV Software - but there seems to be no way to integrate the tuner card in Media Center. We procee