connection / disconnection of the oracle database

Hello
I looked upwards and downwards in the documentation of oracle for a good reason why we should not connect to the oracle database, delivery time of 4 or 5 Oracle sql disconnect, reconnect 4-5 sql statements and disconnect again(using sqlplus).
What I currently have is an application that has this kind of behavior that would be as connect/disconnect to the database over 300 times in 25 minutes.
I know that this is not scalable, but would like to show the programmer in the oracle documentation that is not a recommended bestpractes.
Any help will be appreciated.

What you can explain the developer that is whathappens when a connection is given and terminated, the concept of the PGA and server allocation and dealloction process. You can include more use of server resources when all that happens. Once this part is well to him, you can tell him that hisapplication this constant opening and closing of session, it don't let not the server works optimally as morethan optimize work of its apps, server would be busy giving him the connection later by removing its connetion.

Just take a look at the documentation and found this guide, PT
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14211/design.htm#CJHFIHFC

>
Factors that may prevent a linear scaling include:

Configuration, implementation and poor application design

The application has the greatest impact on scalability. For example:

The poor schema design can cause expensive SQL that do not evolve.

Poor transaction design can cause problems of locking and serialization.

Bad connection management can cause periods of poor response and reliable systems
>

Would that help?
HTH
Aman...

Published by: Aman... April 26, 2009 15:29
Adding link guide PT

Tags: Database

