Slow database performance - WHY ? WHY ? WHY ?

When I run pacman -Syu, the command takes a long time to execute. When I run pacman -S something, and that something does not exist as a package, the command again takes a long time to execute while searching. So my question is, why does pacman take a long time for entire database search operations, when the number of packages in the is quite limited ?

it must be a configuration problem then because its definitely not my connection.
heres my pacman.conf:
# /etc/pacman.conf
# See the pacman manpage for option directives
# GENERAL OPTIONS
[options]
UseSyslog
NoPassiveFtp
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
XferCommand = /usr/bin/aria2c -s 2 -m 2 -d / -o %o %u
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Server=ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
# Add your preferred servers here, they will be used first
[extra]
Server=ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
# Add your preferred servers here, they will be used first
[community]
Server=ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
# Add your preferred servers here, they will be used first
# Unstable is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
[unstable]
Server=ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
[kdemod-legacy]
Server = http://kdemod.ath.cx/repo/legacy/i686
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
and heres my mirrorlist:
# Arch Linux repository mirrorlist
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
# United States
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
#Server = ftp://ftp.archlinux.org/$repo/os/i686
#Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
#Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/i686
#Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
#Server = http://holmes.umflint.edu/archlinux/$repo/os/i686
#Server = http://mirror.neotuli.net/arch/$repo/os/i686
i really love arch and it took me about 8 hours last night to install it on my dads computer (what im on now, i ran into a lot of problems namely with alsa, grub and x) and pacman barely works. I really dont feel like reinstalling arch again. I have arch on my computer up at school and have never had this sort of problem before. this all seemed to happen when i optimized the database after arch wouldnt update anything because it said that all the packages already existed. I performed all the maintainence operations and boom! this happens
i also created a new reiserfs partition for /var since i read that it wasnt a good idea to have /var on a JFS partition (my / and /home are JFS partitions), but that didnt seem to make any difference at all. is there a way to completely wipe out all of pacman and start from scratch? everything else works fine except for pacman.
Last edited by brando56894 (2008-11-30 20:10:22)

