A single Oracle block can contain lines of two or more than two tables?

Hello

I read of Tom Kyte Expert Oracle Database Architecture database Oracle 9i, 10 g and 11 g programming.

He said block section of conceps about Oracle
The table directory, if present, contains information about the tables that store rows in this block
(data from more than one table may be stored on the same block).
How is it possible when a block may be the only measure and a measure can only be attributed to a single segment.

Thank you
Ankur

Published by: 853914 on November 27, 2011 10:47
typo

Published by: 853914 on November 27, 2011 10:48

This can happen when the table is a table cluster: http://docs.oracle.com/cd/E11882_01/server.112/e25789/tablecls.htm#CNCPT608.

Tom Kyte book, it is detailed in Chapter 10 of database Tables.

Edited by: P. Forstmann Nov. 27. 2011 19:56

Tags: Database

Similar Questions

  • Can I use windows 8 recovery more than once?

    * Original title: recovery of Windows 8

    Can I use windows 8 recovery more than once?

    Hello

    You can use the recovery media to reinstall as many times as you wish, as long as there is only a single installation of the operating system installed at any time and if preinstalled recovery media is linked to this machine and cannot be transferred.

    See you soon.

  • Q: very simple you can add more than 1 table to a Word report? -If Yes, how

    Hi all

    As described in the topic, is it possible to add more than 1 table to a Word report?

    Very simply, I have some test data in a table and added to my report with the addition of the report table vi.

    I have the same thing again to send data to a different table which I would like to insert in my report in table form. I placed a second addition table report vi directly after the previous vi, but it doesn't work.

    ... Am I stupid? or this function is only meant to be used at the same time? Maybe I need an another vi after adding table vi before you can add another?

    Feel free to enlighten me because I am confused,

    Thank you!

    Change the width of two column Table add to Report.vi from 10 to 1. Setting the value to 10 (unit are inches) will throw an error.

    Ben64

  • Can transfer easily to be run more than once on the receiving system?

    Can transfer easily to be run more than once on the receiving system?

    I installed Win 7 on a separate XP drive and I am able to switch between them starting from their respective readers.

    I made an easy transfer between them and now intend to install it and test my programs on Win 7.  Once I've got everything working properly, and that all migration issues are resolved, I would like to make a clean second run Easy Transfer of XP just before the final switch to Win 7.

    "Clean run" I mean I want all the Win 7 system to be completely replaced by the new data and the parameters of the XP system.

    Easy transfer will do that?

    What I would recommend that you do, is create a new account user in Windows 7, then restore the backup Windows Easy Transfer in the new account and delete the old account that you created in the first place.

  • Can I access my programs from more than one computer? If so, how?

    I want to know if I can access my CC programs from more than one computer? If so, how? This may seem like a silly question, but the cloud is still confusing to me.

    Cloud license allows 2 activations http://www.adobe.com/legal/licenses-terms.html

    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0

    -Windows or Mac has no importance... 2 on the same operating system or 1 on each

    -Two activations may NOT be used at the same time (noted in the link above of the license)

  • can I use cloud adobe on more than 1 computer that I have an imac, a computer windows laptop and a macbook?

    can I use cloud adobe on more than 1 computer that I have an imac, a computer windows laptop and a macbook?

    Yes, you can install and use the Adobe application on 2 computers (no more than 2).

    You can get the details, http://www.adobe.com/products/creativecloud/faq.html

    Can I use the software that I download creative cloud on several computers?

    Yes, you can use applications desktop cloud creative on two computers at once, regardless of the operating system of the individual associated with the composition of the creative cloud. See the page of theproduct license agreements for more information.

  • XML from the interlaced lines of two Tables?

    I'm trying to generate XML data from interlaced lines of two relational tables that have a common FK, and I can't have enough to get the concept / syntax right. for example:
    CREATE TABLE A (
      PK_A NUMBER ,
      FK     NUMBER ,
      C       VARCHAR2(100) ,
      D       VARCHAR2(100) 
    ) ;
    
    CREATE TABLE B (
      PK_B NUMBER ,
      FK     NUMBER ,
      E       VARCHAR2(100) ,
      F       VARCHAR2(100) 
    ) ;
    
    ... load some data into both tables so B always has one more row than A for the any FK ...
    
      FUNCTION Get_XML(
        FK_In IN a.fk%TYPE
      ) RETURN XMLType
      IS
        TYPE A_Table_Type IS TABLE OF a%ROWTYPE ;
        TYPE B_Table_Type IS TABLE OF b%ROWTYPE ;
        TYPE XML_Table_Type IS TABLE OF XMLType INDEX BY PLS_INTEGER ;
        my_A_Table A_Table_Type ;
        my_B_Table B_Table_Type ;
        my_XML_Table XML_Table_Type ;
        my_Return_XML XMLType ;
        t NUMBER := 0 ;  -- my_A_Table index
        x PLS_INTEGER := 1 ;  -- my_XML_Table index
      BEGIN
        SELECT * BULK COLLECT INTO my_A_Table FROM a WHERE ( fk = FK_In ) ;
        SELECT * BULK COLLECT INTO my_B_Table FROM b WHERE ( fk = FK_In ) ;
        FOR i IN 1..my_B_Table.COUNT LOOP
          SELECT XMLElement( "B" , XMLAttributes( my_B_Table(i).E AS "ID" ) )
            INTO my_XML_Table( x ) FROM dual ;
          x := x + 1 ;
          IF ( t < my_B_Table.COUNT ) THEN
            t := t + 1 ;
            SELECT XMLElement( "A" , XMLAttributes( my_A_Table(t).C AS "ID" ) )
              INTO my_XML_Table( x ) FROM dual ;
            x := x + 1 ;
          END IF ;
        END LOOP ;
        SELECT XMLAgg( SELECT * FROM TABLE( my_XML_Table ) INTO my_Return_XML FROM dual ;
        RETURN my_Return_XML ;
      END Get_XML ;
    -----

    The statement "SELECT XMLAgg (... "does not, compile with one" ORA-00936: lack the expression "error." Using an associative array of XMLType is my last attempt to build up interlaced table A / B XML fragments in a single global XML fragment. At first, I just tried to XMLConcat each query results directly in my_Return_XML.

    --
    Alex

    Hello

    I see two problems here:

    (1) lack of parentheses around SELECT it and closing XMLAgg:

    SELECT XMLAgg( ( SELECT * FROM TABLE( my_XML_Table ) ) ) INTO my_Return_XML FROM dual ;
    

    (2) you cannot use the TABLE function with a type declared for PL/SQL. You must create a SQL type and declare a collection of this type.
    Alternatively, you can use SYS. XMLSEQUENCETYPE (varray of XMLType).

    Anyway, is there a simpler approach?
    For example, using a single SELECT statement:

    SQL*Plus: Release 10.1.0.4.2 - Production on Mar. Mars 30 11:32:08 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connecté à :
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> CREATE TABLE A (
      2    PK_A NUMBER ,
      3    FK     NUMBER ,
      4    C       VARCHAR2(100) ,
      5    D       VARCHAR2(100)
      6  ) ;
    
    Table créée.
    
    SQL> CREATE TABLE B (
      2    PK_B NUMBER ,
      3    FK     NUMBER ,
      4    E       VARCHAR2(100) ,
      5    F       VARCHAR2(100)
      6  ) ;
    
    Table créée.
    
    SQL> INSERT INTO a
      2  SELECT level, '1', 'A:VALUE '||to_char(level,'fm09'), 'A:VALUE '||to_char(level,'fm09')
      3  FROM dual
      4  CONNECT BY level <= 10;
    
    10 ligne(s) créée(s).
    
    SQL> INSERT INTO b
      2  SELECT level, '1', 'B:VALUE '||to_char(level,'fm09'), 'B:VALUE '||to_char(level,'fm09')
      3  FROM dual
      4  CONNECT BY level <= 11;
    
    11 ligne(s) créée(s).
    
    SQL> commit;
    
    Validation effectuée.
    
    SQL> set long 500
    SQL> set pagesize 50
    SQL> variable fk number;
    SQL> exec :fk := 1;
    
    Procédure PL/SQL terminée avec succès.
    
    SQL> SELECT xmlagg(
      2           xmlelement(evalname(ename), xmlattributes(id)) order by rn
      3         ).extract('/*') --< for formatting purpose
      4         as xmldoc
      5  FROM (
      6    SELECT 2*rownum-1 as rn,
      7           'B'        as ename,
      8           e          as id
      9    FROM b
     10    WHERE fk = :fk
     11    UNION ALL
     12    SELECT 2*rownum,
     13           'A',
     14           c
     15    FROM a
     16    WHERE fk = :fk
     17  );
    
    XMLDOC
    --------------------------------------------------------------------------------
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Interlacing is made in the inner query by assigning same ROWNUMs odd and table A to table B.

  • Can we define language DB to more than 1 language?

    We have a requirement like this: our users want to enter data in Persian and English. Persian users will enter data in Persian, while people who know not only Persian will enter data in English.

    An Oracle DB can be set up to support the 2 completely different character sets?

    An Oracle DB can be set up to support the 2 completely different character sets?

    You don't need different charactersets, you need unicode, i.e. AL32UTF8 as characterset.

    Werner

  • Add line does not if more than 5 records are displayed on the screen

    Hi all

    Does anyone know why the button Add line on a report of sql update would stop to insert an empty for data entry line when more than 5 records were entered into the form? I can insert up to 5 files. After this, a blank line is more provided by the button. Odd. Have any ideas?

    Any help would be greatly appreciated!

    Michelle

    Hello

    Change this:

    Maximum number of lines: 15

    TO:

    Maximum number of lines: 1000 (or more)

    Andy

  • How can I get Firefox to use more than 12.5% of the capacity of my modem wireless?

    Only if you use Firefox, pages take forever to load. Use of my wireless router in looking, I found that it runs in general (with just Firefox, no other program running on the internet) to 0% or 0.0%, with few spikes up to 5%. Even when you try to view a video.

    When I download something, it could rise to more than 12.5%, for a bit, but I never saw that he hit even 50%.

    When I'm doing something which seems that it takes more ability to my router, Firefox instead takes a bit of my CPU, I'm guessing that there is a lot to ask where are the packets of data or something.

    I have no proxy, or restart Firefox update worked, nor has completely rebooted my computer. I adjusted my network connections down, then back to the top, and all that did was make it so that I can't watch youtube videos, which she usually takes me a few tries to load in a resolution that will not hurt my eyes, and it is with an add-on that makes it so that they are forced to play in HD!

    OK, it's alright with the ISP part - I thought, as had shown activity wireless adapter testing with IE more like what was expected.

    I've also updated the two FF (not something I want to do, as it rarely is compatible with my Add-ons update. My set up is fine, it works, why should I change to something that will not be?), and an update of the computer (which, Yes, I should do it more often. A final which will automatically but has been massive, however and literally broke my copy of FireFox. It was boring!).

    I still feel like it runs too low, but at least the videos loading and read without problem now-well, for the most part.

    They load, kick up an error for a few moments and then screen reload and then play correctly. I guess I can live with that.

  • HP 15-ab027tx: can I use discs of recovery more than once?

    I got a new HARD drive and I installed Windows 8.1 through recovery discs that I created, but I need to know that I can use these disks more than once.

    Hello

    Yes you can, there is no limit to the number of times that that they can be used.

    Kind regards

    DP - K

  • How can I see questions and answers more than 4 hours ago

    How can I return to questions and answers more than 4 hours ago.

    In Adobe Muse, it gives me the options to go back a page, but in this forum

    I can only 4 hours. There is an option 'More', but it is not go back more than 7 hours.

    Hello

    Click on "Content" in the menu bar.

    Stone

  • Adobe PDF blocks Outlook 2010 when the combination of more than 200 emails.

    I have a user who was combining emails in Outlook 2010 in specific files that maintain more than 200 e-mails and when you do a right click on the folder and click on "convert 'file' to Adobe PDF" begins to handset until after about 200 emails when completely, it crashes and closes. In Event Viewer, it is a Kernel error in Outlook.EXE.

    I tried measures

    -Repair Acrobat via Add Remove programs and through the application itself

    -Check the updates,

    -Uninstall Adobe Reader

    -Disabling Outlook Add-In and also 3rd party PDF Outlook

    -Repair of Microsoft Office

    -Clear temporary files

    The user uses Acrobat XI, and there was a recent update applied on March 8.

    After uninstalling and reinstalling it, I have successfully combined a great Outlook folder containing 592 points. Right now, this is considered resolved.

  • Disable the download protection only. "Blocked: can contain viruses or spyware.

    Is it possible to do so. Many legitimate downloads are blocked by this behavior.

    Why the download is not blocked it is open? (hours of downloading of legitimate files and documents to see that firefox deletes them without any intervention from the user) and why are there no option to retrieve the download?

    So far, the only way to solve this problem seems to be:

    (a) use a different browser
    (b) systematically lower settings security of the browser to download a file, then re-enable the options (browser.safebrowsing.enabled and browser.safebrowsing.malware.enabled)

    Thank you for your time.

    _scot_
    As much as I know Firefox does not remove downloads. However he screen to them:

    I wouldn't turn them off, however if you download, it is possible to put them in another folder.

  • Combine multiple lines into one line (from two tables / result sets)

    Hello experts,

    I would like to know how to combine multiple lines/records in a single record. Here are the DDL and DML to tables:

    create table test_table)

    client_name varchar2 (50 char),

    login_time timestamp (6).

    logout_time timestamp (6).

    auto_type varchar2 (10 char)

    )

    create table root_table)

    navigation_time timestamp (6).

    client_name varchar2 (50 char),

    VARCHAR2 (50 char) nom_du_groupe

    )

    Insert into test_table

    values ("John", TO_TIMESTAMP ('2013-12-05 17:04:01.512 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), TO_TIMESTAMP ('2013-12-05 17:27:31.308 ',' YYYY-MM-DD HH24:MI:SS.) FF'), 'SIMPLE');

    Insert into test_table

    values ('David', TO_TIMESTAMP ('2013-12-05 06:33:01.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), TO_TIMESTAMP ('2013-12-05 06:45:01.112 ',' YYYY-MM-DD HH24:MI:SS.) FF'), 'SIMPLE');

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 17:04:01.512 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "invalid");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 17:14:22.333 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "GROUP_1");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 17:27:31.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "GROUP_1");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 06:33:01.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), "David", "invalid");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 06:45:01.112 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'David', 'GROUP_5');

    game results test_table

    client_name

    login_time logout_time auto_typeJohn05/12/2013 5:04:01.512000 PM05/12/2013 5:27:31.308000 PMSIMPLEDavid05/12/2013 6:33:01.308000 AM05/12/2013 6:45:01.112000 AMSIMPLE

    root_table result set

    navigation_time client_name GroupName
    05/12/2013 5:04:01.512000 PMJohnNot valid
    05/12/2013 5:14:22.333000 PMJohnGROUP_1
    05/12/2013 5:27:31.308000 PMJohnGROUP_1
    05/12/2013 6:33:01.308000 AMDavidNot valid
    05/12/2013 6:45:01.112000 AMDavidGROUP_5

    And here is the SQL code I'm writing:

    Select a.customer_name, a.login_time, a.logout_time, a.auto_type, Max (b.group_name)

    from test_table a, b root_table

    where a.customer_name = b.customer_name

    Group of a.customer_name, a.login_time, a.logout_time, a.auto_type

    As the 'invalid' value is greater than the value "GROUP_1" (based on the number of letter in English), the GroupName is returned as 'invalid '. I want to bring the GroupName based on the navigation_time column in the root_table so that it always returns a valid GroupName. Please help me.

    Output current:

    Client_name.      Login_Time.     Logout_Time |     Auto_Type |     GroupName

    --------------------------------------------------------------------------------------------------------------------------------------------

    John |     05/12/2013 5:04:01.512000 PM |     05/12/2013 5:27:31.308000 PM |     SIMPLE |     Not valid

    David |     05/12/2013 6:33:01.308000 AM |     05/12/2013 6:45:01.112000 AM |     SIMPLE |     Not valid

    Expected results:

    Client_name.      Login_Time.     Logout_Time |     Auto_Type |     GroupName

    --------------------------------------------------------------------------------------------------------------------------------------------

    John |     05/12/2013 5:04:01.512000 PM |     05/12/2013 5:27:31.308000 PM |     SIMPLE |     GROUP_1

    David |     05/12/2013 6:33:01.308000 AM |     05/12/2013 6:45:01.112000 AM |     SIMPLE |     GROUP_5

    Thank you!

    Adding INSERT statements, current and planned outputs.

    This...

    SELECT client_name

    login_time,

    logout_time,

    auto_type,

    GroupName

    Of

    (select a.customer_name,

    a.login_time,

    a.logout_time,

    a.auto_type,

    b.group_name,

    ROW_NUMBER() over (PARTITION BY a.customer_name, a.login_time, a.logout_time, a.auto_type ORDER BY b.group_name) rn

    from test_table a, b root_table

    where a.customer_name = b.customer_name)

    WHERE rn = 1;

    OUTPUT:-

    =========

    David DECEMBER 5, 13 06.33.01.308000000 AM DECEMBER 5, 13 06.45.01.112000000 AM SIMPLE GROUP_5
    John DECEMBER 5, 13 05.04.01.512000000 PM DECEMBER 5, 13 05.27.31.308000000 PM SIMPLE GROUP_1

    Thank you

    Ann

Maybe you are looking for