Similar Questions

  • need to connect and configure the oracle on windows 7 vmware professional database? Help, please?

    Hello

    In fact, I wanted to set up ORACLE with Informatica Power Center (ETL) database connection. But my problem is that I installed the oracle database with grid inside VMWARE with the RHEL operating system. But what INFORMATICA etl software is installed outside VMWARE, which is located in WINDOWS 7 Professional.

    I would like to know how I can access and configure oracle database of windows 7 Professional as oracle database is installed inside VMWARE RHEL 6.5 operating system.

    Help, please.

    HERE'S HOW I SOLVED IT: -.


    Here is the url for the NAT that could become useful for other institutions.

    How to Setup Port Forwarding in VMware Workstation 9 | Virten.NET

  • Target of hyperlink connects since the Outlook file in the Oracle database mail

    Greetings.
    Lack of permissions, I can't create text file on the UNIX server.
    This will not be changed.
    I saved the file in the Oracle 11 g database.

    I want to send e-mail to PL/SQL with attached file.
    No UNIX don't scripts at all.

    It's a big file.
    Thought has crossed my mind.

    Can I send e-mail to PL/SQL with a hyperlink that connects to the file that is stored in the Oracle database?
    The target of the link is a file stored in the Oracle database.

    Did anyone done this before?

    Let me know your ideas.

    Thank you.

    Freq Oracle wrote:

    I want to send e-mail to PL/SQL with attached file.
    No UNIX don't scripts at all.

    Can be done using UTL_SMTP or more recent UTL_MAIL.

    Attachments to emails are just that - the content of the file is attached to the body of the mail. Mail arrives at its destination, the mail reader recognizes the attachment and allows it to be saved to disk (or open/read).

    It's standard stuff... See MIME for more details on how to build a body of message with attachments.

    Can I send e-mail to PL/SQL with a hyperlink that connects to the file that is stored in the Oracle database?
    The target of the link is a file stored in the Oracle database.

    Yes. You need a web server that has been configured with Oracle "+ access +"-the default is using the Apache Oracle server which includes a module called mod_plsql. This module allows the web browser to use a URL that refers to a procedure from PL/SQL web enabled in a specific database schema - and pass parameters (as part of the URL query string) to the proceedings.

    You can also use Oracle EPG (Extended procedure gateway according to me, is what does the acronym). This provides a web server directly within the Oracle instance using Oracle XDB (integrated database of XML). It also has a module of type mod_plsql which provides that a web interface (via http) enabled PL/SQL procedures.

    This procedure can be a procedure "+ document download. Oracle provides a system procedure called WPG_DOCLOAD.download_file ()+ you can use inside this active web PL/SQL procedure. This will return the contents of the blob/clob as a 'file' in the web browser.

    For example, a download web-enabled simplistic procedure will look something like this:

    create or replace procedure downloadFile( fileName varchar2 ) is
            b       blob;
            mimeType varchar2(50);
    begin
            select
                file_content, mime_type  into b, mimeType
            from my_documents where file_name = fileName;
    
            OWA_UTIL.mime_header( mimeType, false );
            HTP.p('Content-Length: ' || DBMS_LOB.getlength(b));
            OWA_UTIL.http_header_close;
            WPG_DOCLOAD.download_file( b );
    end;
    

    The URL will look like this:

    http://my-webserver.my-domain.com:7777/pls/ora/scott.downloadfile?filename=somefile.doc
    

    where:
    Scott.DownloadFile = name of the PL/SQL procedure
    filename = somefile.doc = name values of the parameter to pass to the procedure

  • Using Oracle ODBC connection to a remote Oracle database gateway

    Oracle 11 g 2

    RHEL 6.4

    Someone at - it use the Oracle ODBC gateway to connect to a different Oracle database?  Problems with this configuration?  Where can I get the drivers for Linux ODBC?

    (I know, "why not use a dblink?" -Well that would be against the strategies of enterprise security)

    Thanks for your reply.  What I wanted was 'just' a dblink of 1 db Oracle to another Oracle db w/o the use of the ODBC bridge.

  • How to find the name of the Oracle database server?

    People,

    Hello. I installed Oracle Database 11 g 2 OS Oracle Linux 5. The installed directory is/home/user/OracleDB_Home and/home/user/OracleDB_Base.

    Host name is "mylinux". Name of the database instance is PT853.

    I use "mylinux" as the name of the database server, it does not work. I use another way to do as below:

    Export ORACLE_HOME = / home/user/OracleDB_Home

    Can I use "mylinux ORACLE_HOME" as the name of the database server, it does not work either.


    My question is:

    How to find the name of the database server Oracle with Oracle Linux 5 OS?


    Thank you.

    You must learn the basic of database Oracle.

    Please don't regard it not same as SQL server in terms of configuration.

    You never specify the database server name in Oracle.

    You specify the host name in only two places, 1) Tnsnames.ora/JDBC/ODBC (or any client you want to connect) and listener.ora) 2.

    There was nothing called specify the name of the Oracle database from an oracle database server.

    Concerning

    Anurag.

  • How to start the oracle database server and its client in windows 8

    Hi all

    I am a new entry in this forum and I am a beginner with oracle database.

    I always used SQL Server as the database, and it was easy to use after installation.

    With management program configuration of SQL Server I could to start service SQL Server (SQLEXPRESS) and the database server start!

    With SQL Server management studio, I was able to launch the client application, then was to establish a connection to the server and everything worked great!

    Now, how to work with the oracle database?

    I installed the oracle server and client version 11g R2 in windows 8, but how do I start the database?... and how can I start the client application to query?

    best wishes in advance.

    PS: Sorry for my English.

    If you are on the same machine, the only service that you absolutely need to start is the database service.  In your case OracleServiceSYSDBA (hmmm... How did you find with this name?).

    For queries, you can use SQL * Plus which should also be installed.  If you want something GUI, you can use SQL Developer (you need to install separately I think).

  • How to connect Microsoft excel to oracle database?

    version Oracle 11.2.0.3
    version of solaris 10 operating system
    Microsoft excel 2007

    any body can help me how to connect excel, oracle database, I can write my query in excel, and retrieve data from oracle database and show in excel sheet or I can write a query to insert data to the oracle database.

    Hello

    I never tried, but why not try so if you succeeded you will come to know otherwise you would need still oracle client to connect to the oracle database that is located on the other server or if you do not have to install on your local machine that you cannot connect to the oracle database oracle client.

  • How do I get the name of the web page in v$ session table in the Oracle database

    We have asp.net web application hosted on IIS (windows) and the connection to the Oracle (10g) database.


    When I query the table v$ session in the database as a Jr.DBA, I don't see the name of the program as "w3wp.exe.
    coming from the computer host IIS (web server).

    Now, it is difficult to diagnose as session in the database that refers to what web page in the web application.

    If I have 10 web pages open in my web application connecting to the Oracle database, now if I wanted to go
    session info, when I browse the v$ session all it shows me what "w3wp.exe.

    Now is there a way to get the name of the web page in the session of $ v.

    (maybe he needs a few changes to the code in the application web asp.net, change in the configuration of IIS web server as well).

    Let me know

    Dear johnpau2013,

    It's an interesting question. See the documentation below and see if they help you or not?

    DBMS_APPLICATION_INFO;

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#CHEEFBBD
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#i999290
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#ARPLS003

    Hope that helps.

    Ogan

  • The computer keeps a log of connection/disconnection to the network/internet?

    I experience several internet connection all day breaks.  My computer keeps a log of connection to the internet and disconnected from the internet, so I can track how many times this happens and when?

    Hello

    ·         What is a wired or wireless network?

    ·         Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Method 1: To keep a log of connection/disconnection to the network/internet, you can download and install the software. Check out the link for more information below:

    Microsoft Network Monitor 3.4

    http://www.Microsoft.com/download/en/details.aspx?ID=4865

    Method 2: You can also see the article for more information on the the event logs for network problems.

    Using event logs Windows Network Diagnostics to solve network problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/using-Windows-Network-Diagnostics-event-logs-to-solve-network-problems

    Method 3: Check out the following articles for more information about the resolution of network problems:

     

    You may experience connectivity problems or performance issues when you connect a portable computer that is running Windows Vista or Windows 7 to a wireless access point

    http://support.Microsoft.com/kb/928152

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

     

    Network connection problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    Hope this information helps.

  • Database alert is not triggered when the Oracle database monitor by mistake.

    Hello

    Database alert is not triggered when the monitor of the Oracle database by mistake. If we test the alert manually alert works correctly. Could someone let me know the solution for this.

    This isn't a question of PC or operating system. You should post your questions in the forums of Oracle database.

  • What is the name of the table that has the name of the custom in the Oracle database Section?

    What is the name of the table that has the name of the custom in the Oracle database Section?

    Thank you

    Nefertari

    The names of the custom Sections are stored in commonExtendedAttributeML, the extended attribute table.

  • How to store images in the oracle database and get back on a jsff page in ADF?

    Mr President.

    How to store images in the oracle database and get back on a jsff page in ADF?

    I have students and employees in my database and want to store their pictures against their ID.

    How to do this?

    Concerning

    Tender,

    You can check the links that explain this below.

    https://tompeez.WordPress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-ADF-part-2/

    Johny tips: ADF: display image files from database as a popup in Application Web ADF

    See you soon

    AJ

  • Area of private use in the Oracle database

    Hello

    one of my customers have very specific needs. In this case, it has its own "characters". It uses Latin characters and certain characters. Their data are mixture of these characters. Their own characters are not in Unicode format and we have specific policies.

    These specific characters will be in the private use area, but I don't know if and how the Oracle database support unicode private use area.

    Oracle database support unicode private use area?

    And what sorting, filtering data? What classification is applied?

    Does anyone have experience with characters in the private use area?

    Thank you

    Fabrice.

    Oracle supports Unicode PUA you can store codes of PUA in a database AL32UTF8 and you can treat strings containing characters without special considerations. PUA characters are classified into letters in the Oracle database.

    Oracle maps the characters (EUDC) user of various character sets defined multibyte (JA16SJIS, ZHS16GBK, ZHT16MSWIN950, KO16MSWIN949, etc.) to the characters of PUA. These characters are also used by the former Hong Kong HKSCS extension mapping. If supporting user-defined characters in PUA is not a problem for the customer, they can use the standard plane 0 (BMP) PUA [U + E000 to U + F8FF] in their purpose. However, to avoid conflicts with existing maps, they should put their characters in plane 15 PUA [U + F0000-U + FFFFD] or plane 16 PUA [U + 100000-U + 10FFFD]. The downside is that the planes 15 and 16 require four bytes per character in AL32UTF8 compared to three bytes for plane 0.

    The classification applied to the characters PUA is the same as that applied to the other characters in a given environment. The order of the characters PUA in the given classification, depends on the type of snack:

    • In BINARY classification, the comparison is obviously based on binary codes. The order depends on encoding (AL16UTF16 vs AL32UTF8), especially for aircraft 15 and 16 PUA plane.
    • In monolingual rankings (which are not well suited for Unicode characters anyway) PUA are generally ignored in the sorting (but does not) than the characters defined explicitly in the given classification. Compared only among themselves, they use the UTF-16 Binary order.
    • In multilingual characters rankings PUA are generally classified after all characters defined explicitly in the rankings, which are characters from scripts (Latin, Cyrillic, Greek, Georgian, Armenian) Europeans and, in some rankings, an East Asian script. Between them, they are classified according to AL16UTF16 (= UTF-16BE) binary collation.
    • In the UCA, the characters multilingual rankings PUA generally are classified into once all characters defined explicitly in the rankings, which are usually all defined Unicode characters. Between them, they are classified according to AL32UTF8 (= UTF - 8) binary collation. Note that the UCA rankings are new in the database Oracle 12 c.

    Thank you

    Sergiusz

  • Why use Oracle Grid in the oracle database

    Hi experts,

    In fact in my workplace, we use normal database (use not the grid). I want to know why we use the grid in the oracle database. all that the advantage of it.

    Reg,

    Thomas

    You might have a grid of database servers (access to the shared storage) or application servers.

    You can use the Grid control to monitor and manage multiple database / application servers.

    10g and 11g and 12 c facilities grid Infrastructure is installed to facilitate the DSO (is not part of the 10g GI) but a part of the 11 g and 12 c GI and Clustering.

    Then, depending on the context "grid" can refer to another product.

    Hemant K Collette

  • Record great shape data in the Oracle database

    Hi all

    I have a question as to how we store a large xml for example more than 10000 bytes in the oracle database. I tried to use varchar, but the length is limited to only 4000 bytes. Could someone let me know how to achieve this.

    Basically what I'm doing is in adobe livecycle workflow I will get the user entered data in the form as formData (xml) variable and I want to keep the same for any future reference. I need to use the same data to fill the form again in the future.

    Thanks in advance.

    Shekhar,

    I had handy MySQL, so I did it using that and attached here is a sample. For Oracle, this is mission for you as well as recovery.

    -Wasil

