Performance database......

Hi, I've any problem with my database, when I run one query with more two tables in join (and group by, order by....) Oracle is very slowly.
I tried to verify with these queries:
SELECT name, value
FROM v$sysstat
WHERE name IN ('sorts (memory)', 'sorts (disk)');
NAME............................VALUE
sorts (memory)................305491
sorts (disk)....................827
I know that sort(disk) / sort(memory) should be almost zero.
select (1 - (sum(decode(name, 'physical reads', value, 0)) /
     (sum(decode(name, 'db block gets', value, 0)) +
     sum(decode(name, 'consistent gets', value, 0))))) * 100 "Read Hit Ratio"
from v$sysstat;
Read Hit Ratio
94.4026367444198
SELECT a.sid, a.statistic#, b.name, a.value
FROM v$sesstat a, v$statname b
WHERE a.statistic# IN (SELECT statistic# FROM v$statname
WHERE name IN
('parse count (hard)','execute count') )
AND a.statistic#=b.statistic#
ORDER BY sid;
SID...........STATISTIC#...........NAME.............VALUE
1..............180.............parse count (hard)......0
1..............181.............execute count...........0
2..............180.............parse count (hard)......0
2..............181.............execute count...........0
3..............180.............parse count (hard)......0
3..............181.............execute count...........0
4..............180.............parse count (hard)......0
4..............181.............execute count...........0
5..............180.............parse count (hard)......19
5..............181.............execute count...........19283
6..............180.............parse count (hard)......1
6..............181.............execute count...........327
7..............180.............parse count (hard)......0
7..............181.............execute count...........0
8..............180.............parse count (hard)......0
8..............181.............execute count...........0
9..............180.............parse count (hard)......0
9..............181.............execute count...........0
10..............180............parse count (hard)......0
10..............181............execute count...........0
11..............180............parse count (hard)......153
11..............181............execute count...........1663
12..............180............parse count (hard)......9
12..............181............execute count...........36
13..............180............parse count (hard)......5
13..............181............execute count...........13
16..............180............parse count (hard)......18
16..............181............execute count...........59
18..............180............parse count (hard)......1
18..............181............execute count...........432
19..............180............parse count (hard)......0
19..............181............execute count...........16
SELECT ((SUM(reloads) / SUM(pins) ) * 100) "Library Cache Reload Ratio"
FROM V$LIBRARYCACHE;
Library Cache Reload Ratio
0.0722823262625785
SELECT * FROM v$sgaSTAT;
POOL............................NAME....................BYTES
................................fixed_sga.................75804
...............................db_block_buffers...........157286400
...............................log_buffer.................66560
shared pool....................free memory...............2947160
shared pool....................miscellaneous..............1357676
shared pool....................distributed_transactions......180152
shared pool....................table definiti..............4648
shared pool....................trigger defini..............12376
shared pool....................fixed allocation callback.....640
shared pool....................transaction_branches.........368000
shared pool....................VIRTUAL CIRCUITS.............275752
shared pool....................PL/SQL DIANA.................6826204
shared pool....................KGK heap......................17532
shared pool....................table columns................115548
shared pool....................sessions......................366520
shared pool....................enqueue_resources..............129024
shared pool....................State objects.................247360
shared pool....................joxs heap init...............4248
shared pool....................KQLS heap....................3895376
shared pool....................db_files.....................370988
shared pool....................view columns d.............23340
shared pool....................joxlod: in ehe..............76016
shared pool....................KGFF heap...................8508
shared pool....................dictionary cache...............6880456
shared pool....................trigger source...................692
shared pool....................PLS non-lib hp...................2096
shared pool....................trigger inform...................580
shared pool....................message pool freequeue...........124552
shared pool....................library cache.................18231580
shared pool....................db_block_buffers.............2611200
shared pool....................sql area......................9488348
shared pool....................db_block_hash_buckets...........438520
shared pool....................processes......................121200
shared pool....................PL/SQL MPCODE..................2933740
shared pool....................transactions....................166804
shared pool....................event statistics per sess...........584800
large pool....................free memory......................614400
java pool....................free memory......................17596416
java pool....................memory in use......................3375104
What could be my problem?
How and what can I modify?
Could you tell me the steps to get the database more speed?
Thanks in advance!

More easy (Via sql-plus).
1 - grant the role plustrace to user will execute the query, if the role dont´t exist, run the script $ORACLE_HOME\sqlplus\admin\plustrce.sql, with the user sys with sysdba.
2 - connect with the user than will execute the query
3 - set autotrace on (command of sql plus)
4 - run the query
5 - see the result of execution, attention for full table scan, perhaps need create index for tables.
Message was edited by:
user450618

