Can Oracle materialized view be used as crystal report datasource

Hi,
Can we use materialized view created in Orace 10g database as the data source of crystal reports.
I'm using Crystal reports Server 2008 V1 version. I'm unable to find the materialized view under my data connection. I can see only tables, static views and stored procedures.
Is there a way by which I can run my reports against a materialized view created in Oracle.
Thanks
Thomas EL

Hi Thomas,
Rather than doing all of this work around to access multiple databases/servers why not create a stored procedure to do all of this for you? Search the notes area for samples on how/what CR requires to use a SP in Oracle.
Advantages is this is done all server side and CR simply waits for the data to be returned. Even if you are using a BVM or connecting directly to the SP, both cases are server side. Database servers are much more efficient and optimized to run queries and filtering data. CR has to do the filtering on it's second pass and that causes performance delays.
Thank you
Don

Similar Messages

  • Can the materized view be used here?

    Hi,
    Can I create a materialized view at the database ABC (the materialized view site) using the following query? the regional data (the master sites is located remotely at apj_db, can_db and us_db databases) are pulled in using dblinks?
    select name, dept from emp_table@apj_db
    union
    select name, dept from emp_table@can_db
    union
    select name, dept from emp_table@us_db
    Also which refresh mechanism is the best for this case?
    Thanks
    Liz

    user624700 wrote:
    Hi,
    Can I create a materialized view at the database ABC (the materialized view site) using the following query? the regional data (the master sites is located remotely at apj_db, can_db and us_db databases) are pulled in using dblinks?
    select name, dept from emp_table@apj_db
    union
    select name, dept from emp_table@can_db
    union
    select name, dept from emp_table@us_db
    Also which refresh mechanism is the best for this case?Liz,
    there is a very handy procedure DBMS_MVIEW.EXPLAIN_MVIEW which you can pass your query and it will tell you what is possible and what might be required. I think that materialized views containing UNION can't be refreshed fast (whereas those using UNION ALL might be fast refreshable), but this might depend on your version of Oracle. If you're already on 10g, you can use DBMS_ADVISOR.TUNE_MVIEW to get recommendations regarding the refresh method.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Oracle Materialized views | Reporting

    I have a requirement as follows:
    Requirement:
    We need to create a Reporting DB to use for Reporting and a Transactional DB will be in separate Host. Basically we need to pull data from a set of tables from Transactional DB and move to Reporting DB schema at proper intervals.
    We might have to get data from different column from different tables and store it in a single table/multiple tables in Reporting DB.
    Solution (Please validate):
    I am planning to use Oracle Materialized views in the same host as Transactional DB to achieve the following part of requirment
    "We might have to get data from different column from different tables and store it in a single table/multiple tables in Reporting DB."
    and then to use Oracle streams to move it in scheduled interval to Reporting DB.
    Is it feasible?
    Or please suggest some solution.
    Thanks,
    Appu

    Hi,
    You design is too complex, why use 2 technologies if one is sufficient ? If data amount permits I would do fast refresh MV (if possible, based on required joins and aggregations) over db link directly in the reporting database.
    --romas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • CacheConnect Support for Oracle Materialized View

    Does TimesTen cacheconnect support caching Oracle Materialized views? It is my understanding that materialized views are really just Oracle tables under the covers.

    hi Scheung,
    I noted following description in Page40 of standard document 6.0.8 cacheconnect.pdf
    Note: You can define a USERMANAGED cache group to include an Oracle
    materialized view, but the cache group will be restricted, as described in “About
    restricted cache groups” on page 49. Alternatively, you can create any type of
    cache group to include an Oracle detail table for a materialized view.
    and actually in 7.0.2, we can still create usermanaged cache group based on Oracle MV, but the above description disappears in 7.0.2 document. is it deprecated ?

  • Can Oracle be forced to use the spatial index for sdo_filter in combination with an or clause? Difference between Enterprise and SE?

    We’re seeing the following issue: sql - Can Oracle be forced to use the spatial index for sdo_filter in combination with an or clause? - Stack Overflow (posted by a colleague of mine) and are curious to know if this behaviour is due to a difference between standard and enterprise, or could we doing something else wrong in our DB config.?
    We have also reproduced the issue on the following stacks:
    Oracle SE One 11.2.0.3 (with Spatial enabled)
    Redhat Linux 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    11.2.0.3.0 Standard Edition and 11.2.0.4.0 Standard Edition (both with Spatial enabled)
    Microsoft Windows Server 2003R2 Standard x64 Edition
    However, the SQL works fine if we try it on Oracle 11.2.0.3.0 *Enterprise* Edition.
    Any help or advice would be much appreciated.
    Kindest Regards,
    Kevin

    In my experience sdo_filter ALWAYS uses the spatial index, so that's not the problem. Since you did not provide the explain plans, we can't say for sure but I think yhu is right: Standard Edition can't use the bitmap operations, and thus it'll take longer to combine the results of the two queries (because the optimizer will surely split this OR up in two parts, then combine them).
    BTW: when asking questions about queries here, it would be nice if you posted the queries here as well, so that we do not have to check another website in order to see what you are doing. Plus it will probably get you more answers, because not everyone can be bothered to click on that link. It would also have been nice if you had posted your own answer on the other post here as well, because my recommendation would have been to use union all - but since you already found that out for yourself my recommendation would have been a little late.

  • Offline Instantiation of a Materialized View Site Using Export/Import

    Has anyone had any success performing offline instantiation of a materialized view site using export/import in Oracle9?

    This is what I wanted to ask in the forum. I want to use datapump for the initial instantiation because I believe that indexes (the actual indextables, not just the definition) are also replicated using datapump.
    So, is it possible to do the instantiation using datapump?

  • How can I determine if PeopleSoft Queries are used in Crystal Reports

    One PeopleSoft user requested that we delete 118 Queries. How can we determine if any of these Queries are being used in Crystal Reports?

    >
    One PeopleSoft user requested that we delete 118 Queries.
    >
    Why? How would the user know, or even care, if the queries exist?
    It is not the concern of a user whether such queries exist or not. If your system has a security flaw that allows non-privileged users to executed those queries then you need to fix that flaw.
    Remove the privileges that the user has on those queries and then, for that user, the queries will not exist.
    >
    How can we determine if any of these Queries are being used in Crystal Reports?
    >
    You can't.
    How do you determine if an app has any Java code that uses the SCOTT.EMP table? You can't.

  • Can oracle inventory forecasting be used without order management??

    Can someone please tell me how oracle forecasts are used.
    Like i have configured and tested it but i want to know how it calculates forecasting and whether it can be used without order management module or not
    when i define item comsumption entries and gvie a quantity in current, the ending date and then see bucketed, it shows same forecasted quantity for all periods that i entered in item comsumption entries
    I dont understand this
    And why is forecasting necessary for reorder point planning
    Some please explain
    Thanks
    Emm

    Query: "can oracle inventory forecasting be used without order management?"
    Yes, in that case it can accept manually entered forecasts or forecast generated from Inventory demand history (say Miscellaneous issue, Inter-org Transfer, Issue to WIP) excluding Sales Order issues (as OM is not included).
    For remaining questions you can refer to my earlier post under the following thread. Please refer to the bottom section (thread was started with a different subject)
    serial attribute and org attribute problems with item master
    If your questions are answered you can mark the thread as appropriate.
    Thanks
    - Supro

  • Where can I find a copy of the Crystal Report Print Control

    Hello,
    Our users have access to a report portal developed in house which uses the Crystal Report Viewer to display the Crystal Reports created in Visual Studio 2010. the first time they open the portal and try to print the report the loading dialog box that comes up keeps spinning and spinning. The reason for that is that they don't have admin rights to the computer. I would like a copy of the driver so We can push it out to their computers. Any idea where I can find a downloadable version?
    Thank You
    -Nelson Vasquez

    Hi
    Instructions are in this KBA:
    1645006 - How to install the Crystal Reports ActiveX Print Control manually?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to use a Crystal Reports Query as datasourc in an other Cristal Report

    Hi
    I would like to read a File in a CR Report, change some data and use the output as datasource  in an other Criystal Reports Report.
    Is ist possible to use a Crystal Reports Report as datasource for an other Crystal Reports Report?
    Thomas
    Edited by: Thomas Martin on Jul 18, 2011 12:44 PM

    Hi Thomas,
    Are you having Xcelsius also in your kitty??(for dynamically doing this activity)
    Xcelsius has very good writing & reading functionality and you can incorporate your crystal report data into it using live office.
    Let say you have a report in crystal , you connect that repot to live office .Let say this is REPORT named as SOURCE CR  REPORT.
    IN Xcelsius import the this SOURCE CR REPORT  report using live office connection and using GRID selector there to show tabular data.
    Xcelsius has buttons & controls  for updating and exporting the data inform of XML SOURCE FILE.
    Now you can either make xcelsius Dashboard for TARGET CR REPORT or you can make crystal Report on ADO.NET(XML) for second crystal Report.
    Search on SDN for cross usage of Crystal & Xcelsius
    regards,
    RK

  • RE: What's database field are used in crystal report file?

    Hi all
    Please help me a C# code that using Crystall Report API (Crystal Report XI- Develop license) to get the list of database fieldname that using in crystal Report file. (What's database field using in header section ,group section , detail section of report.....)
    We looking forward to hearing from you
    Thanks
    Son

    Hello Son,
    please use this code below to get a list of used database fields in a report :
    //File Name:          CS_Get_report_data_out_inproc.sln
    //Created:            April 11, 2008
    //Author ID:          FLI
    //Purpose:            This C# .NET sample Windows application demonstrates
    //                  how to retrieve report data and put the into a XML file
    //                  using unmanaged RAS.
    // Note this is available without a dedicated RAS with SP2 for XI R2
    using System;
    using System.IO;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    namespace CS_Get_report_data_out_inproc
        public partial class Form1 : Form
            // CR Declarations
            ReportDocument boReportDocument;
            ISCDReportClientDocument boReportClientDocument;
            public Form1()
                InitializeComponent();
                //Create a new ReportDocument
                boReportDocument = new ReportDocument();
                // load the RPT file
                boReportDocument.Load("..
    ReportData.rpt");
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button1_Click(object sender, EventArgs e)
                //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                boReportClientDocument = boReportDocument.ReportClientDocument;
                // Retrieve the Rowset Controller
                RowsetController boRowsetController = boReportClientDocument.RowsetController;
                // Retrieve the metadata (column headers) - this allows you to only retrieve the data that is on the report.
                RowsetMetaData boRowsetMetaData = new RowsetMetaData();
                Fields boFields = boReportClientDocument.DataDefinition.ResultFields;
                boRowsetMetaData.DataFields = boFields;
                // Now print out the data in XML file
                //(Note: This will print out the results of formulas too)
                StreamWriter sw = new StreamWriter("C:
    ReportData.xml", false);
                sw.WriteLine("<?xml version='1.0' encoding='utf-8'?>");
                sw.WriteLine("<ReportData>");
                sw.WriteLine("<Reportheader>");
                // Print out the titles
                for (int i = 0; i < boFields.Count; i++)
                    String boFieldName = boFields<i>.Name;
                    sw.WriteLine("<ReportheaderDetail>" + boFieldName + "</ReportheaderDetail>");
                sw.WriteLine("</Reportheader>");
                //Create the cursor which lets us loop through the data
                RowsetCursor boRowsetCursor = boRowsetController.CreateCursor(null, boRowsetMetaData, 1);
                Record boRecord;
                while (boRowsetCursor.IsEOF == false)
                    sw.WriteLine("<Customer>");
                    boRecord = boRowsetCursor.CurrentRecord;
                    for (int j = 0; j < boFields.Count; j++)
                        try
                            sw.WriteLine("<Detail>" + (String)boRecord[j].ToString() + "</Detail>");
                        catch (Exception err)
                            sw.WriteLine("<Error>" + err.Message + "</Error>");
                    sw.WriteLine("</Customer>");
                    boRowsetCursor.MoveNext();
                sw.WriteLine("</ReportData>");
                // CLose the file
                sw.Close();
                MessageBox.Show("XML File 'ReportData.xml' successfully created on C:");

  • Can OGG capture change data set from Oracle Materialized Views ?

    Hi Gurus,
    We have 3 DB .
    1st one is for application . 2nd one is staging where data will come via Materialized Views i.e. we have MView log on DB_1 and have MView on DB_2 . MViews are getting refreshed incrementally everday .
    Now a new requirement has come so we need to pass the data from DB_2 to a new database DB_2 .
    If OGG can capture and replicate incremental data from Miews then we can go along with OGG .
    Can any one confirm the above ?
    Thanks,
    Pujan

    Hi Pujan,
    Yes. There are some restrictions mentioned in the section Limitations of support for materialized page 8 of the Oracle Installation and Setup Guide 11g Release 1 found here:
    http://www.oracle.com/technetwork/middleware/goldengate/documentation/index.html
    Good luck,
    -joe

  • Materialized Views created using ROLLUP

    Not sure if this one is best posted to a general Oracle forum, or even to the Discoverer Forum, but it's more to do with Data Warehousing so here goes...
    1. If I create a materialized view, either with or without OWB, do I also need to separately create indexes on the materialized view?
    2. If I create them using GROUP BY and ROLLUP (to create summaries that calculate all the subtotals along all hierarchies and dimensions), would any subsequent query have to use GROUP BY and ROLLUP to qualify for query rewrite?
    3. If I create them using GROUP BY and ROLLUP, would the queries generated by Discoverer ever get rewritten, as I assume they would not use GROUP BY and ROLLUP as these were not features found in earlier versions of Oracle?
    Any advice gratefully received.
    Mark

    Thanks for replying, Igor.
    Just to clarify:
    1. Do MV's created without fash refresh capabilities still get indexes created automatically? If not, should you manually create them in this instance?
    2. Can you confirm that, if a MV gets created using GROUP BY and ROLLUP (to potentially calculate all dimension intersections in one go), users queries to the base fact table do not have to use ROLLUP in their GROUP BY clause - they will still get rewritten ok?
    3. You mentioned that Discoverer generates queries using GROUP BY - does it ever use GROUP BY ROLLUP if it knows it's working on an Oracle 9i platform?
    I guess where i'm coming from, is that we're considering using the OLAP Summary Manager within OEM to create materialized views, rather than the normal summary adviser, as this creates MV's designed to hold (R)OLAP cubes (as detailed at http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96520/mv.htm#574241). I wouldn't however want to use these if user's queries had to specify ROLLUP in their GROUP by clause to qualify for query rewrite.
    Getting back to OWB, are there any plans to improve the support for importing, designing and refreshing materialized views in the Paris release of OWB? Summary management is perhaps a bit of a weak spot in OWB, and it'd be good if Hierarchical Cube Materialized Views - which are an excellent new feature in 9i - were supported in future releases.
    best regards
    Mark Rittman

  • Error while creating materialized view which using database link

    Helo!
    I'm getting error "ORA-00942: table or view does not exist" when I want to create materialized view.
    Details:
    1. On destination database I create a database link:
    CREATE DATABASE LINK SDATABASE
    CONNECT TO MYUSER
    IDENTIFIED BY MYUSERPASS
    USING 'ORCL';
    => Command "SELECT * FROM TABLE1@SDATABASE" returns data normally!
    2. On source database I create MATERIALIZED VIEW LOG:
    CREATE MATERIALIZED VIEW LOG
    ON TABLE1
    WITH PRIMARY KEY
    INCLUDING NEW VALUES;
    3. Now, when I want to create MATERIALIZED VIEW on destination database:
    CREATE MATERIALIZED VIEW TABLE1
    REFRESH FAST
    START WITH SYSDATE
    NEXT SYSDATE + 1/1440
    WITH PRIMARY KEY
    AS SELECT * FROM TABLE1@SDATABASE;
    ...I get error "ORA-00942: table or view does not exist"!
    How is that possible if command "SELECT * FROM TABLE1@SDATABASE" returns data normally?
    Thanks,
    Voranc

    And, I'm using Oracle 10g.
    Voranc

  • Issue with complete refresh on materialized view when using rownum

    Hi all,
    I had an issue with rownum when using complete refresh
    I am using rownum when creating materialized view and it is generation correctly.But the issue was when i am refreshing the same ,rownum was not getting sorted in ascending order.
    anyone had come across this scenario

    rownum is determined as the row is output, so "order by rownum" does literally nothing.
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/pseudocolumns009.htm

Maybe you are looking for

  • Issues with Z10 syncing with Outlook calendar

    Hi, I am looking for help to resolve an issue I am having. When I add items to my calendar on my Z10 it never sends them to Outlook. I keep track of my workorders during the day on my phone and need to print them out at the end of the day and I have

  • Help me please--CORBA: Using IOR with Aurora Visibroker in Oracle Database

    My problem is about Oracle CORBA session oriented: I would like to store an IOR in an Oracle Database in order to use it when I need the object associated but, If I have the IOR of an object instantiated from a class placed in the Name Service Contex

  • Opening balances update after go live

    hi members, is there a possibility to update the opening balances uploaded initially after we Go-live? lets take an example, say, On the first day of the fiscal year i have uploaded vendors with an initial details consisting of 3 bills and later afte

  • Request book in English on iBooks

    I just went through a small nightmare with Kobo and want to fully switch to iBooks. The problem is that none of the books in the Assassin's Creed series (particularly Forsaken) are available in English. Is there any way to request that at least Forsa

  • Reflection on abstract classes

    import java.lang.reflect.Method; public class MethodInfoDemo {      public static void printMethodInfo(final Object obj) {           Class type = obj.getClass();                final Method[] methods = type.getMethods();           for (int idx = 0; i