Oracle Login is very slow

Hi all,
I have two Windows 2000 Servers:
1. Compaq Server with one 2.4G CPU, 1G RAM and 30G harddisk
2. Acer Server with one 2.4G CPU, 1G RAM and 30G harddisk
The software configuration of two server are identical, they both have:
1 Windows 2000 Server with SP3
2 Oracle 8i ( Oracle configuration(such SGA, buffer size, etc...) are also identical
But I found two strange things I cannot explain.
1.)
When I local(not throuhg network) login Oracle on Compaq Server, it only takes no more than 1second to login. But When I local login Oracle on Acer Server it takes about 3 seconds to logon.
2.)
I local login to Oracle on Acer Server, and followed by executing a query which involves external procedure call, it takes 5 seconds to finish that query. In the same session, I executed the same query again and again, it only took 2 seconds to complete. I donot know why the first execution of a query (with external procedure call) takes longer time. It seems Oracle takes some time to load the external procedure service in Acer server. Again the strange thing, there is not such issue in Compaq Server, no matter when I execute the same query, it always take 2 seconds.
Could any one tell me why Oracle on Acer Server has slow response in certain situations (e.g Logon , and run first query involve external procedure). And any solution to solve the problem?
Thanks in advance.
Frank

Could any one tell me why Oracle on Acer Server has slow response in certain situations (Maybe that's why Compaq charge more than Acer.
Cheers, APC

Similar Messages

  • Query can run in Oracle 10g but very slow in 11g

    Hi,
    We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
    Do any of you face the same issue?
    This is our query:
    SELECT
    A.wellbore
    ,a.depth center
    ,d.MD maxbc
    ,d.XDELT xbc
    ,d.YDELT ybc
    ,e.MD minac
    ,e.XDELT xac
    ,e.YDELT yac
    from
    table_A d,table_A e, table_B a
    where a.wellbore = d.WELLBORE (+)
    and a.wellbore = e.WELLBORE(+)
    and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
    d.wellBORE = b.wellBORE)
    and e.md = (select min(md) from table_A c where c.MD > a.depth and
    e.wellBORE = c.wellBORE);

    Thanks I will move to the correct one..
    Rafi,
    Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
    Moved: Query can run in Oracle 10g but very slow in 11g
    Edited by: 924400 on Apr 1, 2012 6:03 PM
    Edited by: 924400 on Apr 1, 2012 6:26 PM

  • Oracle Forms Performance very slow on the internet

    Hi ,
    We have developed a form application with forms Developer 10g and deployed it on a ORACLE 10g AS. If the user runs our application over intranet there is no any network problem or not any performance decrease occurs. However if we deploy our application over WAN or internet, the startup time of the forms become Very Slow.
    What we can use to make it faster , is there any other tools we have to learn like APEX or JDeveloper , what is the best solution , should we forget the Developer for ever and starting with other tools with fast performance on the internet , if so , what we have to learn , please help us , its common problem .
    any help please ,

    Interesting thread....
    You asked whether "Forms" is the right product for the job. Well, the answer to that question will depend entirely on exactly what functionality you need and your skill-set. One advantage of using Forms over other Oracle products is that, in my opinion, Forms allows you to create simple or complex applications very quickly, with limited development experience. The downside to using Forms however, is that it does use a fairly thick client making startup slower than other applications. Generally, Forms is not very well suited for Internet deployments although it can and has been done. If your goal is to use a product which is easy to work with and is appropriate for Internet deployment, you may want to consider Apex. The downside to Apex is that unlike Forms, Apex generates what I like to call static html pages. Meaning once a page is displayed for the end-user, the data on it remains the same until the user forces interaction with the server again, but in this case the entire page would be refreshed in order to realize the changes. In the case of Forms, any content displayed to the end-user can be change without completely refreshing their view. I like to refer to Forms as a living application because unlike Apex, it can easily respond to most user inputs and/or server side changes almost in real-time. If you want this "live" experience, Forms might be the way to go, although at the cost of some startup performance. Alternatively, Oracle ADF can also give you a similar live-like experience. However, ADF will require a broader skill-set (pl/sql, java, html, etc), whereas with Forms you could get away with only knowing pl/sql although java knowledge would be helpful.
    The views expressed in this thread are my own and do not necessarily reflect the views of Oracle.

  • Oracle connection is very slow

    Hello,
    I install oracle enterprise 5 and oracle 11g R2 and when i connect oracle from plsql developer connectoion is very very slow.
    What do you think about this problem ?
    i don't want to install oracle 11g on windows server !

    Hi,
    Get the network speed/connection checked from the source server to database server. Also check the resources usage on client and server machine for any sign of resource issues.
    Regards

  • FOI theme (Oracle Maps) rendering very slow

    I sniffed the network traffic when a FOI theme is rendered on a map. I determined that for each feature of the theme a network request is sent to the server fetching the corresponding marker. Fetching markers has a big impact on the performance.
    I think that fetching the same marker for each feature is not nessary.
    Is there a way (undocumented feature or patch) to avoid this from happening?
    Thanks in advance,
    Jeroen

    Hi,
    Experienced the same issue. I would like to hear from Oracle Maps development team if they are going to do something with it because our Map with active theme is very slow (rendering of markers and also panning the map). Without active markers it's fast.
    thanks,
    Branislav

  • Oracle query running very slow

    Hi,
    We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
    These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
    some more obeservation :
    (1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
    But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
    (2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
    Since I'm new to MS-Access, I don't know what other information I need to provide here.
    Please help me out.

    ms wrote:
    Hi All
    I am using Oracle 11g . My table contains 10-12 lac rows.Do not use the word lac: it is common in the Indian sub-continent but not known much outside of
    there because it is not standard English.
    >
    1) what is the difference between a index on one column and an index of number of columns ( i.e composite index). The obvious answer of one contains only one column and the other contains more than one.
    2) For what columns in a where clause should index be created ( single columns index or composite index ).Depends
    3) Also can u suggest how to improve the perfomane of thsi query?Please read: SQL and PL/SQL FAQ
    which tells you how to ask a performance related question

  • Zimbra login is very slow - SQL query takes 35+ seconds

    Hi,
    my Zimbra login process remains very slow, 35-40 seconds with only a single user using it. I have Beehive set up as directory synchronized, with about 6500 users in it. However, I and a couple of colleagues the only ones making any use of it for testing. With just one person logging in, the following SQL query takes about 35 seconds to execute:
    SELECT /*+ LEADING(rf rf_pp) USE_NL(rf_pp) INDEX_ASC(@rf_connect_by rf@rf_connect_by (ws_real_folders.parent_eid ws_real_folders.eid)) */ RF.ENTERPRISE_ID AS
    ENTERPRISE_ID, RF.SITE_ID AS SITE_ID, RF.ENTITY_TYPE AS ENTITY_TYPE, RF.EID AS EID, RF.LOCK_ID AS LOCK_ID, RF.CACHE_ID AS CACHE_ID, RF.CACHE_TS AS
    CACHE_TS, RF.CACHE_SQ AS CACHE_SQ, FLOOR(RF.SECURE_CHECK/10) AS ACCESS_TYPES, RF.PARENT_ENTITY_TYPE AS PARENT_ENTITY_TYPE, RF.PARENT_EID AS
    PARENT_EID, RF.NAME AS NAME, RF.OWNER_ENTITY_TYPE AS OWNER_ENTITY_TYPE, RF.OWNER_EID AS OWNER_EID, RF.CREATED_ON AS CREATED_ON,
    RF.CREATOR_ENTITY_TYPE AS CREATOR_ENTITY_TYPE, RF.CREATOR_EID AS CREATOR_EID, RF.MODIFIEDON AS MODIFIED_ON, RF.MODIFIED_BY_ENTITY_TYPE AS
    MODIFIED_BY_ENTITY_TYPE, RF.MODIFIED_BY_EID AS MODIFIED_BY_EID, RF.VISIBILITY AS VISIBILITY, CASE WHEN (BITAND(:B13 , :B12 ) = :B12 ) THEN CAST(MULTISET(
    SELECT METADATA_CEN
    FROM OCS_ENTITY_METADATA_CENS_2_V META
    WHERE META.ENTITY_EID = RF.EID ) AS OCS_COLLAB_ID_TBL_T) ELSE CAST(NULL AS OCS_COLLAB_ID_TBL_T) END AS METADATA_CENS, CASE WHEN
    RF_PP.LAST_ACCESSED IS NULL THEN 'N' WHEN RF.MODIFIEDON > RF_PP.LAST_ACCESSED THEN 'U' ELSE NVL(RF_PP.RELATIVE_STATUS, 'N') END AS CHANGE_STATUS,
    RF.PROPERTIES AS PROPERTIES_CLOB, RF_PP.PROPERTIES AS VIEWERPROPERTIES_CLOB, RF.DESCRIPTION AS DESCRIPTION
    FROM (
    SELECT /*+ QB_NAME(rf_connect_by) no_connect_by_cost_based */ RF.ENTERPRISE_ID ENTERPRISE_ID, :B4 SITE_ID, :B3 ENTITY_TYPE, RF.EID EID, RF.LOCK_ID LOCK_ID,
    RF.ORA_ROWSCN CACHE_ID, RF.CACHE_TS CACHE_TS, RF.CACHE_SQ CACHE_SQ, RF.PARENT_TYPE PARENT_ENTITY_TYPE, RF.PARENT_EID PARENT_EID, RF.NAME
    NAME, RF.OWNER_TYPE OWNER_ENTITY_TYPE, RF.OWNER_EID OWNER_EID, RF.CREATED_ON CREATED_ON, RF.CREATOR_TYPE CREATOR_ENTITY_TYPE,
    RF.CREATOR_EID CREATOR_EID, RF.MODIFIED_ON MODIFIEDON, RF.MODIFIED_BY_TYPE MODIFIED_BY_ENTITY_TYPE, RF.MODIFIED_BY_EID MODIFIED_BY_EID,
    RF.VISIBILITY VISIBILITY, RF.PROPERTIES PROPERTIES, RF.DESCRIPTION DESCRIPTION, RF.IS_HIDDEN IS_HIDDEN, LEVEL LEVEL_NUM, COALESCE (
    (SELECT :B10 * 10 + 1
    FROM AC_ENTITIES AEI
    WHERE RF.EID = AEI.EID AND ( 1 = DECODE(AEI.SENSITIVITY_EID, :B9 , 1, 0) AND 1 = DECODE(AEI.OWNER_EID, :B8 , 1, 0) AND 1 = DECODE(AEI.AT_READ, :B7 , 1, 0) AND 1 =
    DECODE(AEI.AT_DISCOVER, :B6 , 1, 0) AND 1 = DECODE(AEI.LOCAL_ACL_ID, :B5 , 1, 0) ) ) ,
    (SELECT ACV.ACCESS_TYPES * 10 + ACV.IS_ALLOWED
    FROM AC_CHECK_ONE_OF_V ACV
    WHERE ACV.EID = RF.EID ) ) SECURE_CHECK
    FROM WS_REAL_FOLDERS RF
    WHERE RF.IS_HIDDEN = :B2 START WITH RF.PARENT_EID = :B1 CONNECT BY PRIOR RF.EID = RF.PARENT_EID ) RF, WS_RF_PRVT_PROPERTIES RF_PP
    WHERE RF.EID = RF_PP.EID (+) AND :B11 = RF_PP.VIEWER_EID (+) AND 1 = BITAND(RF.SECURE_CHECK, 1) ORDER BY RF.LEVEL_NUMIt has ID atrvjdrmz2v6d in Enterprise Manager, and I've tried tuning it with the SQL tuning advisor in EM. I did the statistics gathering mentioned in another thread yesterday, to see if that helped - doesn't seem liked it. I'm running Database 11.1.0.6 and Beehive 1.5.1 in the build from the day it released.
    Any hints? I'll post this to MetaLink as well, unless someone has some immediate idea what's wrong :-)

    No speedup, the 35-40 seconds is for normal logins - and it's very consistent, at least if the database is otherwise idle. Immediately logging out and back in gives me the same wait, and the same query shows up in the Enterprise Manager interface.
    It seems it might be related to Workspaces - from EM:
    "PL/SQL Source (Line Number)          BEE_CODE.WS_REAL_FOLDER_PKG (2998)"

  • DBProviderFactories.GetFactory("Oracle.DataAccess.Client") very slow

    The call to System.Data.Common.DBProvidersFactories.GetFactory("Oracle.DataAccess.Client") is taking over 2 minutes to return on my computer. By comparison, calls to GetFactory() for the System.Data.SqlClient and IBM.Data.DB2 takes less than a second.
    Even more strange, the same call is very fast if I am running the code inside of the VS2010 debugger.
    ODAC version 11.2.0.1.2 (32bit version)
    Windows 7 64 bit
    .NET 3.5 SP1
    Oracle server - not relevant since test pgm is not connecting to a serve.
    Code developed with VS 2010.
    Test pgm built with:
    - Target CPU=32 (so app runs as 32bit mode, instead of 64)
    - Target Framework = .NET 3.5 SP1
    The call has not always been this slow. I have been running with ODAC 11.2.0.1.2 since it's release. But, IIRC, the slowness just started several weeks ago.
    Below is the test pgm:
    Imports System.Configuration
    Imports System.Data.Common
    Module Module1
        Sub Main()
            CreateFactory("Oracle.DataAccess.Client")
            CreateFactory("System.Data.SqlClient")
            CreateFactory("IBM.Data.DB2")
        End Sub
        Sub CreateFactory(ByVal providerName As String)
            Dim sw = New Stopwatch
            sw.Start()
            Dim factory = DbProviderFactories.GetFactory(providerName)
            sw.Stop()
            If factory Is Nothing Then
                Throw New Exception(String.Format("DbProviderFactories.GetFactory({0}) failed", providerName))
            End If
            Console.WriteLine("DbProviderFactories.GetFactory({0}) call took {1} secs", providerName, sw.Elapsed.TotalSeconds)
        End Sub
    End ModuleThe output I get is:
    DbProviderFactories.GetFactory(Oracle.DataAccess.Client) call took 130.1584958 secs
    DbProviderFactories.GetFactory(System.Data.SqlClient) call took 0.0001462 secs
    DbProviderFactories.GetFactory(IBM.Data.DB2) call took 0.1252213 secs
    Please let me know if you need any more information. All help is appreciated.
    Jim

    As I mentioned before, if I loaded the DBProviderFactory object, for the IBM.Data.DB2 provider, loading the Oracle.DataAccesss.Client provider ran quickly. The IBM.Data.DB2 provider always using a distributed transaction to communicate with the database. So, my guess is that the IBM DBProviderFactory was doing work to prepare for a distributed transaction. And this prep work allows the Oracle DBProviderFactory to run much faster.
    So to test my theory, I created a TransactionScope object, before creating the Oracle DBProviderFactory. See new code below:
    <pre>
    Sub Main()
    Using ts = New Transactions.TransactionScope()
    CreateFactory("Oracle.DataAccess.Client")
    End Using
    End Sub
    Sub CreateFactory(ByVal providerName As String)
    Dim sw = New Stopwatch
    sw.Start()
    Dim factory = DbProviderFactories.GetFactory(providerName)
    sw.Stop()
    If factory Is Nothing Then
    Throw New Exception(String.Format("DbProviderFactories.GetFactory({0}) failed", providerName))
    End If
    Console.WriteLine("DbProviderFactories.GetFactory({0}) call took {1} secs", providerName, sw.Elapsed.TotalSeconds)
    End Sub
    </pre>
    And this was the result:
    DbProviderFactories.GetFactory(Oracle.DataAccess.Client) call took 0.1925129 sec
    a dramatic speedup.
    Is this expected behavior? More importantly, is there a fix to make loading the Oracle DbProviderFactory faster without requiring the creation of a TransactionScope object?
    Thanks,
    Jim
    Edited by: thompkin on Nov 18, 2010 10:55 AM

  • Oracle Database suddenly very slow!

    Hello,
    After running our Oracle 10g instance on Red Hat Enterprise for more than two years without an itch it suddenly became extremely slow. A simple query that would take a few seconds now takes an hour to complete! It is not the network since the same happens from a local console.
    I checked the log files on bdump and cdump but couldn't see anything wrong.
    Any assistance would be much appreciated!
    Thank you in advance.

    hi,
    do you perform the following
    execute dbms_stats.gather_system_stats ('Start');
    let the system do some typical work
    execute dbms_stats.gather_system_stats ('Stop');
    try running this and see what happens.
    could you also post back some
    vmstat 10 13
    under typical work load and also some
    sar figures
    rgds
    alan

  • Oracle database is very slow and hangs sometime

    I am using Oracle 11g on Red hat 5.2 . My RAM is of 6 GB and swap size is 12GB . When I checked the used RAM and Swap area by using $ free -m command it shows that enough free memory (almost 4990 GB and swap space (more than 10GB) is available to use. Then I checked an alert.log file as my database was hanged . It contains error like
    1. audit commit delay exceeded oracle
    2. unable to spawn jobq slave process oracle
    3. maximum number of sessions exceeded
    4. could not allocate new resource
    My init.ora contains following parameters.
    Processes =150
    Sessions= 248
    Transactions = 220
    memory_target = 2400m
    sga_max_size = 1500m
    sga_target = 0m
    So, what steps i should take to stop database hanging and how can i boost slow performance ? Is there any problem with my resource manager and if so then how can i correct it?
    Thanks
    Tushar Lapani

    Hi,
    Please check the query
    SELECT username,default_tablespace from dba_users;
    Ususally the default tablespace of the user should not be in SYSTEM tablespace. This might cause performance issue. Create a seperate tablespace and alter/assign this user. Also must move all the objects from SYSTEM tablespace to this new tablespace which you created.
    For complete details, you can refer the document http://docs.oracle.com/cd/B14117_01/server.101/b10752.pdf

  • Oracle Reports running very slow

    The same Oracle reports, which used to take 15 seconds to complete, now takes about 4 minutes to complete. Any ideas? Thank you.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JS:
    Thank you for your reply. Could you be more specific about network problem? We've changed our web application server and reports server settings recently. What could cause network problems? <HR></BLOCKQUOTE>
    Well, I would suggest that you got to be very clear with the query. Most of the report peformace is based on the query.
    1. Make sure that query is fine and note down the time it takes.
    2. If first step is clear and if you are happy with the output that is process time, then you can think about tuning the report.
    ( You may want skip this step)
    3. If that does not work you can investigate
    what kind of array it uses and network speed and other thinks. I am not really familior with these set up.
    Good luck with it..
    Regards ...
    Krishna ...
    null

  • Boot up, Login / Logout very slow

    Hi all,
    I have a mid 2010 Mac Pro (Dual Quad Core 2.6, 12GB RAM, 1TB 7200 HD). The computer all of a sudden became extremely slow at normal tasks (opening a Finder window, running commands on Terminal). I ended up doing a clean install of Mavericks (previously running Snow Leopard) after trying all else (which took much longer than usual).
    Unfortunately now, the computer takes ages to boot (read: 10-15 minutes) and another 5 minutes to log in and out. This is a fresh install of Mavericks so it's nothing wrong with the PC. I did a diagnostic test on the Hard Drive and it passed. Also got TechTools Pro and ran tests on the RAM, Video Card and SMART on the HD and it passed. I couldn't boot into AHT (Apple Hardware Tools) for some reason (both D and Option D during bootup).
    One thing I did notice was that, before I reinstalled Mavericks, when I did a PRAM reset at boot and then booted with Verbose mode, bootup happened much quicker (2 minutes). However, after logging in it slowed down considerably.
    I have no idea where the fault is. Even if it is a hardware fault, I can't begin to think where it might be.
    AppleCare is likely out of question for me but I'm tech savvy so I don't mind replacing hardware myself.
    Any help would be appreciated.

    Update: Seems like regular tasks tend to slow down after a few minutes into login...

  • RubyOnRails hosted with Oracle Appliation Server (very slow)

    Hi,
    i tried to host a rubyOnRails application on a oracle application server (more precisley: the included Apache).
    The test to use fastcgi stops with segmentation fault in the ruby framework....
    I am using Solaris 10 and installed ruby via www.sunfreeware.com
    rails with gem
    fcgi from www.fastcgi.com (compiled with gcc)
    fcgi package for ruby with gem
    Any experts out there?

    I'm sorry but currently I do not have SPARC hardware :-(
    Can you run "public/dispatch.fcgi" without error?
    Or, try Rails's FastCGI test case. The file name is "fcgi_dispatcher_test.rb". It should be in the railties/test directory under the installation directory of Rails. Run it with ruby and see if you can reproduce the segfault.
    If you can, try to get the stack trace with GDB, like this:
    gdb --args ruby fcgi_dispatcher_test.rb
    and you will see the stack trace when ruby gets the segfault. If there are not function names but only "??"s in the stack trace, you have to compile ruby with the debug symbols first, using gcc's "-g" option.
    By the way, there are lots of information about FastCGI in Rails on Rails's wiki:
    http://wiki.rubyonrails.com/rails/pages/FastCGI
    Also, FastCGI is not quite easy to configure. I recommend Mongrel or SCGI.

  • Oracle Query runs very slow filling table

    I have used Java Studio Creator 2 with Sun Java System Application Server Platform Edition 8.1_02 (build b06-fcs) in the past. I created a simple oracle query to populate a table and displaying about 560 rows in a table via a web browser. This runs excellent.
    Now, I use Netbeans 6, along with Sun Java System Application Server 9.1 (build b58g-fcs), I populate a table using the same query as before and it takes quite a long time to fill the table. Actually, the browser keeps asking if I want to stop the script about 6 times. If I keep saying yes, it eventually completes.
    I'm using an Oracle 9i database and have tried different drivers from Oracle with the same results.
    Any idea why the difference in filling the table or how to correct this? Thanks!
    Please note: I have this same question posted in the Java.net forums but it's not been answered so far, I hope this isn't crossposting and I get yelled at!

    for NetBeans questions I suggest posting your question in the [email protected] For more information:
    http://www.netbeans.org/community/index.html

  • Oracle insert very slow (very urgent)

    Hello
    I am new to this forum and also new to oracle .... I am woking in a C# 3.5 desktop application
    I am Leasing data from socket (1 message per 10 millisecond) and save in queue<T> and then i have a background thread which dequeu the data and perform some calculation and create “insert sql query “ on run time NO STORE PROCEDURE just simple insert query
    For example
    insert into Product values(0,computer , 125.35);
    I pass that insert query to my datalayer which create oracle connection and insert in to a data base. see the code below
    using System.Data.OracleClient
    class db
    OracleConnection conns = null
    public static void conn(string dbalias, string userid, string password){
    try
    string connString = @"server =" + dbalias + ";uid =" + userid + ";password =" + password + ";";
    conns = new OracleConnection(connString);
    conns.Open();
    catch (OracleException e){
    Console.WriteLine("Error: " + e);}}
    public static void ExecuteCommand(string sqlquery)
    try
    OracleCommand cmd = new OracleCommand(sqlquery,conns);
    cmd.ExecuteNonQuery();
    NOW the problem is that inseration in oracle database is very slow please tell me how to solve this issue

    Additionally:
    How slow? Just one single insert is slow? Or you're doing thousands of inserts that way and they add up to being slow?
    If you're doing a bunch of inserts, wrap a bunch of them inside a transaction instead of doing them one by one which will avoid a commit each time as well.
    Or use Array binding or Associatve arrays as indicated previously (You'd need to use Oracle's provider for that though ~ ou're using System.Data.OracleClient).
    You're using a literal hard coded statement, per your example? Use bind variables.
    Also, this forum is for tools that plug in to VS. Problems with ODP.NET code you've written would be more appropriate in the [ODP.NET forum|http://forums.oracle.com/forums/forum.jspa?forumID=146], but that forum deals with problems with Oracle's ODP, not Microsofts (which is in maintenance mode by the way)
    Hope it helps,
    Greg

Maybe you are looking for