Similar Messages

  • Sql queries - slow database

    hi all,
    is there a general but specific way to generate a list of sql queries that are consuming most resources and resulting in slow database performance?
    thanks.

    There are very few ways in this world that are "general but specific".
    You can use "general" tools like StatsPack and AWR.
    You can write "general" queries on V$SQL, V$SQLAREA, V$SQLSTATS.
    You can use "specific" methods like Tracing.
    You can use "specific" methods like Client side (or Application Server side) Logs.

  • Firefox 4 is extremely slow to perform any function on my lap top compared to previous versions. Why? And how do I change this!

    Firefox 4 is extremely slow to perform any function on my lap top compared to previous versions. Why? And how do I change this!

    Firefox 21 and Firefox 22 running on Windows 7 have been reported to take a long time to "wake up" from sleep. I realize hibernation is different than sleep, but... this is the closest match for your description.
    Some users have reported that this problem is resolved in Firefox 23 (currently in beta). Others have had inconsistent luck with minimizing Firefox before letting Windows sleep and other measures.
    Please check out this (very long) thread for more information: [https://support.mozilla.org/questions/961898 browser freezes after resuming from sleep]
    Or jump to the part about Firefox 23: https://support.mozilla.org/questions/961898?page=3#answer-457321
    The fact that this just started recently suggests perhaps it is related to another program or update, but I don't think anyone has confirmed the exact interaction that causes the problem.

  • IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan

    Hi Experts,
    IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan for Daily/weekly??
    Vinai Kumar Gandla

    Hi Vikki,
    Many systems rely solely on SQL Server to update statistics automatically(AUTO UPDATE STATISTICS enabled), however, based on my research, large tables, tables with uneven data distributions, tables with ever-increasing keys and tables that have significant
    changes in distribution often require manual statistics updates as the following explanation.
    1.If a table is very big, then waiting for 20% of rows to change before SQL Server automatically updates the statistics could mean that millions of rows are modified, added or removed before it happens. Depending on the workload patterns and the data,
    this could mean the optimizer is choosing a substandard execution plans long before SQL Server reaches the threshold where it invalidates statistics for a table and starts to update them automatically. In such cases, you might consider updating statistics
    manually for those tables on a defined schedule (while leaving AUTO UPDATE STATISTICS enabled so that SQL Server continues to maintain statistics for other tables).
    2.In cases where you know data distribution in a column is "skewed", it may be necessary to update statistics manually with a full sample, or create a set of filtered statistics in order to generate query plans of good quality. Remember,
    however, that sampling with FULLSCAN can be costly for larger tables, and must be done so as not to affect production performance.
    3.It is quite common to see an ascending key, such as an IDENTITY or date/time data types, used as the leading column in an index. In such cases, the statistic for the key rarely matches the actual data, unless we update the Statistic manually after
    every insert.
    So in the case above, we could perform manual statistics updates by
    creating a maintenance plan that will run the UPDATE STATISTICS command, and update statistics on a regular schedule. For more information about the process, please refer to the article:
    https://www.simple-talk.com/sql/performance/managing-sql-server-statistics/
    Regards,
    Michelle Li

  • My mac OSX lion is now very slow, any idea why?

    my mac OSX lion is now very slow, any idea why?

    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with a visit to: OS X Maintenance - MacAttorney.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion/Mountain Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Repair the Hard Drive - Lion/Mountain Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    Suggestions for OS X Maintenance
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Data Backup
      3. Deja Vu
      4. SuperDuper!
      5. SyncTwoFolders
      6. Synk Pro
      7. Synk Standard
      8. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • Cascade or delete in database server, why if my EJB do it for me??

    Hi,
    I am in design phase of a database for my j2EE application. In the database desing i have some relationships entities, that have foreign keys. I have several options about foreign keys in the relationships, cascade deletes, restrict .... all in my database server.
    But, when i am reading the referencial integrity of the entity EJBs CMP relationships, the entity beans make the cascade deletes automaticaly for maintain the relationsships.
    Need i make my relationships in my database server with cascade delete options or leave it for my application server???
    Another one, if i make relationships in my database server, why i need do it in my entity beans???
    tanks, sorry for my poor english

    Hi Markus,
    Tanks for your answer, if this tip only for entity beans with CMP???
    For example, if i have some entity beans, one with CMP and other with JDO, or for example, an entity beans that use CMP and JDO for access to few tables (i dont know that it is possible or it a good design), how can i design the relationships update/delete cascades in my database server, all entity beans persistence types support his referencial integrity ?? if this if true i think that i forget the relationships updates/deletes cascades in my database server.
    At this moment, i dont know what type of persistence i will use in my application server. I dont undertand yet wath approach i must follow, i design my database and after design my entity beans over this database or i must foget my database and beging with entity beans design first .... i have a big problem, i need read a lot of more.
    Something for help me???
    Very, very thanks

  • Oracle 10g  is an auto managed database. Why ?

    Oracle 10g is an auto managed database. Why ?
    I have read that with 10g version, Oracle database will need very less management, since it can be configured to automanage itself. Sounds not believable.
    Apart from auto extending tablespaces, what others tasks can be automanaged in Oracle DB 10 G release ?
    Please discuss.
    Gony

    Wow I feel like I'm back in college... are you in school?
    How about ASSM?
    All kinds of things on that from google.
    http://www.google.com/search?hl=en&rlz=1C1GGLS_enUS291US303&q=oracle+assm&aq=f&oq=&aqi=g3
    http://www.google.com/search?hl=en&rlz=1C1GGLS_enUS291US303&q=automating+oracle+databases&aq=f&oq=&aqi=
    P.S. What is this all about? RMAN - Gony's reading task for 07/11/2009
    Edited by: TimS on Jul 10, 2009 4:26 PM

  • I just bought a new dell quad core 5i and HAVE DOWNLOADED THE TRIAL VERSION OF PHOTO SHOP - its Slow to open up a small file and equally as slow to print why?

    HELP I just bought a new dell quad core 5i and HAVE DOWNLOADED THE TRIAL VERSION OF PHOTO SHOP - its Slow to open up a small file and equally as slow to print why?

    Use Photoshop menu Help>system Info... use its copy button and paste that info in an append here.
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • [Fwd: wls 7 console terribly slow ? but why]

    Forwarding your message to the console newsgroup if they have any
    recommendations.
    Thanks,
    -satya
    -------- Original Message --------
    Subject: wls 7 console terribly slow ? but why
    Date: 25 May 2004 00:14:07 -0700
    From: chris <[email protected]>
    Reply-To: chris <[email protected]>
    Newsgroups: weblogic.developer.interest.management
    hi *,
    i installed bea 7 to migrate from 6 to 7 and my biggest problem is that
    console
    of wls is terribly slow!
    what are the greates pitfalls when configuring wls concerning console speed?
    i got 6 servers configured not all of them are present now (are placed
    in another
    network yet)
    my version 7 sp2
    thx for any help

    Forwarding your message to the console newsgroup if they have any
    recommendations.
    Thanks,
    -satya
    -------- Original Message --------
    Subject: wls 7 console terribly slow ? but why
    Date: 25 May 2004 00:14:07 -0700
    From: chris <[email protected]>
    Reply-To: chris <[email protected]>
    Newsgroups: weblogic.developer.interest.management
    hi *,
    i installed bea 7 to migrate from 6 to 7 and my biggest problem is that
    console
    of wls is terribly slow!
    what are the greates pitfalls when configuring wls concerning console speed?
    i got 6 servers configured not all of them are present now (are placed
    in another
    network yet)
    my version 7 sp2
    thx for any help

  • AWR - Database Performance Slow

    If my Whole Database Performance is slow,
    running AWR report include current time statistics when the DB Performance is slow ?

    The default AWR Snapshot Interval is 1 hour. So, if you have the default implementation, you will be able to create an AWR report for the period 10am to 11am. It will not reflect what or why "slowness" occurred at 10:45. The statistics in the AWR report will be a summation / averaging of all the activity in the entire hour.
    You could modify the Snapshot Interval (using dbms_workload_repository.modify_snapshot_settings) to have Oracle collect snapshots every 15minutes. But that will apply after the change has been made. So, if you have a slowness subsequently, you will be able to investigate it with the AWR report for that period. But what has been collected in the past at hourly intervals cannot be refined any further.
    Hemant K Chitale

  • Database performance is very slow

    Hi DBA's
    Plz help me out !!!
    Application users complaining database performance is very slow. Its an 10g DB in IBM AIx Server.
    Any changes needed pls be post as soon as possible
    Buffer Cache Hit Ratio 94.69
    Chained Row Ratio 0
    Database CPU Time Ratio 17.21
    Database Wait Time Ratio 82.78
    Dictionary Cache Hit Ratio 99.38
    Execute Parse Ratio -25.6
    Get Hit Ratio 70.62
    Latch Hit Ratio 99.65
    Library Cache Hit Ratio 99.43
    Parse CPU to Elapsed Ratio 8.4
    Pin Hit Ratio 81.6
    Soft-Parse Ratio 94.29
    =====================================
    NAME TYPE VALUE
    cursor_sharing string EXACT
    cursor_space_for_time boolean FALSE
    nls_currency string
    nls_dual_currency string
    nls_iso_currency string
    open_cursors integer 600
    optimizer_secure_view_merging boolean TRUE
    session_cached_cursors integer 20
    sql92_security boolean FALSE
    ===========================================================
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 4272M
    sga_target big integer 4G
    pga_aggregate_target big integer 2980M
    Total Ram Size is 8 GB

    SQL> select username,sid from v$session where username='WPCPRODUSR';
    USERNAME SID
    WPCPRODUSR 378
    WPCPRODUSR 379
    WPCPRODUSR 380
    WPCPRODUSR 381
    WPCPRODUSR 382
    WPCPRODUSR 383
    WPCPRODUSR 384
    WPCPRODUSR 385
    WPCPRODUSR 386
    WPCPRODUSR 387
    WPCPRODUSR 388
    USERNAME SID
    WPCPRODUSR 389
    WPCPRODUSR 390
    WPCPRODUSR 391
    WPCPRODUSR 392
    WPCPRODUSR 393
    WPCPRODUSR 394
    WPCPRODUSR 395
    WPCPRODUSR 396
    WPCPRODUSR 397
    WPCPRODUSR 398
    WPCPRODUSR 399
    USERNAME SID
    WPCPRODUSR 400
    WPCPRODUSR 401
    WPCPRODUSR 402
    WPCPRODUSR 403
    WPCPRODUSR 404
    WPCPRODUSR 405
    WPCPRODUSR 406
    WPCPRODUSR 407
    WPCPRODUSR 408
    WPCPRODUSR 409
    WPCPRODUSR 410
    USERNAME SID
    WPCPRODUSR 411
    WPCPRODUSR 412
    WPCPRODUSR 413
    WPCPRODUSR 414
    WPCPRODUSR 415
    WPCPRODUSR 416
    WPCPRODUSR 417
    WPCPRODUSR 418
    WPCPRODUSR 419
    WPCPRODUSR 420
    WPCPRODUSR 421
    USERNAME SID
    WPCPRODUSR 422
    WPCPRODUSR 423
    WPCPRODUSR 424
    WPCPRODUSR 425
    WPCPRODUSR 426
    WPCPRODUSR 427
    WPCPRODUSR 428
    WPCPRODUSR 429
    WPCPRODUSR 430
    WPCPRODUSR 431
    WPCPRODUSR 432
    USERNAME SID
    WPCPRODUSR 433
    WPCPRODUSR 434
    WPCPRODUSR 435
    WPCPRODUSR 436
    WPCPRODUSR 437
    WPCPRODUSR 438
    WPCPRODUSR 439
    WPCPRODUSR 440
    WPCPRODUSR 441
    WPCPRODUSR 442
    WPCPRODUSR 443
    USERNAME SID
    WPCPRODUSR 444
    WPCPRODUSR 445
    WPCPRODUSR 446
    WPCPRODUSR 447
    WPCPRODUSR 448
    WPCPRODUSR 449
    WPCPRODUSR 450
    WPCPRODUSR 451
    WPCPRODUSR 452
    WPCPRODUSR 453
    WPCPRODUSR 454
    USERNAME SID
    WPCPRODUSR 455
    WPCPRODUSR 456
    WPCPRODUSR 457
    WPCPRODUSR 458
    WPCPRODUSR 459
    WPCPRODUSR 460
    WPCPRODUSR 461
    WPCPRODUSR 462
    WPCPRODUSR 463
    WPCPRODUSR 464
    WPCPRODUSR 465
    USERNAME SID
    WPCPRODUSR 466
    WPCPRODUSR 467
    WPCPRODUSR 468
    WPCPRODUSR 469
    WPCPRODUSR 470
    WPCPRODUSR 471
    WPCPRODUSR 472
    WPCPRODUSR 473
    WPCPRODUSR 474
    WPCPRODUSR 475
    WPCPRODUSR 476
    USERNAME SID
    WPCPRODUSR 477
    WPCPRODUSR 478
    WPCPRODUSR 479
    WPCPRODUSR 480
    WPCPRODUSR 481
    WPCPRODUSR 482
    WPCPRODUSR 483
    WPCPRODUSR 484
    WPCPRODUSR 485
    WPCPRODUSR 486
    WPCPRODUSR 487
    USERNAME SID
    WPCPRODUSR 488
    WPCPRODUSR 489
    WPCPRODUSR 490
    WPCPRODUSR 491
    WPCPRODUSR 492
    WPCPRODUSR 493
    WPCPRODUSR 494
    WPCPRODUSR 495
    WPCPRODUSR 496
    WPCPRODUSR 497
    WPCPRODUSR 498
    USERNAME SID
    WPCPRODUSR 499
    WPCPRODUSR 500
    WPCPRODUSR 501
    WPCPRODUSR 502
    WPCPRODUSR 503
    WPCPRODUSR 504
    WPCPRODUSR 505
    WPCPRODUSR 506
    WPCPRODUSR 507
    WPCPRODUSR 508
    WPCPRODUSR 509
    USERNAME SID
    WPCPRODUSR 510
    WPCPRODUSR 511
    WPCPRODUSR 512
    WPCPRODUSR 513
    WPCPRODUSR 514
    WPCPRODUSR 515
    WPCPRODUSR 516
    WPCPRODUSR 517
    WPCPRODUSR 518
    WPCPRODUSR 519
    WPCPRODUSR 520
    USERNAME SID
    WPCPRODUSR 521
    WPCPRODUSR 522
    WPCPRODUSR 523
    WPCPRODUSR 524
    WPCPRODUSR 525
    148 rows selected.

  • Database Performance Slow

    Hi to all,
    My database performance is suddenly going slow. My PGA Cahe hit percentage remain in 96%.
    I will list out the findidngs I found...
    Some tables were not analyzed since Dec2007. Some tables were never analyzed.
    (Will the tables were analyzed the performance will be improved for this scenario)
    PGA Allocated is 400MB. But till now the max pga allocated is 95MB since Instance started (11 Nov 08 - Instance started date).
    (I persume we have Over allocated PGA can i reduce it to 200MB and increase the Shared pool and Buffer Cache 100MB each?)
    Memory Configuration:
    Buffer Cache: 504 MB
    Shared Pool: 600 MB
    Java Pool: 24MB
    Large Pool: 24MB
    SGA Max Size is: 1201.72 MB
    PGA Aggregate is: 400 MB
    My Database resided in Windows 2003 Server Standard Edition with 4GB of RAM.
    Please give me suggestions.
    Thanks and Regards,
    Vijayaraghavan K

    Vijayaraghavan Krishnan wrote:
    My database performance is suddenly going slow. My PGA Cahe hit percentage remain in 96%.
    Some tables were not analyzed since Dec2007. Some tables were never analyzed.
    PGA Allocated is 400MB. But till now the max pga allocated is 95MB since Instance started (11 Nov 08 - Instance started date).
    (I persume we have Over allocated PGA can i reduce it to 200MB and increase the Shared pool and Buffer Cache 100MB each?)
    You are in an awkward situtation - your database is behaving badly, but it has been in an unhealthy state for a very long time, and any "simple" change you make to address the performance could have unpredictable side effects.
    At this moment you have to think at two levels - tactical and strategic.
    Tactical - is there anything you can do in the short term to address the immediate problem.
    Strategic - what is the longer-term plan to sort out the state of the database.
    Strategically, you should be heading for a database with correct indexing, representative data statistics, optimium resource allocation, minimum hacking in the parameter file, and (probably) implementation of "system statistics".
    Tactically, you need to find out which queries (old or new) have suddenly introduced an extra work load, or whether there has been an increase in the number of end-users, or other tasks running on the machine.
    For a quick and dirty approach you could start by checking v$sql every few minutes for recent SQL that might be expensive; or run checks for SQL that has executed a very large number of times, or has used a lot of CPU, or has done a lot of disk I/O or buffer gets.
    You could also install statspack and start taking snapshots hourly at level 7, then run off reports covering intervals when the system is slow - again a quick check would be to look at the "SQL ordered by .." sections of the report to the expensive SQL.
    If you are lucky, there will be a few nasty SQL statements that you can identify as responsible for most of your resource usage - then you can decide what to do about them
    Regarding pga_aggregate_target: this is a value that is available for sharing across all processes; from the name you've used, I think you may be looking at a figure for a single specific process - so I wouldn't reduce the pga_aggregate_target just yet.
    If you want to post a statspack report to the forum, we may be able to make a few further suggestions. (Use the "code" tags - in curly brackets { } to make the report readable in a fixed fontRegards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The temptation to form premature theories upon insufficient data is the bane of our profession."
    Sherlock Holmes (Sir Arthur Conan Doyle) in "The Valley of Fear".

  • Database Performance of the database is very slow

    Hi All,
    I have an issue with performance of the database.
    I noticed my database performance is very slow for the last 2 months. And recently i had made some changes in my database (like changing the NLS character set of my database) but prior to that itself i had an performance issue. But after the change i did recently still it got degraded.
    And now, i had no trace files getting generated for my database. And i had no statspack information. and my alert log file is not having much information regarding to this.
    Can anyone suggest how can i proceed further to look into the issue..?
    Thanks & Regards
    Vedavathi E

    user602126 wrote:
    Hi All,
    I have an issue with performance of the database.
    I noticed my database performance is very slow for the last 2 months. And recently i had made some changes in my database (like changing the NLS character set of my database) but prior to that itself i had an performance issue. But after the change i did recently still it got degraded.
    And now, i had no trace files getting generated for my database. And i had no statspack information. and my alert log file is not having much information regarding to this.
    Can anyone suggest how can i proceed further to look into the issue..?Vedvathi,
    Its kind of finding needle in a haystack with being blindfolded. You don't have any statspack report, that's not such big deal. You can always create one. What's the database version of yours? If you are on 10g, consider using AWR report than Statspack.
    You mentioned that you did a recent change, what is that change? Where did you do it and for what reason?
    Give us some more detail in the form of statspack/awr reports to help you further.
    HTH
    Aman....

  • 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

  • Database Performance Problem

    Hi,
    I am running Oracle10g in Windows and i have
    SGA - 289406976
    Fixed Size- 1248576
    Variable Size - 96469696
    Database Buffer - 184549376
    Redo Buffer - 7139328
    i am enclosing the init.ora file for better understanding
    # Cache and I/O
    db_block_size=8192
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=orcl
    # Diagnostics and Statistics
    background_dump_dest=D:\oracle\product\10.2.0/admin/orcl/bdump
    core_dump_dest=D:\oracle\product\10.2.0/admin/orcl/cdump
    user_dump_dest=D:\oracle\product\10.2.0/admin/orcl/udump
    # File Configuration
    control_files=("D:\oracle\product\10.2.0\oradata\orcl\control01.ctl", "D:\oracle\product\10.2.0\oradata\orcl\control02.ctl", "D:\oracle\product\10.2.0\oradata\orcl\control03.ctl")
    db_recovery_file_dest=D:\oracle\product\10.2.0/flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.2.0.1.0
    # Processes and Sessions
    processes=150
    # SGA Memory
    sga_target=287309824
    # Security and Auditing
    audit_file_dest=D:\oracle\product\10.2.0/admin/orcl/adump
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=95420416
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    and the Total Physical Memory - 1037864
    Available - 206124
    kindly pls explain why the database is running slow?Pls tell me what parameter shuld i change in the init.ora so that the database performance increases?

    Is only Oracle running slow?
    Are some query running slow?
    I think that you might not be able to increase performance
    by changing only oracle parameter.
    What kind of programs and services are running on your Windows?
    Are they disturbing <s>Oracle sleeping</s> Oracle running?
    Please check them first.
    Oops, I'm not native, so I have mistake in using word.
    Sorry.
    Message was edited by:
            ushitaki

Maybe you are looking for

  • Itunes seems to have lost the ability to play purchased video

    Before posting here, I've searched all over the place for a solution to this problem, I found many people who have very similar issues, some solved them, but their solutions haven't worked for me, others with problems closer to how'd I'd describe min

  • I need a 1TB SATA HD for my 2008 mac pro - recommendations?

    I am running out of space on my mac pro and want to add in 1TB.  There were apple 1TB HDs in the mac store that were compatable with my 2008 mac pro not so long ago, but in my lackluster approach I have returned to buy one and they are no longher lis

  • Why does Time Machine forget "everything" after Mountain Lion update?

    After updating to Mountain Lion (from Snow Leopard), I fired up my trusty external hard drive which contains my Time Machine backups (and nothing else) - of course I had run a backup right before upgrading to be sure. Two things are deeply disturbing

  • Call the same report

    Hi experts, I have a urgent requirements ...... In the selection screen i have three fields . And i m displaying one alv report for a perticular vendor number .My requirement is when i am double clicking the vendor number then it'll show another outp

  • Sporadic missing sound on playback

    Can anyone help / provide advice? Occasionally, on play back of recorded TV programmes, the sound disappears. By rewinding/fast-forwarding the programme a few minutes either way, several times, the sounds will eventually come back. So the sound is ac