Additional DR $ Tables

I got a hint of context in production for about 2 years now, and during a recent installation, taken in charge noted that some tables of $ additional DR were created that had never been before. Normally we only have the I, K, N and R DR$ tables. This facility has given two additional tables in this format: DR$ [name index] MI and DR$ [name index] MN.

Can someone tell me what that these tables is for and why they would have created now despite no changes to the script or the Oracle version? Creation scripts are below. Thanks in advance.


Call ctx_ddl.create_preference ('CTX_STORE_TBS', 'BASIC_STORAGE');
Call ctx_ddl.set_attribute ('CTX_STORE_TBS', 'I_TABLE_CLAUSE', ' tablespace TEXT_INDX_TBS storage (initial 40 m following 20M minextents 1 maxextents pctincrease 0 unlimited)');
Call ctx_ddl.set_attribute ('CTX_STORE_TBS', 'K_TABLE_CLAUSE', ' tablespace TEXT_INDX_TBS storage (initial 40 m following 20M minextents 1 maxextents pctincrease 0 unlimited)');
Call ctx_ddl.set_attribute ('CTX_STORE_TBS', 'R_TABLE_CLAUSE', ' tablespace TEXT_INDX_TBS storage (initial 40 m following 20M minextents 1 maxextents pctincrease 0 unlimited)');
Call ctx_ddl.set_attribute ('CTX_STORE_TBS', 'N_TABLE_CLAUSE', ' tablespace TEXT_INDX_TBS storage (initial 40 m following 20M minextents 1 maxextents pctincrease 0 unlimited)');
Call ctx_ddl.set_attribute ('CTX_STORE_TBS', 'I_INDEX_CLAUSE', ' tablespace TEXT_INDX_TBS storage (initial 40 m following 20M minextents 1 maxextents pctincrease 0 unlimited)');
Call ctx_ddl.set_attribute ('CTX_STORE_TBS', 'P_TABLE_CLAUSE', ' tablespace TEXT_INDX_TBS storage (initial 40 m following 20M minextents 1 maxextents pctincrease 0 unlimited)');
Call ctx_ddl.create_preference ('basicLexer', 'BASIC_LEXER');
call ctx_ddl.create_section_group ('SENTGROUP', 'NULL_SECTION_GROUP');
Call ctx_ddl.add_special_section ('SENTGROUP', 'SENTENCE');
call the CTX_DDL. SET_ATTRIBUTE ("basicLexer", 'PRINTJOINS', ' ~! @$ % ^ & * () '-_ = + |;:, ". /" ");
call the CTX_DDL. CREATE_STOPLIST ("basicStoplist", "BASIC_STOPLIST");

create indexes MY_INDEX on indextype MY_TABLE (myclobcolumn) is ctxsys.context parameters ("section group LEXER SENTGROUP basicLexer filter ctxsys.null_filter storage STOPLIST CTX_STORE_TBS basicStoplist'");

I see this is your first post, so welcome to the Oracle Forms and Oracle Text subforum.

The paper in the following link explains that these tables are created in the context of the optimization of the reconstruction process.

http://www.Oracle.com/technetwork/database/Enterprise-Edition/default-1590763.html#ch6_idxmaint_opt_rebuild

Tags: Database

Similar Questions

  • addition of tables 1 d of different length

    Hello

    I have a set of tables 1 d of unequal lengths generated out of a FOR LOOP. They look like this:

    Table 1: 1 2 4 5 3 6 7 6 0 3

    Table 2: 2 6 0 7 3 0 3 6 5

    Table 3: 9 2 6 1 7 9 4 0

    etc.

    How can I add toghether way out of the table following 1 d:

    0 1 2 4 5 3 6 7 6 0 3 2 6 4 7 3 0 3 6 5 9 2 6 1 7 9 4

    Can someone help?

    My code does not all "addition of amplitudes", whatever that may mean.

    Here is ther same code adding models sine of different length, amplitude and the number of cycles.

  • Impression of infinite number of columns in addition of Table to the report


    Using the VI "Append Table to declare", you cannot specify Center alignment, through if you enable the grid, it's easier to read tables.  If you generate an Excel report, you have more control and be able to specify the alignment of the cell.

    There is no way to get or to automatically print the page number in the Toolkit of report, using Standard report generation.  You can do this manually keep track of how many pages have been printed if your using the new report Page' VI.

    Using the VI script that you posted, I changed to illustrate adding selectively the columns on the report.  His practice is usually not standard for us to write code to customers, but this example seemed good for the Page example of Community (http://www.ni.com/code/) and with your permission, I would like to post here as well.

  • the addition of two unequal dimensions 2D arrays

    Hello everyone,

    Once more, I have a very basic question. I try to add two tables with different line size 2D. the function "create array" creates a 3D Board. I use the array function to reshape to convert 3D table a table 2D. It works fine if I have two table of the same size, but if the size of the row of the first table 2D is less than the second, it is added an additional line of zeros between the two. I can understand why she is doing this, but I don't know how I could avoid it. is there another effective way if the addition of tables without creating a 3D table?

    The example I've been working on is attached.

    Thank you!

    odessy27 wrote:

    the function "create array" creates a 3D picture

    This function table build a right-click and select "entries to concatenate" and you will get a table 2D.

  • Save tables

    I'm trying to create a two data tables and display on my front panel as I aquire them over time. I don't know why, but any table seems to be to save the values that I have and or don't display correctly...

    The first table is simply an index of the positions of the scene and the second is the acquis of the data in each position. To display "Last Scan", it shows my data once and then do not update, and for my table without average to average data over time, it never shows anything.

    In addition, my table which is saved at the end is all zeros for my data, even though I know that the program is reading zero data points.

    Any advice would be greatly appreciated.

    I forgot to invclude a registry change, but everything works now.

  • The FG table storage: memory errors

    Hello everyone, this is my first post here, I hope it's in the right place :-)

    I was making mistakes of memory.  I am running LV 32-bit on a system with 24 GB of memory. I understand that LV may use only 2 GB of memory, even if I used the utility followed memory to trace a problem at one of my Subvi, in which I use a functional global to store arrays of data.

    My LV program periodically takes in an array of new data.  Whenever a new data table is received, I divided into its constituent parts and store these components in another series of paintings.  I use the USR to store the functional arrays as globals, since I heard that this tactic will improve performance.  However, using the utility followed memory, I find that the Subvi takes much more memory than indicated the amount of data stored.  So, I guess the Subvi has made multiple copies of data than expected.

    Could you please take a look at this VI someone and tell me what "rule" I am breaking what problems?  It is not too big, I think we should that the eyes of an expert.  I'm still a little new to LV :-)

    Thank you!

    Brian

    How much data are you trying to store in this functional overall?  How often is it updated, and how many times it is called between resets?  If you know the maximum size of the data you need to store, it may be better to have the case reset allocate arrays of this size (instead of empty tables) and then maintain an index indicating both the current size of the table and the position to insert the next piece of data.  It will be more effective than to build the table.

    Now, even if you have enough memory to store all the data, it can be too fragmented to be usable.  Whenever you use array of generation in the loop, LabVIEW will allocate a new array of the current size of + 1 and then copy data to it, after which it can make memory of the former small table available again.  The next time the loop for this once again, setting up small blocks of memory available which may not be contiguous and are too small for reuse when the berries then need to grow.  Pre-allocating berries to the maximum size and then replace the items one at a time (as new data arrives) will solve this problem.  In addition, it will be faster, because it takes less time to replace one does it to copy all of a table to a new location.

    In addition, there is no need of the loop for use replace table subset.  Delete the register shift and let the autoindexing to build the output array.  You actually produce an extra copy useless trying to reuse the table, instead of save memory (because there is a copy in the shift register and the other being used for autoindexing).  For loops are effective for the construction of the tables because their maximum size is known before the loop begins.  In addition, the table to initialize is unnecessary - you are initializing the values that will be immediately be replaced - and you don't even have the function of the size of the array.  I'd do it as shown below:

  • Custom AF:table, the default filtering view filtered etc.

    JDeveloper 12.1.3

    I am trying to assemble the pieces, I found on these forums and elsewhere on the web, given that I use 12.1.3 do not know if what I found, it is best practice, given that some ideas are dated.

    Let's say I have a table of addresses, several fields such address_id,address_line, city, state, zip, country... but what is important for this use case, the table has a current flag, which is always either Y or N.

    1. try to implement filtering without using table blockable af. The main reason is that users do not want to see this side of filter above the column headers. In addition, the table should be filterable by a single attribute (current flag), and finally this even filterable column is not used in the presentation of the table, only the addresses in the table. The current filter is af:selectOneChoice something like:

    < af:selectOneChoice label = "Current"? ID = "soc2" simple = 'true '.

    valueChangeListener = "#{backingBeanScope.backing_view1.filterChanged} '"

    autoSubmit = "true" binding = "#{backingBeanScope.backing_view1.currentFilter}" >

    < af:selectItem label = "All" value = "All" id = "si2" / >

    < af:selectItem label = 'Current' value = 'Y' id = "si3" / >

    < af:selectItem label = "Non-routine" value = "N" id = "i5" / >

    < / af:selectOneChoice >

    2. the second condition is that when the user opens the page for the first time, more high af:selectOneChoice is defined on < af:selectItem label = 'value' = 'Y' id = "si3" / > and the table is filtered to display only the lines with the flag set to y. user can use af:selectOneChoice to set the table to any other option. If the user navigates to this page and returns, the table and the 'filter' must retain value selected previously.

    3. If a table is filtered with say < af:selectItem label = 'value' = 'Y' id = "si3" / > and the user modifies or creates record, such as modified or new address is marked with current = 'n', (and this is done in the form of popup dialogue), after the closure of the pop-up window CRUD, newly edited/created record cannot be demonstrated.

    I guess I'd know how to implement these requirements individually (not sure about 2 though) but putting all the best practice way, probably not. Any help is appreciated, I'll close this thread once I have a complete solution for this use case (which I or someone else will publish) so that it can be useful in the future.

    My 5 cents:

    1.

    valueChangeListener = "#{backingBeanScope.backing_view1.filterChanged} '"

    backingBeanScope is specific scope adf provided for declarative components.

    If your code is not part of these components so it is best to use a different scope (for this use case, application scope is probably sufficient and you can't even write the requestScope prefix)

    Binding = "#{backingBeanScope.backing_view1.currentFilter}" > "

    It is usually bad practice (any component of a binding class is a standard approach for desktop applications, but not for the JSF).

    In short, you should bind the component to a managed bean that you must handle with any component (which is rare).

    In all other cases, you must create a concrete property binding (as the "value", "label", "read-only",...)

    2. you are talking about the value of the element, so it would be 'natural' to link the 'value' variable in some managed bean property.

    Because this bean must survive browsing, it should be placed in pageFlowScope or sessionScope.

    3. well, you will probably be filter your lines using ViewCriteria.

    Then maybe that you can use ViewObjectImpl.rowQualifies () method of applied access VC, read the value of the bind variable and determine if this line should be displayed or not.

    Something like this: binary: the substitution of ViewObjectImpl::rowQualifies (...) for memory filtering of the child nodes of a tree component

    Dario

  • no rows returned after haven't added any new tables

    Hi all

    SELECT a.item_no,

    b.trx_number

    Of

    items_table one

    b customer_header_tbl,

    c customer_lines_tbl

    where 1 = 1

    AND b.customer_trx_id = c.customer_trx_id

    AND a.inventory_item_id = c.inventory_item_id

    AND a.organization_id = NVL(c.warehouse_id,207)

    and a.inventory_item_id = 123

    -2 records are copied

    Additional adding Table query

    SELECT a.item_no,

    b.trx_number,

    d.order_number

    Of

    items_table one

    b customer_header_tbl,

    customer_lines_tbl c,

    order_header_table d,

    e order_lines_table

    where 1 = 1

    AND b.customer_trx_id = c.customer_trx_id

    AND a.inventory_item_id = c.inventory_item_id

    AND a.organization_id = NVL(c.warehouse_id,207)

    AND d.header_id = e.header_id

    AND a.item_id = e.item_id

    AND a.organization_id = NVL(e.ship_from_org_id,207)

    and b.header_attribute1 = to_char (d.order_number)

    and c.line_attribute1 = to_char (d.order_number)

    and c.line_attribute6 = to_char (e.line_id)

    and a.inventory_item_id = 123

    But with inventory_item_id = 123 I've not made in the order_lines_table (no rows returned) and also there is no value in b.header_attribute1, c.line_attribute1, c.line_attribute6 values

    Outer join of use

    SQL> select a.item_no
      2       , b.customer_trx_id
      3       , d.order_number
      4    from items_table a
      5    join customer_lines_tbl c
      6      on a.inventory_item_id = c.inventory_item_id
      7    join customer_header_tbl b
      8      on b.customer_trx_id = c.customer_trx_id
      9    left join
     10         order_header_table d
     11      on b.header_attribute1 = to_char(d.order_number)
     12     and c.line_attribute1 = to_char(d.order_number)
     13    left join
     14         order_lines_table e
     15      on d.header_id = e.header_id
     16     and a.inventory_item_id = e.inventory_item_id
     17     and c.line_attribute6 = to_char(e.line_id)
     18   where a.organization_id = 207
     19     and a.inventory_item_id = 123;
    
    ITEM_NO    CUSTOMER_TRX_ID ORDER_NUMBER
    ---------- --------------- ------------
    100_A                 1234
    
  • List of tables of PT

    Team,


    can you please let me know the list of tables of PT that will display all the paratmeters of appserv.cfg, prcs.cfg, configuration.properties.

    In addition, any table that will be desccribe the URL of the PIA.

    user10594123 wrote:
    ...
    can you please let me know the list of tables of PT that will display all the paratmeters of appserv.cfg, prcs.cfg, configuration.properties.

    There is no tables containing these settings. These files are read by the kernel binary Peoplesoft hosted on your server that hosts the web server and PS_HOME. Nothing is stored inside the database.

    In addition, any table that will be desccribe the URL of the PIA.

    URL of PIA? Is this the one you want to get the login page? This is, again, if only on the server that hosts the Web server. When you enter the url, you are not connected to the database yet, so how the database can know this url?

    Nicolas.

  • configuration of additional logging for GGS

    1. What is the difference in the types of additional logging table Oracle 11 g R2: "GROUP of USERS LOG" vs 'All LOGGING COLUMN'... when the two types are defined by ALWAYS = ALWAYS by the DBA_LOG_GROUPS table.

    OBJECTIVE: validate properly the attributes of logging table for Golden Gate configuration

    2. What is the correct difference between:
    ALTER DATABASE ADD LOG ADDITIONAL DATA;
    vs
    ALTER DATABASE ADD EXTRA LOG (ALL) DATA COLUMS

    3. to replicate all the lines for all the DML to another schema, which is correct command "type extra log table:

    a. ALTER TABLE [table_name] COLUMNS add ADDITIONAL data (ALL)

    -or-

    b. ALTER TABLE [table_name] ADD SUPPLEMENTAL LOG GROUP table_set (id, name, date, desc)

    Use ggsci "Add trandata" instead of "Edit table" to activate the additional record. The actual SQL can be attributed if you want to know what it is, but it could change between versions. (You can ggsci orders of piping by ggsci command script.)

    Regarding the different registration levels in Oracle, between versions, etc., which does not appear in the GG docs, but can be (should be, in any case) in the database documentation.

  • Convert tables button

    Basically I have a FLVplayer called vidPlayer and 3 dynamic text fields, who put the text in one click.

    I want to be able to keep the button clicked in the "completed" State, and for this I think that tables are needed?

    In addition, a table may be easier, because there is a lot of code to sift through.

    Here is the code for the buttons in my flv;

    video player script
    function fenwick(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/Fenwick.flv";
    }
    function moneyshopGold(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/MS_Liquid_Gold.flv";
    }
    function nottsplayhouse(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/Nottingham-playhouse.flv";
    }
    function severntrent(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/Severn-Trent.flv";
    }
    function IB_blists(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/IB_blists-hill.flv";
    }
    function IB_enginuity(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/IB_enginuity.flv";
    }
    function IB_placeexplore(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/IB_placetoexplore.flv";
    }
    function IB_greatyear(event:MouseEvent):void {}
    vidPlayer.source = "flvs/adver/IB_great-year.flv";
    }

    script text
    function fenwicktext(event:MouseEvent):void {}
    textBoxTitle.text = "Fenwick";
    }
    function fenwicktext2(event:MouseEvent):void {}
    textBoxName.text = "sales of sofa;
    }
    function fenwicktext3(event:MouseEvent):void {}
    textBoxDescription.text = "announcement of sale of furniture of Fenwick is an example of how a simple and effective, but elegant TV ad can be created without breaking the Bank."
    }



    function moneyshopGoldtext(event:MouseEvent):void {}
    textBoxTitle.text = "The Money Shop";
    }
    function moneyshopGoldtext2(event:MouseEvent):void {}
    textBoxName.text = "gold to Cash."
    }
    function moneyshopGoldtext3(event:MouseEvent):void {}
    textBoxDescription.text = "it was an advertisement for the money store."
    }

    function nottsplayhousetext(event:MouseEvent):void {}
    textBoxTitle.text = "Nottingham Playhouse";
    }
    function nottsplayhousetext2(event:MouseEvent):void {}
    textBoxName.text = 'announcements ';
    }
    function nottsplayhousetext3(event:MouseEvent):void {}
    textBoxDescription.text = ' it was an advertisement for ";
    }

    function severntrenttext(event:MouseEvent):void {}
    textBoxTitle.text = "Severn Trent";
    }
    function severntrenttext2(event:MouseEvent):void {}
    textBoxName.text = "high speed."
    }
    function severntrenttext3(event:MouseEvent):void {}
    textBoxDescription.text = ' it was an advertisement for ";
    }

    function IB_bliststext(event:MouseEvent):void {}
    textBoxTitle.text = "Ironbridge;
    }
    function IB_bliststext2(event:MouseEvent):void {}
    textBoxName.text = "Blists Hill";
    }
    function IB_bliststext3(event:MouseEvent):void {}
    textBoxDescription.text = ' it was an advertisement for ";
    }

    function IB_enginuitytext(event:MouseEvent):void {}
    textBoxTitle.text = "Ironbridge;
    }
    function IB_enginuitytext2(event:MouseEvent):void {}
    textBoxName.text = 'Enginuity ';
    }
    function IB_enginuitytext3(event:MouseEvent):void {}
    textBoxDescription.text = ' it was an advertisement for ";
    }

    function IB_placeexploretext(event:MouseEvent):void {}
    textBoxTitle.text = "Ironbridge;
    }
    function IB_placeexploretext2(event:MouseEvent):void {}
    textBoxName.text = 'A place to explore and enjoy. "
    }
    function IB_placeexploretext3(event:MouseEvent):void {}
    textBoxDescription.text = ' it was an advertisement for ";
    }

    function IB_greatyeartext(event:MouseEvent):void {}
    textBoxTitle.text = "Ironbridge;
    }
    function IB_greatyeartext2(event:MouseEvent):void {}
    textBoxName.text = 'a great year. "
    }
    function IB_greatyeartext3(event:MouseEvent):void {}
    textBoxDescription.text = ' it was an advertisement for ";
    }

    event listeners
    Scrollbox.Content.btn_fenwick.addEventListener (MouseEvent.Click, Fenwick);
    Scrollbox.Content.btn_fenwick.addEventListener (MouseEvent.Click, fenwicktext);
    Scrollbox.Content.btn_fenwick.addEventListener (MouseEvent.Click, fenwicktext2);
    Scrollbox.Content.btn_fenwick.addEventListener (MouseEvent.Click, fenwicktext3);

    Scrollbox.Content.btn_moneyshop_LG.addEventListener (MouseEvent.Click, moneyshopGold);
    Scrollbox.Content.btn_moneyshop_LG.addEventListener (MouseEvent.Click, moneyshopGoldtext);
    Scrollbox.Content.btn_moneyshop_LG.addEventListener (MouseEvent.Click, moneyshopGoldtext2);
    Scrollbox.Content.btn_moneyshop_LG.addEventListener (MouseEvent.Click, moneyshopGoldtext3);

    Scrollbox.Content.btn_nottsplayhouse.addEventListener (MouseEvent.Click, nottsplayhouse);
    Scrollbox.Content.btn_nottsplayhouse.addEventListener (MouseEvent.Click, nottsplayhousetext);
    Scrollbox.Content.btn_nottsplayhouse.addEventListener (MouseEvent.CLICK, nottsplayhousetext2);
    Scrollbox.Content.btn_nottsplayhouse.addEventListener (MouseEvent.CLICK, nottsplayhousetext3);

    Scrollbox.Content.btn_severntrent.addEventListener (MouseEvent.Click, severntrent);
    Scrollbox.Content.btn_severntrent.addEventListener (MouseEvent.Click, severntrenttext);
    Scrollbox.Content.btn_severntrent.addEventListener (MouseEvent.Click, severntrenttext2);
    Scrollbox.Content.btn_severntrent.addEventListener (MouseEvent.Click, severntrenttext3);

    Scrollbox.Content.btn_IB_blists.addEventListener (MouseEvent.Click, IB_blists);
    Scrollbox.Content.btn_IB_blists.addEventListener (MouseEvent.Click, IB_bliststext);
    Scrollbox.Content.btn_IB_blists.addEventListener (MouseEvent.Click, IB_bliststext2);
    Scrollbox.Content.btn_IB_blists.addEventListener (MouseEvent.Click, IB_bliststext3);

    Scrollbox.Content.btn_IB_enginuity.addEventListener (MouseEvent.Click, IB_enginuity);
    Scrollbox.Content.btn_IB_enginuity.addEventListener (MouseEvent.Click, IB_enginuitytext);
    Scrollbox.Content.btn_IB_enginuity.addEventListener (MouseEvent.Click, IB_enginuitytext2);
    Scrollbox.Content.btn_IB_enginuity.addEventListener (MouseEvent.Click, IB_enginuitytext3);

    Scrollbox.Content.btn_IB_placeexplore.addEventListener (MouseEvent.Click, IB_placeexplore);
    Scrollbox.Content.btn_IB_placeexplore.addEventListener (MouseEvent.CLICK, IB_placeexploretex t);
    Scrollbox.Content.btn_IB_placeexplore.addEventListener (MouseEvent.CLICK, IB_placeexploretex t2);
    Scrollbox.Content.btn_IB_placeexplore.addEventListener (MouseEvent.CLICK, IB_placeexploretex t3);

    Scrollbox.Content.btn_IB_greatyear.addEventListener (MouseEvent.Click, IB_greatyear);
    Scrollbox.Content.btn_IB_greatyear.addEventListener (MouseEvent.Click, IB_greatyeartext);
    Scrollbox.Content.btn_IB_greatyear.addEventListener (MouseEvent.Click, IB_greatyeartext2);
    Scrollbox.Content.btn_IB_greatyear.addEventListener (MouseEvent.Click, IB_greatyeartext3);

    I hope someone can help!

    See you soon

    Dan Williams

    Learn how to use the tables would be useful for you, but that won't help you to keep a button in its more than State after top.  You must use the buttons of this movieclip.

  • Update with select table from another table

    Hallo,

    I'd like to update table b with a mapping a table codes.

    one has:

    town_id, town_code, town_name

    b town_code, town_id, town_population, town_zip_code...

    Table a has all the details - town_id, town_code and town_name and acts as the mapping between town_id and town_code

    In table b, town_code is null. I want to update the column b.town_code with town_code table where a.town_id = b.town_id.

    How the update query will look like?

    I tried
    UPDATE B SET town_code = (SELECT A.town_code FROM A, B WHERE A.town_id = B.town_id)

    and I get the error "einreihig subquery returns several lines.

    You will appreciate your assistance

    OK, now I see where you went wrong.

    It's your query:

    UPDATE TOWN_INFO
    SET TOWN_CODE=(SELECT B.TOWN_CODE FROM TOWN_MAPP B, TOWN_INFO C
    WHERE B.TOWN_ID=B.TOWN_ID)
    /
    

    You have added an additional TOWN_INFO table reference in your subquery. You really wanted to refer to the TOWN_INFO in your UPDATE statement for that to be a CORRELATED subquery. Delete this reference as I did below.

    Here's the correct query:

    UPDATE  TOWN_INFO TI
    SET     TOWN_CODE = (
                            SELECT  TOWN_CODE
                            FROM    TOWN_MAPP TM
                            WHERE   TI.TOWN_ID = TM.TOWN_ID
                    )
    ;
    
  • Change the buffer pool of a partition LOB that underlie an XMLTYPE in a table?

    Hi all

    First of all, I must say, 'ALTER TABLE' grammar is ridiculously complex, and they seem to keep piles.

    OK, that said, I have a table with an XMLTYPE column:
    SQL> desc cs_content_xml_data
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     CSXML_GOID                                NOT NULL NUMBER(15)
     CSXML_DOC                                 NOT NULL XMLTYPE STORAGE BINARY  <<---Here's my XMLTYPE column
     CSXML_DATASET                             NOT NULL VARCHAR2(1)
     CSXML_PART_DATASET                        NOT NULL VARCHAR2(15)
     CSXML_DATE_CREATED                        NOT NULL TIMESTAMP(6)
     CSXML_USER_CREATED                        NOT NULL VARCHAR2(30)
     CSXML_DATE_MODIFIED                                TIMESTAMP(6)
     CSXML_USER_MODIFIED                                VARCHAR2(30)
    In addition, this table is partitioned. Here is the generated DDL, with truncated partition definitions, for brevity:
      CREATE TABLE "MSTMFG"."CS_CONTENT_XML_DATA"
       (    "CSXML_GOID" NUMBER(15,0) NOT NULL ENABLE,
            "CSXML_DOC" "SYS"."XMLTYPE"  NOT NULL ENABLE,
            "CSXML_DATASET" VARCHAR2(1) NOT NULL ENABLE,
            "CSXML_PART_DATASET" VARCHAR2(15) NOT NULL ENABLE,
            "CSXML_DATE_CREATED" TIMESTAMP (6) NOT NULL ENABLE,
            "CSXML_USER_CREATED" VARCHAR2(30) NOT NULL ENABLE,
            "CSXML_DATE_MODIFIED" TIMESTAMP (6),
            "CSXML_USER_MODIFIED" VARCHAR2(30),
             CONSTRAINT "CSXML_GOID_PK" PRIMARY KEY ("CSXML_GOID")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DE
    FAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "MSTMFG_DATA"  ENABLE,
             CONSTRAINT "CSXML_CIT_FK01" FOREIGN KEY ("CSXML_GOID")
              REFERENCES "MSTMFG"."CONTENT_ITEMS" ("CIT_ID") ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255  NOLOGGING
      STORAGE(
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "MSTMFG_DATA"
     XMLTYPE COLUMN "CSXML_DOC" STORE AS SECUREFILE BINARY XML (
      ENABLE STORAGE IN ROW CHUNK 8192
      NOCACHE NOLOGGING  NOCOMPRESS  KEEP_DUPLICATES
      STORAGE(
      BUFFER_POOL DEFAULT <<-- This BUFFER_POOL setting is what I want to change, I think
    FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)) 
    ALLOW NONSCHEMA DISALLOW ANYSCHEMA
      PARTITION BY RANGE ("CSXML_PART_DATASET")
     (PARTITION "DATASTAR_XML_DATA_01"  VALUES LESS THAN ('D002')
      PCTFREE 30 PCTUSED 40 INITRANS 1 MAXTRANS 255  NOLOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL RECYCLE FLASH_CACHE DE
    FAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "MSTMFG_DATA" NOCOMPRESS ,
     PARTITION "DATASTAR_XML_DATA_02"  VALUES LESS THAN ('D003')
      PCTFREE 30 PCTUSED 40 INITRANS 1 MAXTRANS 255  NOLOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL RECYCLE FLASH_CACHE DE
    FAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "MSTMFG_DATA" NOCOMPRESS,
    --lots of table partition definitions omitted here, for brevity
    So, my question is, how to change the attribute default USER_TABLES of the PARTITION's LOB that underlies the storage of XMLTYPE column? How can I change to RECYCLE, DEFAULT value?

    I tried several variants, no success, and I can't find an example in the manual or on the web anywhere.

    Can anyone offer me a clue?

    Help!

    Thank you

    -Mark

    Hello

    Have you tried the following?

    ALTER TABLE cs_content_xml_data MODIFY LOB (CSXML_DOC.xmldata) ( STORAGE( BUFFER_POOL RECYCLE ) );
    

    HTH.

  • boxes and table

    This should be fairly simple, but I'm stumped...

    ??? I want to display a question and 9 answers with checkboxes that are checked by an array of dynmically.

    On a form, I have a table that has a question and 9 answers (checkboxes)
    The boxes have the same name (Answer5) so it creates a table when presented to the results page

    Here is the code for the table with the question and answers:

    < table width = "400" cellpadding = "0" cellspacing = "0" >
    < tr > < td colspan = "2" > my Question goes here? < table > < /tr >
    < tr > < td > < label > < input type = "checkbox" name = "Answer5" value = "Adding room" > room Addition < / label > < table > < /tr >
    < tr > < td > < label > < input type = "checkbox" name = "Answer5" value = "family room Addition" > family room Addition < / label > < table > < /tr >
    < tr > < td > < input type = "checkbox" name = "Answer5" value = "Addition of Garage" > Addition of Garage < table > < /tr >
    < tr > < td > < input type = "checkbox" name = "Answer5" value = "Solarium/greenhouse" > Solarium/greenhouse < table > < /tr >
    < tr > < td > < input type = "checkbox" name = "Answer5" value = "Guest Suite" > Guest Suite < table > < /tr >
    < tr > < td > < input type = "checkbox" name = "Answer5" value = "Solarium" > veranda < table > < /tr >
    < tr > < td > < input type = "checkbox" name = "Answer5" value = 'Out Building' > building Out < table > < /tr >
    < tr > < td > < input type = "checkbox" name = "Answer5" value = "pregnant pool" > pool pregnant < table > < /tr >
    < tr > < td > < input type = "checkbox" name = "Answer5" value = "2nd Story Addition" > 2nd Story Addition < table > < /tr >
    < /table >

    When I click on submit it accesses a page of results and the table will be printed.

    Here's the code to print the table:
    <? PHP print_r ($HTTP_POST_VARS ['Answer5']); >

    And it shows:

    Array ([0] = > adding room [1] = > addition of Garage)

    When I check these boxes.


    ??? Instead of the table - its just there for verification of errors for the moment.
    ??? I want to display the same table with the question and 9 answers on the results page with the boxes that have been selected on the previous page

    The way that I actually use is to present a database table. Then have another get it back the database table page to view the results. I've simplified this a bit to get the functionality working properly.

    I'm puzzled! Help, please! Thank you!




    When I submit, in it goes to a page of results that simply displays the result

    the result is an array.

    Friday, November 30, 2007 00:45:48 + 0000 (UTC), "joez461".
    wrote:

    > My question is how can I use the table to check or uncheck the boxes of same
    > (dynamically)?

    <>
    $Answers = array)
    "Room Addition.
    "Room family Addition.
    "Garage addition."
    Solarium/greenhouse"."
    'Suite of comments '.
    "Véranda"
    "On the building."
    "The pool enclosure.
    "2nd Story Addition.
    );
    foreach ($Answers as $ $a) {}
    print '.\n » ;
    }
    ?>

    Gary

  • Skip a level of table

    Hi, I have these 3 tables (right FKs and joins) in my Dimension product:

    CITY, SUPPLIER, PRODUCT.

    The right hierarchy should be high in leaves: City-> provider-> product

    We would like to build the hierarchy of these dimensions:

    City-> product, but we get this warning in BI Admin (and the error then in the answers)

    [39008] logical dimension CITY table has a source of the CITY who do not adhere to any source of fact.

    It cannot sail in joins, the level of the intermediate jump table?
    Are we obliged to build the whole hierarchy and spend level (and table) defining a privileged way of exploration? (this solution worked)

    Thanks in advance!

    To resolve this problem, you have two options.

    Don't forget that you have in the correct join FK relationships of physical layer between these tables as follows:

    City-<><>

    In the MDB do logical table (dimension table) with source logical table product. Now, in the source of the product logic table properties general tab add physical tables and joins (add first table beg and join product >-provider, and then add the picture of the city and join provider >-City). Now, drag - move the columns in all tables that you want to use in the levels in the dimension.

    Build the dimension with levels object and columns on each level.

    Option 1 (all three levels):

    The city level: use for drilldown checked key
    Provider level: use for the uncontrolled descent of key
    Product level: use for extraction of key checked or unchecked

    Now you can dig in the answers given by the city to the product, the intermediate level is not displayed, obiee do reach across the three tables.

    Option 2 (city and produced only in levels):

    The city level: use for drilldown checked key
    Product level: use for extraction of key checked or unchecked

    Now you can dig into the responses made by the city to the product, obiee do reach across the three tables, because you set this additional physical tables and joins in logical table product source.

    Concerning
    Goran
    http://108obiee.blogspot.com

Maybe you are looking for