Automation of FDM directly from relational tables

Hi Experts,

We are planning to use FDM 11.1.2 for data loading direct traction of the oracle tables and then load it (Essbase Cube) planning application (11.1.2). They want to break through to source as well.

We want to automate this process as whenever the oracle table gets updated with new data, the FDM should run automatically and update the cube Essbase.

Please suggest me the options to do so.

Thanks in advance!
Alex keny

It all depends on how you want to schedule batch processing. If, as in my previous example, he is authorized to perform the loading of the lot at the end of day process to capture changes then you would simply plan your script updated the batch to run once per daya at a specific time. However, if you want your batch to be triggered on every event was updated on the source table, then you could do something like the following:

(1) have a trigger on the table from data source updates separate area with a value that indicates whether an update has occurred.
(2) have a pprocess of voting that checks this value on a regular basis
(3) use upsShell.exe to cretae one line of command that can be used for the shot of the load a script updated the batch
(4) If an update is indicated, then run the command-line generated at step 3

Tags: Business Intelligence

Similar Questions

  • Extracting the data from relational tables in 11.1.2.1

    I want to extract the following data sets from relational tables
    1 attribute and his partner basic member
    2 Smartlist value of an account

    Have a code to extract such data? It will be useful in pointing to the correct table names.

    Thank you

    You will find the table schemas in the [documentation for EPMA | http://www.oracle.com/technetwork/middleware/bi-foundation/epm-data-models-11121-354684.zip]. If this does not work, there are other options to export hierarchies in text files. You can use the lifecycle management or the [EPMA line Generator | http://docs.oracle.com/cd/E17236_01/epm.1112/epma_file_gen_user/launch.html].

    Kyle Goodfriend
    http://www.in2hyperion.com

    Please make sure that you assign your post as answered when an appropriate response is provided (or useful when it takes place) as well as other benefits.

  • Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    Hi all

    Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    I did program mentioned above but it does not work. Can you tell me what is the problem?

    There is no error is indicated in the program. If someone knows about it please try to find solutions and help me out of this problem.

    I have attached my program with this message.

    Thank you in advance!

    (1) FOR loops are your friend here.  You can make a slight restructuring using loops, and then you will have less mess to deal with, the inner loop through tunnels of autoindexing to make it even simpler.

    (2) I would only treat the numeric values of the characters.  So go terminal of control of the chain, the capital letters and byte array to before the outer loop.  You can use a size of Board over there to tell how many times the outer loop to iterate.

    (3) the Index table is extensible.  So you only need over the index of the first, and it will increment itself, as it develops.

    (4) you need to finish the lookup table (table 3D)

  • DataExport to a relational table directly

    Hello

    I'm fighting to get the dataexport directly add data in the relational table.
    Have you tried a bit and always failing.

    I changed the patch in my calc script just return a line but still not. Here is my script that simply returns a line in the file text below, but when I do dsn he never inserts the line in the sql table (my sql table has 21 columns and I put in them as varchar)

    Any ideas on how I can get it to work?

    SET DATAEXPORTOPTIONS
    {
    DATAEXPORTDECIMAL 1;
    DataExportLevel "Level0."
    DATAEXPORTOVERWRITEFILE ON;
    WE DataExportColFormat;
    DATAEXPORTCOLHEADER "periods";

    };
    DIFFICULTY ("Ex2011", "Budget", "Version1", FixedAssets, "Amount", "622185", "3011", "BU_None", @LEVMBRS(Periods,0) AND @DESCENDANTS(Annual,0), @LEVMBRS(Currencies,0));

    DATAEXPORT 'File ' ' | ' 'BEAMtext2.txt ';
    / * DATAEXPORT 'DSN' 'bfp' 'ClaritydataCS.dbo.BEAM_Output_Budget' 'bfpcssql' 'pBaUsDsGwEoTrd123' ;*/
    ENDFIX;


    Output

    "M1" | "" M2 "| ' M3 ' |. ' "" M4 ". "" M5 ". "" M6 "| "' M7 '. "" M8 ". "" M9 "| "" M10 "| "" M11 "| "' M12.
    "VERSION1" | "' FixedAssets ' | "' Budget '. "' USD ' | "3011" | " "622185" | " "' BU_None ' | "' Amount '. "FISCAL 2011" | " 274861.9 | 274861.9 | 274860.6 | 274860.6 | 274859.1 | 274675.0 | 274673.0 | 274672.6 | 274661.0 | 274655.7 | 274631.6 | 274631.3

    which is basically the 9 dimensions and 12 values for all the 12 months

    Have you tried to use the option

    WE DataExportRelationalFile;

    instead of DataExportColFormat

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Select * from relational (< schema >. < table >)

    We had some mistakes the last few nights in our test database, during our DataPump to export every night. One by evening, different tables, but the two errors like:
    select * from relational(<schema>.<table>)
    I've never seen something like this before, and a Google search was not terribly useful. Any ideas what's happening?

    Thank you
    -= Chuck

    chuckers wrote:
    DB version: 10.1.0.4
    OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 8) 2.6.9 89.0.16.ELsmp (64-bit)

    The error was an ORA-01555 snapshot too old.

    You hit 3654707 Bug ? Please check.

  • Loading XML into the relational Table data

    Hello

    I get a generated XML file to other tools (Windows), I am trying to create a Linux shell script that will gather the necessary XML file to my Linux server, then ask Oracle to use this file to load the XML data into a relational table. This activity and the data will be needed on an ongoing basis.

    I tried two ways. First, I loaded the XML document into the database and tried to extract the data directly from the document, but it does not work. Now I want to try to read the data directly from the file on the server through select, however I don't get all the returned data. In the Select statement below, I am trying to query the data to see what is returned for my tests.

    Create Table ci_results_table (transactionID Varchar2 (100), //transactionID should be PrimaryKey but became errors in test of insert, PK so deleted NULL value)

    message Varchar2 (200),

    This Varchar2 (50).

    XMLType of the ProcessedDate,

    status Varchar2 (50).

    sourceFile VarChar2 (100));

    Select x.*

    from XMLTable)

    ' TSPLoadResults/results '.

    PASSAGE xmltype (bfilename('CMDB_DEVADHOCRESULTS_DIR','LoadResults-HP_146.results.xml'), nls_charset_id ('AL32UTF8'))

    COLUMNS

    transactionID PATH Varchar2 (100) 'TransactionID '.

    Result XMLType PATH 'result ',.

    Message Varchar2 (200) PATH "Message."

    PrimaryKey Varchar2 (50) PATH "PrimaryKey"

    Date of ProcessedDate path "ProcessedDate."

    Status Varchar2 (50) PATH "Status."

    SourceFile VarChar2 (100) PATH "SourceFileName.

    ) x

    ;

    Eventually, I'll have to build on that to limit the returned data to records where SourceFileName is like '% PA' and insert what is returned in to the ci_results_table. Attached is an example of the XML results file I am trying to load, it is named "ResultsTransformedtoUnix" because I used dos2Unix to convert Unix which can be good or bad. (I send the output file must be converted to the format BACK until the other application can read). Original (before converting Unix) file named in the script is also attached.

    Help, please. Thank you!

    Hello

    I see some bad things in your query.

    (1) obvious one, explaining why you get all the data: there is a typing error in the XQuery expression, there 'result' not'slead.

    (2) ProcessedDate can be extracted as a date (at least not directly) because it actually represents a timestamp, use the TIMESTAMP WITH time ZONE HOURS and cast back to DATE data type in the SELECT clause

    (3) transactionID is an attribute, it must be accessible with ' @' (or ' attribute:' axis)

    (4) if the encoding of file really is ISO-8859-1 as suggested in the prologue, then do not use AL32UTF8 but the name of the corresponding character set: WE8ISO8859P1

    Here is the query to work:

    select x.transactionID
         , x.Message
         , x.Primarykey
         , cast(x.ProcessedDate as date) ProcessDate
         , x.Status
         , x.SourceFile
    from XMLTable(
           '/TSPLoadResults/Result'
           PASSING xmltype(bfilename('XML_DIR','LoadResults-HP_146.results.xml'), nls_charset_id('WE8ISO8859P1'))
           COLUMNS
             transactionID Varchar2(100)            PATH '@transactionID',
             Message       Varchar2(200)            PATH 'Message',
             PrimaryKey    Varchar2(50)             PATH 'PrimaryKey',
             ProcessedDate timestamp with time zone PATH 'ProcessedDate',
             Status        Varchar2(50)             PATH 'Status',
             SourceFile    VarChar2(100)            PATH 'SourceFileName'
         ) x
    ;
    

    Directly on the file using this query will only be decently (for large files) on 11.2.0.4 and beyond.

    On older versions, first load the file into a (temporary) XMLType column with binary XML storage and CHOOSE from there.

    because I used dos2Unix to convert Unix which can be good or bad.

    This conversion should not be necessary.

  • How to read the 16 bytes directly from the Modbus?

    Hello

    I got problem about the modbus register.

    Means I have call serial No. Which is given the address of 5000 and series not is 16 bytes and each has high and low-bit bytes.

    When I call using Modbus, so I can read the only first two bytes of address 5000 (4 bits) can you guide me please how I can read my serial No. bytes. Directly using modbus.

    Maybe I'm not good enough explanation so here I have attached a diagram that redbox right side indicate serial no.which I gave.

    LHS it not show the address of the register and the 12594 value is decimal maybe and then 16 bytes bytes.each has high and low bits.

    I want to make Vi the help that I can see my # of series directly on the front.

    right now I can only see 12594 value I want, I want to no.which series, I gave side pic HHR.

    Can you please guide me how I can do...

    also, I enclose example vi that I got from forum of NOR.

    Thank you in advance...

    It's basic Boolean math.

    Read the byte.  If you want to determine the value of a particular bit, you AND another value.  For bit 0 AND it with 1 for bit 1 AND 2.  ANDing with 128 will give you the value of bit 7 (bit 8 and higher).  If the result is 0, then the bit is set to false.  If the result is > 0, then the bit is true.

    Even easier is to take the number and convert it into a boolean number table function Boolean Array in the palette of the Boolean.  Then, you can index the particular Boolean you want from the table.

  • Relational table between the user and UD_ADUSER profile

    Hello

    I have a requirement where in I need to write a query to find out the difference between user profile for a particular user data and the form data from the same user AD process in Oracle Identity Manager 11g R2 (11.1.2.0)

    While the details of the user are stored in usr table, the table of process for AD shape is UD_ADUSER table. By comparing the two tables, I find the common attribute to be orc_key in UD_ADUSER and ORC table contains the usr_key and table orc_key / usr the usr_key.

    Is ORC table the proper relational table between usr and UD_ADUSER tables to link users between these two tables usr and UD_ADUSER?

    Please correct me if I'm wrong.

    -Thank you,

    def.

    You can use these two tables. I always spend Ouedraogo table between them because the OST has the status of a resource. You can query between them.

    -Kevin

  • RELATIONAL (&lt; table &gt;)

    Hi all

    analysis of performance of statement execution,

    We found the query SELECT * FROM RELATIONAL ('plan'. ("' table ').

    What do it mean?

    Thank you very much

    analysis of performance of statement execution,

    We found the query SELECT * FROM RELATIONAL ('plan'. ("' table ').

    What do it mean?

    I have already answered that in your other thread.

    Select Insert on the same partition: RELATIONAL() - REMOVE a GLOBAL INDEX

  • Update multiple columns from multiple tables in a single UPDATE request

    Hello

    I'm trying to figure if I'm heading in the right direction.

    I want to update multiple columns from multiple tables in a single UPDATE request. Also, I would like to update multiple columns in a table from the tables.

    Scenario 1

    UPDATE Table2, Table 3
    SET T2.Column1 = T1.Column1 
    ,T2.Column2 = T1.Column2
    ,T3.Column2 = T1.Column2
    FROM Table1 T1, Table2 T2, Table3 T3
    WHERE T1.id = T2.id
    and T1.id = T3.id
    
    

    Scenario 2

    UPDATE Table3
    SET T3.Column1 = T1.Column1 
    T3.Column2 = T1.Column2
    ,T3.Column3 = T2.Column3
    ,T3.Column4 = T2.Column4
    FROM Table1 T1, Table2 T2, Table3 T3
    WHERE T3.id = T1.id
    and T3.id = T2.id
    
    

    Hello

    For scenario 1, you must write separate instructions UPDATE table2 and table3.

    To guard against someone else change one of these tables while you act so you can copy all relevant data in a global temporary table and update this global temporary table table3.

    ENGAGE only when two tables have been changed.

    You can write a procedure or an INSTEAD OF trigger to do all this.

    For scenario 2, you can reference many tables that you need when new table3.  It might be more efficient and simpler to use the MERGER rather than UPDATED.  For example:

    MERGE INTO table3 dst

    WITH THE HELP OF)

    SELECT t1.id

    t1.column1

    t1.column2

    t2.column3

    t2.column4

    FROM table1 t1

    JOIN table2 t2 ON t1.id = t2.id

    )             src

    WE (dst.id = src_id

    WHEN MATCHED THEN UPDATE

    SET dst.column1 = src.column1

    dst.column2 = src.column2,

    dst.column3 = src.column3,

    dst.column4 = src.column4,

    ;

  • Find related tables

    Hello, everyone.

    I have a file that I need to remove in a table, but I don't know if there are any related tables that might break if I just delete the record.

    Is there a way to determine if / what tables are related?  Can I use SQL Developer.

    V/r,

    JD

    And you won't see it directly. Query I posted shows the relationship between the constraints, not tables. So, if you want to check if table TBL scheme S has children tables:

    SELECT *.

    OF ALL_CONSTRAINTS

    WHERE)

    R_OWNER,

    R_CONSTRAINT_NAME

    ))

    SELECT THE OWNER

    CONSTRAINT_NAME

    OF ALL_CONSTRAINTS

    WHERE OWNER = S"

    AND TABLE_NAME = 'TBL '.

    )

    /

    SY.

  • Synchronization between RDF store and relational table

    I start this question in a new thread, as it goes in a field of another problem

    Is one of the option to model the attributes of the object to store the attributes in a separate relational table and a SQL allows to attach graphic query results. Now, here's a situation, if we want to join, we need to keep a few key reference in the RDF data store, so that they can join together. But it leaves a question, how do synchronize us data? Suppose that we keep a user node in RDF with the user ID property and keep all other modules in the relational table. When join us, we can reach by user ID. But if we remove this record from the user in the relational table, probably RDF will not delete this user node in the graph data store. Am I correct on this point or Oracle has a sort of way to maintain data synchronization?

    Thank you.

    Hi HansC,

    Sorry for the late reply.

    When a row is deleted from a relational table, its correspondent/associated triple (s) will NOT will be removed one or more RDF models unless there is a custom logic to handle this.

    For example, we can define a trigger on the relational table to manage the synchronization of the data. Another way is to use the existing track changes

    mechanism (motion Flashback, Golden Gate etc.) to preserve the synchronization data.

    Thank you

    Zhe Wu

  • Creation of XML to relational Tables Using java code

    I would like to create an XML document querying relational tables in java

    try {}

    connection = getConnection().

    final String qryStr = "sΘlectionner the XMLElement (foo, 'bar') from dual;

    final OracleXMLQuery qry = new OracleXMLQuery (connection, qryStr);

    final String xmlString = qry.getXMLString ();

    } ....

    I expect this to give the result depending on whether I get the statement being executed in SQL Developer

    Select XMLElement (foo, 'bar') of double

    < FOO > bar < / FOO >

    Instead, I get

    <? XML version = "1.0"? >
    oracle.xml.sql.OracleXMLSQLException < ERROR >: character ')' is not allowed in an XML tag name. < / ERROR >

    What is the right way to go about this?

    What is the right way to go about this?

    Not really.

    OracleXMLQuery class is the implementation of Java-side API DBMS_XMLQUERY.

    It is mainly designed to generate a canonical XML document of a SQL query.

    Assuming a query "SELECT col1, col2 FROM my_table", the resulting XML document should appear as follows:

    123

    ABC

    456

    XYZ

    ...

    So in your test, since the resulting column is not an alias (XMLElement), you actually try to build something like this:

    bar

    which of course is not valid, so the error message.

    If you want to generate only the bar output, just use a regular PreparedStatement with your query and access the document in the result set with the appropriate getter.

  • Approach to analyze the large number of XML files in the relational table.

    We are studying the possibility of XML DB to treat a large number of files from same day.
    The goal is to parse the XML file and store it in several relational tables. Once in the relational table don't care us about the XML file.
    The file cannot be stored on the file server and must be stored in a table before analysing because of security concerns. A third-party system will send the file and it will store in the XML database.
    The file size can be between 1 MB to 50MB and high performance is very that much is expected of other wise men, that the solution will be discarded.
    Although we have no of XSD, the XML file is well structured. We are 11g Release 2.

    Based on the reading, that's what my approach.
    1. CREATE THE DONNEES_XML TABLE
    (xml_col XMLTYPE)
    XMLTYPE xml_col STORE AS BINARY XML NAVIGATION;

    2. third will store the data in the donnees_xml table.
    3. create XMLINDEX on the unique XML element
    4 create XMLTYPE views
    CREATE OR REPLACE FORCE VIEW (V_XML_DATA)
    SType,
    Mtype,
    MNAME,
    ROT
    )
    AS
    SELECT x."Stype"
    x."Mtype."
    x."Mname"
    x."ROT".
    OF data_table t,.
    XMLTABLE)
    ' / SectionMain'
    PASSAGE t.data
    COLUMNS Stype VARCHAR2 (30) PATH "Stype"
    Mtype VARCHAR2 (3) path "Mtype."
    MNAME VARCHAR2 (30) PATH "MNAME"
    ROT VARCHAR2 (30) PATH "OID") x;

    5. loading mass analysis of data in the staging table based on the column in the index.

    Please comment on the process that precedes any suggestions that can improve the performance.

    Thank you
    AnuragT

    PASSAGE t.xml_col<--WHAT will="" passing="" here="" since="" no="">

    If you are using an XMLType Table, instead of an XMLType column reference, you are referring to the contents of XMLType while using the NICKNAME "OBJECT_VALUE" column

    If--> t.object_value

  • Insertion of XMLTABLE to RELATIONAL table

    Hello

    I have a Realational table


    CREATE TABLE VALU_RSLT)
    VALU_RSLT_ID NUMBER OF NON-NULL,
    NUMBER OF FRD_RQST_INFO_ID
    NUMBER OF CERT_NBR (12: 0),
    VALUATIONMETHODTYPE VARCHAR2 (4000).
    VALUATIONMODEL VARCHAR2 (4000).
    EARNED NUMBER (20: 5).
    NUMBER OF VALUATIONLOW (20: 5),
    NUMBER OF VALUATIONHIGH (20: 5),
    NUMBER OF CONFIDENCESCORE
    CONFIDENCEDESC VARCHAR2 (255),
    CRT_BY_USR_ID VARCHAR2 (255),
    CRT_TMST TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    LAST_UPD_BY_USR_ID VARCHAR2 (255),
    LAST_UPD_TMST TIMESTAMP DEFAULT CURRENT_TIMESTAMP
    );



    VALU_RSLT_ID - is a sequence object.


    Select tx. FRD_RQST_INFO_ID, CERT_NBR, temp.*
    OF FRD_XML_TEST1 tx.
    XMLTABLE ('/ DRIVEResponse/loan/assessments/ValuationResult ')
    TX OF PASSAGE. RSP_XML
    PATH of COLUMNS 'ValuationMethodType' VARCHAR2 (4000) "@ValuationMethodType."
    Path of 'ValuationModel' VARCHAR2 (4000) "@ValuationModel."
    "Assessment" PATH of NUMBER (20.5) "@Valuation."
    Path of "ValuationLow" NUMBER (20.5) "@ValuationLow."
    Path of "ValuationHigh" NUMBER (20.5) "@ValuationHigh."
    PATH of NUMBER "ConfidenceScore" "@ConfidenceScore"
    PATH of VARCHAR2 (255) 'ConfidenceDesc' '@ConfidenceDesc '.
    ) in the temp


    Is a very good job.


    What I try to achieve is to insert the data from the XML for this relational Table (VALU_RSLT) and also to increment the Sequence (VALU_RSLT_ID) and others
    check the fields in the table. (CRT_BY_USR_ID, CRT_TMST, LAST_UPD_BY_USR_ID, LAST_UPD_TMST).

    How can I do this?


    I tried something like this

    INSERT into VALU_RSLT (VALU_RSLT_ID, FRD_RQST_INFO_ID, CERT_NBR, VALUATIONMETHODTYPE, VALUATIONMODEL, EARNED,
    VALUATIONLOW, VALUATIONHIGH, CONFIDENCESCORE, CONFIDENCEDESC, CRT_BY_USR_ID, CRT_TMST, LAST_UPD_BY_USR_ID, LAST_UPD_TMST)
    VALUES (VALU_RSLT_ID_SEQ1.nextval (), select tx. FRD_RQST_INFO_ID, CERT_NBR, temp.*
    OF FRD_XML_TEST1 tx.
    XMLTABLE ('/ DRIVEResponse/loan/assessments/ValuationResult ')
    TX OF PASSAGE. RSP_XML
    PATH of COLUMNS 'ValuationMethodType' VARCHAR2 (4000) "@ValuationMethodType."
    Path of 'ValuationModel' VARCHAR2 (4000) "@ValuationModel."
    "Assessment" PATH of NUMBER (20.5) "@Valuation."
    Path of "ValuationLow" NUMBER (20.5) "@ValuationLow."
    Path of "ValuationHigh" NUMBER (20.5) "@ValuationHigh."
    PATH of NUMBER "ConfidenceScore" "@ConfidenceScore"
    PATH of VARCHAR2 (255) 'ConfidenceDesc' '@ConfidenceDesc '.
    (), Temp, NULL, NULL, NULL, NULL);



    gave me the following error message

    Error in the command line: 3 column: 35
    Error report:
    SQL error: ORA-00936: lack of expression
    00936 00000 - "missing expression.
    * Cause:
    * Action:


    How can I do this insert work?

    You mix styles of syntax INSERT. VALUES is for a single line. You want something like

    INSERT into VALU_RSLT(VALU_RSLT_ID, FRD_RQST_INFO_ID, CERT_NBR, VALUATIONMETHODTYPE, VALUATIONMODEL, VALU,
    VALUATIONLOW, VALUATIONHIGH, CONFIDENCESCORE, CONFIDENCEDESC, CRT_BY_USR_ID, CRT_TMST, LAST_UPD_BY_USR_ID, LAST_UPD_TMST)
    select VALU_RSLT_ID_SEQ1.nextval(),
           tx.FRD_RQST_INFO_ID,CERT_NBR,temp.*,
           NULL,NULL,NULL,NULL
    FROM FRD_XML_TEST1 tx,
         XMLTABLE('/DRIVEResponse/Loan/Valuations/ValuationResult'
                  PASSING TX.RSP_XML
                  COLUMNS
                  "ValuationMethodType" VARCHAR2(4000) PATH '@ValuationMethodType',
                  "ValuationModel" VARCHAR2(4000) PATH '@ValuationModel',
                  "Valuation" NUMBER(20,5) PATH '@Valuation',
                  "ValuationLow" NUMBER(20,5) PATH '@ValuationLow',
                  "ValuationHigh" NUMBER(20,5) PATH '@ValuationHigh',
                  "ConfidenceScore" NUMBER PATH '@ConfidenceScore',
                  "ConfidenceDesc" VARCHAR2(255) PATH '@ConfidenceDesc');
    

Maybe you are looking for

  • I forgot my iPhone password

    So, today, I changed my password. After that I did not the password once again, because I usually use contact IDs. But, while I had to put the password, and I don't remember. My iPhone is "Airplane Mode" so it is not connected to the internet. I trie

  • Trusteer report icon appears more in the bar of address since the upgrade to Firefox 9.

    I used to have Firefox 7 and report of Trusteer used icon appear in the address bar.Now, I've upgraded to 9 Firefox icon is not displayed, which is annoying.

  • How to connect my old HP printer on my new laptop

    I have a HP LaserJet 1100 printer, and I want to connect it on my laptop satellite. I can´t find witch cable to use, if any?

  • Rossngoun

    I want hepl unlock icloud and apple id in IMEI *.

  • Droid micro Turbo suddenly quiet?

    I had a Turbo Droid since launch and love it, but recently my microphone just stopped working. Google voice can't hear me, and the people on the calls barely can hear me. I want to emphasize, I never let drop the phone, or get wet. This problem start