I'm looking for Custom table and index

Hi Hussein;
I want to find tables and indexes in the APPS schema. All custom tables and index begins with ZZ...

I try to type this query, but its bring many record a lot, where I am not mistaken. And can not find the query for custom index.

Select a.table_name, a.owner, d.CREATED
from all_tables an inner join dba_objects d on
a.OWNER = d.OWNER
where table_name like '% ZZ' and 'a.OWNER =' APPS

Thanks for the tips

Hello

You do not have to join, ask just DBA_OBJECTS (where type_objet = 'TABLE' and object_name like '% ZZ') or (where object_type = 'TABLE' and OWNER = "CUSTOM SCHEMA"). If you follow the standards of customization, custom tables/index should exist under the custom schema (and not under APPS schema).

Kind regards
Hussein

Tags: Oracle Applications

Similar Questions

  • How FLASHBACK all TABLEs and indexes in a certain pattern for a restoration of p?

    Today I read a few web pages on how to use FLASHBACK to restore to a Restore Point.

    Unfortunately, all of these examples show just how to restore a single TABLE for example

    FLASHBACK TABLE t to RESTORE POINT before_we_do_anything;

    But how can I FLASHBACK all TABLEs (and indexes and other dependent objects) in a certain pattern to a one-step restore point)?

    FLASHBACK myschema.* to before_we_do_anything POINT of RESTORATION;

    does not work.

    Peter

    There is nothing like that. However, you could flashback the entire database to a point in time. It would of course have implications through patterns all the good.

    Nicolas.

  • The cache/pin layout tables and indexes - Howto?

    Hi all

    I touched upon a request by a seller of BEDS to do something I'm not terribly familiar with... they want to "hide" or "pin" a table and an index in memory.

    I was looking and saw something to the effect of making the Table1

    ALTER TABLE Table1 in CACHE;

    However, the seller has been mention some examples that seem to indicate the creation of a pool of Dungeon (a pool of buffers separate cache?).. and then doing something like

    ALTER TABLE Table1 STORAGE (USER_TABLES KEEP)

    Can someone give me an idea as to the difference between these two concepts... links on how do, etc.?

    Thanks in advance!

    Cayenne

    Hello

    There are 'rules' to pin the tables and indexes. The Oracle documentation states:

    "A good candidate for a segment in the pool of the DUNGEON is a segment that is smaller than 10% of the size of the DEFAULT buffer pool and has suffered at least 1% of the total i/o in the system."

    Here are the rules that I use:

    -Cache tables & indexes where the table is low)<50 blocks)="" and="" the="" table="" experiences="" frequent="" full-table="">

    -Cache objects that use more than 10% of the size of the data buffer.

    Here is the script I use to automate the assignment of the tables in the pool of DUNGEON.

    ATTENTION: This script is not for beginners:

    http://www.rampant-books.com/t_oracle_keep_pool_assignment.htm

    I hope this helps...

    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: the definitive reference".
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • Partitioned Tables and indexes

    Hello


    I have a question on the table and index partitioning. My scenario is:

    Charge 2 mio records in table T once a month. Loaded records are added to existing records, and once loaded data is never changed.
    At some point, I want to delete the older recordings, so I intend to this partition table.

    T table looks like:
    create table t (id       number(10) not null  constraint t_pk primary key,
                    period   number(10) not null,
                    contract number(10) not null,
                    attr     number(10) not null);
    
    create unique index t_ux1 on t(contract,period);
    
    create index t_ix2 on t(period);
    My plan is to partition T over the period, and I'm trying to read through the concepts
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/partconc.htm#g471747


    My question is now, how to manage the indexes, the t_pk, the t_ux1 and the t_ix2. Concepts of say,

    «1. If the table partitioning column is a subset of index keys, use a local index.»

    "2. If the index is unique, use a global index. If this is the case, you are finished. »


    So, that's how I read it
    -t_pk is unique, so this should be global
    -t_ux1 of columns is a subset, unless I have misunderstood (?), which should be local
    -index t_ix2 column is the same as the partitioning column, so it must be local

    Is this right, this t_ux1 should be a local partioned index, even if the period is the second column in the index?

    If true, what will happen when a partion fell?


    I am new in this area, so please feel the comment as you wish.


    Concerning
    Peter


    BANNER
    ----------------------------------------------------------------
    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - 64bi
    PL/SQL version 10.2.0.3.0 - Production
    CORE Production 10.2.0.3.0
    AMT for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - production
    NLSRTL Version 10.2.0.3.0 - Production

    Peter Gjelstrup wrote:

    My question is now, how to manage the indexes, the t_pk, the t_ux1 and the t_ix2. Concepts of say,

    «1. If the table partitioning column is a subset of index keys, use a local index.»

    "2. If the index is unique, use a global index. If this is the case, you are finished. »

    So, that's how I read it
    -t_pk is unique, so this should be global
    -t_ux1 of columns is a subset, unless I have misunderstood (?), which should be local
    -index t_ix2 column is the same as the partitioning column, so it must be local

    Is this right, this t_ux1 should be a local partioned index, even if the period is the second column in the index?

    A partitioned index locally can only be defined as unique if the partition key is part of the columns in the index. Imagine what the database would have to do if this is not the case: in order to verify if a newly added or updated value violates the uniqueness, it will have to travel all the partitions in a serialized operation - means that no one else could do the same thing at the same time. Since he is a killer of serious scalability in terms of locking and contention, this is not allowed.

    So: Your T_UX1 index can be defined as a unique index that is local because it contains the partition key. Although the index is not prefixed ("Prefix" means that it is divided by the left side of the columns in the index) which means that there may be access patterns where all partitions should be scanned or the optimizer cannot use a method of size of effective partition according to the way the index is reached.

    Your T_PK index cannot be set as local because it must be unique (you can not use a local non-unique index in this case), but does not contain your partition key. It must be a global index. An overall index can be partitioned as well (different from the underlying table) but it doesn't have to be.

    Depends on how you access your data you have not T_IX2 index when partitioning by this key because it corresponds to the partition key and therefore could not actually be used by the mechanism of partition pruning that limit your query to the scores of individuals.

    If you have more than one MAS environment where running queries are used longer, you should be fine with the index the in general (because they could be analyzed in parallel in parallel operations), but if you have an OLTP environment, then you should avoid local no prefix indexes due to the potential problem that you need to analyze all partitions.

    Be borne in mind that with partitioning adds an important layer of complexity to other areas: in particular the options available to the optimizer and analyze cost optimizer statistics. Depends on how you access your statistical data must be maintained on several levels now (level of score and at the global level, in the case of subpartitioning may be still at this level). If your data is important and you rely on "global" level statistics (these are always the case when the optimizer at the time analysis cannot limit access to a single partition) then in the pre - 11 g databases analyze these "global" level statistics can take a lot of time and resources, since actually , you need data several times (once for the partition and even global level).

    Presenting this partitioning may mean other potential problems in terms of execution that change (not for the better sometimes) plans and how to effectively collect statistics. Note that g 11 addresses the issue of 'statistics' by introducing the so-called "extra" global statistics. Greg Rahn wrote a [blog note | http://structureddata.org/2008/07/16/oracle-11g-incremental-global-statistics-on-partitioned-tables/] on this nice feature.

    >

    If true, what will happen when a partion fell?

    Since you're already on 10g, you can specify the database to update the scores of the local index using the UPDATE of the INDEX clause, while 9i could maintain only an overall index and it is up to you to rebuild the local index partitions after the partition DDL on the table (according to the DDL operation).

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

    Published by: Randolf Geist on Sep 30, 2008 16:39

    Added statistics / optimizer warning when you use the partitioning

  • partion tables and indexes

    Hi all

    DB: 10.2.0.4

    Is that we can convert a normal table into partitioned tables?
    If Yes, then what is the existing indexes on this table?

    IM totally new about partitioning (Table and Index). I read the oracle docs but still have confusion with local and global index (score and no-partion)...


    Please suggest...

    Kind regards.

    >
    Is that we can convert a normal table into partitioned tables?
    If Yes, then what is the existing indexes on this table?
    >
    You can use the EXCHANGE PARTITION to do. See this article from the Oracle base
    Partitioning of an existing Table using the EXCHANGE PARTITION
    http://www.Oracle-base.com/articles/Misc/partitioning-an-existing-table-using-Exchange-partition.php

    Or you can use for DBMS_REDEFINITION do directly

    See this article from the Oracle base
    http://www.Oracle-base.com/articles/Misc/partitioning-an-existing-table.php

    You can also create a new table and INSERT the data from the old table.

    The option you are using could depend on indexes how you have, if you intend to keep them all and if the indexes on the partitioned table must be either local or global.

    To refine the new partitioned table, you really need evaluate each index to determine that the index should be global or local, and if the index should also be partitioned.

    There isn't any point to create a new table with the same indexes if you want to redefine all the indexes. You would be better of the backup of the original and then table drop indexes before conversion.

    See the VLDB and partitioning Guide
    http://docs.Oracle.com/CD/B28359_01/server.111/b32024/TOC.htm

  • New tables and indexes created do not appear in the view dba_segments

    Hi all

    I created 3 tables and indexes, but these items do not appear in dba_segments views. Is this a normal behavior? Previously, with dictionary managed tablespace, I can specify the least possible to create, at the table/index is created. But I don't know how works the locally managed tablespace. Please do advice. Thank you much in advance.

    I am using Oracle 11 g R2 (11.2.0.1.0) for Microsoft Windows (x 64), running on Windows 7.

    To reproduce this problem, I created the tablespaces as follows:

    CREATE TABLESPACE CUST_DATA
    DATAFILE ' d:\app\asus\oradata\orcl11gr2\CUST_DATA01. DBF' SIZE 512K
    AUTOEXTEND ON NEXT MAXSIZE 2000 K 256K
    MANAGEMENT UNIFORM LOCAL 256K SIZE MEASURE
    SEGMENT SPACE MANAGEMENT AUTO;

    CREATE TABLESPACE CUST_INDX
    DATAFILE ' d:\app\asus\oradata\orcl11gr2\CUST_INDX. DBF' SIZE 256K
    AUTOEXTEND ON NEXT MAXSIZE 2000 K 128K
    MANAGEMENT UNIFORM LOCAL 128K SIZE MEASURE
    SEGMENT SPACE MANAGEMENT AUTO;

    CREATE TABLE CUSTOMER_MASTER (CUST_ID VARCHAR2 (10))
    CUST_NAME VARCHAR2 (30),
    E-MAIL VARCHAR2 (30),
    DATE OF BIRTH,
    ADD_TYPE CHAR (2) CONSTRAINT CK_ADD_TYPE CHECK (ADD_TYPE ("B1", "B2", "H1", "H2")),
    CRE_USER VARCHAR2 (5) DEFAULT USER,.
    CRE_TIME TIMESTAMP (3) DEFAULT SYSTIMESTAMP.
    MOD_USER VARCHAR2 (5).
    MOD_TIME TIMESTAMP (3),
    CONSTRAINT PK_CUSTOMER_MASTER PRIMARY KEY (CUST_ID) USING INDEX TABLESPACE CUST_INDX)
    TABLESPACE CUST_DATA;

    SQL > SELECT TABLE_NAME, nom_tablespace
    USER_TABLES 2
    3 WHERE TABLE_NAME LIKE '% CUST. "

    TABLE_NAME, TABLESPACE_NAME
    ------------------------------ ------------------------------
    CUSTOMER_MASTER CUST_DATA

    SQL > SELECT INDEX_NAME, nom_tablespace
    2 FROM USER_INDEXES
    3 WHERE TABLE_NAME LIKE '% CUST. "

    INDEX_NAME TABLESPACE_NAME
    ------------------------------ ------------------------------
    PK_CUSTOMER_MASTER CUST_INDX


    SQL > SELECT nom_segment, SEGMENT_TYPE, nom_tablespace, BYTES
    2 FROM WHERE USER_SEGMENTS;

    no selected line

    An extension to what Sybrand said:

    There is a parameter called differed_segment_creation, who runs the behavior.

    If it is set to TRUE (the default), no segments will be allocated until you fill your table / index.

    Try to insert a row. You will see your table and index in dba_segments.

    See for more information

    http://docs.Oracle.com/CD/E14072_01/server.112/e10595/tables002.htm

  • How to collect statistics of Tables and index

    Hi all

    Please help me in the collection of statistics of Tables and index.

    Thank you

    for tables
    exec dbms_stats.gather_table_stats ("SCOTT", "EMPLOYEES");

    for indexes
    DBMS_STATS.gather_index_stats exec ('SCOTT', 'EMPLOYEES_PK');

    Visit this link for details
    http://nimishgarg.blogspot.com/2010/04/Oracle-dbmsstats-gather-statistics-of.html

  • I'm looking for (without wire and ati) drivers sony vaio model pcg - 61611 L 27524236 3006912 .SN

    I'm looking for (without wire and ati) drivers sony vaio model pcg - 61611 L 27524236 3006912 .SN

    Hello Jazymich,

    Thanks for the post.

    PCG - 61611L is the configuration of the equipment donated by Sony code.

    Try to exactly locate the model #:

    http://eSupport.Sony.com/us/p/support-info.pl?info_id=264#notebook

    Enter model # in the following link for available drivers:

    http://eSupport.Sony.com/us/p/select-System.pl?Director=driver

    If my post answered your question, please mark it as an "accepted Solution".

  • Iterator for the table and form is a problem during the cleaning of the records

    Hello

    I use JDev 12.1.2.

    I have an object of the detail view. I represent a part of its fields in a table and the rest in a form. I use the same iterator. Basically, I dragged and dropped the object even from the view of the data control and created a table and form layout with the fields I wanted in each provision. I put in place a clear feature for the rows in the table with a clear"" key. -on click I delete the line of the iterator in the managed bean. When I do this the selected record is deleted and the next record is displayed. But fields entered in the form layout also gets deleted. (the form should also be showing the record currently selected - it shows but entrable fields in the form are deleted because of claire that I did on the previous line.) If anyone can help get this resolved?

    Not use the same iterator for the tables and forms here? The links are in the row (row.bindings...) for the table, but for the form it is (links...). The Delete on the current row operation is causing the iterator delete all fields of links instead of from the line? Please shed some light.

    Thank you

    UMA

    How do you rank on the iterator compensation?

    use resetActionListener in your clear button and let us know what is happening?

    Ashish

  • After spending tables and index a different tablespace, index got unusable?

    Hello

    I moved to table and index a different tablespace. After the many indices obtained unusable. I did not understand thiis?

    How can I do still usable?

    best regards and thank you?

    If you bâtait the index (after moving the table, by the way), then they should be usable without something extra to see.
    Check this procedure only one (small) table and index if this index can be used later. If not, then you have a mystery :-)

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • Windows 7 is constantly looking for other networks and drop connection

    Original title: the upgrade of Windows 7 for XP

    I first installed this OS a year ago to this date. Loved, absolutley was entrenched with how easy it was and just how 'worked '. I am a software developer myself and am happy to report all my IDEs, the server settings, etc. all worked like a charm. I had a little problem with VPN but it works with the Vista one (with some work) so I can't complain.

    My problem and this is why I uninstalled windows 7 and will be EVER is back at it before it is solved the same problem 10 years ago. He keeps every 60 seconds looking for other networks or drop the connection no reason apparent. With windows XP, I could disable the Zero wireless and everything would be fine. However, with windows 7 if I turn the WLAN service nothing on this earth that will allow me to connect to it without a third-party application.

    In the end I used a 3rd party app made by the chipset driver and it still failed (but had limited success).

    It is a known problem with windows operating systems. This just "does not work" at all. It's a pain in the thigh and is the reason why people are saying that the wireless is terrible for gaming. I know that isn't true since I have never had a fall with windows XP or my dual boot SuSe OS. 3rd parties even tried to fix this for microsoft in creating the WLAN and Vista Antilag optimizer which all fail for windows 7.

    And just to show you how apparent is this bug...

    customer complaints

    It seems to somehow keep seeps through the cracks with every version of windows. Simply because I know that this wont never be resolved after 10 years ive thrown my copy in the trash and advising all my loved ones to stay on XP. I used to think... "they'll fix" but quite honestly, I think that microsoft is tone deaf to it.

    With regard to upgrading my firmware on my router is concerned, I have programmed my own. I used 3 different routers. My drivers are all up to this date for my card wireless on this box. I used XP drivers with slightly better results but remains unacceptable. I was running with a hackintosh and vmware fusion rather than deal with these headaches after work.

    Maybe im being a bit too critical, but make you pay back for a BONE which does not have everything because of XP.

    After buying a WNDR3700 N600 top double band brand new brand of the router Netgear power line she didn't always.

    2 solid ways fixed my issue.

    the network of windows 7 reason fails

    One, I had to turn off the service navigation computer in administrative services as noted above.

    Two, I had to turn off the power save feature on the usb network adapters.

    Not many people understand how to solve this problem, but I would ditch the derivative of the net bios completely.

  • Update of custom table and column based on the number of lines inserted in it.

    Hello

    I have a XX_TDP_DT custom table that has a column ID_processus.
    User will be be download data in the XX_TDP_DT table, but they insert any value into ID_processus.
    Say if the entered data are 1000 lines.
    I need to process these 1000 rows in batches, so I want to have 1 for 1 to 200 rownum = ID_processus, ID_processus = 2 for rownum 201 to 400 and so on.
    How can I achieve this, any suggestions?

    Database: 10g

    Thank you.

    You can also use NTILE to do this, see:
    Re: Divide also extracted almost lines and assign a group
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:47910227585839

  • DBMS_STATS Table and Index Stats Question?

    All,

    Oracle database version: 10.2.0.3
    Operating system: Solaris 10 X 86-64

    We have a packed application we collect stats of objects with cascade = "TRUE". If the index statistics would be also collected in the process of collecting statistics. We do a estimate_percent = > 30 and method_opt = > all COLUMNS size AUTO no statistical calculation of these paintings that are huge (1 m lines - 192 m). The collected index statistics is based also on the estimate_percent product in the order.

    We found that some of the SQL had improved performance after the calculation of the index statistics in our Test environment that is a copy of production, updated daily.

    We thought the way to collect statistics:

    Collect statistics for tables with estimate_percent and Computing stats on index.

    We are making changes to our scripts and test approach in our Test environment.

    In the meantime, I would like to know the pros and cons of this approach?


    Thank you
    Anantha

    You run your own collect routine of stats, I understand that you disable an Oracle provides and plans automatically on 10g?

    What result did you get the Oracle supplied with AUTO_SAMPLE_SIZE routine?

    Estimate of the table and then calculating the index was something that I saw recommended in the past with ANALYZE and if you see the best results to the test, I think it would be worth in production.

    None of the environments applications two users are exactly the same, but the approach appears reasonable based on your observations.

    I suggest to bring together some before and after snapshots of query performance so that you have documentation of your results.

    IMHO - Mark D Powell-

  • you are looking for an mp3 and acc music player application

    Hi all

    I'm looking for a music player that I can load into my craft mp3 songs and VAC and power play in offline mode in iPhone. I already use Apple music app but am looking for something else too.

    Any recommendations?

    the application of Aboriginal music do this thing.

    Just put the music in iTunes and sync with your iPhone.

  • Can not switch to OSX Recovery Mode: looking for the keyboard and magic mouse

    I'm trying to reset my end 2012 Mac Mini 2.3GHz/i7/16GB to factory settings to try to get the machine a new lease on life.

    However, when I try to enter in Recovery Mode (in now command ⌘ + R when the system starts up), the machine will stop to a screen showing the instructions to turn on a magical keyboard and Magic Mouse.

    I have a trendy apple (USB) keyboard and a USB mouse is connected.

    How can I activate these entries, or how can I pass this screen looking for a keyboard/Magic Magic Mouse?

    [I guess one option is to use a magic mouse or a magical keyboard - I have in my office - but it is not sensible that you need them to access recovery mode].

    Thank you

    Got my Magic Mouse of the office, got into recovery mode. Surprised, you need a Magic Mouse, and who does not have a USB mouse to the recovery mode!

Maybe you are looking for