Derived column and descriptor Id or sort column 11.1.1.9

Hi expert,

In OBIEE 11.1.1.9, when I use the Manager to check the consistency I had warning about column derived, that have the id column or sort descriptor.

The only thing you can do, is remove the bound column.

In 11.1.1.6 it was possible, I don't know in 11.1.1.7.

Do you know why?

Concerning

Benjamin

Ah yes it is normal.

This probably means that your RPD is not configured correctly and you want to choose a template for the columns and this specific column ID column do not reside on the same level of dimension hierarchy.

Pre-9 such q & d facility has been accepted by the check (it is same for the column sort order by the way...), but now the RPD which obliges to check.

Tags: Business Intelligence

Similar Questions

  • Why Thuderbird stopped sorting emails by date and added a new sort of his method?

    Yesterday, my emails have been sorted in strict chronological order. Today, they are classified by subject and by date and are in reverse chronological order - oldest first. If all the mails I received from a person in the last two months are grouped, chronologically. I can't imagine what use that method can be anyone.

    When I click on the Date header nothing changes.

    It looks like you might have screwed so turned on.
    Sort by view by Unthreaded

  • Inbox subject lines and the page any sort of small to read.

    Have been a user of Thunderbird for several years a new pc has seen the size of cover page, Inbox and the way a lot of kids to read the modified fonts but good for mail. Not very computer savvy, but frustrating as very difficult to read from my previous version on my pc that went to heaven. Thank you

    Is a way to extend the size of the font to themes with this addon
    Theme-police-size-changer.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/theme-font-size-changer/?src=SS

    Download and save
    Open TB
    go to tools / addons
    in the drop-down list of the equipment-symbol select: install file
    find your saved file and install

  • How do you derive speed and acceleration data position?

    Hello

    We are working on a project that requires data of distance, speed and acceleration over time.  We use the NI 9234 compactDAQ chassis connected to an accelerometer.  The accelerometer is attached to a topic plastic cantilevered (rectangular) which is "gathered" - a bit like a ruler on the edge of a table hanging like a diving board.  We will gain about 2 k samples/sec.  There is no problem getting the acceleration data, it is transformed in speed and distance, which is the problem.  There is a link OR a solution (http://decibel.ni.com/content/docs/DOC-4308, see below), but it does not work.  I remember in my class of calculation that you integrate acceleration to get the speed, you integrate the speed to get remotely.

    This gives us the following graphs:

    Acceleration seems good, of course.  But the speed looks like it is a sinusoidal signal riding on a curve that dips down and then decreases exponentially.  (This dip and decomposition looks like the answer to an excessive vibration.)  I expected to be similar to the acceleration, speed, but out of phase 90 degrees (symmetrical relative to the origin).

    And we want the position and not remotely.  Position would also be a sine wave exponentially decaying.

    So, what math should apply?

    Thanks in advance,

    Shadowfeld

    Hello

    Conversion acceleration in the speed/movement or movement speed requires the digital integration. In LabVIEW, you can take the accelerometer measures and represent this signal in acceleration, speed or movement by running the example VI (Figure 1) included in the next tutorial for area Developer:

    1 excerpts from acceleration, speed and displacement signal processing: http://zone.ni.com/devzone/cda/tut/p/id/4989

    Best regards

    M Ali

    Technical sales engineer

    National Instruments

  • Refreshing (?) a Windows 7 install and issues related other sorta...

    First, asker time question... Please forgive the wall of text.

    I upgraded my desktop computer HP from Vista to Windows 7 using their free upgrade method too complicated who was to get several DVDs of them, creating about 5 more on my side and invest about 5 hours along the real upgrade.  It was mid-2009 and things were going well. 5 years later, things are starting to get bogged down... I have problems with the start time, the response of the system, etc., and I wanted to re - install Windows 7 to update the system, but if I do it the way HP designed, I need to recover the system of their integrated score that will rebuild Vista, THEN go through the routine upgrade of 5 + DVD and I do not want.

    Can I buy Windows 7 Home Premium, updating my system and use the original key of the Vista software as a number of upgrade?  Do I need to purchase a Version upgrade?  I have two laptops and three desktop computers, all computers equipped with legit Windows 7 installed, but no original Win7 doesn't install DVD... could I use one DVD to refresh all my systems?  If this is not the case, should I have options other than buying a bunch of Win7 installs?

    Thanks in advance...

    You cannot use a Windows Vista a product key to activate Windows 7. The product key to activate Windows 7 is unique to this version. Do you not have a product key with your free upgrade in 2009? Or the free upgrade to Windows 7 received as recovery media instead?

    If this is the case, then its probably best to buy a license of Windows 7 Home Premium upgrade and do a custom install on your current installation disk.

    Because Windows 7 is in limited stock because Microsoft ended sales in October 2013, this created demand due to its rarity. This means the retail boxed copies request a bonus, while the OEM System Builder copies remain affordable.

    Full version (retail):

    -Includes the rights of transfer to another computer.

    -Does not require a qualifying earlier version of Windows.

    -Expensive

    Upgrade version (detail):

    -Includes the rights of transfer to another computer.

    -require a qualifying earlier version of Windows.

    -Expensive, but less expensive full version

    OEM System Builder version:

    The OEM of Windows 7 versions are identical to the versions commercial full license with the following exception:

    -OEM versions don't offer any free direct support from Microsoft technical support Microsoft

    -OEM Licenses are tied to the computer first you install and activate it on

    -OEM versions allow all hardware upgrades except for an upgrade to a different model motherboard

    -OEM versions does not move directly from an older Windows operating system

    There is nothing wrong to use it too, especially that all future versions of Windows will be full versions.

    Where can I still get Windows 7?

    Full version-

    Microsoft Windows 7 Home Premium

    Full version-

    Microsoft Windows 7 Ultimate

    Full version-

    Microsoft Windows 7 Professional

    Version upgrade-

    Microsoft Windows 7 Professional upgrade

    Version upgrade-

    Microsoft Windows 7 Ultimate Upgrade

    Version upgrade-

    Microsoft Windows 7 Home Premium Upgrade

    Family Pack:

    Microsoft Windows 7 Home Premium Upgrade Family Pack (3 users)

    How to do a custom installation

    Boot from the Windows 7 DVD

    Click Install now

    Accept the license agreement

    When the option is displayed to select a type of installation, click (Custom advanced)

    Select the disk partition where you want to install Windows 7 click Next.

    You will receive the following warning:

    The partition you have selected may contain files from a previous Installation of Windows. If so, these files and folders will be moved to a folder named Windows.old. You will be able to access the information in Windows.old, but you will be able to use your previous version of Windows.

    (At all costs, do NOT click on anything in Format, deletion or Partition name.) So even do a custom installation, your personal files are still kept. Click OK

    The installation program will now begin installation. During installation, your computer will be restarted several times.

    Once the installation is complete, you can complete the Out of Box experience as the choice of your laptop, create a username, password, your time zone. You can then proceed to download the latest updates for Windows and reinstall your applications and drivers.

    You can then retrieve your personal files from the Windows.old folder and reinstall all of your applications and drivers.

    http://notebooks.com/2010/11/09/how-to-recover-documents-music-and-email-after-upgrading-with-the-Windows-old-folder/

  • Z10 Z10 My BlackBerry went swimming and still works! -(sorte de)

    I'm totally disappointed, but it was pure distraction that allowed my free time Z10 to fly out of my top pocket in the water and become completely submerged for a few seconds!

    Immediately, I disassembled it and placed the pieces in my pocket and ran to the House to do what I could.  When I checked out I could see the water entered into the sim slot (I guess that via USB and HDMI ports) or the helmet.

    I touch dry as much as I could and packed in an absorbent powder moisture (wrapped in cloth) for the night.

    He appeared to research drought, then I gently he blow dried until warm and placed him in the compound, (several times). I know that I should have left computers a week, but...

    Anyway, she booted up and seems to work fine without the sim card or SD card, so I turned it off and tried with just the sim card.

    He had received about five seconds and gave it a blue screen, then tore up the battery.

    I think I did an antenna because it works OK but no network at all now.

    He is buried in absorbing moisture for what I anticipate to be a period a little longer this time.

    I'm not saying that I am more than a little irritated, as it was the my best phone so far!

    If it is not 'cure' I begin the long March to replace it, I haven't used this computer because I had seen and I enjoyed my little time on these forums

    I am the download link (for the first time and I'll let you know what's happening.)

    Advice, the corporal and the commiserations are welcome, but please understand that I have that a computer now is not so easy to get on the internet for me now.

    My first BlackBerry, fast, clean & I'll just not go back.

    So good night all! (from Down-Under)

    The best advice is to put your phone with battery removed in a bag of rice for 4-5 days and not to wait at LEAST 4 days. One of the worst things that you can do, and unfortunately you did, is to use a hair dryer. This can blow moisture back into your phone.

    See you soon.

  • Dynamic action and report column

    Apex 4.2

    Theme 21

    IE8

    At the moment I have a report and a column displays a button

    "< input type ="button"name ="recreate"class ="buttongreen"value ="Synonyms to recreate"onclick =" recrea ("recreate", "' |)" owner | " (')' > ' action

    Then in my page header, I have little javascript

    function recrea (Request, user name) {}

    $x('P90_USERNAME').value = username;

    doSubmit (Request);

    }

    All of this works and sends the page and affects demand.

    Ideally, I would like to change this to a dynamic action, so I can display the gif to submit and overlay

    Can someone give me some advice please

    Gus

    Gus C wrote:

    Apex 4.2

    Theme 21

    IE8

    At the moment I have a report and a column displays a button

    '' action

    Change the HTML button for:

    
    

    (I recommend generating the HTML button in the attributes report using the HTML Expression to a derived column rather than in the report query).

    Then in my page header, I have little javascript

    function recrea (Request, user name) {}

    $x('P90_USERNAME').value = username;

    doSubmit (Request);

    }

    All of this works and sends the page and affects demand.

    Ideally, I would like to change this to a dynamic action, so I can display the gif to submit and overlay

    Create a dynamic action of executing JavaScript Code:

    Event: Click

    Selection: jQuery Selector

    jQuery Selector: [headers = 'ACTION'] entry

    Scope of the event: Dynamics

    Real Action


    Fire on Page load: NO.

    Code:


    apex.submit({
      request: "RECREATE",
      set: { "P90_USERNAME": $(this.triggeringElement).attr("data-owner") },
      showWait: true
    });
    
  • Sort a hyperlink column in the classic report

    4.2.1

    THM2:

    Hi I have a classic report with a hyperlink column. And I need enable sorting on this. What I did is

    Select '< a href = "somelink" >' | party_name | "< /a > ' party_name party_name table.

    However, I just need to show the hyperlink column in the report. Couple of questions

    1. How can I create party_name-based sorting logic using the updated classic sorting standard? Given that all a hyperlink names begin with < - sorting is random. I added the second party_name column an active by default sort on it, but given that the column can not be shown, is not a good way.

    2. I was wondering if there is another way to sort this classic report hyperlink column as shown in the hyperlink and sorting is enabled on the report?

    Thank you!

    ryansun wrote:

    Hi Fac586 - Yes, the requirements are not of the same report. We have several pages with the same type of aspect, however, some of them have a different feature. In this case, Yes, I too simplified it so that easier to understand. I use the hyperlinks on query sql rather that the link of the column is because we have about 5 unions in this query from different sources and each of those interviewing him, having a hypertext link and additional formatting like "BOLD", color etc, under certain conditions. Query1 will return only the party_name, the second query United would have hypertext links, the third would fat etc. The union of the request is not made to take into account this feature, but because of the nature of the data.  While the apex feature works very well, the only question I hit is the hyperlink column sorting in a classic report. Where the simplified question. Individual responses, I've had have been very useful and have been applied successfully.

    In this case, the request for a classic report that has column link, how to sort would work it would be on a regular character column.

    Option 1 (deeply inelegant): Generate an HTML comment containing the sort at the beginning of the column value. The value must be sortable using the character comparison semantics, so dates must follow the format YYYYMMDD, numbers padded to the same length with zeros etc: Re: problem with the Date command

    Option 2A: Expand the Expression HTML technique described in your previous thread (marking dynamically of columns in a "BOLD" for the highest value report) to include the tags.

    Option 2b: Use the HTML Expression technique described in the previous thread to include custom data attributes and use these to add links to dynamic actions.

    If this is done on several pages, and then create a view all the necessary logic and the columns which you can keep it in one place.

  • Custom classic report sorting of columns

    I have a classic report in version 4.2.5 which displays the following values in a column:

    9 (4)

    33 (17)

    When I click on the column header and make a descending sort of the 9 just before the 33 because it deals is a string.  JQuery Data Tables can correctly sort numbers with $, (, commas, etc...)  Do the same with a classic report of APEX is anyway?

    https://DataTables.NET/examples/basic_init/table_sorting.html

    Please update your forum profile with a real handle instead of 'user10730448 '.

    See Re: form/sort issue report

  • Sort a column as a numeric value

    Hello

    I created a SQL report from collections and problems with the sorting of the column as a numeric value.

    I used create_collection_from_query2 for my digital set as a variable n001. But, when I use the same in my SQL statement, it is considering the column as a string.

    Please advise if I am doing something wrong that is causing this problem.

    Thank you in advance,

    Madan

    Thanks for the reply fac586.

    Is to help sort the value column, but we hide the column, users do not have it sort by themselves.

    I have solved this problem by using the interactive report and did not apex_item.display_and_save () but used n001 column directly in the select statement. It is allowing me to sort as a numeric value.

  • Indexes on columns with only "Y" and "n".

    Our transaction table has about 100 mn lines. Of these latter on 60 minutes the lines are not actively used.

    We have composite index on multiple columns, including dates, and these are used to regular queries.

    Will be adding a status = 'y' or ' don't column and the creation of an index on this column is useful to increase the performance of the query?

    For example, will add a condition like

    OÙ......... AND ACTIVE_FLAG = 'Y '.

    help increase the performance of queries?

    Creating such a column and adding a help index?
    What type of clue do you recommend?

    The alternative advocated by some members of the staff is the archiving of INACTIVE lines in a separate table. This will have a big impact on business processes. But we might be able to pull it off.

    Is there another solution.

    I am a beginner full performance although I am familiar with PL/SQL and queries.
    I'm on the constraints of very tight timetable for the first level of back. I'll have more time as soon as I know the direction in which to go.

    Forgive me if I broke a tag forum. I'm new on the forum too.

    Thanks for providing this information. This gives a much clearer picture of what you are facing.

    I will try to give you my answer your questions afterwards.

    You have indicated your data volumes have steadily increased and performance made that decline.
    Even if you do not say (I forgot to ask) but it may be that the number of users increases as and.
    so typical, many users use the system of the time.

    For me it's indicative of a systemic problem. In other words, the problem is not due to a
    a thing or a part of the system.

    There are two main components of a server: the instance and the database. This link sums up the difference
    between the two - http://www.adp-gmbh.ch/ora/misc/database_vs_instance.html and here is a link to recent forum
    for reference Re: difference between Oracle Instance and Database.

    To paraphrase, an instance includes background processes and structures of memory (SGA, PGA, etc.)
    Oracle uses.

    The symptoms you describe could mean that your instance is more configured size not set correctly
    for your current workload are originally strain throughout the system. Maybe the memory is too limited.
    Maybe your sorts are growing with addional data.

    I suggest that you start the new thread to ask for help in the evaluation and optimization of your instance. Use this
    as a starting point:
    >
    Question/title - how to evaluate the State of health / instance and tune

    Our facility has a problem of increasing return.

    How can we collect and provide assessment of workload and configuration information, so you can help determine
    possible solutions such as: memory sizing, temp and segment again sizing, sort the issue.

    Statement of the problem
    1 oracle Version is? ?. ?. ?

    2. gradually return was degrading with more and more data. The UI response suffers and
    batch processing is also in hours. We expect volumes to only continue to grow.

    3. the volumes have continued to increase over the years and gradually performance issues
    accumulate over the past 2 years. Data volumes began to increase faster
    last year 1 due to changes in the company.

    4. the data in OLTP system is a combination of assets of 40% and 60% relatively inactive (financial history).

    5. a complete system near-live replecation on several sites. In my opinion, using streams.

    6. notice of the tech team is a few tables have too many lines. We know that our demands can be suboptimal.

    >

    Now to your question:
    >
    1. I do not know the index on the existing columns are not fully exploited. In the meantime can but, we still get some benefits from adding
    a 'Y' and the null column? What will be improved?
    >

    It is unlikely the benefits you need. It's putting the cart before the horse. The first step is to identify a specific problem.
    Only then can examine you and evaluate solutions. for example by adding a new column or index.

    There are several reasons, this isn't the right solution; certainly not at the moment
    A. any new column and index, BY DEFINITION, maybe even this does not use except if one or more current
    queries are changed. This is obvious since no existing query could possibly refer to a column that does not exist.

    (B) to try to obtain the Oracle to use the new index column / single lease request must be changed.

    C. in my opinion, you should never modify a query of production without knowing which allows to obtain the amendment
    a well-defined objective. You must evaluate the current execution plan to identify what changes, IF ANY,
    can improve performance.

    D. it can be and given your systemic problem is likely to be, some ripe fruit on the performance. That
    is that there may be ways to tune the query to use existing indexes or add a new index on an existing column
    improve things.

    E. assuming that none of the above does the work adding a new column and an index to identify
    a 40/60 split (40% of assets) is unlikely to be used by Oracle (see response of Centinui).

    >
    2. notes that this calculation 'Y' is not negligible. I can easily reproduce this with a WHERE condition on the existing columns. We can have
    to run a batch on the weekend to check row groups and mark them as 'Y '. So it is not only the advantage of indexing on 'Y', but also some benefits of prior calculation.
    Given this info doing now more logic to have a 'Y' and the null column?
    >
    My answer is no – there is no sense to have a Y/N Y/NULL column.

    A. certainly not for reasons of performance - as noted above above it is unlikely help

    Certainly not for commercial reasons.
    The calculation of your "non-trivial" is to demonstrate a business rule: identify groups of lines that have earned.
    If you perform this calculation, the result must be saved significantly. One way is to create a new
    column called 'DATE_NETTED_OUT '. This column name have meanings, and can be used as a boolean DATE/NULL type. This
    It would be much better that Y/NULL which is not really enter the business sense of the value.

    >
    3 partitioning speed up queries on the minutes 40 active and slow queries on the full 100 minutes?
    >
    Probably not to have one influence on the other. Allocation decisions are usually made to ensure easier data management and often
    have little, if any, a performance impact. All existing applications are unlikely to accomplish the any
    differently just because the table is partitioned. There are exceptions of course. If you partition on DATE
    and an existing query has a DATE filter, but there is no index on the DATE column, it will do a full table scan
    of the whole picture. If the table is partitioned on this DATE column that oracle would probably make a partition full
    Scan just the 40% or 60% of the table according to the value DATE. It would be so much faster.

    But if there is already an index on the column DATE I do not expect the performance to change much. It comes
    just speculation since it is based on data, the factor of grouping the data, and the existing queries.

    >
    1. I still need to a particular column of partion, I do not?
    >
    Yes, you do. Unless you use HASH Partitioning that don't really benefit your use case. You too
    says that "...". staff advocate is the archiving of INACTIVE lines in a separate table "."
    Partitioning can be used as part of this strategy. Partition by MONTH or by QUARTER on your
    new column "DATE_NETTED_OUT." Keep 1 or 2 years of data online as you do now and when a partition
    becomes more than 2 years you can 'transport' it to your archiving system. This is part of the partition
    management, which I mentioned earlier. You can simply disconnect the oldest partition and copy it to archive.
    This will not affect your applications other than the data not being is not available.

    >
    2. "adds a column' or ' cut-and - paste lines of table created by copy" the worst idea?
    >
    I don't know what that means.

    SUMMARY

    It is premature to consider alternatives until you know what the problems are. Only then you can try to
    determine the applicable solutions.

    I do it in this order:

    1. upgrading to a newer version of Oracle you are on an older (you said 9i which is not
    longer supported)

    2 assess the health and configuration of your instance. You may be able to significantly improve things
    by adjusting the parameters of configuration and instance. Post a new question, as previously mentioned. I don't
    have the expertise to advise you in details on that and the gurus tuning of the Forum the Forum can
    not to notice this thread (indexes on columns with only 'Y' and 'n') than even know you need help.

    3. identify the ripe fruits for performance problems. Is this one of your batch process? An individual
    request? You mentioned UI soon - that could be a problem of front end, middle tier or application
    not a database one.

    4. don't it make changes architecture (add columns) until you have tried everything first.

  • OBIEE 11 g: sort by multiple columns

    We have recently updated to 11g of 10g. In 10g, you were able to sort a column and then put a secondary on another column sort, regardless of the first.

    So in 10g, you can view quarter and region, and by default are displayed by default, both are sorted in descending order:

    America Q1
    Europe Q1
    America Q2
    Europe Q2

    And I can then sort descent and the region shift down and see that both are sorted by descending order regardless of the other:

    Europe Q2
    America Q2

    Europe Q1
    America Q1

    11 g, however, if I sort the fourth descendant and then ranking descending from the region, neighborhood found upward and I get something like this:

    Europe Q1
    Europe Q2
    America Q1
    America Q2

    How can I get a similar feature off 11 g?

    Thanks for the help!

    Published by: 863307 on August 9, 2011 15:51

    Published by: 863307 on August 9, 2011 15:53

    You use the option to right click on the second column to sort after you apply sorting on the first column?

    Reference http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10544/creatingviews.htm#BACICEDB

    Hope this is useful

  • Need help to sort a column in the classic report

    Hi I'm creating and classic report and I need to sort on the columns. I also use a selection list to filter the records in the column. When I do not use the list selection sorting works but when I'm on the selcet list and select the sort option, then it is showing error. If anyone can help...

    Thnaks,
    Rik

    Hello

    Is it possible see the source code?
    If you create the developer user to your workspace and post login information.
    Or you can send information to connect to me by e-mail. My email is in my profile

    Kind regards
    Jari

  • Column Expression HTML links

    OK, so I followed some instructions that fac586 left in an answer (via link) for another question (Presentation of the State - side by side data sets), and I need help in a particular area:

    If my model 1 attribute in my custom report template looks like this...:

    < li >

    < a href = "" #DERIVED$ 01 # "title =" #ENAME #">"

    #PHOTO #.

    < span > #ENAME # </span >

    < /a >

    < /li >

    ... And my SQL query for the report looks like this:

    SELECT

    LAST_NAME,

    ' < img src = "p? n ='|| NVL(IM.ID,0) | "" height = width = 150px auto > ' IMG '.

    FROM EMPTABLE, WWV_FLOW_FILE_OBJECTS$ IM

    WHERE EMPID = SUBSTR (IM. NAME OF FILE, 1, 6)

    What is my expression of HTML to connect #ENAME # and #LAST_NAME # and #PHOTO # and #IMG # supposed to look like.  I tried the googles but in vain.

    In fact, my question is: what is the syntax for creating a derived column URL link in the attribute of expression HTML?

    AquaNX4 wrote:

    OK, so I followed some instructions that fac586 left in an answer (via link) for another question (Presentation of the State - side by side data sets), and I need help in a particular area:

    If my model 1 attribute in my custom report template looks like this...:

  • #PHOTO #.

    #ENAME #.

  • How is the derived column defined?

    ... And my SQL query for the report looks like this:

    SELECT

    LAST_NAME,

    '' IMG

    FROM EMPTABLE, WWV_FLOW_FILE_OBJECTS$ IM

    WHERE EMPID = SUBSTR (IM. NAME OF FILE, 1, 6)

    What is my expression of HTML to connect #ENAME # and #LAST_NAME # and #PHOTO # and #IMG # supposed to look like.  I tried the googles but in vain.

    In fact, my question is: what is the syntax for creating a derived column URL link in the attribute of HTML expression?

    Some things to note:

    • The main reason using custom templates, derivatives and Expressions HTML columns is to separate concerns, so that SQL and HTML are not mixed in the access layer data. Your code does not properly separate layers of access and the data structure. In the example, the element/source of the image is generated using declarative BLOB support (which is strongly recommended for all downloads of image). If it is not using this method, then put the HTML code required in the model, to recover the source of the image (and all the other required attributes) as discrete columns and reference them individually in the model using the column substitution syntax.
    • The height and width attributes are disabled, incorrectly specified using CSS syntax. The height and width HTML attributes are specified in pixels, with no units. The CSS dimensions are specified using the attribute of syle and units must be included in digital dimensions are used.
    • The alt attribute is required for the img elements.
    • Don't use undocumented objects (WWV_FLOW_FILE_OBJECTS$). A vision documented and supported (APEX_APPLICATION_FILES) is provided.
    • The source of the image that is used will not work.

    Suggest you reproduce the problem in an example on apex.oracle.com and view identification information of developer comments for the workspace.

  • Simple index (the display of the data (all columns) in an index of Toad)

    Hi all

    I am training on sql tuning and over the years I've seen ppl creating many clues, today I'm trying to learn the different types of index and just curious to see physical data in an index, but I'm not able to do a toad, I know if I have a few def index as :

    create index employees_employee_id on employees (employee_id)

    My clue would have two columns of information: first rowid and employee_ids in a sorted order right? <-if my understanding is not correct could any1 please correct me here.

    PS: The major problem is to see the physical in Toad index data, please help me with this.

    Thank you very much

    Rahul

    There is no SELECT query that could be written on the index. But a select on a TABLE can be a way such that Oracle only scans the index and give you the information

    Here is an example.

    SQL > create table t
    () 2
    3 no integer
    4  );

    Table created.

    SQL > create index t_idx on t (no);

    The index is created.

    SQL > insert into t
    2. Select level
    3 from dual connect by level<=>

    10 rows created.

    SQL > commit;

    Validation complete.

    SQL > alter table t modify is not null;

    Modified table.

    SQL > exec dbms_stats.gather_table_stats (user, 't', cascade-online true)

    PL/SQL procedure successfully completed.

    SQL > select rowid, not according to t;

    ROWID NO.
    ------------------ ----------
    AAFrZaABMAAAiKKAAA 1
    AAFrZaABMAAAiKKAAB 2
    AAFrZaABMAAAiKKAAC 3
    AAFrZaABMAAAiKKAAD 4
    AAFrZaABMAAAiKKAAE 5
    AAFrZaABMAAAiKKAAF 6
    AAFrZaABMAAAiKKAAG 7
    AAFrZaABMAAAiKKAAH 8
    AAFrZaABMAAAiKKAAI 9
    AAFrZaABMAAAiKKAAJ 10

    10 selected lines.

    SQL > select * from table (dbms_xplan.display_cursor);

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------
    SQL_ID, 35mwb1b3fpfrh, number of children 0
    -------------------------------------
    Select the rowid, not of t

    Hash value of plan: 3354442786

    --------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |       |       |       |     1 (100) |          |
    |   1.  INDEX SCAN FULL | T_IDX |    10.    30.     1 (0) | 00:00:01 |
    --------------------------------------------------------------------------

    13 selected lines.

    Actually in this case, I questioned the INDEX

Maybe you are looking for