Similar Messages

  • To perform database update in a module with AT EXIT-COMMAND addition

    Dear All,
    I have a function code 'EXIT' with function type 'E'. When this function code is triggered, my screen should close.
    In the module that handles this function code (defined with AT EXIT-COMMAND addition), I will prompt the user whether he/she want's to save the data before exiting with the POPUP_TO_CONFIRM_STEP function module. The text message in the dialog box is "Do you want to save before exiting?".
    When the user wants to save the data, a simple UPDATE statement will be executed to write the data on screen to database.
    The problem here is since the module is defined with AT EXIT-COMMAND addition, the data on screen won't be copied to their corresponding variable on the code (correct me if I'm wrong). Therefore, even though database update is performed, the data written to database are no different that the original.
    How to perform database update in a module with AT EXIT-COMMAND addition?
    or
    Is it even a "custom" or a "good practice" to prompt user to save data before exiting?
    Thanks in advance,
    Haris

    With an exit command, if there's anything that would be lost, I would prompt "Data will be lost, do you wish to continue?". If they do, the database is not updated, if they don't, they stay in the transaction.
    This is because the exit command runs before validation. So how can you know the data is correct?
    If you have a button to leave the transaction that isn't an exit command, then you could prompt to save instead. There the choices should be - quit without saving, save and quit, don't quit.
    Doing a database update in an exit command is not a good idea.
    matt
    Edited by: Matt on Mar 15, 2011 11:53 AM

  • G Performing database characterset conversion adsvdcnv.cmd

    hi,
    i m installing 11.5.9 EBS on windows XP and getting stuck on some point on this point everytime, no messege nothing just it hangs there for hours
    Step 3 of 5
    100%
    status
    g Performing database characterset conversion adsvdcnv.cmd
    everything was fine installed everything required,
    all checks were passed but it always stucks here
    if anybody can help me since i m stuck with this for last whole week.....
    Edited by: FarhatKayani on Apr 22, 2009 7:47 AM

    I had the same error and it turned out to be an issue with the domain name specification. I have a single node install on a computer not on a network. But it had been part of a domain earlier. I took it out of the domain and followed the instructions posted by Srinath Nanduri in his post 'Steps for **SUCCESSFUL** installation of 11.5.9 on Windows' - Steps for **SUCCESSFUL** installation of 11.5.9 on Windows

  • NVIDIA Detonator Driver Performance Database

    The guys at Tweakers Asylum have built a Public nVidia Detonator Driver Performance Database used to store information on the various nVidia Detonator Drivers. They are collecting benchmark information, based on 3DMark2001 SE results for nVidia Detonator Drivers.
    Public Detonator Driver Database
    Take Care,
    Richard

    My system halts whenever I do certain applications such as Windows Media player. audio cleaning Lab 2005 deLuxe, and recordings..... it happens all the time.  However, PC does not crash at other times.
    I thought it was my old GeForce3 Ti200 in the first place so I changed it to GeForce4 Ti4600 and the problem is still there :(
    I refreshed Win98se and downloaded updates from Microsoft.  I ran memtest68, Registry mechanics, Anti-virus - all successful but still my PC crashes!   By the way, my PSU is http://www.jeantech.com/Products/Power_Supply/400W/400w.html (+3.3v @ 28A, +5v @ 35A, +12v @ 17A).   This is my new PSU replacing my old PSU 300W just few weeks ago.   I suppose this PSU is rubbish! right?
    Any suggestions here?

  • ST04 - Statistical information - Performance database empty

    Hi ,
    No information found in ST04-> statistical information -> performance database.  Is any configuration to be made ?
    Ours is Win2K3, ECC6.0, Oracle 10.2.0.2
    Regards

    You seem to be missing SAP_COLLECTOR_FOR_PERFMONITOR job, RSCOLL00 should populate that info.
    Make sure your Hosekeeping jobs are running
    Note 16083 - Standard jobs, reorganization jobs
    Regards
    Juan

  • Re: g Performing database characterset conversion adsvdcnv.cmd

    Hi,
    I am trying to install oracle applications 11i on Windows XP Professional on Toshiba laptop centrino 1.743 GHz) and for some reason the process is getting stuck at :
    Step 3 of 5, 40 % done
    And shows 100% of step 3 complete
    Shows this error
    g Performing database characterset conversion adsvdcnv.cmd
    I have tried several times and everytime it is getting stuck at this stage only.
    I am installing in language English only... and selected most of the options defaulted by the system.
    Pls. find below my log file. Pls. advise how to fix this problem.
    The system doesnot give any error message but get stuck at this point for hours. Couldn't figure out the problem... Please throw in some ideas... Thanks in advnance...
    Environment variables:
    ORACLE_HOME =
    PATH = D:\11iStage\startCD\Disk1\rapidwiz\unzip\NT;C:\mks\bin;C:\mks\bin\X11;C:\mks\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;c:\vc\vc98\bin;C:\vc\VC98\bin;C:\WINDOWS\SYSTEM32;C:\make-3.79.1\winrel\gnumake.exe; C:\Windows;C:\vc\VC98\bin ;C:\vc\Tools\WinNT;C:\vc\MSDev98\Bin;C:\vc\Tools;C:\VC98\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;c:\vc\vc98\bin;C:\vc\VC98\bin;C:\MKS\bin;C:\MKS\bin\X11;C:\MKS\mksnt;C:\WINDOWS\SYSTEM32;C:\make-3.79.1\winrel\gnumake.exe; C:\Windows;C:\vc\VC98\bin
    CLASSPATH =
    Username is: applmgr
    Unable to read the list of homes from the inventory.
    Unable to read c:\Program Files\Oracle\Inventory/Contents/OracleHomesList.ser. Some inventory information may be lost.
    Unable to read c:\Program Files\Oracle\Inventory/Contents/CompsList0.ser. Some inventory information may be lost.
    Unable to read c:\Program Files\Oracle\Inventory/Contents/PatchesList0.ser. Some inventory information may be lost.
    Unable to read c:\Program Files\Oracle\Inventory/Contents/LibsList.ser. Some inventory information may be lost.
    Unable to read c:/Program Files/Oracle/Inventory/ContentsXML/comps.xml. Some inventory information may be lost.
    Current Inventory:
    Independent Products:
    Oracle Home: APPS9I_PROD
    Oracle9i Database 9.2.0.1.0
    Oracle 9iR2 Patch Set 9.2.0.3.0
    JDBC Common Files 9.2.0.1.0
    Oracle JDBC Thin Driver for JDK 1.1 9.2.0.1.0
    JDBC/OCI Common Files 9.2.0.1.0
    Sun JDK extensions 9.2.0.1.0
    RDBMS Required Support Files 9.2.0.1.0
    Oracle Trace Required Support Files 9.2.0.1.0
    Oracle JDBC Thin Driver for JDK 1.2 9.2.0.1.0
    Oracle Client Required Support Files 9.2.0.1.0
    Agent Required Support Files 9.2.0.1.0
    SSL Required Support Files 9.2.0.1.0
    Oracle JDBC Thin Driver for JDK 1.4 9.2.0.1.0
    Oracle JDBC/OCI Driver for JDK 1.1 9.2.0.1.0
    Bali Share 1.1.17.0.0
    Parser Generator Required Support Files 9.2.0.1.0
    Oracle Extended Windowing Toolkit 3.4.13.0.0
    Installation Common Files 9.2.0.1.0
    Oracle Ice Browser 5.06.8.0.0
    Enterprise Manager Minimal Integration 9.2.0.1.0
    LDAP Required Support Files 9.2.0.1.0
    PL/SQL Required Support Files 9.2.0.1.0
    Platform Required Support Files 9.2.0.1.0
    Oracle Code Editor 1.2.1.0.0A
    Oracle Core Required Support Files 9.2.0.1.0
    Oracle JFC Extended Windowing Toolkit 4.1.10.0.0
    XML Parser for Java 9.2.0.1.0
    Oracle Help For Java 4.1.13.0.0
    Oracle Help For Java 3.2.13.0.0
    Documentaion Required Support Files 9.2.0.1.0
    Precompiler Required Support Files 9.2.0.1.0
    Oracle Net Required Support Files 9.2.0.1.0
    Precompiler Common Files 9.2.0.1.0
    Oracle9i Globalization Support 9.2.0.1.0
    DBJAVA Required Support Files 9.2.0.1.0
    XDK Required Support Files 9.2.0.1.0
    Enterprise Manager Shared Libraries 9.2.0.1.0
    Enterprise Manager Win32 App Translated Files 9.2.0.1.0
    Enterprise Manager Expert Common Files 9.2.0.1.0
    Enterprise Manager Win32 Application Common Files 9.2.0.1.0
    Enterprise Manager Translated Files 9.2.0.1.0
    SQLServer Monitoring Option 9.2.0.1.0
    Enterprise Manager Win32 Apps Bridge 9.2.0.1.0
    Index Tuning Wizard 9.2.0.1.0
    Expert 9.2.0.1.0
    Trace DataViewer 9.2.0.1.0
    SQL Analyze 9.2.0.1.0
    Performance Manager 9.2.0.1.0
    Capacity Planner 9.2.0.1.0
    Enterprise Manager Events 9.2.0.1.0
    Enterprise Manager Base Classes 9.2.0.1.0
    Required Support Files 9.2.0.1.0
    Enterprise Manager Installation Prerequisite Checks 9.2.0.1.0
    Utilities Common Files 9.2.0.1.0
    Enterprise Manager Quick Tours 9.2.0.1.0
    Oracle Display Fonts 9.0.2.0.0
    regexp 2.0.20.0.0
    Oracle OLAP Worksheet 9.2.0.1.0
    Oracle OLAP API 9.2.0.1.0
    Oracle Developer Server Forms Manager 9.2.0.1.0
    Oracle Intelligent Agent Base Component Files 9.2.0.1.0
    Oracle Internet Directory Client Common Files 9.2.0.1.0
    Sun JDK 1.3.1.0.1a
    Oracle Directory Manager 9.2.0.1.0
    Visigenics ORB 3.4.0.0.0
    Assistant Common Files 9.2.0.1.0
    Enterprise Manager Paging and OMS Common Files 9.2.0.1.0
    XML Parser for C 9.2.0.1.0
    Oracle Net Configuration Assistant 9.2.0.1.0
    Character Set Migration Utility 9.2.0.1.0
    Enterprise Manage Website Translated Files 9.2.0.1.0
    Oracle Net Manager 9.2.0.1.0
    Oracle Net 9.2.0.1.0
    Oracle Perl Interpreter 5.00503.0.0.0c
    Apache Web Server files 1.3.22.0.0a
    Database Configuration Assistant 9.2.0.1.0
    Oracle JDBC/OCI Driver for JDK 1.2 9.2.0.1.0
    Oracle INTYPE File Assistant 9.2.0.1.0
    SQLJ Runtime 9.2.0.1.0
    Advanced Queueing (AQ) API 9.2.0.1.0
    Oracle Caching Service for Java 2.1.0.0.0a
    Recovery Manager 9.2.0.1.0
    JSDK 2.0.0.0.0d
    Apache JServ 1.1.0.0.0g
    Oracle interMedia Java Client 9.2.0.1.0
    Oracle Java Layout Engine 2.0.1.0.0
    Oracle XML SQL Utility 9.2.0.1.0
    SQLJ Translator 9.2.0.1.0
    Enterprise Login Assistant 9.2.0.1.0
    Enterprise Manager Paging Server 9.2.0.1.0
    Oracle Java Tools 9.2.0.1.0
    Oracle ODBC Driver 9.2.0.1.0
    Authentication and Encryption 9.2.0.1.0
    Oracle Wallet Manager 9.2.0.1.0
    Pro*COBOL 1.8.77.0.0
    Oracle Database User Interface 2.2.11.0.0
    Pro*COBOL 9.2.0.1.0
    Oracle SNMP Agent 9.2.0.1.0
    Oracle C++ Call Interface 9.2.0.1.0
    Oracle OLAP Cube Viewer 9.2.0.1.0
    Oracle OLAP CWM Lite 9.2.0.1.0
    Object Type Translator 9.2.0.1.0
    SQL*Plus 9.2.0.1.0
    Oracle Call Interface (OCI) 9.2.0.1.0
    SQL*Loader 9.2.0.1.0
    Secure Socket Layer 9.2.0.1.0
    Oracle Internet Directory Client 9.2.0.1.0
    Oracle Net Listener 9.2.0.1.0
    Advanced Replication 9.2.0.1.0
    Oracle Complete DSS Starter Database 9.2.0.1.0
    Oracle Complete OLTP Starter Database 9.2.0.1.0
    Oracle Starter Database 9.2.0.1.0
    Oracle Message Gateway Common Files 9.2.0.1.0
    Oracle Common Schema Demos 9.2.0.1.0
    Change Management Common Files 9.2.0.1.0
    Oracle UIX 2.0.20.0.0
    Oracle Help for the Web 1.0.7.0.0
    XML Class Generator for C++ 9.2.0.1.0
    XML Parser for C++ 9.2.0.1.0
    XML Parser for Oracle JVM 9.2.0.1.0
    XML Transx 9.2.0.1.0
    XML Transviewer Beans 9.2.0.1.0
    XML Class Generator for Java 9.2.0.1.0
    XSQL Servlet 9.2.0.1.0
    XML Parser for PL/SQL 9.2.0.1.0
    Oracle SQLJ 9.2.0.1.0
    Enterprise Manager Common Files 9.2.0.1.0
    Common Files For Generic Connectivity Using OLEDB 9.2.0.1.0
    Oracle SOAP Client 2.0.0.0.0a
    Oracle Workflow Manager 9.2.0.1.0
    Oracle Net Integration 9.2.0.1.0
    Oracle XML Runtime Components 9.2.0.1.0
    Enterprise Manager Database Applications 9.2.0.1.0
    Oracle SOAP Server 2.0.0.0.0a
    Oracle Database Demos 9.2.0.1.0
    Oracle Ultra Search Common Files 9.2.0.1.0
    Enterprise Manager Console 9.2.0.1.0
    Enterprise Manager Integrated Applications 9.2.0.1.0
    Enterprise Manager Client 9.2.0.1.0
    Database Workspace Manager 9.2.0.1.0
    Oracle interMedia Java Advanced Imaging 9.2.0.1.0
    Oracle interMedia Client Compatibility Files 9.2.0.1.0
    Oracle interMedia Java Media Framework Client 9.2.0.1.0
    Oracle interMedia Client Demos 9.2.0.1.0
    Oracle interMedia Web Client 9.2.0.1.0
    BC4J Runtime for Database 9.0.2.692.1
    Oracle Change Management Pack 9.2.0.1.0
    Oracle interMedia Annotator 9.2.0.1.0
    Data Management Services Common Files 9.2.0.1.0
    Oracle interMedia Common Files 9.2.0.1.0
    Oracle interMedia Image 9.2.0.1.0
    Oracle interMedia Audio 9.2.0.1.0
    Oracle interMedia Video 9.2.0.1.0
    Database Upgrade Assistant 9.2.0.1.0
    Oracle Intelligent Agent Config Tool 9.2.0.1.0
    Oracle Intelligent Agent 9.2.0.1.0
    PL/SQL Embedded Gateway 9.2.0.1.0
    Oracle HTTP Server Extensions 9.2.0.1.0
    Oracle eBusiness Management Extensions 9.2.0.1.0
    Oracle EMD Agent Extensions 9.2.0.1.0
    Oracle interMedia Client Option 9.2.0.1.0
    Oracle SOAP for JServ 2.0.0.0.0a
    MIcrosoft SQLServer(TM) Extensions 9.2.0.1.0
    Oracle Management Pack for Oracle Applications 9.2.0.1.0
    Export/Import 9.2.0.1.0
    Microsoft SQL Server 7.0 Plugin 9.2.0.1.0
    Microsoft SQL Server 6.5 Plugin 9.2.0.1.0
    Microsoft SQL Server 2000 Plugin 9.2.0.1.0
    Microsoft Access Plugin 9.2.0.1.0
    Informix7 Plugin 9.2.0.1.0
    DB2400V4R5 Plugin 9.2.0.1.0
    MySQL Plugin 9.2.0.1.0
    Sybase Adaptive Server 12 Plugin 9.2.0.1.0
    Sybase Adaptive Server 11 Plugin 9.2.0.1.0
    Apache Configuration for Oracle XML Developer's Kit 9.2.0.1.0
    Oracle Tuning Pack 9.2.0.1.0
    Oracle Forms Extensions 9.2.0.1.0
    Oracle XML Developer's Kit 9.2.0.1.0
    Oracle Java Server Pages 1.1.3.1.0
    Oracle Diagnostics Pack 9.2.0.1.0
    Oracle Ultra Search Middle-Tier 9.2.0.1.0
    Oracle Dynamic Services Server 9.2.0.1.0
    Oracle Mod PL/SQL Gateway 3.0.9.8.3b
    Apache Configuration for Oracle Java Server Pages 1.1.2.3.0
    Pro*C/C++ 9.2.0.1.0
    Oracle Text 9.2.0.1.0
    Generic Connectivity Common Files 9.2.0.1.0
    New Database ID 9.2.0.1.0
    Database SQL Scripts 9.2.0.1.0
    Generic Connectivity Using OLEDB - SQL 9.2.0.1.0
    Oracle HTTP Server 9.2.0.1.0
    XML 9.2.0.1.0
    Generic Connectivity Using OLEDB - FS 9.2.0.1.0
    Generic Connectivity Using ODBC 9.2.0.1.0
    Enterprise Manager Webserver Integration 9.2.0.1.0
    Reporting Framework 9.2.0.1.0
    Oracle interMedia Locator 9.2.0.1.0
    Oracle Transparent Gateways 9.2.0.1.0
    Oracle Management Server 9.2.0.1.0
    Oracle Ultra Search Server 9.2.0.1.0
    Oracle interMedia 9.2.0.1.0
    Oracle Trace 9.2.0.1.0
    Oracle9i Syndication Server 9.2.0.1.0
    Enterprise Manager Web Site 9.2.0.1.0
    Oracle Applications Extensions 9.2.0.1.0
    Oracle Intelligent Agent Extensions 9.2.0.1.0
    Oracle Programmer 9.2.0.1.0
    Migration Utility 9.2.0.1.0
    Oracle Enterprise Manager Products 9.2.0.1.0
    Oracle9i Development Kit 9.2.0.1.0
    Oracle Advanced Security 9.2.0.1.0
    Oracle JVM 9.2.0.1.0
    Oracle Migration Workbench 9.2.0.1.0
    Database Verify Utility 9.2.0.1.0
    PL/SQL 9.2.0.1.0
    Oracle Database Utilities 9.2.0.1.0
    Oracle9i 9.2.0.1.0
    Oracle Net Services 9.2.0.1.0
    Oracle Data Mining 9.2.0.1.0
    Oracle OLAP 9.2.0.1.0
    Oracle Spatial 9.2.0.1.0
    Oracle Partitioning 9.2.0.1.0
    Enterprise Edition Options 9.2.0.1.0
    MIcrosoft SQLServer(TM) Extensions Patch 9.2.0.3.0
    Data Management Services Common Files Patch 9.2.0.3.0
    Oracle eBusiness Management Extensions Patch 9.2.0.3.0
    Oracle EMD Agent Extensions Patch 9.2.0.3.0
    Oracle Applications Extensions Patch 9.2.0.3.0
    Oracle Intelligent Agent Base Component Files Patch 9.2.0.3.0
    Generic Connectivity Using OLEDB - SQL Patch 9.2.0.3.0
    Generic Connectivity Using OLEDB - FS Patch 9.2.0.3.0
    XSQL Servlet 9.2.0.3.0
    Oracle Net Configuration Assistant Patch 9.2.0.3.0
    Oracle SQLJ Patch 9.2.0.3.0
    Oracle JDBC Thin Driver for JDK 1.1 Patch 9.2.0.3.0
    Oracle Java Core Patch 9.2.0.3.0
    Oracle Internet Directory Client Common Files Patch 9.2.0.3.0
    Assistant Common Files Patch 9.2.0.3.0
    XML Parser for PL/SQL Patch 9.2.0.3.0
    XML Parser for C Patch 9.2.0.3.0
    XML Parser for C++ Patch 9.2.0.3.0
    Oracle interMedia Client Demos Patch 9.2.0.3.0
    Oracle XML Developer's Kit Patch 9.2.0.3.0
    Oracle Call Interface (OCI) Patch 9.2.0.3.0
    Oracle Ultra Search Server Patch 9.2.0.3.0
    Oracle JDBC Thin Driver for JDK 1.4 Patch 9.2.0.3.0
    Oracle Java Tools Patch 9.2.0.3.0
    DBJAVA Required Support Files Patch 9.2.0.3.0
    Oracle Ultra Search Middle-Tier Patch 9.2.0.3.0
    Oracle Ultra Search Common Files Patch 9.2.0.3.0
    Oracle Spatial Patch 9.2.0.3.0
    Oracle JDBC Thin Driver for JDK 1.2 Patch 9.2.0.3.0
    XML 9.2.0.3.0
    SQLJ Runtime Patch 9.2.0.3.0
    Oracle XML SQL Utility Patch 9.2.0.3.0
    Oracle JVM Patch 9.2.0.3.0
    Oracle Database Demos Patch 9.2.0.3.0
    Secure Socket Layer Patch 9.2.0.3.0
    PL/SQL Required Support Files Patch 9.2.0.3.0
    Oracle Net Manager Patch 9.2.0.3.0
    Oracle Partitioning Patch 9.2.0.3.0
    Oracle OLAP API Patch 9.2.0.3.0
    Oracle Net Patch 9.2.0.3.0
    Utilities Common Files Patch 9.2.0.3.0
    Database Verify Utility Patch 9.2.0.3.0
    Oracle Net Listener Patch 9.2.0.3.0
    Oracle Common Schema Demos Patch 9.2.0.3.0
    Oracle Internet Directory Client Patch 9.2.0.3.0
    XML Parser for Oracle JVM Patch 9.2.0.3.0
    XML Parser for Java Patch 9.2.0.3.0
    Oracle Database Utilities Patch 9.2.0.3.0
    XDK Required Support Files Patch 9.2.0.3.0
    SSL Required Support Files Patch 9.2.0.3.0
    RDBMS Required Support Files Patch 9.2.0.3.0
    Precompiler Required Support Files Patch 9.2.0.3.0
    Oracle Trace Required Support Files Patch 9.2.0.3.0
    Oracle Core Required Support Files Patch 9.2.0.3.0
    Oracle9i Globalization Support Patch 9.2.0.3.0
    Oracle Net Required Support Files Patch 9.2.0.3.0
    LDAP Required Support Files Patch 9.2.0.3.0
    Oracle Client Required Support Files Patch 9.2.0.3.0
    Agent Required Support Files Patch 9.2.0.3.0
    SQL*Plus Patch 9.2.0.3.0
    SQL*Loader Patch 9.2.0.3.0
    Recovery Manager Patch 9.2.0.3.0
    PL/SQL Patch 9.2.0.3.0
    Oracle Trace Patch 9.2.0.3.0
    Oracle C++ Call Interface Patch 9.2.0.3.0
    New Database ID Patch 9.2.0.3.0
    Migration Utility Patch 9.2.0.3.0
    Generic Connectivity Using ODBC Patch 9.2.0.3.0
    Generic Connectivity Common Files Patch 9.2.0.3.0
    Export/Import Patch 9.2.0.3.0
    Database SQL Scripts Patch 9.2.0.3.0
    Advanced Queueing (AQ) API Patch 9.2.0.3.0
    Oracle9i Patch 9.2.0.3.0
    Pro*COBOL Patch 1.8.77.3.0
    Pro*COBOL Patch 9.2.0.3.0
    Pro*C/C++ Patch 9.2.0.3.0
    Precompiler Common Files Patch 9.2.0.3.0
    Object Type Translator Patch 9.2.0.3.0
    Oracle OLAP CWM Lite Patch 9.2.0.3.0
    Oracle OLAP Patch 9.2.0.3.0
    Oracle interMedia Java Advanced Imaging Patch 9.2.0.3.0
    Oracle interMedia Common Files Patch 9.2.0.3.0
    Oracle interMedia Client Compatibility Files Patch 9.2.0.3.0
    Oracle Wallet Manager Patch 9.2.0.3.0
    Authentication and Encryption Patch 9.2.0.3.0
    JDBC/OCI Common Files Patch 9.2.0.3.0
    Oracle interMedia Locator Patch 9.2.0.3.0
    Oracle Text Patch 9.2.0.3.0

    Hi there.
    I had encountered the same hanging problem at "Performing database characterset conversion adsvdcnv.cmd" (On Microsoft Windows Server 2003 - - XEON PROCESSOR - a staging area installation - rapidwiz ver 11.5.9.22 - . ).
    What i did is that i installed the JDK version : 1.4.2.04 instead of 1.3.1 and reinstalled the product. So the installation completed successfully..

  • Need help on performing database queries with a general query

    Dear experts,
    I have two issues
    1)
    I have developed a software which connects to Oracle database
    performing and executing DDL/DML statements.
    I am using a Jdbc thin oracle driver.
    When i perform a wrong syntax query or say a query using invalid column.I get exception accordingly.However,I want to know if there is any way by which i can know the exact position where i am making error
    just as an asterik(*) comes in sql plus in case of invalid column or so.
    2)
    Whenever i minimize software window (made of swing components)
    and again maximize it.It takes almost 12 secs to be visible otherwise it remains white.Is swing that much slow ???

    (1) No.
    (2) It's possible to make Swing programs that slow. (I know, I have done it.) But usually the slowness is in application code (your code) and not in Swing itself.

  • Performing database operations using EJB 3.0

    I need to create a session bean that will perform operations on backend database. I am new to EJB 3.0 and need a gentle guidance to the solution
    This is what I believe is suppose to be done
    1. Create stateless bean interface marking operations.
    2. Create bean implementation for above
    3. Init stage will require me to connect to the Oracle database. Now am confused how will it get the connection details? Is there a way to extract the url username and password using resource bendle which can be accessed from within bean implementation?
    4. Bean method will perform update, read oprations
    5. Predestroy will close the connection
    6. A client will simply call this ejb with some input parameter(s)
    Please let me know if am doing anything wrong here

    If you use EJB technology for which it is designed, the container (server) will manage the transaction (and also the connections to the database) for you, so no creation or cleanup of connections on your part. I advise you to read into JPA which is designed to be used in conjunction with EJB tech. The books Enterprise Javabeans 3.0 and Pro EJB 3: the Java Persistence API may help you a lot.

  • Scheduling a script performing database backup

    I wrote a script performing a backup of all databases located on a SQL Server's instance using the Backup-SqlDatabase command. As a script from the Windows Powershell ISE it works fine. I am working on a Windows Server 2012
    The next step is to schedule this from the Windows Task Scheduler. The Action program is PowerShell and the arguments is -command "& 'C:\folder\myscript.ps1'" and it doesn't work, the script appears to fire off but it doesn't
    perform the backup. The error looks strange it looks like it can't connect to the SQL Instance, I tried a whole bunch of options I found googling around but none worked. What am I missing ?

    1) Using -File instead of -Command didn't work, it didn't even fire the script
    2) I have got 'Run with the highest privileges' selected
    3) The error
    4) The script
    # backup_AllDb.ps1
    # Full backup for database for specified SQL instance
    # Change log:
    # July 3, 2012: Thomas LaRock, http://thomaslarock.com
    # Initial Version
    # Get the SQL Server instance name from the command line
    # leaving $dest null will result in default backup path being used
    param(
    [string]$inst=$null,
    [string]$dest=$null
    # Load SMO assembly, and if we're running SQL 2008 DLLs load the SMOExtended and SQLWMIManagement libraries
    $v = [System.Reflection.Assembly]::LoadWithPartialName( 'Microsoft.SqlServer.SMO')
    if ((($v.FullName.Split(','))[1].Split('='))[1].Split('.')[0] -ne '9') {
    [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMOExtended') | out-null
    [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SQLWMIManagement') | out-null
    # Handle any errors that occur
    Function Error_Handler {
    Write-Host "Error Category: " + $error[0].CategoryInfo.Category
    Write-Host " Error Object: " + $error[0].TargetObject
    Write-Host " Error Message: " + $error[0].Exception.Message
    Write-Host " Error Message: " + $error[0].FullyQualifiedErrorId
    Trap {
    # Handle the error
    Error_Handler;
    # End the script.
    break
    If ($inst -eq "")
    { $inst = "MYSERVERNAME\MYINSTANCE" };
    $srv = new-object ('Microsoft.SqlServer.Management.Smo.Server') $inst
    # If missing set default backup directory.
    If ($dest -eq "")
    { $dest = "C:\SQLBackups" };
    Write-Output ("Started at: " + (Get-Date -format yyyy-MM-dd-HH:mm:ss));
    cd SQLSERVER:\SQL\$inst\Databases
    #start full backups
    foreach($database in (Get-ChildItem -Force)) {
    $dbName = $database.Name
    if ($dbName -ne "tempdb") {
    $timestamp = Get-Date -Format MMddyyHHmm
    $bakFile = $dest + "\" + $dbName + "_full_" + $timestamp + ".bak"
    Backup-SqlDatabase -Database $dbName -Initialize -BackupFile $bakFile
    Write-Output ("Finished at: " + (Get-Date -format yyyy-MM-dd-HH:mm:ss));

  • Unable to perform database compare

    Recently, not since three or four days, we have been facing an issue when trying to compare within visual studio 2013 on a database project. The compare screen loads up but I'm not able to select source or target. Nothing happens if I click the target combo
    and select "Select target...". Sa for source. I tried using the menu bar's "SQL" with the compare screen open and tries "Select Target" from there only to be presented with a error message: An item with the same key has already
    been added. Same behaviour on source.
    We tried reading the logs of visual studio, searched all over internet and got suggestion to update SSDT but thats not really an option as the search results are from 2011/2012 and those update don't exists or apply to VS2013.
    We did more testing:
    A stand-alone new solution with new DB projects works fine
    Loading our DB project directly into a new solution works fine
    Our full solution 'A' fails.
    Other of our solutions 'B' and 'C' also fails
    Couldn't find anything in the solution file that could prevent comparing.
    Anyone facing/had similar issues?
    Regards, Hassan Gulzar

    Hi Hassan,
    We will have an update for SSDT in VS 2013 early next week for you to install, but this issue doesn't sound familiar.  We did have a schema compare bug where we had odd behavior if you had your DPI set at 125%+, but that was fixed for VS 2013 RTM. 
    Are you on VS2013 RTM with the SSDT that came as part of that install?
    To help us debug, can you please turn on tracing and send me your logs.  jillth @ Microsoft .com
    For diagnostic purposes we would like you to gather an event log for the issue that
    you are experiencing in SSDT. In order to gather a log and send it to a member
    of the team, please follow the steps below.
    Open a new command prompt as Administrator.
    Run the following command
    logman create trace -n DacFxDebug -p "Microsoft-SQLServerDataTools" 0x800 -o "%LOCALAPPDATA%\DacFxDebug.etl" -ets
    logman create trace -n SSDTDebug -p "Microsoft-SQLServerDataToolsVS" 0x800 -o "%LOCALAPPDATA%\SSDTDebug.etl" -ets
    Run whatever the target/issue scenario is in SSDT.
    Go back to the command prompt and run the following commands
    logman stop DacFxDebug -ets
    logman stop SSDTDebug -ets
    The resulting ETL files will be located at %LOCALAPPDATA%\SSDTDebug.etl &  %LOCALAPPDATA%\DacFxDebug.etl
    and can be navigated to using Windows Explorer.
    Please attach this file to an email and send it to the SSDT team member you have been working with
    NOTE - These logs will only be used by Microsoft product team members in order to better diagnose the problem you are experiencing with SSDT and
    will not be shared elsewhere. If you want to make
    sure that there is no private information in your ETL file, the SSDTDebug.etl file can be opened and analyzed using the Windows Event Viewer.
    To do this, open the Windows Event Viewer application. In the right-hand panel,
    select Open Saved Log. Navigate to the location where you saved the log, open,
    and review the contents of the trace.

  • Performance: Database Update vs. Application variable

    I am new to ColdFusion, so sorry if this has been covered before. I searched and couldn't find anything similar.
    I am building an online Texas Hold'em poker application using ColdFusion and Flex. There are quite a few things that need to be stored on the server side that will be updated quite often and these objects will need to be accessed by multiple users. For example, think of something like the current pot between players on a table, or the current hand state (who's turn it is to check/bet/raise), or the current players in the hand. All of these things will be updated quite a few times per hand, and if you add to that that each of these will be different per table, it adds up quick.
    Would it be better to store these things in the database or store them in an application variable? Or is there a better way that I am not thinking of? Is there any sort of metric to follow for these kinds of things?

    I don't think you'll find a documented general number of application variables you can have on a single server. But I think you could get away with 400 variables without any trouble.
    Where you might run into trouble, though, is when you have multiple concurrent requests trying to read and change these values. You'll have to ensure that you single-thread write access to these variables using CFLOCK.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.

  • Why can't region item buttons perform database action?

    Looking at my Easy Oracle HTML-DB book, page 211, the author states that a database action attribute is only available for a button in a region position.
    Is it possible to 'force' a button created among a region's items to update the database (INSERT, UPDATE)?
    Thanks,
    Maggie

    You could make a custom procedure to fire when a button is clicked. Within your procedure you can update/delete/insert as you wish.

  • Performing database backup using SAPDBA

    Guys could u please let me know how to take whole database backup using SAPDBA to another hard disk attached to the system (i.e rather than taking the backupto /oracle/<SID>/sapbackup on the same system i want to take the backup to another harddisk attached to the same system?)
    should i change any parameter in init<SID>.DBA?

    You dont need to change the init<SID>.dba.
    Rather you need to change init<SID>.sap.
    make a copy of init<SID>.sap and save it as for e.g. init<SID>1.sap change the value of the following entries as follows.
    backup_root_dir=your desired directory
    stage_root_dir=your desired directory
    Now use this init<SID>1.sap as the profile parameter file in sapdba and your backup will be stored in the"your desired directory".

  • Problem in performing multiple Point-In-Time Database Recovery using RMAN

    Hello Experts,
    I am getting an error while performing database point in time recovery multiple times using RMAN. Details are as follows :-
    Environment:
    Oracle 11g, ASM,
    Database DiskGroups : DG_DATA (Data files), DG_ARCH(Archive logs), DG_REDO(Redo logs Control file).
    Snapshot DiskGroups :
    Snapshot1 (taken at 9 am): SNAP1_DATA, SNAP1_ARCH, +SNAP1_REDO
    Snapshot2 (taken at 10 am): SNAP2_DATA, SNAP2_ARCH, +SNAP2_REDO
    Steps performed for point in time recovery:
    1. Restore control file from snapshot 2.
         RMAN> RESTORE CONTROLFILE from '+SNAP2_REDO/orcl/CONTROLFILE/Current.256.777398261';
    2. For 2nd recovery, reset incarnation of database to snapshot 2 incarnation (Say 2).
    3. Catalog data files from snapshot 1.
    4. Catalog archive logs from snapshot 2.
    5. Perform point in time recovery till given time.
         STARTUP MOUNT;
         RUN {
              SQL "ALTER SESSION SET NLS_DATE_FORMAT = ''dd-mon-yyyy hh24:mi:ss''";
              SET UNTIL TIME "06-mar-2013 09:30:00";
              RESTORE DATABASE;
              RECOVER DATABASE;
              ALTER DATABASE OPEN RESETLOGS;
    Results:
    Recovery 1: At 10.30 am, I performed first point in time recovery till 9:30 am, it was successful. Database incarnation was raised from *2* to *3*.
    Recovery 2: At 11:10 am, I performed another point in time recovery till 9:45 am, while doing it I reset the incarnation of DB to *2*, it failed with following error :-
    Starting recover at 28-FEB-13
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/06/2013 11:10:57
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until time 'MAR 06 2013 09:45:00'
    ORA-00283: recovery session canceled due to errors
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+DG_REDO/orcl/onlinelog/group_1.257.807150859'
    ORA-17503: ksfdopn:2 Failed to open file +DG_REDO/orcl/onlinelog/group_1.257.807150859
    ORA-15012: ASM file '+DG_REDO/orcl/onlinelog/group_1.257.807150859' does not exist
    Doubts:
    1. Why did recovery failed 2nd time, but not 1st time and why is RMAN looking for online redo log group_1.257.807150859 in 2nd recovery ?
    3. I tried restoring control file from AutoBackup, in that case both 1st and 2nd recovery succeeded.
    However for this to work, I always need to keep the AutoBackup feature enabled.
    How reliable is control file AutoBackup ? Is there any alternative to using AutoBackup, can I restore control file from snapshot backup only ?
    4. If I restore control file from AutoBackup, then from what point of time/SCN does RMAN restores the control file ?
    Please help me out in this issue.
    Thanks.

    992748 wrote:
    Hello experts,
    I'm little newbie to RMAN recovery. Please help me in these doubts:
    1. If I have datafiles, archive logs & control files backup, but current online REDO logs are lost, then can I perform incomplete database recovery ?yes, if you have backups of everything else
    2. Till what maximum time/scn can incomplete database recovery be performed ??Assuming the only thing lost is the redo logs, you can recover to the last scn in the last archivelog.
    3. What is role of online REDO logs in incomplete database recovery ? They provide the final redo changes - the ones that have not been written to archivelogs
    Are they required for incomplete recovery ?It depends on how much incomplete recovery you need to do.
    Think of all of your changes as a constant stream of redo information. As a redolog fills, it is copied to archive, then (eventually) reused. over time, your redo stream is in archivelog_1, continuing into archvivelog_2, then to 3, and eventually, when you get to the last archivelog, into the online redo. A recovery will start with the oldest necessary point in the redo stream and continue forward. Whether or not you need the online redo for a PIT recovery depends on how far forward you need to recover.
    But you should take every precaution to prevent loss of online redo logs .. starting with having multiple members in each redo group ... and keeping those multiple members on physically separate disks.

  • On performing continuous delete operation database hangs

    Dear All,
    On performing continuous delete operation , the instance on which delete operation is performed database hangs i.e it does not allows to make new connection and some times on alert log we get ORA-3136 error
    Database version 10.2.0.3 , OS : HP-UXvi3
    Regards

    Refer this thread
    ORA-3136 while performing bulk delete

Maybe you are looking for

  • Duplicate component item in BOM

    Hello Guru, We having problem on the BOM, when we check via CS03 with a change number 111123, item 0050 and 0060 was duplicate. but when we check CS03 without entering the said change number those item was not duplicate. why this is happening when we

  • Opening a pdf file without using ABAP

    Hi All,     Can I open a pdf file in the ITS without using ABAP     coding. I mean by using Java Script in an another     dialog/page can i open a pdf file. If anyone has got     any idea or sample code please let me know.   Thanks,    Amitabh

  • Runtime calculations in PDF forms

    Good day! My task is to make a PDF form of the quantity of the material on the factory with some runtime calculations. Just like these: MATNR | MAKTX | LGORT | LABST | MEINS 100 | Material_1 | 0001 | 100 | KG 100 | Material_1 | 0002 | 300 | KG       

  • Prompt using SQL Results with row-wise session variable comparison

    I have a prompt on Department and I only want the departments to show that have been authorized via a session variable for that user. The session variable can return can return multiple values and is set as row-wise. The session variable is returning

  • HT1338 I cant find the mac app store on my mac book pro w/ snow leopard

    I just bought an older MacBook Pro and updated the operating system to Snow Leopard. I can not find the Mac App Store and I do not see any way to download it off of Apple.com. Does anyone know how to get this application?