Oracle Tunning in 10g on table parallelism

Hi,
I am working in 10g database(10.2.0.1). I have insert statement which uses table A(120 M rows), B(0.5M rows) and C (0.2M rows) to insert on table D.
Following are the table definitions:
Table A - Is partitioned, has unique indexe and is declared NOPARALLEL DEGREE.
Table B - Has unique indexe and is declared NOPARALLEL DEGREE.
Table C - Has unique indexe and is declared NOPARALLEL DEGREE.
Table D - Has declared NOPARALLEL DEGREE.
a) When using the insert on table D using tables A,B and C using HINT /*+ APPEND PARALLEL(table name 12) / and also given on Inset table with /+ APPEND PARALLEL(table name 12). For most of the time it shows 17 to 21 sessions.
INSERT INTO /*+ APPEND PARALLEL(d 12)*/ D d
(x,y,z)
SELECT /*+ PARALLEL(A 12) PARALLEL(B 12) PARALLEL(C 12)*/
bla. bla...bla...
with few joins on the respective tables
b) Same query without any changes at table level definition and no query changes. Some time it shows only one session. At that particular time we (user) has to intervene and alter table definition from NOPARALLEL to PARALLEL (DEGREE DEFAULT) on target table D.
My questions are:
i) What could be reason that it varies and displays no of sessions are running ?
ii) How oracle takes and uses no of sessions while executing the query?
iii) Is there any where we can see or monitor the session tracking ?
iv) How many max sessions can a query like above insert can take/use for the user schema?
v) Is it possible for the developers to reduce and increase the sessions while executing the query ?
vi) On what basis the sessions get increase or decrease?
If any of them can provide answers to above query it will be helpful...
Regards,
Prakash C

The following link might help u a bit in understanding parallelism concept for queries -
http://docs.oracle.com/cd/B19306_01/server.102/b14223/usingpe.htm

