Doubt on possible calculations in PLSQL in TimesTen

Dear Experts

I am running a project with Exalytics and TimesTen to support the OBIEE BI analysis.

# Information are:

More this cardinality intersection of:

dimension 1 (350 members) against

Dimension 2 (4 600 members)

total 1 610 000 (cross).

OBS: this is part of a universe of 480 million fact rows.

# Is - it a calculation to determine future values for the metrics of three days 28 next two made.

45 runs per day.

Are operations of reading and writing varchar2, number and date variables

14 and 6 percentages are of arithmetic calculations.

PS: are considered: monthly economic index, the number of highways to toll and public metro stations.

# Currently.

This has been fixed with a PLSQL 435 lines of code process.

# The problem is.

Not sure about the power of TimesTen PLSQL.

I'm dangerous to look at the tackle of scope this procedure implemented on TT Scripts type PLSQL.

There is an experience of a similar case?

Thank you

Language PL/SQL in TimesTen is identical to that of the Oracle database (this is the same engine of PL/SQL). It has some features not supported in TimesTen because they depend on the characteristics of the underlying database that are not present in TimesTen. Also, Timesten PL/SQL has a much smaller set of pre-defined packages as the Oracle database.

It is not really clear to me your question what is your concern. Have you tried to move data and PL/SQL to TiemsTen and it works?

Chris

Tags: Database