Maybe you are looking for

  • Satellite L650 - sound card does not work

    Hello I have a problem with the sound on my computer. It produces no noise at all. On the volume icon, a red cross above it appears and it displays the message; "There is no speakers or headphones connected." Thanks in advance for the attention given

  • How can I connect my MacMini to my iMac 2007?

    Hey everybody: I used an iMac 2007 and a Mac Mini (2010 I think), in the separate rooms in my house.  The old monitor that I used for the Mac Mini is dead and I really don't need two separate computers, but I have to be able to access information and

  • digital camera via firewire is not recognized

    Hello community of Lenovo, I got a refurbished T400 (6474WHF) with XP Professional SP3, it works very well so far. It has a Firewire (IEEE 1394) interface in front of her. When I connect my digital camera through IEEE, the camera is not recognized in

  • HP Officejet Pro 8600-general printer error

    A sign on the printer came up to say that I had to fill two of the printer color cartridges.  I did, and then a message pops up saying that he had a problem with "ink system.  This was followed by a message that says General Printer Error "." I was a

  • Whenever I start a game, it crashes

    So I have a decent computer, but when I start a game the first time I do it, it crashes, ive checked the event viewer to see what presents itself and it's results Log name: Application Source: Windows Error Reporting Date: 04/12/2015-18:45:34 Event I