Similar Messages

  • Oracle Application server 10g on vista

    Hi Freinds,
    AMD 64 bit processor running os vista 34 bit.
    I want to install oracle application server 10g on windows Vista. when i run the set up its giving me an error but oracle certification table shows its vertified on vista.
    erro message:
    Checking operating system version: must be 5.0, 5.1 or 5.2. Actual 6.0
    Failed <<<<
    looking forward to your advising.
    Thanks in advance :)

    What version of Oracle Application Server 10g are you installing?
    If you are installing 10gR2 (v10.1.2.x) have you taken a look at point #70 in "Table 2 Additional Information for Certified Platforms" section here?
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    Thanks
    Shail

  • How to configure Oracle forms/reports 10g to Oracle Database 10g

    Dear All,
    I have downloaded oracle Developer Suite 10g for microsoft Windows (CD1/CD2) from edelivery.oracle.com.
    I have also downloaded Oracle 10g xe edition from oracle.com.
    Both above software are on the same machine.
    Now, I have creaated new database, created few tablespaces,tables,indexes,functions etc on it. SID_NAME=xe.
    I want to configure both the software(connect them) so that i can generate some reports, create forms and applications(on the same machine not on network).
    How do i do that?
    Best Regards,

    did you set tns_admin? do you know what it's for?
    don't edit tnsnames.ora manually if you can help it.
    you have 2 tnsnames.ora. one is from the xe install. the other is from the developer suite install.
    what does the one for your developer suite look like?
    if you used the the network config assistant in a straightforward way, then it should end up with an entry similar to what you have in your tnsnames.ora from your xe installation.
    the netconfig assistant has a TEST step in it. did you try that? you might need to change the username/password when you test it.
    the main thing here is the tnsnames.ora. the way it will be located is in a particular order. it will check in this order, more or less
    1. in current working directory
    2. TNS_ADMIN defined by the session
    3. TNS_ADMIN defined as a global environment (in control panel)
    4. TNS_ADMIN defined in registry
    5. default location (network\admin directory).
    so if your developer says it can't resolve the name, then it means it is not defined in the tnsnames.ora it used. you need to determine which tnsnames.ora file it's using, and is it configured correctly.
    if you did not set tns_admin, check your E:\DevSuiteHome_1\NETWORK\ADMIN\tnsnames.ora
    this is the one developer will use by default.
    it should have an entry similar to the one from your xe install e.g.
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oraclelaptop.yic.edu.sa)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = XE)
    then when you run forms/reports, you should connect as user/password@xe

  • What are the differences between Oracle Service Bus 10g and WLI 10g?

    Hi,
    To me both Oracle Service Bus 10g R3 and Weblogic Integration 10g seem to offer the same functionalities for implementing an enterprise middleware.
    I would be grateful if someone could:
    1. provide me with the two products' differences.
    2. describe what their roadmap is?
    3. what are their positioning in the Oracle product catalog? Are they both members of Oracle SOA Suite? Fussion Middleware?
    Thanks a lot,
    Best regards,
    Babis.

    Thanks everyone for taking the time to reply,
    Eduardo: the answer to your questions are that all the flows will be short-lived but if we can make long-lived flows then we might consider developing them. We would need to persist the state of the flow somehow.
    I understand that some of our requirements would be better accomodated by WLI or bpel but we don't have an option but only to use OSB.
    So, do you think we could overcome the stateless nature of OSB by:
    1. writing to appropriate tables and reading from there and calling plsql procedures from the flows
    2. using JMS queues.
    In detalis:
    1. Regarding the writing/reading from Databases (in our case it would be oracle 10g R2 - probably RAC), is there something like a Database control in WLI, which we could use in OSB? What i have seen are using xquery execute-sql function or a JCA DB adapter but both of them seem to me not very easy to use. Is there another option?
    2. Regarding the JMS, in case that i want:
    a service that writes to a JMS queue what are the servicetype and transport that i should use?
    a service that reads from a JMS queues what are the service type and transport that we should used?
    Any information that you may share with me in the design and implementation of the above would be great.
    Thanks a lot.

  • Query using Materalized view in oracle 9i and 10g

    Hello
    There are snapshots (materialized view) used in my application. We have recently migrated from 9i to 10g release 2 database.
    After migration i have observed explain plan of query which is using materialized view and i found in 9i oracle treating materalized view as table. In 10g oracle is considerting it as MVIEW only (MAT_VIEW ACCESS BY INDEX ROWID). However in 10g cost of query which is using materialized view is much higher than 9i. And execution time is also random.
    Can anbody pls. expalin diff. of materalized view access in oracle 9i and 10g.
    Thanks

    can you post your query with explain plan for both 9i version and 10g version.
    Thanks,
    karthick.

  • Data migration from oracle 8i to 10g

    hi
    i want to move data from oracle 8i to 10g. I just want to move data, and nothing else. Tables with the same names and fields are already in 10g. every thing is already there in 10g except data.
    tell me some hints and solutions so that i can use imp and exp to move the data from 8i to 10g without any data loss and in a secure way.
    thanks

    there is another point that oracle 10g also contain some data. and tables and field names are same in 10g as in 8i. if i use "imp full=y" then is there any chance of data loss that is already in 10g? and are there any chances that data file are overwritten? tell me the risks and solutions.

  • How to enable olap option in oracle enterprise edition 10g?

    what are the settings/steps one should take in enabling OLAP option in oracle enterprise edition 10g?
    If we have an installation of Oracle EE 10g,how can we know that OLAP is enabled or not?
    Can anyone throw light on OLAP_TABLE function?
    In Analytic Workspace manager 10g,i have created a workspace ,under that i am having some dimensions,cubes,as well.
    After mapped to source table,and maintained,when i do a right click on measures, to view data, i get a error ORA-06553:PLS-222:no function with the name 'OLAP_TABLE' exists in this scope

    The Export function is disabled when the responsibility is opened initially .
    When we enter into a specific form its automatically enabled .
    Login to a user who has Application Developer responsibility & to Application >Register & press f11 and Ctrl f11 .

  • Using Oracle Developer Suite 10g Without the Oracle Database

    I have never used Oracle, but have used MS SQL Server 7. I need to learn Forms. An Oracle salesperson suggested I download Oracle Developer Suite 10g (the demo product). It includes the Oracle Developer Suite (with Forms Developer), and many other programs.
    The salesperson said it includes a database server, but I suspect it does not. I only downloaded the package last night, and have begun to skim the documentation, but I see nothing that looks like a database server.
    In SQL Server 7, the database engine is run as a service and you create and manage your tables (do all the database admin stuff) using SQL Enterprise Manager.
    So, does this package include a database engine/server? Or must you also have the Oracle Database?
    I don't see a demo version of the Oracle Database - is there one?
    Thanks in advance for any help.

    Hi,
    The Developer Suite does not contain a demo version of the Oracle Database.
    You can download the database from this page:
    http://otn.oracle.com/software/products/oracle9i/index.html
    Vincent

  • Oracle Forms Builder 10g Questions

    Good day everyone,
    I want to start off by saying that I'm very new to Oracle Forms Builder (it was dumped on my table about a month ago) and I'm having some issues I need resolved in order to complete a project for a client.
    I'm looking mainly for documentation or resources that will show me how to do the following in Oracle Forms Builder 10g:
    * Use either the ENTER button or mouse click to navigate between mandatory fields in a form (currently only TAB works)
    * Populate a field[s] after pressing a search button based on a SQL query
    * Populate a field[s] on launch based on a SQL query
    * Throw a warning message if an SQL query returns with a specific result
    * Populate a drop down menu based on a SQL query (ie only show valid options to user)
    * Remove static highlighting (fields should only be highlighted if necessary, which is never on this particular form)

    I've been able to reduce my problem down to the fact that Oracle Forms Builder 10g is not configured correctly on my machine for my environment. I can seem to get Oracle Forms Builder to see my libraries. When I load the form I'm working on I get the following error:
    FRM-18108: Failed to load the following objects.
    Source Module:utlf_gui
    Source Object: TOOLBAR_MDI
    +... (many more of the one above)+
    I press ok and get the following error:
    FRM-10102: Cannot attach PL/SQL library sdsl. This library attachment will be lost if the module is saved.
    +... (many more of the one above)+
    From my various searches on the internet I've learned that this is because Oracle Forms Developer can not find the listed PL/SQL libraries and I should check my Environmental variables. I've set up two Environmental variables with the following:
    Forms_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    Forms90_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    I created both Environmental variables because there wasn't any consistency on the sites I was checking to which was needed.
    Also if I try to attack a PL/SQL library I get the following error:
    Attached library name <name> contains a non-portable directory specification. Remove path?
    I press yes or no and get the following error:
    PDE-PLI038 Cannot open file for use as a PL/SQL library.
    Any help is much appreciated.
    Edited by: ThomasBoxall on 12-Dec-2011 12:18

  • How SMON coalesces free space in oracle 9i and 10g

    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?

    >
    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any
    adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks
    at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?I think you need to go and have a look at the Oracle 9i documentation here
    http://www.oracle.com/technology/documentation/oracle9i_arch_901.html
    and automatic segment management in 10g
    http://www.oracle.com/technology/pub/articles/10gdba/week15_10gdba.html
    HTH.
    Paul...
    Software - OS (+ version), Server,
    Hardware - CPU + Disk configuration.
    Please include all of the above information with database queries.
    This will help those who are trying to help you!
    Furthermore, please do not top-post and do try to trim your replies!

  • Oracle 9i and 10g differences in "group by"

    I found the sorting order is different in "group by" function of Oracle 9i and 10g.
    What is the reason?
    >>>>>>>>>>>>>>>>>>>>>
    SQL> create table t ( a number, b number);
    Table created.
    SQL> insert into t values (1,2);
    1 row created.
    SQL> insert into t values (100, 200);
    1 row created.
    SQL> insert into t values (10, 20);
    1 row created.
    >>>>>>>>>
    9i
    >>>>>>>>>
    SQL> select sum (b) , a from t group by a;
    SUM(B) A
    2 1
    20 10
    200 100
    >>>>>>>>>
    10g
    >>>>>>>>>
    SQL> select sum (b) , a from t group by a;
    SUM(B) A
    2 1
    200 100
    20 10

    in oracle "group by" doesn't sort. Not strictly true.
    Pre 10g had an implicit order by which was caused by the way the database engine performed it's group by operation.
    In 10g this has now been "refined" so that group by does what it says i.e. groups the data, without having the side effect of implicitly ordering the data.
    In reality if you want data in a particular order you should always specify an ORDER BY clause and never rely on the fact that Oracle used to suffer from an implicit side effect.
    ;)

  • Run Oracle Web Logic and Oracle Application Server 10g on same server

    Since oracle has chosen to release adf faces 11g, before the SOA suite 11g is released, we are facing the challenge to run both Oracle Web logic and Oracle Application Server 10g on the same server.
    If anyone have any experience in this setup or has knowledge of other feasable setups please let me know.
    Regards.
    Jan

    What version of Oracle Application Server 10g are you installing?
    If you are installing 10gR2 (v10.1.2.x) have you taken a look at point #70 in "Table 2 Additional Information for Certified Platforms" section here?
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    Thanks
    Shail

  • Use Oracle RAC Database 10g on SunOS nova 5.9

    Hello!
    We use Oracle RAC Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit that consist of two nodes on SunOS nova 5.9 Generic_117171-17 sun4u sparc SUNW,Sun-Fire-V440.
    Connection string as follows:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=host1)(PORT=1521))(ADDRESS=
    (PROTOCOL=TCP)(HOST=host2)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=proddb))).
    Clustered Java application performs direct JDBC INSERT of record into database throw oracle.jdbc.pool.OracleDataSource.
    Table got the following fields:
    FIELD1 VARCHAR2(100 BYTE) NOT NULL,
    FIELD2 VARCHAR2(100 BYTE) NOT NULL,
    FIELD3 VARCHAR2(100 BYTE) NOT NULL,
    FIELD4 VARCHAR2(100 BYTE),
    FIELD5 VARCHAR2(100 BYTE),
    FIELD6 VARCHAR2(100 BYTE),
    FIELD7 INTEGER,
    FIELD8 BLOB,
    FIELD9 BLOB
    Approx in 60 milliseconds another application node performs SELECT of that record, which return void result. However next SELECT returns needed result.
    Defect is occurs with 50% probability.
    Whether problem is connected with defect in Oracle RAC/JDBC Driver?
    Thanks in advance!

    RAC propogates commit messages using a method which piggy-backs on the next available inter-instance message. I think it's called the Lampart Method, but anyways .... it means you have an uncontrollable delay between committed data in your two instances.
    Look at the init.ora parameter max_commit_propagation_delay, and consider setting it to 0. The parameter is briefly described in the Oracle Reference Guide.
    cheers,
    -Mark
    www.remidata.com/book_nuts2soup.htm

  • Three tier architecture using oracle dev suite 10g & oracle database 9i

    hi ,
    I am trying to build a software which will manage the database of a hospital through usual form design .
    The tools I am using for these are
    (1) oracle server database 9i (2) oracle developer suite 10g (3) windows xp professional service pack 2 .
    I have designed the form modules in developer suite , created the tables in the database , connected those tables to the form modules using dml statements, now data can be inserted , updates and deleted through the form design . I have also deployed the forms using "run forms through web" and thereby other computers connected to the main computer through lan can also access the software using the web port address and the name of form to be used , these computers are not having oracle developer suite or oracle database installed , but they can access the software through the browser .
    In this scenario my question is that , is this a three tier architecture as oracle database is the first tier , oracle developer suite is the middle tier where I am puting all the bussiness logics and oc4j instance is used to connect the database and the dev suite , and for user interaction we have the browser as the third tier ?
    or this is a two tier architecture ? if this is a two tier architecture please let me know how can I implement a three tier architecture using oracle developer suite 10g and oracle server database 9i .
    Thanks a lot for showing ur interest to read this

    You need Oracle Application Server to deploy the forms when you go live.
    What you are currently using OC4J which came in the developer suite. It is used only for development purpose and can not have capacity to handle higher load.
    3 tier arch
    1. Thin Client :-> Browser
    2 Middle tier -> Oracle Appln Server /OC4j(in ur case)
    3 Database Tier -> Oracle Database
    Rajesh

  • Available Now: Oracle Database Lite 10g Release 1

    The Oracle Database Lite development team is pleased to announce the availability of Oracle Database Lite 10g (10.0.0.0.0) for Windows 2000/XP, Solaris 2.6, 2.7, 2.8, and Red Hat Enterprise Linux AS/ES 2.1/3.0 platforms.
    The Windows release is currently available from OTN at:
    http://www.oracle.com/technology/software/products/lite/index.html
    Oracle Database Lite 10g is a complete and integrated solution for rapid development and deployment of high impact, mission vital applications for mobile and lightweight embedded environments. Oracle Database Lite is an extension to Oracle Database 10g for enterprises wanting to increase productivity, reduce operational costs, and improve customer satisfaction.
    Oracle Database Lite uses data synchronization to reliably and securely exchange data between a corporate Oracle Database and mobile workers. Oracle Database Lite also allows companies to deploy and manage users, mobile applications and devices from a remote central location. Oracle Database Lite provides the necessary framework enterprise customers need to extend their enterprise applications and data to the most popular mobile platforms: Palm OS, Linux, Microsoft Windows CE/PPC, and Microsoft Windows NT/2000/XP/UNIX.
    The following is a partial list of new features for Oracle Database Lite 10g that will make your mobile deployment easier to manage, use, and develop. A complete list will be available for download/viewing soon.
    Device Management
    As the number of mobile devices in an enterprise increases, it becomes more important to have complete control of the devices. Oracle Database Lite Device Management is a complete infrastructure to monitor and manage Oracle Database Lite assets such as database files, software libraries, data, and application files on remote devices. Device management decreases the total cost of ownership and protects an enterprises intellectual property.
    Single Oracle Lite Binary
    The Oracle Database Lite 10g release contains a single set of Oracle Lite database kernel binaries for all languages, removing the necessity of having different binaries for each of the following languages: Korean, Traditional Chinese, simplified Chinese, Japanese, and US/European languages.
    Shared Map
    The shared map function greatly improves performance by reducing sync processing timeand enhances the scalability of shared publication items. Shared maps allow users to share record state information and reduce the size of the resulting replication map tables.
    Offline Instantiation
    Offline instantiation enables quick and easy setup of mobile devices for business applications. Mobile administrators are able to prepare, in batch mode, a client package, which includes the mobile client software and initial data for every mobile user. This procedure helps users avoid an expensive online synchronization processes as part of the first time mobile client setup procedure.
    Synchronization Manager
    The Synchronization Manager is a complete, web-based enterprise management application to manage and monitor synchronization. The Synchronization Manager allows administrators to manage the synchronization service, monitor and analyze sync performance, administer the configuration, trace synchronization history, display and browse synchronization publication and subscription information, and monitor MGP (Message Generator and Processor) performance.
    Oracle Application Server Support
    The Oracle Database Lite 10g Mobile Server now runs as a web application on Oracle Containers for Java (OC4J) – the runtime of Oracle Application Server. If Oracle
    Database Lite 10g is deployed in standalone mode, an embedded version of OC4J will be installed and used. Oracle Database Lite may also be installed against an existing instance of Oracle Application Server.
    Seamless upgrade from Oracle9 i Lite 5.0.2
    The Oracle Database Lite 10g Upgrade Assistant allows customers to easily upgrade from existing Oracle9 i Lite 5.0.2 installations. The Upgrade Assistant automatically converts existing application definitions to the new format, and copies all relevant files to the new installation. As many customers have deployed mission critical systems using Oracle9i Lite technology, the Upgrade Assistant has been designed to minimize system downtime.
    Download
    Oracle Database Lite 10g (10.0.0.0.0) for Windows can now be downloaded from the following location.
    http://www.oracle.com/technology/software/products/lite/index.html

    I am using Oracle 10g lite. Do you know if it supports silent installation.

