Views materialized XE 11g... Alternatives, options, etc...

Hi all

Looking for any advice on the best options...

My client is running 11 g XE for a fairly small type of finance application...  It everything works fine except for a number of reports of overall budget executed on-demand by senior management.   The problem is that reports aggregate budget information for the entire year based on summarizing information from about 3 main tables (containing between 100 k and 500 k records each) and a number of smaller tables of reference.    Its takes 5-10 minutes to run...  They expect the information immediately.

I thought that creating materialized views for these reports would be a great solution, however, it seems that the creation of materialized views is not supported on XE? I can't create anything without a view log, and view log replication advanced needs...  I think that the progress of replication are only in Enterprise Edition? (can you create effective materialized views in standard edition? I might be able to convince the customer to upgrade...)

So Im a little stuck...  The alternative in theory, would be some sort of solution based trigger handmade, or refresh work based, but it assumes quite awkward to put together compared to... also materialized views, I need to ensure that the data are pretty up to date at any time in time...

The other factor that may be relevant is that a significant amount of information is probably the dormant months. i.e. most data changes occur in the current month, and contains all the previous months generally static information... She still need to aggregate the information, but database by previous months have changed...    (not sure if or how this could help or affect any particular solution..)

Ideas, or input would be much appreciated...

Kind regards

Richard

Select

EBC.ID,

Sum (b.budget) budget,

Sum (p.amount) in line with forecasts,

Sum (BR.bri_credit) real by

Of

EBC entity_budget_cat

Join BR bri_recon

on (ebc.id = BR. ENTITY_BUDGET_CAT_id)

Join payments p

on (ebc.id = p.ENTITY_BUDGET_CAT_id)

Join t_budget b

on (ebc.id = b.ENTITY_BUDGET_CAT)

and ebc.id = 416

Ebc.id group

OK - this request is said that there is NO relationship between the BRI_RECON AND the PAYMENTS, as well as the T_BUDGET at all. They are three separate and distinct from ENTITY_BUDGET_CAT child tables.

So why join them all together?

Just interview each separately and together results - below is just for illustration...

SELECT 416 as ID, SUM (BUDGET) budget, 0 in line with forecasts, 0 real by from table1 where ENTITY_BUDGET_CAT_ID = 416

Who will get the data for 'budget' and model puts one zero for the other two

Use more than two queries to get the forecasts and the real news

UNION ALL

SELECT 416 as ID, budget of 0, SUM (FORECAST) 0, in line with forecasts, as real 0 from table2

UNION ALL

SELECT 416 ID, 0, 0, budget in line with forecasts, SUM (PAYMENT) as real table 3

The result will be three rows the wrap in another query to the SUM of the three values

SELECT ID, SUM (BUDGET) BUDGET, SUM ESTIMATES (FORECAST), SUM (PAYMENT) PAYMENT

