Concept of materialized views in Data Warehouse creation?

Hi all

I want to understand the concept of materialized views.

We have a demanding we have OLTP EBS R12 system, now we need to recover data from the EBS and load it into the target and then I have to use the predefined financial, human resources reports.

We do not use Informatica and DAC, I heard that there is another concept (using materialized views) to load the data into the target, so all the two through some can shed some light on the same links or a doc.

Kind regards

Norman John

Hi Tim,.

It is not necessary... MV is an object database... you can import MV in BIEE repository as usual, as the importation of an object (table, view) database...

More information: refreshment of the MV will be done at the database level. We must therefore ensure that it will not be in a State not VALID. Just to OBIEE...

-Robin

Tags: Business Intelligence

Similar Questions

  • Helps the management of records in the "VM and Templates view" as well as the view of data warehouses

    All,

    I have 2 questions.

    (1) in the 'view of VM and models', we have organized our virtual center of demand for the two years.  However, there are still many persistent VM in the folder root from this point of view.  How can I export the virtual machine from this point of view only and exclude the virtual machine already in a subfolder.

    For example, I have VM in APP1 and APP2 APP3 records.  However, there are still hundreds of virtual machines to the root.  When I try to view the virtual machine in the root folder, I get a list of everything, including the virtual machine in APP1 and APP2 APP3 records.

    (2) according to the data center, I have hundreds of data stores.  How can I make a list of people (about 200) and move them to a folder in this point of view.

    For example, I have 100 stores of data that are specific to the exchange environment.  I would like to move all of those in an Exchange_LUN folder so that I can set different alarm setpoints.

    All your data warehouses and folders have names unqiue, try the following

    $currentDir = pwd
    cd vmstores:
    Import-Csv -Path "C:\MyFile.csv" | %{
        $tgtFolder = Get-Folder -Name $_.Folder
        $ds = Get-Datastore -Name $_.Datastore
        $dsMoRef = @($ds.extensiondata.MoRef)
        $tgtFolder.ExtensionData.MoveIntoFolder($dsMoRef)
    }
    cd $currentDir
    
  • How can I partition logical volume from 5.5 TB Raid on a ML350 G6 server for ESX data warehouse creation

    Today, we received a new ML350 G6 server. It has 8 hard disks of size 1 TB each.i have created a volume unique raid 6 and raid is 5.5 TB usable for the logical unit space. The server starts with a picture of ESXi 3.5 on a USB key provided by HP with the server. When I login and checking configuration& gt; stroage adapters& gt; pi400 Smart array for physical disk controller, I couldn't see any disk. I know that ESX will not support the volume size more than 2 C.T.

    I don't want to create a raid volume children (example two raid 6 volumes with 4 hard drives), because it will reduce the amount of disk space, I can use.

    Is it possible to create 3 partitions on this volume 5.5 TB raid with the configs below?. All the tools that everyone knows that I can use to create partitions? I tried GPARTED, but it doesn't work

    LUN 0-2 TO

    1-2 TO LUN

    LUN 2-1, 5 TB

    You cannot have a drive that is larger than 2 TB.

    Create multiple logical disks, not different partitions.

    André

  • Difference between the table and Materialized View

    Is there an advantage outside automatic synchronization (founded refresh selected type) using Materialized View?

    I came across this question as table and MV both store values, and we can also update table using the code what is the need of MV? Why not create a table instead of MV with the same definition and same charly?

    I need some explanation to force someone to convince himself.

    Thank you

    http://docs.Oracle.com/CD/B19306_01/server.102/b14223/basicmv.htm

    Sections that highlight its strengths:

    1. materialized views for data warehouses

    2. materialized views for distributed computing

    Query, re - write, features as Materialized view log files that can be used for replication between databases, etc...

  • Insert the data in materialized views at the Table

    Hello

    We have a problem in which some incorrect data has been loaded for tables.

    Users now are pointing to the materialized views and data access using synonyms.

    Is it possible to insert data from a view, materialized at the tables?

    Kind regards

    VN

    Hello

    As sb92075 has said, we can insert in the table of the materialized view.

    Test below data:

    SQL > select * from t1;

    CITY OF AMOUNT ID COMMENTS

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

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > create mv_t1 view materialized in select * from t1;

    Materialized view created.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

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

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > insert into t1 values(8,'BBB',22,'NY');

    1 line of creation.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

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

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > select * from t1;

    CITY OF AMOUNT ID COMMENTS

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

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    NEW YORK 8 22 BBB

    8 selected lines.

    SQL > commit;

    Validation complete.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

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

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > delete from t1;

    8 deleted rows.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

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

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > insert into t1 select * from mv_t1;

    7 lines were created.

    SQL > select * from t1;

    CITY OF AMOUNT ID COMMENTS

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

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL >

  • Creating folders in the view of data with powercli store

    Hello

    We try to automate some parts of a build script and we want to create a folder in the view of data warehouses to move all the local disk.  the only place that I can create a folder has been the point of view of Cluster, DataCenter and VM.  is there a way to do this?

    Thank you

    Matt

    This is a hidden folder named "datastore".

    You can do

    $dsHome = Get-Folder -Name datastoreNew-Folder -Name MyFolder -Location $dsHome
    

    Note that there is 1 folder "data store" by the data center.

    If you have more than 1 data center in your vCenter, you need to indicate what you want "datastore" folder from the data center.

    $dc = Get-Datacenter -Name DC$dsHome = Get-Folder -Name datastore -Location $dcNew-Folder -Name MyFolder -Location $dsHome
    
  • Oracle Warehouse builder or materialized views

    I have a requirement as follows:

    Requirement:
    We must create a Reporting DB to be used for information and a transactional database will be in separate host. Fundamentally, he need to extract data from a set of transactional DB tables and move to the Reporting DB schema at adequate intervals.

    We may have to get a different column data in different tables and store it in a single table / several reports DB tables.


    Can someone whether to go with Oracle Warehouse builder or the materialized views for this offer please?
    Or use OWB to create and maintain the MVs.

    Also please me a link point to what features are available with OWB

    Our Oracle is installed in Solaris 10 and one who is perfect either generator warehouse Oracle or materialized views

    Thank you
    APPU

    Published by: user12094414 on October 25, 2009 21:52

    Published by: user12094414 on October 25, 2009 22:17

    user12094414 wrote:
    Can someone whether to go with Oracle Warehouse builder or the materialized views for this offer please?
    Or use OWB to create and maintain the MVs.

    The two are not exclusive. OWB is a tool for designing the data movement and implement updates to the warehouse.

    MVs are a tool integrated into the database in support of materialization of the current request to speed up some types of applications related to data that is availoable, perhaps after transport OWB.

    >

    Also please me a link point to what features are available with OWB

    Normal (to allow the future of mutual aid) access is

    http://OTN.Oracle.com
    -> Products (perma menu on the left): database (link)
    -> Warehouseing Bi & data (link in the middle section)
    -> Related products (product menu on the right): Warehouse Builder
    where you can get a Viewlet, whitepapers, docs, demos, tutorials, etc.

    Direct access to the page above is http://www.oracle.com/technology/products/warehouse/index.html

  • effect of pump or etl data on the materialized view logs

    Hi, we are mobile/upgrading an instance of 10g to 12 c, where one materialized view logs and expect to do one of the following:

    (1) extract/import the meta, only using data pump data and move data using an etl tool

    (2) comprehensive database extract/import using the data pump in

    are there questions that we must be aware of when the displacement of these with either scenario materialized view logs?

    Thanks for any information you can provide.

    > are there questions that we should be aware of when the displacement of these materialized view logs with either scenario?

    No problem

  • extracting data from the CLOB using materialized views

    Hello

    We have xml data from clob which I have a requirement to extract (~ 50 attributes) on a daily basis, so we decided to use materialized views with refreshes full (open good suggestions)

    A small snippet of code

    CREATE THE MWMRPT MATERIALIZED VIEW. TASK_INBOUND

    IMMEDIATE CONSTRUCTION

    FULL REFRESH ON DEMAND

    WITH ROWID

    AS

    SELECT M.TASK_ID, M.BO_STATUS_CD, b.*

    OF CISADM. M1_TASK m,

    XMLTABLE (' / a ' XMLPARSE PASSING ())

    CONTENT '< a > | M.BO_DATA_AREA | "< /a >."

    ) COLUMNS

    serviceDeliverySiteId varchar2 (15) PATH

    "cmPCGeneralInfo/serviceDeliverySiteId"

    serviceSequenceId varchar2 (3) PATH "cmPCGeneralInfo/serviceSequenceId"

    completedByAssignmentId varchar2 (50) PATH "completedByAssignmentId."

    Cust_id varchar2 (10) PATH "cmPCCustomerInformation/customerId,"

    ACCT_SEQ varchar2 (5) PATH "customerInformation/accountId"

    AGRMT_SEQ varchar2 (5) PATH cmPCCustomerAgreement/agreementId"."

    COLL_SEQ varchar2 (5) PATH "cmPCGeneralInfo/accountCollectionSeq"

    REVENUE_CLASS varchar2 (10) PATH "cmPCCustomerAgreement/revenueClassCode"

    REQUESTED_BY varchar2 (50) PATH ' attributes customerInformation/contactName',...~50

    This ddl ran > 20 hours and no materialized view created. There are certain limits that we have

    • Cannot create a materialized view log
    • cannot change the source as its defined provider table
    • cannot do an ETL

    DB is 11g R2

    Any ideas/suggestions are very much appreciated

    I explored a similar approach, using the following test case.

    It creates a table "MASTER_TABLE" containing 20,000 lines and a CLOB containing an XML fragment like this:

    09HOLVUF3T6VX5QUN8UBV9BRW3FHRB9JFO4TSV79R6J87QWVGN

    UUL47WDW6C63YIIBOP1X4FEEJ2Z7NCR9BDFHGSLA5YZ5SAH8Y8

    O1BU1EXLBU945HQLLFB3LUO03XPWMHBN8Y7SO8YRCQXRSWKKL4

    ...

    1HT88050QIGOPGUHGS9RKK54YP7W6OOI6NXVM107GM47R5LUNC

    9FJ1JZ615EOUIX6EKBIVOWFDYCPQZM2HBQQ8HDP3ABVJ5N1OJA

    then an intermediate table "MASTER_TABLE_XML" with the same columns with the exception of the CLOB which turns into XMLType and finally a MVIEW:

    SQL > create table master_table like

    2. Select level as id

    3, cast ('ROW' | to_char (Level) as varchar2 (30)) as the name

    4       , (

    5. Select xmlserialize (content

    XMLAGG 6)

    7 xmlelement (evalname ('ThisIsElement' | to_char (Level)), dbms_random.string ('X', 50))

    8                    )

    9 as clob dash

    10                  )

    11 double

    12 connect by level<=>

    (13) as xmlcontent

    14 double

    15 connect by level<= 20000="">

    Table created.

    SQL > call dbms_stats.gather_table_stats (user, 'MASTER_TABLE');

    Calls made.

    SQL > create table (master_table_xml)

    Identification number 2

    3, name varchar2 (30)

    4, xmlcontent xmltype

    5)

    binary xmltype 6 securefile XML column xmlcontent store

    7;

    Table created.

    SQL > create materialized view master_table_mv

    2 build postponed

    full 3 Refresh on demand

    4, as

    5. Select t.id

    6, t.nom

    7       , x.*

    master_table_xml 8 t

    9, xmltable ('/ r' in passing t.xmlcontent)

    10 columns

    11 path of varchar2 (50) ThisIsElement1 'ThisIsElement1 '.

    12, path of varchar2 (50) ThisIsElement2 'ThisIsElement2 '.

    13, path of varchar2 (50) ThisIsElement3 'ThisIsElement3 '.

    14, path of varchar2 (50) ThisIsElement4 'ThisIsElement4 '.

    15 road of varchar2 (50) ThisIsElement5 'ThisIsElement5 '.

    16, road of varchar2 (50) ThisIsElement6 'ThisIsElement6 '.

    17 road of varchar2 (50) ThisIsElement7 'ThisIsElement7 '.

    18 road of varchar2 (50) ThisIsElement8 'ThisIsElement8 '.

    19 road to varchar2 (50) ThisIsElement9 'ThisIsElement9 '.

    20, path of varchar2 (50) ThisIsElement10 'ThisIsElement10 '.

    21, road to varchar2 (50) ThisIsElement11 'ThisIsElement11 '.

    22 road of varchar2 (50) ThisIsElement12 'ThisIsElement12 '.

    23 road of varchar2 (50) ThisIsElement13 'ThisIsElement13 '.

    24, path of varchar2 (50) ThisIsElement14 'ThisIsElement14 '.

    25 road of varchar2 (50) ThisIsElement15 'ThisIsElement15 '.

    26, path of varchar2 (50) ThisIsElement16 'ThisIsElement16 '.

    27, way to varchar2 (50) ThisIsElement17 'ThisIsElement17 '.

    28 road of varchar2 (50) ThisIsElement18 'ThisIsElement18 '.

    29 road of varchar2 (50) ThisIsElement19 'ThisIsElement19 '.

    30, path of varchar2 (50) ThisIsElement20 'ThisIsElement20 '.

    31, path of varchar2 (50) ThisIsElement21 'ThisIsElement21 '.

    32 road of varchar2 (50) ThisIsElement22 'ThisIsElement22 '.

    33, path of varchar2 (50) ThisIsElement23 'ThisIsElement23 '.

    34 road of varchar2 (50) ThisIsElement24 'ThisIsElement24 '.

    35 road of varchar2 (50) ThisIsElement25 'ThisIsElement25 '.

    36, road to varchar2 (50) ThisIsElement26 'ThisIsElement26 '.

    37, path of varchar2 (50) ThisIsElement27 'ThisIsElement27 '.

    38, path of varchar2 (50) ThisIsElement28 'ThisIsElement28 '.

    39, path of varchar2 (50) ThisIsElement29 'ThisIsElement29 '.

    40, road of varchar2 (50) ThisIsElement30 'ThisIsElement30 '.

    41 road of varchar2 (50) ThisIsElement31 'ThisIsElement31 '.

    42, path of varchar2 (50) ThisIsElement32 'ThisIsElement32 '.

    43, road to varchar2 (50) ThisIsElement33 'ThisIsElement33 '.

    44, path of varchar2 (50) ThisIsElement34 'ThisIsElement34 '.

    45, path of varchar2 (50) ThisIsElement35 'ThisIsElement35 '.

    46, path of varchar2 (50) ThisIsElement36 'ThisIsElement36 '.

    47, path of varchar2 (50) ThisIsElement37 'ThisIsElement37 '.

    48, path of varchar2 (50) ThisIsElement38 'ThisIsElement38 '.

    49, path of varchar2 (50) ThisIsElement39 'ThisIsElement39 '.

    50 road of varchar2 (50) ThisIsElement40 'ThisIsElement40 '.

    51, path of varchar2 (50) ThisIsElement41 'ThisIsElement41 '.

    52, path of varchar2 (50) ThisIsElement42 'ThisIsElement42 '.

    53, path of varchar2 (50) ThisIsElement43 'ThisIsElement43 '.

    54, path of varchar2 (50) ThisIsElement44 'ThisIsElement44 '.

    55 road of varchar2 (50) ThisIsElement45 'ThisIsElement45 '.

    56, path of varchar2 (50) ThisIsElement46 'ThisIsElement46 '.

    57, path of varchar2 (50) ThisIsElement47 'ThisIsElement47 '.

    58 road of varchar2 (50) ThisIsElement48 'ThisIsElement48 '.

    59 road of varchar2 (50) ThisIsElement49 'ThisIsElement49 '.

    60 road of varchar2 (50) ThisIsElement50 'ThisIsElement50 '.

    (61) x;

    Materialized view created.

    The discount is then performed in two steps:

    1. INSERT INTO master_table_xml
    2. Refresh the MVIEW

    (Note: as we insert in an XMLType column, we need an XML (only root) document this time)

    SQL > set timing on

    SQL >

    SQL > truncate table master_table_xml;

    Table truncated.

    Elapsed time: 00:00:00.27

    SQL >

    SQL > insert into master_table_xml

    2. select id

    3, name

    4, xmlparse (document '' |) XmlContent |'')

    5 master_table;

    20000 rows created.

    Elapsed time: 00:04:38.72

    SQL >

    SQL > call dbms_mview.refresh ('MASTER_TABLE_MV');

    Calls made.

    Elapsed time: 00:00:22.42

    SQL >

    SQL > select count (*) in the master_table_mv;

    COUNT (*)

    ----------

    20000

    Elapsed time: 00:00:01.38

    SQL > truncate table master_table_xml;

    Table truncated.

    Elapsed time: 00:00:00.41

  • Excluding views materialized to a data pump export

    Hello

    I use the Oracle11g 11.1 RAC on Linux version

    I am trying to remove a schema of data pump export materialized views. I used EXCLUDE = MATERIALIZED_VIEW in the
    settings file. The materialized view is not exported, but the table associated with the view is always exported. Does anyone know how to remove those?

    Thank you

    Richard

    You will need to specify the tables in the exclude parameter.

    EXCLUDE the = MATERIALIZED_VIEW would not exclude the paintings of masters associates.

    In a single parameter EXCLUDE specify:
    EXCLUDE THE = MATERIALIZED_VIEW, TABLE: IN "('EMP', 'DÉPARTEMENT')" "

  • Refresh/update of the data in a materialized view

    Hello
    I have question about data in a materialized view, and how it is updated. I think Matt has all my dimension-ID and my (for my specialize needs) aggregated measures of my fact table. I used mat View Wizard to create my opinion - which works perfectly. But now I wonder if I should create some sort of mapping (?) or some kind of trigger to refresh the data in the view of mast. Or are updated automatically when I start my fact table mappings. I use OWB 11 GR 2

    THX

    MVs have properties for update - you a discount based on schedules or when dependent data are committed or manually.

    See you soon
    David

  • How to understand where are the data in a materialized view, coming from

    HI: when I run select NAME, OWNER of dba_mview_refresh_times, I see a number of materialized views. How can I find more information on this view it's source data and fields. The source in a different database table has changed. But the view on my database where the materialized view has not changed. I want to confirm origin of data in this view

    TIA
    Ravi

    Take a look at the column of the QUERY to the DBA_MVIEWS view.

  • You can use Windows Explorer (in Windows XP) to view my files according to their DATE OF PUBLICATION (rather than the date of creation or modification).

    I have a lot of cuts in MY Documents. They are variously in format (TXT, WORD, and PDF). Using Windows Explorer, I know exactly how to display these documents based on their date of creation or update. But how to display these documents based on their release date.

    (1) there must be a way to set "date of publication" as a property of TXT, Word, and PDF files.

    (2) there must be a way to display in chronological order the files in Windows Explorer - not according to their creation or modification date, but according to their date of publication.

    Can someone please? Maybe someone write an essay with many historical sources can feel my pain. I was playing with MS Word properties and trying to create custom, attributes but so far I still did not understand how to format a) correctly a new attribute for b) search for this custom in Windows Explorer or the Publication Date attribute.

    In short, I want to see all my files, because they have been published so that I can have a "timeline of events" outcome of saved newspaper clippings.
     
    Rabindra

    Name/rename the files with numbers on the front of the file name; for example, 01-11-2009 - historicaldocument1.doc, 02-13-1957 - historicaldocument2.doc. There is no way for Windows can read the text of a file whether it refers to the great Chicago Fire what on such and such a date.

    If you are doing historical research, you can check on some forums/newsgroup user on your particular area to see if other people use the documents management software. It would be the best way to go. MS - MVP - Elephant Boy computers - don't panic!

  • Moving all the newspapers and Materialized View at the schema level using the data pump in

    Hi Experts,

    Please help me on how I can exp/imp all materialized views andMV logs (as are some MVs) only the full scheme of other databases. I want to exclude everything else.

    Concerning
    -Samar-

    Using DBMS_METADATA. Create the following SQL script:

    SET FEEDBACK OFF
    SET SERVEROUTPUT ON FORMAT WORD_WRAPPED
    SET TERMOUT OFF
    SPOOL C:\TEMP\MVIEW.SQL
    DECLARE
        CURSOR V_MLOG_CUR
          IS
            SELECT  DBMS_METADATA.GET_DDL('MATERIALIZED_VIEW_LOG',LOG_TABLE) DDL
              FROM  USER_MVIEW_LOGS;
        CURSOR V_MVIEW_CUR
          IS
            SELECT  DBMS_METADATA.GET_DDL('MATERIALIZED_VIEW',MVIEW_NAME) DDL
              FROM  USER_MVIEWS;
    BEGIN
        DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',TRUE);
        FOR V_REC IN V_MLOG_CUR LOOP
          DBMS_OUTPUT.PUT_LINE(V_REC.DDL);
        END LOOP;
        FOR V_REC IN V_MVIEW_CUR LOOP
          DBMS_OUTPUT.PUT_LINE(V_REC.DDL);
        END LOOP;
    END;
    /
    SPOOL OFF
    

    In my case the script is saved as C:\TEMP\MVIEW_GEN. SQL. Now I will create a journal mview and mview in schema SCOTT and run the script above:

    SQL> CREATE MATERIALIZED VIEW LOG ON EMP
      2  /
    
    Materialized view log created.
    
    SQL> CREATE MATERIALIZED VIEW EMP_MV
      2  AS SELECT * FROM EMP
      3  /
    
    Materialized view created.
    
    SQL> @C:\TEMP\MVIEW_GEN
    SQL> 
    

    Run the C:\TEMP\MVIEW_GEN script. SQL generated a C:\TEMP\MVIEW queue. SQL:

      CREATE MATERIALIZED VIEW LOG ON "SCOTT"."EMP"
     PCTFREE 10 PCTUSED 30 INITRANS
    1 MAXTRANS 255 LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1
    MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
    DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "USERS" 
    
    WITH PRIMARY KEY EXCLUDING NEW VALUES;
    
      CREATE MATERIALIZED VIEW "SCOTT"."EMP_MV" ("EMPNO", "ENAME", "JOB", "MGR",
    "HIREDATE", "SAL", "COMM", "DEPTNO")
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40
    INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576
    MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
    BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE
    "USERS"
      BUILD IMMEDIATE
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 
    
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE
    DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "USERS"
      REFRESH FORCE ON
    DEMAND
      WITH PRIMARY KEY USING DEFAULT LOCAL ROLLBACK SEGMENT
      USING ENFORCED
    CONSTRAINTS DISABLE QUERY REWRITE
      AS SELECT "EMP"."EMPNO"
    "EMPNO","EMP"."ENAME" "ENAME","EMP"."JOB" "JOB","EMP"."MGR"
    "MGR","EMP"."HIREDATE" "HIREDATE","EMP"."SAL" "SAL","EMP"."COMM"
    "COMM","EMP"."DEPTNO" "DEPTNO" FROM "EMP" "EMP";
                                   
    

    Now, you can run this on the database. You may need to adjust the tablespace and storage clauses. Or you can add more DBMS_METADATA. SET_TRANSFORM_PARAM calls to C:\TEMP\MVIEW_GEN. SQL to force DBMS_METADATA not to include the tablespace or / and the terms of storage.

    SY.

  • view on the materiazlied materialized view creation

    Hi all

    I have a few materialized who discovers when I access are slow, as a problem with the remote database.
    I created a table for each view materialized on my local database and it works quickly.

    I wanted to create a materialized view on my database to the local database of these materialized view distance, is it possible to create a materialized view materialized view?

    Nested materialized views are possible, but there are limits http://download.oracle.com/docs/cd/E11882_01/server.112/e10810/basicmv.htm#i1006734

Maybe you are looking for