Similar Questions

  • Calculation of PLSQL

    Dear community,

    Is it possible to check for a value in a specified column where it meets the conditions and then update the next column with 3 or 0?
    Something to clarify things.

    I have a report that returns the data to the students. It returns marks and points.

    If brands is 5.5 or higher and then assign 3 points
    any other adjustment to 0 points
    end;

    This must be done for all specified records, as if a student has 10 records, this code should check all ranks, if the condition is met. I think the above code must be placed in some kind of loop?
    Could it be done with PLSQL, if if I need a little guidance :)

    Hi Netrunner,

    I'm not sure what you're doing.

    Can't replace you item-1 with a drop down. If you can then add a calculation to point-2 which should read the value of point-1 and do all the things the calculation on the value of the element-1 and the final value will be defined in article 2. Do change event menu item in the layout of the page. so every time when the user selects a value calculation will be invoked and result will be defined in article 2.

  • doubt in the coding simple plsql

    Good evening everyone,
    I'm new to plsql anyone can check my coding, it's wrong in my code...



    declare
    countr varchar2 (2); country: = & country varchar (2);
    CC varchar (3);
    l_en varchar (50);
    AB nvarchar2 (50);
    Start
    Select countrycode.rrl, langname_en.rl, abrivation.rl in cc.rrl, l_en.rl, rl join res_language ab.rl internal res_relcountrylan SDR on rl.langid = rrl.langid where countrycode = countr.
    end;



    thanking you,
    Prakash

    Error report:
    ORA-06550: line 7, column 25:
    PL/SQL: ORA-00904: "R1". "" LANGNAME_EN ": invalid identifier
    ORA-06550: line 7, column 1:
    PL/SQL: SQL statement ignored

    If you see an error message the first thing that you should note is the NUMBER of the LINE where the error occurs.

    If your error message indicates its line 7. What is online 7? It is where starts your SELECT statement. So, there is a problem with the SELECT statement. Now let's see the error message.

    PL/SQL: ORA-00904: "R1". "" LANGNAME_EN ": invalid identifier

    Oracle says that langname_en is an INVALID IDENTIFIER. What does that mean? This means a column by name that langname_en does not exist in the table with alias R1. So the next thing to do is to describe the table and columns.

    DESC res_language
    
  • doubt of formula calculation?

    Hello

    Can we do a database in a form item to store a calculation formula... ?
     
    
    :ITEM_QTY * :ITEM_PRICE
    or we have 2 make poster...!


    Kind regards


    Abdetu...

    An item in a data block doesn't have to be displayed/visible in your form to stored / maintain a value of the formula. Create a test form that displays the field calculation initially so that you know that it's working properly. Set the property of the "Web" with a NULL value for the element, and then add a button that displays the value of the calculated item not shown in a Message(). When you click the button, you will see the displayed value! ;-)

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

    Published by: Silvere on October 29, 2010 08:48

  • TimesTen shared memory internal process commication

    Hi all


    My app connects to Tiemsten store data in client/server Mode using the TCP/IP protocol.
    our 32-bit Applications running on different server where the Tiemsten server running.

    I have the following questions on this

    1 can we have shared Timesten memory internal process commication to client/server architecture?

    2. What are the best practices to impelment SHMIPC in client/server mode?

    Please help me

    Thank you
    -AK

    Sharing memory Inter Process Communication (SHMIPC) is only possible when the client and TimesTen server are running on the same server. When the client and server are running on different machines that only TCP/IP is possible.

    Kind regards

    Chris

  • How to create a simple calculated measure?

    Hello

    I'm having problems creating a very simple calculated measure within the OBIEE administrator. Let's say I have a dimension 'product' with the 'product price' attribute and a measure "number of sales. I'm trying to define in the layer of "Business Model" of the measure calculated 'total sales. To do this I have defined as as a logical column with the phrase 'product price' * 'number of sales.

    But OBIEE isn't calculating what I expect, this makes a Cartesian product of the products and the grand total of the sales, which makes no sense. To relieve that I tried to define the measure as partners at the product level, then I correct the calculations but sales per product are not added together in a total.

    In any case it seems to be a very simple thing to do, but I was not able to find any documentation about it; 'Help' internal documentation is extremely limited. Is there another source of documentation that I don't know?

    Thanks for your help,
    Chris

    Calculate the physical level itself at the logical level

    I would be more careful with possible calculations on the physical columns since the results are different
    But in this case, it seems a good approach,

    -> chris3110.

    If you want to try with physical columns, you can find detailed instructions in the tutorial (http://download.oracle.com/docs/cd/E10352_01/doc/bi.1013/e10312/repository.htm), Section 4.6.3 OBI 'Create a calculation measure using physical columns'

    It will be useful,

  • Using Migration Assistant on Powerbook G4 1.67 GHz

    I just bought a new Macbook Pro 25 GHz to replace my old Powerbook G4 1.67 GHz (PowerPC) under OS X 10.4.11. The new Macbook has OS X El Capitan charge and I need to transfer all my files, photos, emails, etc. from my old laptop. The sales guy said I should be able to use the Migration Wizard of Pro Macbook via Wifi on the initial start-up to transfer any.

    I'm just a little doubtful if possible, as Apple suggest that OS X 10.6.8 is required. I don't want to try this and end up damaging the new Macbook Pro. I know that I can use an external hard drive and drag-and - drop files, photos etc but how can I transfer e-mail and other settings, I'm not sure.

    Appreciate any advice on this procedure.

    If the two computers can connect via cable or wireless to your home network, you can enable file sharing on the PB to access the files. I don't know if it works because your PB is kind of old. You may need to install Leopard for it to work.

    Rather it is why not take the HARD drive on the PB, but in an external box with USB; ports. Connect on the new computer and use the Migration Wizard to import your data. If you happen to have a backup Time Machine of the PB, then you can also migrate from the backup drive.

  • How to install Adaptive Filter Toolkit on myRIO 1900 RT target

    Hello
    I'm working on the project of Active noise cancellation. I need to collect audio sampling rate of two microphones @40 k and 100 samples per image and audio through speakers @40 sampling rate k of output. For this, I use myRIO 1900 in FPGA high flow personality.
    When I'm designing the circuit Adatptive Filter Toolkit pallets are available in block VI, but when I'm trying to compile the circuit I get the error message saying that
    "LabVIEW: unable to load the shared library AdaptiveFilters n ensure that the library is present on the target of RT." "Either MAX allows you to install software of OR or FTP to transfer custom RT target libraries.

    I went to MAX OR to install the Adaptive Filter Toolkit, NI MAX--> network environment--> myRIO 1900--> software--> software add-on

    I can't find Adaptive Filter Toolkit or the Digital Filter Design Toolkit.

    I seriously doubt the possibility of using Adaptive Filter Toolkit in the FPGA target, but if I create the FPGA VI by default 'personality', Adaptive Filter Toolkit available palettes only not, but if I'm working on the FPGA VI high flow personality, then the pallets Adpative filter Toolkit are available but I can not compile...

    So, my question is how to install Adatptive Filter Toolkit on myRIO 1900 RT target?

    Is it possible to make custom FTP libraries RT target. I can find the Adaptive Filter library but I don't know which folder should transfer (I tried with several files that I can find but its does not work)?

    Please help me

    Thank you

    If your MAX Configuration looks good.

    After this process: NEITHER myRIO 1900--> software--> software add-on

    choose user Defined Installation you should get the view like the Picuture I added before.

    In find it examples explore, you should be able to get see--> toolkits and Modules--> adaptive filters

    Have you already tried to reinstall the Toolkit Digital Filter?

  • Photosmart 8450: "Device Setup doesn't have all the.

    HP dear Forum and Support:

    My HP Photosmart 8450 fails to install on my Dell laptop. Help, please.

    I have a Dell Inspiron 640 m laptop computer with Windows XP. I got the printer installed fine, but then I caught a bad virus had to restore my laptop back to the factory settings and then installed Norton Antivirus.

    First, I downloaded the Driver on the HP site and connected the driver software Installation the file downloaded.

    Then, during Installation, the Installation Wizard told me to connect my printer to the USB Port of my computer, I did.

    Then, after a few minutes, the installation wizard told me that "Device Setup has not finished.'

    Then I tried whole, this time connect my device to a different USB Port in my laptop with the same failed result. In addition, no a HP printer icon appears in the list of printers in my control panel.

    A cause as possible, I can imagine would be if I have Norton Antivirus and Antivirus is blocked somehow, but I highly doubt this possibility, because then it would be a common problem with many users, like HP and Norton products are very common.

    Rakovsky

    P.S. happy holidays.

    OK, I gave you a thumbs up.

    Here's what worked for me:

    I uninstalled the printer from the "Programs" section in my control panel. Then I reinstalled the printer driver. When I did, I have connected my USB pritner when the installation wizard asked. As was happening, he said that the printer has been detected and this may take a few minutes.

    Meanwhile, a message apparently not HP-software popped up because of my operating system, that says hardware is automatically detected by my computer laptop and installed automatically and give me the choice to make my default printer. Of course, rather than interfere with the HP Installation Wizard, I've just left him intact.

    A few minutes later, I got the same old "Not completed" message in my installation wizard. Then I clicked on the operating system pop-up message and told to do my Pritner by default.

    I think that the installation wizard might at this time asked to click Next in the installation wizard, and if that were the case, then I didn't click it. But in any case the next thing the wizard said was that the device had been installed successfully.

    So it's a combination of things that led to the unit being installed successfully.

  • Microsoft CIS Stanadard 2Proc license

    Hello

    We bought a few Microsoft CIS Stanadard 2Proc licenses. We are having some doubts while

    calculation of the consumption of the license. Here's the scenario -:

    Processor Physical_Servername
    Server_a 2

    If I apply 1 CIS Stanadard 2Proc to this server. How many VMS can be hosted on it?

    Concerning

    Debasis

    Debasis salvation,

    According to the description, you bought licenses of Microsoft IEC Standard 2 Proc little. And now you have doubts about the use of the license.

    Certainly, I understand your concern.

    Important: If the problem is associated with the server.

    To get more information about it, we have a dedicated forum where these issues are dealt with and would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the best support.

    http://social.technet.Microsoft.com/forums/en-us/home?category=WindowsServer

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • SR520 VPN

    I have a router 2901 ISR in the main site. I want to build a site to site vpn using a SR520W-FE-K9 to the branch.

    I want to know if the 2901 <--vpn--->vpn site to site SR520w is possible.

    Thank you.

    Yes, without a doubt is possible to establish VPN site to site between 2901 and SR520W routers.

  • Model of persistent in a smart card storage?

    Hi, I have a doubt: is possible to create a store in a smart card or the only form of record data in the smart card uses the FileConnection api?.

    Concerning

    Roberto Solis

    FileConnection API is available.  I'm sorry.

  • The substitution of file app

    Hi all,

    I have little doubt in reading file. In my application, I have a text file test1.txt.

    Here the code that I used to read the contents of the test1.txt.

    InputStream inputStream=getClass().getResourceAsStream("/Data/test1.txt");
    testValue Byte = new byte [inputStream.available ()];
    inputStream.read (testValue);
    inputStream.close ();
    String multiplesContent = new String (testValue);
    System.out.println ("FILE CONTENT IS:" + multiplesContent);

    But my doubt is possible to replace the content file, which is available in my application.

    Thanks in advance.

    Sorry for my English.

    You can write in a text file on sd card. You cannot change a text file contained in the project.

  • Join the tables of towing on the overlap of the keywords.

    I must join two large tables and have the situation like this:

    TABLE_1TABLE_2
    Ibis<>-Ibis Sydney Airport
    the Ibis budget<>-Ibis budget Enfield
    Ibis Styles<>-Hotel Port Hedland

    And avoid the situation like this:

    TABLE_1TABLE_2
    IbisNO.Ibis budget Enfield
    IbisNO.Hotel Port Hedland

    Is it possible using SQL/PLSQL?

    The solution is strongly dependent on the structur of your data.

    A simpe approach can be:

    with t1 as)
    Select'ibis all of the double union
    the select 'ibis' Union budget double all the
    Select'ibis Styles of double
    )
    t2 as)
    Select 'ibis Sydney Airport' t of all the double union
    ' select'ibis budget Enfield "of all the double union
    ' select'ibis Styles Port Hedland "double
    )

    Select t, s of)
    Select
    s
    t
    , row_number() over (partition by order of t by length (regexp_replace (t, ' ^': s l)))
    from t1
    t2
    where
    length (regexp_replace (t, ' ^': s))< length="">
    )
    where
    l = 1
    order of s

    T, S

    "ibis Sydney Airport", "ibis".

    "ibis Styles Port Hedland", "ibis Styles.

    "ibis budget Enfield", "ibis budget."

    If regexp will not run, you can relax the requirement that the match should start at the beginning and replace rege_replace by just replace.

  • Trade rules do not appear in the Regional service console

    Guru HI

    We use the Application confort Hyperion Planning 11.1.2.2.

    We have created business rules for our planning application using Calc Manager and they work very well.

    But my doubt is that calculations do appear in the essbase.

    WT could be the reason for this... Please suggest.

    Thank you.

    Hello

    The Regional service console will show you only the calculation scripts, not the rules for calculation of the Manager. This is a technical limitation.

    Prior to version 11.1.2.3, we also had business rules. These were available in the Regional service console. Then, you had a section in the view of the company next to Administration, servers Essbase called Business Rules. I usually call them Hyperion Business rules (HBR) because users easily get confused with all the scripts and rules.

    In planning, you can see the calculation scripts and rules for calculation of the Manager.

    I hope that clarifies the situation and will help you.

    Kind regards

    Philip Hulsebosch

Maybe you are looking for