Index on the seeding Table Oracle Applications
Hi allCan I create an index on a column to the table of the seeds of the oracle applications. If so, then, what are the implications? If not, what are the reasons... Can anyone give some input on this...
Why I need this...
I have a validation on the column 'JOURNAL_COMMENT' in Table 'IC_JRNL_MST' in my custom Interface program. It takes 2.5 minutes to complete the validation of a record. I created the index on this column in the process of development and validation time is reduced to less than a second. So, I need to create this index on an instance of production to reduce the time of validation.
can I do it? (create the index on the production instance) forgot to mention... I can't ignore that particular column validation...
Thanks in advance...
Melanie
You can certainly create indexes custom table seeded so this improvement in performance has to offer. I did it several times.
As you know, a new index is provided with a cost (storage and maintenance), but it will be significantly smaller than your gains.
A new index will not harm any validations / business logic.
Just keep in mind that if you or a patch happens to drop and re-create the table, you must remember to rebuild the index.
Hope that answers your question
Sandeep Gandhi
Independent consultant
513-325-9026.
Tags: Oracle Applications
Similar Questions
-
Cannot create indexes on the flow table
Hello
I'm new to ODI.
The problem is that during the execution of an interface, I get the error of the "IKM Oracle Dimension to slow variation"
The command in step "Create unique index on the flow table:
creating index < % = odiRef.getTable ("L", "INT_NAME", "A") % > idx
on < % = odiRef.getTable ("L", "INT_NAME", "A") % > (< % = odiRef.getColList ("", "[column]", ",", "", "SCD_NK") % >)
< % = odiRef.getUserExit ("FLOW_TABLE_OPTIONS") % >
generate the following statement which lacks the name of the column between the (_)
Create index I$ _MYTABLE_idx
I have $_MYTABLE)
NOLOGGING
The result is that the interface fails with the error 936: 42000: java.sql.SQLException: ORA-00936: lack of expression caused by the previous command wrong.
Please, can you help me?
Thank you very much
Angelo
Hello
I'm really really sorry! I just realized that you are working on the SCD. Basically, you are looking for all the column mapped as SCD_NK (key to slowly change natural Dimensions) insofar as shown here
IF you need to read this
Let me know.
-
Index on the primary table becomes UNUSABLE after Exchange of partition
Hello!
I am the scene changes to partition and somehow, I see that the partition that I Exchange eventually becomes "UNUSABLE".
The steps that I'm following:
1. creating the temporary table:
CREATE TABLE TEMP_TKTHEADER
AS SELECT * FROM T3TKTHEADER
WHERE 1 = 2
2. replacement of the partition
ALTER TABLE T3TKTHEADER
PART08Q1Q2 PARTITION EXCHANGE
WITH TABLE TEMP_TKTHEADER
After the Exchange is carried out and I ask the stats of the index on the primary table (T3TKTHEADER as in this case):
INDEX_NAME NOM_PARTITION STATUS
----------------------------------------------------------------------------------------------
XTKTHDR1 PART08Q1Q2 UNUSABLE
XTKTHDR10 PART08Q1Q2 UNUSABLE
XTKTHDR11 PART08Q1Q2 UNUSABLE
XTKTHDR12 PART08Q1Q2 UNUSABLE
XTKTHDR13 PART08Q1Q2 UNUSABLE
XTKTHDR14 PART08Q1Q2 UNUSABLE
XTKTHDR2 PART08Q1Q2 UNUSABLE
XTKTHDR3 PART08Q1Q2 UNUSABLE
XTKTHDR4 PART08Q1Q2 UNUSABLE
XTKTHDR5 PART08Q1Q2 UNUSABLE
XTKTHDR6 PART08Q1Q2 UNUSABLE
XTKTHDR7 PART08Q1Q2 UNUSABLE
XTKTHDR8 PART08Q1Q2 UNUSABLE
XTKTHDR9 PART08Q1Q2 UNUSABLE
This is normal behavior!
Is not swap Partition just supposed to change the pointer to the partition of the temporary table data and leave the rest of the table intact!
Thank you
AB007Dear AB007,
Please see subpart of swap partition. I assumed that the version of your database is GR 11, 2;
http://download.Oracle.com/docs/CD/E11882_01/server.112/e10592/statements_3001.htm#BABHHAHF
INCLUDING | EXCLUDING INDEXES Specify INCLUDING INDEXES if you want local index partitions or subpartitions to be exchanged with the corresponding table index (for a nonpartitioned table) or local indexes (for a hash-partitioned table). Specify EXCLUDING INDEXES if you want all index partitions or subpartitions corresponding to the partition and all the regular indexes and index partitions on the exchanged table to be marked UNUSABLE.
Hope that helps.
Ogan
-
How to create indexes on the nested table.
Hi all
I held the syntax to create indexes on the nested table.
I found below synta but when I try it with my table it gives me error
CREATE UNIQUE INDEX indx_name
ON nestedtablestore (NESTED_TABLE_ID, id);
What is here NESTED_TABLE_ID & IDThey are virtual your nested table
Here is an example.
create or replace type obj as object (no integer, address varchar2(100)) / create or replace type tbl as table of obj / create table test_tbl (id integer, name varchar2(100), address tbl) nested table address store as address_nt / create unique index address_no_idx on address_nt (no, address) /
Published by: Karthick_Arp on November 23, 2010 01:41
-
New on the need for Oracle Application Testing Suite Userguide
Hello
I am new to Oracle Application Testing Suite have to use Oracle Application Testing Suite 9.2 for Loadtesting.
Is could someone please tell me where can I find the reference guide for Installation as well as Oracle Application Testing Suite Loadtesting.
Thank you
REDAHi reda,.
There is a link to the documentation here-
http://www.Oracle.com/technetwork/OEM/app-test/index-084446.html
Kind regards
Jamie -
Drop and re-create the index on the current table
Hello
I just have a few questions about the removal and creating indexes on a table that activates a lot.
Let me explain first:
The table is used by the application with the DML statements every 3 seconds and I want to do is to drop the indexes and re-create them.
But Im worried about the consequences - what happens when I try to recreate the indexes and the table has an option rowlock/used by the application?
P.S
It's production environment - so I can't stop the application.
BR / AnderA reconstructed index either Online or Offline.
Online index rebuild features:
ALTER INDEX REBUILD ONLINE;
LMD is allowed on the base table
It's relatively slow
Base table is targeted for the new index
Base table is locked in shared mode and DOF is not possible
Intermediate table stores changes to data in the base table, during the rebuilding of indexes to update the new index laterOffline index rebuild features:
ALTER INDEX REBUILD. (Default)
Does not refer to the base of the table and the base table is exclusively locked
New index is created from the old index
Not possible DML and DDL on the base table
Relatively faster -
Create ctxsys.ctxcat index in the object Table
What I'm trying to do is to create an index of type ctxsys.ctxcat on 'col3 '. But this 'col3' is not a 'TABLE', but in an object, as follows:
CREATE OR REPLACE TYPE TestObj AS OBJECT
(
col1 varchar2 (10),
col2 varchar2 (10),
COL3 varchar2 (10),
COL4 varchar2 (10)
);
CREATE OR REPLACE TYPE AS THE TestObj TABLE TestTable;
Now, how can I create an index of type ctxsys.ctxcat on 'col3 '?
create index test_ind on TestTable (col3) indextype is ctxsys.ctxcat;?
Thank you for helping.
ScottYou cannot index a user-defined data type. Indexes are used for persistent storage of persistent objects.
What I suspect you really want is an associative array or an array indexed by integer binary. Demos here:
http://www.morganslibrary.org/reference/arrays.html
-
How to deploy the business on Oracle Application Server rule
OPA dear team,
We have a requirement in which we integrate the OPA with BPEL. We must define the rules of modeling tool Oracle policy and deploy it in Oracle Application Server.We will then that wsdl and call the rule of BPEL partner links engine. By default the Oracle Policy modeling tool deploys for tomcat. Ask your input about how we can deploy on oracle application server.
Thank you
Anandbwolff wrote:
So my question is how to deploy a rulebase.zip a determination server that runs on Oracle Weblogic Server 11g?
Thank you
BrianNormally, an application server will expand the war for the web application file works from the expanded location. When this is the case, you can deploy a new one simply by copying the module zip file in the directory WEB-INF/classes/rulebases .
However, Weblogic is not extend the web application, there is no directory to copy the file zip of modules on.
It is possible to run the determinations under weblogic server so that you can deploy a new modules without restarting the server of determinations. There are two technqiues to achieve this.
1. you can manually unzip the .war file somewhere that the weblogic server can see locally and then deploy the .war file expanded as the determinations server web app. If you do that you can deploy a new modules by copying the zip file in the directory WEB-INF/classes/rulebases to this place.
2. it is possible to specify a rulebases directory that is not in the web application. In this case, it should be a place the web application can be done locally. You can deploy a new modules by copying the rulebase.zip file to the location specified modules.
You specify a different directory to search rulebases by setting a java system property: determinations.server.rulebase.dir.
Example of
-Ddeterminations.server.rulebase.dir=/some/other/dir/rulebases
-
Various problems related to the tests for Oracle Applications R12 PreInstall HCVE
Hello world
I am preparing a Linux machine for installation of Oracle Applications R12 and currently I have several problems with the HCVE tests that are part of the ANR ([Doc ID 250262.1| https://metalink.oracle.com/metalink/plsql/f?p=130:14:4000869102561861013:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 250262.1, 1, 0, 0, helvetica]). Here are the first two problems:
1. when I run the RDA (. rda.pl t hcve) and select a test (in this case, "Oracle Database 11 g R1 (11.1.0) PreInstall (Linux AMD64)"), the script wonder of the JDK 'House '. Why the script asks if the installation process will install JDK? If I jump it (i.e. just press enter), the JDK test shows up as failed in the results. What should I put here?
2. the tests 'process limit' and 'Limit descriptors' fail both:
A00120 doesn't have a process boundary less 16384
A00130 FAILURE of lower limit to 65536 descriptors
I put these two values in /etc/security/limits.conf according to the instructions here: [Doc ID 761566.1| https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4000869102561861013:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 761566.1, 1, 1, 1, helvetica]
Here are the lines I added to limits.conf:
# To install Oracle (MetaLink Doc ID: 761566.1)
* hard nofile 65535
* soft nofile 4096
* nproc 16384 hard
* soft nproc 2047
Why so this test fails?
-KyleKyle,
You can submit feedback and send an email to Support of Oracle ([email protected]). The link 'Submit comments' is available in most of the documents of Metalink GDR (Diagnostics).
Kind regards
Hussein -
books available for the Administration of Oracle Application
Hello
I am new to Oracle Application Server
I wanted to know of books available for Oracle Application Administration market
Thanks in advanceWe used this book intensely - we found that it was very useful to have begun us.
Oracle Application Server 10g Administration Manual by John Garmany and Donald BurlesonShould be available on Amazon
-
Adding indexes to the fact table large
Hello
Using oracle 11.20.3
If made big table several billion lines and wants to add index disadvantages to only expliciltly gathering stats on the new index.
Reason I just want to make the new index will be much faster.
Thoughts?
Thank you11.2 or later, his Stats are collected at the time of the creation of the index and you don't need to do it explicitly. Oracle optimizer will be bale to see this index immediately after creating indexes.
-
How to create indexes for the great table of telecom
Hello
I'm working on DB 10 G on a 5 REHL for telecommunications company with more than 1 million saved per day, we need speed up the result of the query.
We know, there are several types of INDEX and I need professional advice to create a suitable,
many of our requests depend on the MSID (the MAC address of the Modem) column,
Please help,Name Null Type -------------- ---- ------------ STREAMNUMBER NUMBER(9) MSID VARCHAR2(20) USERNAME VARCHAR2(20) DOMAIN VARCHAR2(20) USERIP VARCHAR2(16) CORRELATION_ID VARCHAR2(64) ACCOUNTREASON NUMBER(3) STARTTIME VARCHAR2(14) PRIORTIME VARCHAR2(14) CURTIME VARCHAR2(14) SESSIONTIME NUMBER(9) SESSIONVOLUME NUMBER(9) . . .
Hello
first of all, think of all these SQL for the subquery on MAX (fairy) with analytical functions, the examples given on AskTom of rewriting: http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:9843506698920
So I'll start with a normal index the MSID (but I think you already have), but provide a compression on the column, I think the same value MSID exist several times in the table. If the performance is not satisfactory or that the plan is not the best, then an option to include more columns can help you.
I think that the first part of the answer will bring more gain.
Herald tiomela
http://htendam.WordPress.com -
index in the separate table space
Hello
in separate indexes improves performance if yes then how?810345 wrote:
good article but my question is different from maintaining index in separate tablespace how to increase performance?This isn't. Separating the data and the indexes to improve performance is a myth.
-
Save the model in Oracle Applications
Once, I fell on the code to save a model of XML in applications. I'm not able to see that now. Can someone please?
Thank you, TylerTry this:
DECLARE
errbuf varchar2 (100);
RETCODE number;
lv_conc_prog VARCHAR2 (30);
lv_template_code VARCHAR2 (30);
lv_template_name VARCHAR2 (100);
ln_business_group_id NUMBER;
BEGIN
errbuf: = 'NO ERRORS ';
RETCODE: = 0;
/ * REGISTER BI PUBLISHER MODELS WITH PAYROLL * /.
/* -------------------------------------------- */
/ * FIRST PARAMETER: PLEASE ENTER THE NAME OF DATA DEFINITION * /.
/ * STATEMENT: writer to check (XML) ENTER "PAYARCHCHQW", tips for filing (XML) "PYUSDEPADVXML" * /.
/ * SECOND PARAMETER: PLEASE ENTER THE CODE OF THE TEMPLATE * /.
/ * STATEMENT: THIS MUST MATCH THE MODEL CODE YOU PROVIDED THROUGH "BI PUBLISHER ADMINISTRATOR RESPONSIBILITY" * /.
/ * THIRD PARAMETER: PLEASE ENTER MODEL NAME * /.
/ * STATEMENT: THIS MUST MATCH THE NAME OF TEMPLATE PROVIDED THROUGH "BI PUBLISHER ADMINISTRATOR RESPONSIBILITY" * /.
/ * FOURTH PARAMETER: PLEASE ENTER THE ID OF GROUP OF COMPANIES * /.
/ * STATEMENT: THIS SHOULD BE THE GROUP ID TO WHICH YOU WANT TO RUN CONCURRENT PROGRAMS * /.
lv_conc_prog: = SHORT NAME, for example: "PAYARCHCHQW";
lv_template_code: = Code of the model of the XML editor administrator, for example: "PAYARCHCHQW";
lv_template_name: = 'Custom Check Writer (XML)'; / * This is what appears in the list of values to check Style/deposit advice StyleParameters window check author and notice of filing * /.
ln_business_group_id: = '999';
() PAY_US_CUSTOM_TEMPLATE.insert_data
errbuf,
RETCODE,
lv_conc_prog,
lv_template_code,
lv_template_name,
ln_business_group_id);
/ * MODEL BI PUBLISHER REGISTERED WITH PAYROLL. THANK PIECE.*.
COMMIT;
END; -
Where can I get the code sample of the book: Pro Oracle Application Express
Hello
I was wondering if it is possible to download the code that is written in the APEX book best price available. It would be more effective than tap into it.
Hope someone can point me in the right direction.
Thank you
Jacobits on the last page of the book. One in the front of the inside of the cover back.
Maybe you are looking for
-
V37.0.2 How to remove automatic 'New tab' appearing?
Hello Since the upgrade to v37.0.2, the new tab with empty (Nothing on it) makes its appearance. I would stop the 'new tab' being open/apearing when I start fx, and it seems to appear randomly (not sure what triggers the).I would only have characteri
-
Error code: 646 (cannot install KB2092914)
Hello I need help with this error code 646 (KB2092914), it won't let me update for microsoft 9 security update? What can I do with this issue?
-
Annoying hourglass constantly flashes along with the arrow cursor.
Original title: annoying hourglass! Since a deep cleaning with Tune Up Utilities, I find that an hourglass flashes constantly along with the arrow cursor. I also think now that the buttons do not always to react when clicked, although they will be la
-
first and perhaps last post on a forum! your help would be very wel received.cant not seem to download any webcam on my computer .hp pavillion windows vista .errors seem to be-microsoft6to4adaptor #11, windows cannot load the driver reqd (code31) and
-
desktop computer; delete; recover
Accidentally, I copied my desktop folder in my contacts folder. Given that this took a lot of memory, I erased my contacts folder desktop folder, and it erased everything on my desk. I can even find the Recycle Bin to undo the deletion. If anyone has