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

Similar Messages

  • 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

  • Insert in oracle database issue (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

    using System.Data.OracleClient ????
    This is the ODP.NET forum.
    using Oracle.DataAccess.Client;
    and reference something like: C:\Oracle\product\11.1.0\client_1\ODP.NET\bin\2.x\Oracle.DataAccess.dll
    Assuming your "insert thread" is simply waiting on the next queue entry, why don't you just turn pooling off, open the connection and keep that one connection open?
    I am fairly certain the speed issue has nothing to do w/the insert statement vs. stored procedure.
    r,
    dennis

  • 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

  • When i start my hot backup my database getting very slow

    Hi,
    I am using following commands for enabling hot backup
    SQL>ALTER SYSTEM ARCHIVE LOG CURRENT;
    SQL>ARCHIVE LOG LIST;
    SQL >ALTER DABATBASE BEGIN BACKUP;
    Database altered.
    SQL>SELECT FILE#,STATUS FROM V$BACKUP;
    FILE# STATUS
    1 ACTIVE
    2 ACTIVE
    3 ACTIVE
    4 ACTIVE
    and using cp -rp command to copy the file (backup copying speed good) but database performance very slow
    How to improve performance ...
    Regards
    Vignesh C

    Uwe Hesse wrote:
    It is very likely that you experience slow performance with ALTER DATABASE BEGIN BACKUP , because until you do ALTER DATABASE END BACKUP , every modified block is additionally written into the online logfiles . Doesn't that happen only the first time the block is modified?
    >
    The command was introduced for split mirror backups, when this period is very short. Else ALTER TABLESPACE ... BEGIN/END BACKUP for every tablespace one at a time reduces the amount of additional redo during non-RMAN Hot Backup. There appear to be only 4 files. We don't know how big or sparse they are.
    >
    RMAN doesn't need that at all - much less redo - and also archive - generation then.
    Furthermore, you can use BACKUP AS COMPRESSED BACKUPSET DATABASE to decrease the size of the backup even more - if space is an issue.
    In short: Use RMAN :-)
    Agree with that! Unless the copy is actually going to an NFS mount or something, where I would be concerned whether it is the type of NFS that Oracle likes. I'd also advise a current patch set, as the OP didn't tell us the exact version, and I have this nagging unfocused memory of some compression problems of the "oh, I can't recover" variety.
    I'd like to see some evidence on I/O and cpu usage before giving advice. When I used to copy files like this, it would choke out everyone else. RMAN was a savior, but had to wait for local SAN upgrade.

  • WebDav suddenly very slow

    Today, WebDav became suddenly very slow on my iMac running the latest version of Mavericks. Yesterday everything was OK.
    When I try WebDav from my iPad things are OK, so I suspect something is wrong on my iMac. I already tried rebooting and resetting PRAM and VRAM.
    Does anyone have a good suggestion?

    Hello,
    Check to see how much free disk space there is. Right or control click the MacintoshHD icon on your Desktop, then click: Get Info. In the Get Info window, click the discovery triangle so it's facing down. You will see; Capacity and Available Make sure you have 10% available disk space, 15% is better. Insufficient available space, can cause performance issues, system corruption, and possible loss of data.
    Check the hard disk for errors.
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    Read the post by "Klaus1" here. http://discussions.apple.com/thread.jspa?messageID=7668937#7668937
    52 Ways to speed up Mac OS X
    Carolyn

  • Mac Book Pro suddenly very slow

    MacBook Pro suddenly very slow despite good wifi connection. Should I be scanning for virus? and if so, which product?

    Scanning for a virus will be a waste of time.  To date there are no know virus' affecting Macs. 
    More details might be helpful, but in the interim, look at this comprehensive document:
    https://discussions.apple.com/docs/DOC-3521
    Ciao.

  • My Mac Book Pro is suddenly very slow.  Suggestions?

    My Mac Book Pro is suddenly very slow.  Suggestions?

    Hi p,
    Try any of the following which you have not yet done:
    Make sure you have at least 15% free space available on your HD.
    Check SMART status on HD.
    Repair Permissions.
    Repair Disk.
    SMC Reset.
    Safe Boot.
    Check Page outs in Activity Monitor.

  • Database performing Very slow  - Lots of wait events

    My database is on Oracle10g on Sun 5.10
    The users are complaining about database is very slow.
    I analyzed the indexes & later on rebuild them, hardly it has only 5% performance improvement.
    http://i812.photobucket.com/albums/zz43/sadeel00/untitled1.jpg
    http://i812.photobucket.com/albums/zz43/sadeel00/untitled2.jpg
    ADDM has no recommendations.

    Duplicate post - Database performing Very slow  - Lots of wait events
    Srini

  • Help!My MBP is suddenly very slow with frequent loading icon

    Was working perfectly Sunday then woke up on Monday and it was suddenly very slow and almost every task prompts the spinning loading icon. Tried a software update, but didn't solve anything. Below is my etrecheck please reply with any suggestions!
    Hardware Information:
              MacBook Pro (13-inch, Mid 2012)
              MacBook Pro - model: MacBookPro9,2
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 512 MB
    System Software:
              OS X 10.8.5 (12F45) - Uptime: 0 days 7:3:51
    Disk Information:
              APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (445.33 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Fitbit Inc. Fitbit Base Station
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Startup Items:
              BIND: Path: /System/Library/StartupItems/BIND
              NortonMissedTasks: Path: /Library/StartupItems/NortonMissedTasks
              NUMCompatibilityCheck: Path: /Library/StartupItems/NUMCompatibilityCheck
              SymDCInit: Path: /Library/StartupItems/SymDCInit
              TrackDelete: Path: /Library/StartupItems/TrackDelete
              VolumeAssist: Path: /Library/StartupItems/VolumeAssist
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.barebones.authd.plist 3rd-Party support link
              [System] com.bombich.ccc.scheduledtask.806652FC-A0D3-423B-B349-8DF1C01ECCBD.plist 3rd-Party support link
              [System] com.bombich.ccc.scheduledtask.DE400061-A39F-4691-861A-7F9DB4E6BF67.plist 3rd-Party support link
              [System] com.fitbit.galileod.plist 3rd-Party support link
              [System] com.google.keystone.daemon.plist 3rd-Party support link
              [System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
    Launch Agents:
              [System] com.google.keystone.agent.plist 3rd-Party support link
              [System] com.hp.devicemonitor.plist 3rd-Party support link
              [System] com.hp.messagecenter.launcher.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.spotify.webhelper.plist 3rd-Party support link
    User Login Items:
              SymSecondaryLaunch
              Google Updater Helper
    Internet Plug-ins:
              DirectorShockwave: Version: 11.5.8r612 3rd-Party support link
              o1dbrowserplugin: Version: 5.1.7.17873 3rd-Party support link
              Google Earth Web Plug-in: Version: 6.1 3rd-Party support link
              Flip4Mac WMV Plugin: Version: 2.1.0.33 3rd-Party support link
              Silverlight: Version: 5.1.20513.0 - SDK 10.6 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              DivXBrowserPlugin: Version: 2.0 3rd-Party support link
              Flash Player: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 6.0
              googletalkbrowserplugin: Version: 5.1.7.17873 3rd-Party support link
              npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5 3rd-Party support link
              AdobePDFViewer: Version: 9.5.1 3rd-Party support link
              CANONiMAGEGATEWAYDL: Version: 3.1.0.2 3rd-Party support link
              QuickTime Plugin: Version: 7.7.1
              SharePointBrowserPlugin: Version: 14.3.2 - SDK 10.6 3rd-Party support link
              JavaAppletPlugin: Version: 14.3.0 - SDK 10.8 Outdated! Update
    Audio Plug-ins:
              AirPlay: Version: 1.7 - SDK 10.8
              iSightAudio: Version: 7.7.1 - SDK 10.8
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.8
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Growl  3rd-Party support link
              Norton FileSaver
    Old Applications:
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
    Time Machine:
              Skip System Files: NO
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 50.22 GB
              Destinations:
                        Time Machine Backups [Local] (Last used)
                        Total size: 0 B
                        Total number of backups: 0
                        Size of backup disk: Too small
                                  Backup size 0 B < (Disk used 50.22 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
              /sbin excluded from backup!
              /usr excluded from backup!
              /System excluded from backup!
              /bin excluded from backup!
              /private excluded from backup!
              /Library excluded from backup!
              /Applications excluded from backup!
    Top Processes by CPU:
                   7%          Finder
                   7%          WindowServer
                   6%          Google Chrome
                   1%          hidd
                   1%          EtreCheck
    Top Processes by Memory:
              156 MB          Google Chrome
              102 MB          mds
              52 MB          Google Chrome Helper
              41 MB          WindowServer
              41 MB          Finder
    Virtual Memory Information:
              1.35 GB          Free RAM
              1.22 GB          Active RAM
              248 MB          Inactive RAM
              1.19 GB          Wired RAM
              2.01 GB          Page-ins
              0 B          Page-outs

    Hey paoloac,
    Thanks for the question. I understand that you are experiencing issues with your MacBook. The following resource may provide a solution:
    OS X Mountain Lion: If your Mac runs slowly
    http://support.apple.com/kb/PH10798
    Thanks,
    Matt M.

  • Database is very slow

    Hi Guys,
    I am geting trouble. My database is very slow. I couldn't log in when I launch enterprise manager. I use sqlplus to login on as sys, and it was ok, but it was very slow when I select from v$lock. It is fast when I select from v$session. How can I fix? How can know what database is doing? Thanks.

    It is been fixed by our consultant. The reason is memery shortage. The consultant company didn't tell us much more. Thank you guys. Now I checked my system, in v$session_wait view, there are 3 buffer busy waits events there, and in P2Text column, there is a value "Block#". I checked the view of V$waitstat, the result like
    data block 4234 1259059
    undo header 68169 6811160
    is there problem?
    in v$system_envents like
    EVENT TOTAL_WAITS TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAIT TIME_WAITED_MICRO
    buffer busy waits 72994 72950 7953083 109 7,9531E+10
    when I select from v$lock, it took long time, finally I cancelled. I coun't use enterprise manager to expand instance tree to see the sessio, very slow and like hang. What's problem? How do I fix it?

  • A user connect to the database is very slow.

    Hi, all!
    I met a problem in the database. A user(schema) connect to the database is very slow. and the user query the data is slow too.

    And some errors in the listener.log :
    23-Aus -2012 06:03:54 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=ora36)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.xxx)(PORT=24923)) * establish * ora36 * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    23-Aus -2012 06:03:54 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=ora36)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.xxx)(PORT=23409)) * establish * ora36 * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    23-Aus -2012 06:03:55 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=ora36)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.xxx)(PORT=9103)) * establish * ora36 * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    How can I resolve this, thanks!

  • Database is very slow in oracle 9i with Suse Linux

    Hello All,
    We are using Suse linux and installed Oracle 9i on it. Our ERP product is running on this database. It is very slow. But linux configuration seems Ok. Oracle's performance is very slow. But The same thing is working fast in oracle 8.1.6 and 8.1.7. Is there any special linux configuration parameters should we consider for this or we have to do something in init.ora file?. I added the size of the JAVA_POOL_SIZE, SHARED_POOL_SIZE and LARGE_POOL_SIZE to 300 MB each.
    Thanks in advance and expecting your reply.
    with regards,
    sivababu

    Which version of SuSE Linux would possibly help here. I'm using version 7.3 Pro and it is only 10 minutes slower than my installation on XP Pro (the script is 16 pages long and takes 8,000,000 records and converts them into 30,000 records of useful information-takes 20 minutes in XP, 30 minutes in SuSE 7.3 on a personal computer). I used the orarun9i script and followed the directions for re-compiling the genclntsh from the SuSE installations online.

  • 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

  • My Apple TV is suddenly very slow

    I am going to have to use laymen terms here. I purchased my Apple TV a year ago and have been using it successful since. About two weeks ago it suddenly began streaming very slowly and has maintained a very slow rate of transfer between my computer (Windows XP) and the Apple TV. To be frank I cannot use it without frustration. I tried upgrading to 2.0 but it did not help. So I did a factory reset which only put it back on 1.1 ; but the performance is still painful. I have made no changes to my router (ADSL) or my computer that is running iTunes. I have three other laptops that are running on the wireless laptop and they are running fast and fine.
    Can anyone help?

    davidwh1,
    I may have misread your original post... but I interpreted your message to say that you have your information on a laptop, and that the laptop and AppleTV are both connected wirelessly to your router. And if that is the case you can connect your laptop directly to your AppleTV for testing purposes. However, if your iTunes is on your desktop PC, perhaps you could try to sync one of your laptops (if you have iTunes on it) to your AppleTV in order to rule out that it is a connection issue. Sorry if I misread your post and I wish you good luck.
    Dave
    (aka Bannon)