(SUBQUERY above with three gathered together queries

GROUP BY ID

Create queries of complext of simpler components where possible.

Tags: Database

Similar Questions

  • When I click on the Moilla button on my desktop, the firefox start page appears, so does Mozilla no button to access print, history. options etc, it just says: start mozilla firefox at the top page. RT page tc.

    When I click the Mozilla icon on my desktop, a mozilla firefox start page developed that has NO mozilla button to click and access the characters, story, options, etc. Also the entire page shifts automatically down a bit to only show that google question box and no address bar. Also, there was once a place where I could click on pages more accessible, but that disappeared a few weeks before. I have a HP computer and that you never know what will look like the start page.

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Ctrl + Shift + F).

    If you are in full screen view then hover over with the mouse upward to make the bar appear Navigation and tab bar.

    You can click the maximize button in the upper right to leave the mode full screen or empty space of a right-click on a toolbar and use "exit full screen" or press F11.

  • Firefox crashes when you open no matter what context menu - Save as download window, window options, etc.

    This is the third time I had this problem with firefox...

    Firefox crashes when you try to upload images, files, etc. right click context menu opens (with bookmark, save the page, save the image, options etc) but after selecting an option, save the image or another, the real save as dialog box does not open and firefox crashes.

    say many pages open the download and clear history... I can't do that, trying to open the download hangs there, too. like, trying to open any what other dialogues.

    the first time that this has happened, the only solution I could find was a total wipe and re-install (simple uninstall/reinstall didn't work... it had to be weeded manually in the registry).
    the second time that I got just to rebuild my system, so I just do a fresh install on a fresh OS.

    This time I can't seem to solve the problem of uninstalling and re - install...

    Help?

    discovered what he was doing!

    After trying safe mode of firefox and safe mode of windows and any number of other things I gave a little upward for a bit there, but I woke up from a dream in the middle of the night thinking ' based on the conduct in question, it * must * be something in the shell that is the cause. " (Sorry, I dream of geek).

    so I grabbed a shell viewer editor - ShelleExView (http://www.nirsoft.net/utils/shexview.html) (had to use a yucky, any browser to download) and gave him a race.

    I have listed all the extensions of the date they were added as a clsid and trying of think back to when the problem started... about a month or so, after a new system, reinstall. and through a little trial and error disabling, I found the culprit.

    It is an overlay Manager icon set by what is called WagerLogic. After looking into the company's name, I have to assume this was related to one of the annoying "just lost real money on our virtual casino" pop-ups that infest the net nefariously scenic for an easy mark as orphaned Dickens.

    I disabled it and voila! Firefox is still in full function.

  • I lost the file, Edit, tools, Options etc. from the top of my browser window. How can I fix it?

    At the top of my browser page, that I used to have files, edit, tools, Options, etc. helps well disappeared. How to make a comeback?

    This has happened

    Each time Firefox opened

    == do not know when, but after an update, I think.

    In Firefox 3.6 and later Windows, you can hide the menu bar on "view > toolbars" or via the contextual right click menu on a toolbar.
    Press F10 or press and hold the Alt key to bring up the menu bar temporarily.
    Go to "view > toolbars", right click on the menu bar, or press Alt + V T to select to show or hide toolbars (click on an entry to switch from the State).

    See also what happened to the file, edit and view menus? and http://kb.mozillazine.org/Toolbar_customization

  • View/materialized relationship

    I can't find analogy characteristic of ERwin to show the relationship between a table and a view created in this table. In ERvin, this is called 'Relationship views/materialized' advice?

    Hello

    You can do that in the Data Modeler.

    Your options are:

    (1) tables used to display definitions are listed on the bottom to see the presentation on the diagram

    (2) you can create a subview with objects used by using "Create subview with related objects" in the context menu to view the diagram

    (3) If you need lines then you can open Report Builder query of the view dialog box and can organize the diagram there

    Philippe

  • C: drive turned into raw and now I can't see file display options etc on my computer.

    Original title: instability of the system.

    I have xp s3. I had trouble with my main drive lately. Previously, I had my shot raw c drive and I can either logon in safe mode. I used checkdisk by my slave hard drive someone to another disk and it comes back with a few interface problems. Yet once the obtained c drive turned into raw and now I can't see file display options etc on my computer. I tried to use to start the system restore but not its use before and now. I have avira for antivirus and Registry Mechanic only. Is there a way I can fix my windows without formatting evrything?

    Hi Windflash,

    I had a similar problem also and it turns out that the hard drive is dead. You can probably do is to connect the hard drive to a working another computer & use data recovery tools to recover files from it but usability will always be a question.

    Data recovery is an another stressful job as for me it took 3 days to recover data to a 500 GB drive.

    After which I tried to format it own it but has not as well so I poured the reader.

    You can try my snack suggestions if your drive starts to work again I strictly recommend you to use it as a primary drive.

    Let me know if it helps.

    [If this post was helpful, please click "Yes" under "Was this helpful option?". If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Standard CPHA Collection error: Journal of the view materialized on "INV". "" MTL_ITEM_CATEGORIES "younger than the last refresh

    Hello

    In the face of the error when running standard data collection - below

    "ORACLE in FDPSTP 6502 error."

    Cause: FDPSTP failed due to the ORA-06502: PL/SQL: digital error or value

    ORA-12034: Journal of the view materialized on "INV". "" MTL_ITEM_CATEGORIES "younger than the last refresh

    ORA-06512: at the 'APPS '. MRP_CL_REFRESH_SNAPSHOT', line 2474

    ORA-06512:

    +---------------------------------------------------------------------------+

    Beginning of the FND_FILE log messages

    +---------------------------------------------------------------------------+

    18 - NOV 12:54:49: simple, quick update

    18 - NOV 12:54:49: instant refresh error program: ORA-12034: Journal of the view materialized on "INV". "" MTL_ITEM_CATEGORIES "younger than the last refresh

    18 - NOV 12:54:49: in the procedure: handle_ORA_12034.

    18 - NOV 12:54:49: refreshing Snapshots a

    18 - NOV 12:54:49: individual instant refresh error: APPS. MTL_ITEM_CATS_SN

    18 - NOV 12:54:49: error: ORA-06502: PL/SQL: digital error or value

    ORA-12034: Journal of the view materialized on "INV". "" MTL_ITEM_CATEGORIES "younger than the last refresh

    +---------------------------------------------------------------------------+

    End of the FND_FILE log messages

    +---------------------------------------------------------------------------+

    "

    Kind regards

    Abhishek

    Check with DBA and increase the space in the tablespace apps_ts_logging related to this.

  • How to remove the scroll bar in the view table obiee 11g

    Hello

    How to remove the scroll bar in the view table obiee 11g other than TNA config.

    Thank you

    In 11.1.1.7 you can change it in the table's properties. By default, it will be

    "Fixed headers with active scroll.

    To take

    "Pagination of the content" and check

    Thank you

    AJ

  • What is the difference between the view materialized and normal view?

    Please contact the difference in detail with an example.


    Thank you.

    Views materialized hold the data and updated periodically based on the definition of the query.
    view otherside is virtual and executes the query definition whenever they are available.

  • Materialized views Refresh method and refresh option

    Hi Experts,

    According to the docs, If the MV contains the following, MV is considered complex. I wonder is there any view data dictionary that indicates the type of MV? Because is very easy to the candidate a complex type mv. Because many queries contains the properties below.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28326/repmview.htm#i52501

    http://docs.Oracle.com/CD/B28359_01/server.111/b28313/basicmv.htm

    Specifically, a materialized view is considered complex if the materialized view definition query contains:

    • A CONNECT BY clause
    • An INTERSECT , MINUS , or UNION ALL operation
    • he DISTINCT or UNIQUE keyword
    • In some cases, an aggregate function, although it is possible to have an aggregation function in the query definition and always have a simple materialized view
    • In some cases, joins other than those in a subquery, although it is possible to have joins in the definition to interrogate and still have a simple materialized view
    • In some cases, a UNION operation


    After that I kept going to read that I learned that when a VM is created, the refresh mode is specified according to the type of the MV. That means, using ON-DEMAND refresh mode is widespread. The documentation mentions that there isa also refresh option. My question is, is it possible to specify

    ON REQUEST and FAST together?

    Also, what are the differences between FULL and FAST. Ends truncate the table and fill it up again?

    ON COMMIT

    Refresh product automatically when a transaction which changed one of the paintings of the materialized view's retail is committed. This can be specified as the materialized view is quickly updatable (in other words, not complex). The ON COMMIT privilege is required to use this mode.

    ON DEMAND

    Refresh occurs when a user manually executes one of the procedures available refresh contained in the DBMS_MVIEW package ( REFRESH , REFRESH_ALL_MVIEWS , REFRESH_DEPENDENT ).

    COMPLETE

    Refreshes and recalculating the materialized view query definition.

    FAST

    Applies incremental changes to refresh the materialized view using the information recorded in the papers of the materialized view, or an SQL * Loader direct-path access or a partition maintenance operation.

    FORCE

    Applies FAST update if possible; otherwise, it applies COMPLETE Refresh.

    NEVER

    Indicates that the materialized view will not be updated with updating mechanisms.

    Select * from version of v$.

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    Thank you

    Çaglar wrote:

    ...

    Also, what are the differences between FULL and FAST. Ends truncate the table and fill it up again?

    ...

    Thank you

    I just want to answer the truncated question. Seems that nobody covered that yet.

    Answer: It depends.

    If you do a full refresh, then the default is to use ATOMIC_REFRESH = TRUE.

    This means that the update is done via an insert, delete , and ... Select.

    You can change it to ATOMIC_REFRESH = FALSE (parameter dbms_mview.refresh).

    This means that is a TRUNCATE and insert a ... Select with APPEND peak (path direct insert).

    Refresh if Atomic = FALSE is considerably faster than the default. Also way less Archives of newspapers are written.

    The downside is however that, during the update the MV is empty, is no longer an atomar operation!

    See also Oracle documentation: http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_mview.htm#i997194

  • Don't want the large white area with 'options, etc.' at the bottom of page, I already at the top of the page.

    The menu bar has file, edit, view, tools, bookmark, etc., I don't need this measure up to an inch or MORE thoroughly below my tiles, they are already too closely together. Thank you.

    Looks like you got the extension new tab Tools installed. Click on the "device" in the upper right to open the options of this extension and disable Launcher in the right-hand column under Options.

  • WXPHOME PAINTING under 'view' link is removed the option "toolbar text" - anyone know how to make available pls? Thank you

    Hi, I'm wanting to add text to a form of jpeg image. I can use the link in the menu 'A' to do it now, but I wanted to change the font, etc.  I read the content of help on the paint to see if there was a way to change the police etc & he says under the 'view' link on the bar menu, click on "text toolbar. but this option has been removed while the broad lines of the words are seen. It is not available. ive tried using different formulas for example, blank page in the paint to see if this only happens with a jpeg image, but it doesn't seem to make a difference.

    Ms. phone 'support' said that they could not help & wanted to put me through a tech for $80!

    any help would be appreciated.

    Hi eddieb -.

    has worked...! Why isn't this in the Help menu for painting that I do not know! Why ms wants to pay $80aud to tell me is also an another shame...

    I chose the 'a' for the text... then dragged the blank square of the size I wanted to paste (or type) something in and like you said the option showed. Once I selected it, it pops up every time.

    Why the option is not displayed permanently is beyond me esp when there is no mention of having to go through any action before they appear in the Help menu also!

    Thank you again very much appreciated... Anne :)

  • Disable the export in BI 11g Publisher options

    Hi all

    We have a requirement where we need allow the user to export report only in PDF format and when the user runs the default report, it should show in PDF format on the BI Publisher 11g view.

    How to disable/hide other options i.e.

    Interactive

    HTML

    RTF

    Excel

    PowerPoint 2007

    Thank you

    Momo

    Hi momo,.

    Follow these steps

    1. change your report

    2. in the right-hand corner, click on "list".

    3. click on output Formats - here, you can disable the other output formats. Also there is an option to have the default format.

    Thank you...

  • Is it possible to get the data in the dump views in oracle 11g file?

    Hi all

    I am using oracle 11G with developer PLSQL .is there a way to get the dump file views data. I saw there is an option in the tool to export the table data in the dumpster, but here, I'm not able to see the view names get extracted. If anyone can help me with that?

    Best regards

    GK

    View has no data. View is just a stored SELECT statement.

  • My question is... Why are add you in the Security tab. When you click on the right click on any page - see the news page-> Security-> view tab saved the password option?

    recently, I checked all browsers like google chrome and internet explore and mozilla firefox... in my mind which is the best browser to give more safe? I'm checking all options... I can found a tab when I click right click to select
    see info page-> Security-> passwords to view saved... I'm shocked when I select see passwords... It shows
    all gmail, yahoo, onlinesbi a/c,facebook,...everything it shows... I checked other browsers there is no other choice.
    I tell you an example...
    If I opened gmail and yahoo & facebook & onlinesbi or no matter what connection... .all browser request normally... .do u remember password?
    in my laptop there is no problem... so I can select Yes... .no issues now... If someone open my laptop, to see my password (above to speak) there is a big trouble... or I sold my laptop to others... I forgot to delete the history & clear passwords...
    There is a big problem...

    My question is why add you passwords view saved option Security tab?

    Consider using the master password feature.
    https://support.Mozilla.org/en-us/KB/use-master-password-protect-stored-logins

Maybe you are looking for

  • cannot reset the password

    I created an account to sync with my phone. I may have miss-typed the password, I'm not sure... but I can't sign in Firefox Sync in the desktop browser. I tried to request a password reset, but the email never happened. It has not arrived after sever

  • The cRIO serial port can be used for the CAN bus communication?

    I would like to order a CVC with a CAN of network device and would like to know if this can be accomplished by using a serial port integrates the cRIO (OR cRIO-9024 in my case). Is it possible, or would need a C Series module CAN?

  • Pavilion dv7-1190er: max RAM on HP Pavilion dv7 laptop

    I have laptop Pavilion dv7-1190er, s/n: [edited moderator serial number], p/n: FW855EA #ACB What is the maximum amount of memory, it supports?

  • Q4MXTF - 7137L 4 - MFKSXA - 60R903

    I get this error of diagnosis, but nothing else that it is a hard drive problem no way to search for messages in error to hp and see what to do or where (seems a little soft) and if she is hard altogether a drive failure that this thing is barely a m

  • I can the recovery disk to find t (windows 8)

    How I can do factory reset for my envy 15 touchscreen smart j021 tx but I can t find the system recovery partition