Maybe you are looking for

  • Facebook notifications while using seperate email folders?

    I don't use the primary message folder because I like my emails seperate. When I get a Facebook notification via email, it would typically be intercepted by the FB app and would go to the location on the FB app (Like messages or notifications). This

  • Why does Illustrator crash when opening a file on Windows 8.1

    This morning I opened Illustrator and opened the file I was working on and the app crashed. It happened even when I tried to make a new document. I have CC, CC 2014 and CC (64-bit) and they all do the same thing. I'm running a Surface Pro 2 on Window

  • Problem defining a java client on tomcat to call the esb web service

    Dear Support, I have a java program that has been incorporated on the oracle SOA suite. We now have a problem defining a java client on tomcat to call the esb web service. The Oracle SOA part is running fine". The software versions we are using : 1 -

  • OPM Actual Cost Process not selecting all Inventory Movements

    We have completed 27 Move Immediate transactions (TRNI) but only 2 of the transactions appear in the Actual Cost Transactions View so our PMAC cost is not as expected. Those 2 transactions were in Sept '09. All other transactions happened in Apr, May

  • Drill down and drillup

    Hi All, I have a requirement that below are the two tables Col1 Col2 A     40 B     45 Col1 Col2 Col3 A     X      10 A     Y      20 B     V      20 B     W     30 I want to perform the Heirarchy on the above tow tables Not: Agregare awareness doesn