Maybe you are looking for

  • Upgraded operating system and Photoshop elements says invalid license key

    HI i used PSE 7 on my windows 7 PC. Now i have upgraded to windows8.1 I redownlaoded PSE7 from adobe site and when i enter old serial it says inavalid serial. please helip to install it on the new OS

  • Can u rectify the error  in merge statement in sql

    hi to all, i had created a duplicate table of emp with the name of copy_emp with no records. by using merge statement i want to update the existing rows and insert new rows into copy_emp table as follows ...... merge into copy_emp c using emp e on(c.

  • Nested Dashboard Pages in OBIEE 11.1.1.6

    Hi, I am working on OBIEE 11.1.1.6. We are having a requirement to have nested pages in OBIEE Dashboard. Example: In Dashboard A, i have two pages Page A and Page B. Again under Page A, i should have Page A1, page A2, Page A3. Similarly for Page B I

  • RMI connection refused

    Hello to all, I have created and completed an RMI chat application and tested it on my localhost. It worked all right. Now I want to make it live i.e. run it through internet. Is it same as running on localhost only we have to change the IP address f

  • IMPORTING FLASH FILE IN CAPTIVATE

    Hi! I have an interactive training module created with Flash. It has buttons, videos, and quizzes. Now, to make it compatible with SCORM. I was advised to use Captivate. Is it possible to export the whole flash file in Captivate? Please help. Thank y