Universe design on Database Views Vs. on Tables

Hi,
I am builidng a universe over oracle database. The warehouse has both tables and views. Some of the reports we will be creating are based on the tables for which views are created. It would be my call to to choose the reporting too (webi or crystal).
I want to know what will be the best approach. Whether creating universe which has database views affect the report performance?(As it will add additional layer. Universe > View > Actual table) If yes, then will it be feasible to go for Crystal Reports instead of webi?
Regards,
Chetashri

There are two points which you have to think.
1. Either crystal or Webi
   a) Generally, we prefer Crystal report when Business users want to have pixel perfect reporting. Enterprise reports such as generla ledger, transactions and so on we prefer Crystal Report.
   Cyrstal report has lot of options which helps us to create reporting which is impossible in other tools as possible in Crystal.
   b) WebI reports very flexible and easy to create reports. Not as flexible as compared to Cyrstal. But most of the reporting capabilities are available in WebI. Mostly, first I try to build the report in webI. If the tool is not sufficient or capable of creating that report, I go for Crystal.
But WebI reports are preferrable.
2. Peformance with Table or View
There is no big difference now  between view and table when view refers only single table because of optimization strategies available in oracle database.
But when a view refers mutlple tables in its definition, there is little edge for view with respect to performance because View optimizations calculated by oracle in advance.
But you could use Tables or views vice versa if there is less data.
Steps for creating reports either from views or tables are same. Instead of view you could use tables and Instead of tables you could use views.
Hope this helps
Regards
Gowtham

Similar Messages

  • Universe Design - Linking two columns in a table to a subordinate table

    Post Author: bradwist
    CA Forum: Semantic Layer and Data Connectivity
    I hope this is the right forum to ask a question about Universe Design.  If not, please redirect me.  Thanks.
    I have a question on a universe design that I am trying to implement.  I'll try to simplify to what I really am focusing on here.  I've got a table, PersonRelationship, that defines a relationship between two people (Person1, Person2).  Both Person entities have a set of data that are contained in the PersonTable.  I'm trying to set up a universe design that allows the PersonRelationship table to join to the Person table twice, for Person1 and Person2 (fields are Person1Id and Person2Id respectively).
    (below is a poor attempt to draw the table relationships)
    Person (table)          PersonRelationship (Table)                  OtherData (table)
    PersonId (PK)          RelationshipId (PK)                             OtherDataId (PK)
                   ^----
    Person1Id (FK)
             ^----
    Person2Id (FK)
                                   OtherDataId (FK) -
    ^
    I then would like to build a query in Web-I that allows me to query against certain parameters for both Person1 and Person2.  For instance, I may want information that reflects when Person1 is male and Person2 is female.
    Is there a way to establish this relationship within the universe without having to create two physical tables?
    Thanks.

    Post Author: bradwist
    CA Forum: Semantic Layer and Data Connectivity
    With further information, I believe the answer to this is Aliasing the table.  But when I create and Alias of the person table, it doesn't show up in WebI.  I only see the original.  Not sure what the problem is.

  • Creation of Database View on different tables

    Hi All,
    I want to create a Data base View on 5 Tables(LIKP,EQUI,MARA,QMFE,QMUR).
    My Question is i will create a View without any selections and the View is based on tables Link (Primary&foreign keys) only.
    Once my View is ready i will pull the data from SAP R/3 based on Infopackage selection.
    Is my approach is correct?or i need to mention any thing while creating the View itself?
    Waiting for reply and your points are assured.
    Regards,
    Madhu Ponnada

    Hi Madhu,
    Table Maintanance Generator are used to view ,modifi tables,Insert table values.
    T-code:-SM30 Maintain tabel views .
    SE54 Generate Table Maintenance Dialog: Initial table/View Screen .
    SE55 Generate Table Maintenance Dialog: generation Environment .
    Steps-to-create-Table Maintanance Generator
    -->Create view in SE11
    -->Goto transcation SE11 ABAP Dictionary
    -->Select View and type in the name of the view you want to create.
    -->Press the Create button
    -->In the dialog box that appears, choose Maintenance View
    -->Select tables and fields for the view
    -->Activate the view
    OR
    -->Create view in SE11
    -->Goto transcation SE11 ABAP Dictionary
    -->enter table name
    -->go to Utilities
    -->select table maintainance Genarator
    -->Enter single step
    --> enter Function Group or same table name (all the code for Table mainaitenace is stored here)
    -->eneter single step
    -->enter Authorization gorup(we can restrict some user,s not tot update data)
    Activate..
    Plz chk the below links.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a3/5a693c114bf147e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/35c83ecedc636be10000000a114084/content.htm
    Reagrds,
    Prabhudas

  • Add table list does not show database view in Configuration Manager

    Hi,
    I am trying to add a database view in the table tab of the configuration manager. The view does not show up in the list of available tables in WCM 11.1.1.6 version. This is possible in the 11.1.1.4 version. Anyone else facing this issue?
    Thanks
    Soumya

    I think what is being asked is "How do I expose a database view as a schema table in Configuration Manager?"
    This is accomplished by creating a database view within the WCC database schema (and with the WCC schema user as the view owner). The view then will appear as a table in the "table" tab in Configuration Manager.
    One caveat in 11g is that the user created by RCU does not have any privileges to read/create views in its own schema. You may need to grant privileges to views for the WCC schema user before this will work.

  • Using database views in ADF mobile client application

    Hi,
    I am using Jdeveloper 11.1.1.4 and WLS 10.3.4.
    I have developed a POC in ADF mobile client application both with and without synchronization. However, both work with entity objects based on tables.
    I need to use database views instead of tables. When I try to include entity object (based on views) in the view object, it shows an error saying "Only the entity objects based on tables can be selected"
    Please guide me if there is a work around for this.
    Also, please let me know if there is way to develop an ADF mobile client application skipping the use of entity objects at all and using view objects directly to specify the database query and fetch data from the database.
    Thanks in advance.
    Ansh
    Edited by: ansh on Mar 28, 2011 5:40 AM

    Hi, Ansh:
    Currently, out of box, ADF Mobile Client does not support synchronization against Database Views. This is because Mobile Server imposes some schema restrictions to ensure synchronization with multi-table views would work correctly. This schema restriction requires, for example, the view must have a primary parent table with key defined, and also all base table must be included in the data publication. These dependencies requires manual resolution and advanced planning, and is managed outside of the ADF Mobile Client/JDeveloper project.
    To continue development, you would need to create server Entity Objects directly against the base tables. You can then create the mobile ADF Business Component (EOs, VOs, etc). You can then create View Objects in your ADF Mobile Client application based on the database views, in order to retrieve the data you need exactly. In other words, instead of basing EO on the database view, create View Objects in the mobile applicaiton to mimic what you had in the View Object.
    Is there any other reason why you would need to access data via database views, instead of directly against base tables?
    Thanks,
    Joe Huang

  • Reg: No Data In database view

    I have created a database view with three tables  T001K , TKA02, T001W.
    The view is consistent. But it doesnt return any data. I have checked it that common records exist between these three tables. What else could be the problem ?
    Kindly help.
    Regards,
    Sri

    Hello Ravi ,
    The issue got solved. One of the conditions in the view was to check for null values. Null values seem to be represented in diff ways in diff database versions.
    Thankyou.

  • 'GROUP BY' clause in Database views

    Hi,
    I use SE11 to create database view from a table. I wonder if it is possible to specify a 'GROUP BY' clause? Basically I need a database view that looks like this:-
    SELECT FISCAL_PERIOD, SUM(QUANTITY)
    FROM TABLE A
    GROUP BY FISCAL_PERIOD
    Please help!
    Thanks,
    CH

    Yes. I want to create a view that has values that are already aggregated by a field.
    Example view that i created directly in SQL database:
    CREATE VIEW ABC (F1, SUM_QTY)
    AS SELECT F1, SUM(QTY)
    FROM TABLE1
    GROUP BY F1
    My question is how to achieve the same result using Database view in SAP through transaction SE11 or any others?
    Thanks,
    CH

  • What is the use of Database View, maintenace , projection and Help view

    hello friends,
    I created tables..and set check table relation.
    how to create Database View, maintenace , projection and Help view
    phani

    Hi,
    have a look at this.
    4 type of views
    database
    maintainance
    help
    projection view
    check this link as well
    (https://forums.sdn.sap.com/click.jspa?searchID=9904886&messageID=4885135)
    Database views are implemented with an equivalent view on the database.
    Projection views are used to hide fields of a table (only projection).
    Database views should be created if want to select logically connected data from different tables simultaneously.
    Database views implement an inner join.
    Application programs can access the data of a database view using the database interface. (Just as we write select queries on database tables, we can write them for views as well.)
    Includes in Database Views
    An entire table can be included in a database view. In this case all the fields of the included table will become fields of the view (whereby you can explicitly exclude certain fields).
    To include one of the tables in the view, enter character * in field View field, the name of the table to be included in field Table and character * again in field Field name on the View fields tab page of the maintenance screen of the view.
    You can also exclude individual fields of an included table. If you do not want to include a field of the included table in the view, enter - in field View field, the name of the included table in field Table and the name of the field to be excluded in field Field name.
    Inserts with Database Views
    If a database view contains only one single table, data can be inserted in this table with the view .
    You have the following options for the contents of the table fields not contained in the view:
    If the field is defined on the database with NOT NULL as initial value, the field is filled with the corresponding initial value.
    If the field is defined on the database as NOT NULL without initial value, an insert is not possible. This results in a database error.
    If the field is not defined on the database as NOT NULL, there will be a NULL value in this field.
    A maintenance view permits you to maintain the data of an application object together.
    The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    Read only: Data can only be read through the view.
    Read, change, delete, insert: Data of the tables contained in the view can be
    changed, deleted, and inserted through the view.
    Read and change: Existing view entries can be changed. However, records
    cannot be deleted or inserted.
    Read and change (time-dependent views): Only entries whose non-time
    dependent part of the key is the same as that of existing entries may be
    inserted.
    Maintenance View ( SE54 )
    You can use a maintenance view to maintain data, which is distributed over several tables, at the same time.
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Creating maintenance View:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecdf446011d189700000e8322d00/frameset.htm
    regards,
    vipul

  • BOXI3.0 Universe Design using view or query in SQL

    Hi. Alias here.
    I would like to know what are the effect to the BOXI3.0 or SQL performance if:
    1. We are using view or query in creating the universe?
    2. Is it the correct way of creating the universe only from tables?
    3. If need to do combination between tables and views?
    Hope you all can reply to this matter.
    Regards,
    Alias

    Hi Alias,
    Designer has the capability to import tables and views you cna use in the design of the universe. Furthermore, you can also create a derived table in the universe - in simple terms it is much like a view, but the code is in the universe availble to the universe designer.
    With all this available to you, it is pretty much up to you how you want to tackle the design. I would say first prise is using the physical tables in the databse, then move to using a view and if there are certain restrictions on the designer, use the derived tables.
    Remeber this, at the end of the day, any SQL code generated or used is passed down to the database to be processed, may it be the query from the universe directly on the tables or by means of the views or derived tables - the database server will need to crunch through it all - and this is what will determine your performance.
    Regards
    Jacques

  • Problem with WebIntelligence and Universe Designer Derived Table

    Hi people, i have an issue with a report in WebIntelligence that i want to build. Here it goes:
    I created a derived table that brings every material that has or not any movement. The thing is that when I build the report using other information like Material Name, for example. The report filters by the coincidence between materials in the derived table and the SAP Standard table. I tried to modify the SQL query but, Oracle does not allow it.
    So here are my questions:
    1)Is any way to do a Left outer join in order to have any single material and do not allow WebIntelligence to do Inline views?
    2)Do i have to modify the derived table? and use the standard tables?
    3)Can i work with a derived table that does not have any join with the standard tables?
    Thanks in advance,
    Reynaldo

    If I understand you correctly, it sounds like you are getting an inner join where you want an outer join? You have several options:
    1. You can do an outer join in the universe, or even embedded in your derived table (if that is what you are trying to do)
    2. You can have a derived table that is not joined with any other tables in the Universe. But you will have to merge the dimensions in the Webi report, and then be sure to put the correct dimension(s) on the report in order to reflect the outer join you want.
    I hope that helps.

  • Progammatic update a table with a database view  in the page

    Hi All,
    I am using JDev 11g. With FOD database schema, I have one database view Products which comes from two tables Products_Base and Product_Transactions. I created three EOs (ProductEO, ProductsBaseEO, ProductTransactionsEO) and three VOs (ProductVO, ProductsBaseVO, ProductTransactionsVO) based on their EOs respectively.
    Here is my scenario. I have an ADF form which is based on the database view Products and is dragged and dropped from Data Controls->ProductVO. When an existing record is submitted, a backing bean method will be called to update the data against the table Products_Base (and the table Product_Transactions at the same time) programmatically. An update method updateProductPrice() is added into the Application Module and published it to UI Client. The submit button in the page is created by directly dragging and dropping Data Controls->updateProductPrice into the page. When I run it, I got the following error message,
    Failed to post data to database during "Update": SQL Statement "UPDATE PRODUCTS ProductEO SET COST_PRICE=:1 WHERE PRODUCT_ID=:2".
    What I don't understand here is that, in my update method updateProductPrice(), it supposes to update the table Products_Base. But from the error, it appears that it is trying to update the view Products. Can anyone give me a help on what I did wrong here? When I try to debug it, it throws an exception to this line in the method updateProductPrice(),
    getDBTransaction().commit();
    Here are my codes,
    The method which got called in the backing bean
    public String cb6_action() {
    DCBindingContainer bc = (DCBindingContainer)getBindings();
    FacesCtrlAttrsBinding ProductId = (FacesCtrlAttrsBinding)bc.get("ProductId");
    FacesCtrlAttrsBinding CostPrice = (FacesCtrlAttrsBinding)bc.get("CostPrice");
    JUCtrlActionBinding action =
    (JUCtrlActionBinding)bc.findCtrlBinding("updateProductPrice");
    DCDataControl dc = action.getDataControl();
    ApplicationModule am = (ApplicationModule)dc.getDataProvider();
    AppModule service = (AppModule)am;
    service.updateProductPrice(new Long(ProductId.toString()), CostPrice.toString());
    return null;
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    The update method defined in the Application module (AppModuleImpl.java)
    public void updateProductPrice(long productId, String costPrice) {
    ProductsBaseEOImpl product = retrieveProductById(productId);
    if (product != null) {
    try {
    product.setCostPrice(new Number(costPrice));
    getDBTransaction().commit();
    catch (JboException ex) {
    getDBTransaction().rollback();
    throw ex;
    catch (SQLException ex1) {
    getDBTransaction().rollback();
    private ProductsBaseEOImpl retrieveProductById(long productId) {
    EntityDefImpl productDef = ProductsBaseEOImpl.getDefinitionObject();
    Key productKey = ProductsBaseEOImpl.createPrimaryKey(new DBSequence(productId));
    return (ProductsBaseEOImpl)productDef.findByPrimaryKey(getDBTransaction(),productKey);
    Edited by: john wang on Oct 27, 2009 7:14 AM

    or
    merge into test
    using (select rowid rid
                , id
                , sub_id
                , startdate
                , lead (startdate) over (order by id, sub_id) - 1 ed
           from test) x
    on (x.rid = test.rowid)
    when matched then
       update set end_date = x.ed
    ;

  • Error Expanding Database Node :  ORA-00942 table or view does not exist

    I just installed the ODT for Visual Studio.NET. It installed fine and I can connect to my databases. However, I am having trouble expanding adatabase node to see all of its object nodes (tables, views, ...). I get the ORA-00942 error when connecting with a user id and password used by an application. If I use my personall user id an password, I can expand the database node. What table or view is it looking for that it cannot find? Is this something that our DBA has prevented? Any ideas would be appreciated.

    Only guessing, but I wouldn't expect an application id to have anything like the same rights as a normal id. I wouldn't expect it to have any rights to tables, just to stored procedures and/or views, but this would be up to the standards in your organisation. This will be something the DBA has done, probably granting the absolute minimum of rights to the application id. It might be looking for one of the system views, so if there's an option to ignore system objects try setting it.

  • How to get the list of database Views modifying the DB tools list tables.vi

    Hi,
    I have a problem, I just started using LabVIEW and in particular the LabVIEW connectivity toolkit and I am lookig fgor suggestion regarding how to get the list of database Views modifying the DB tools list tables.vi...
    Thanks in advance,
    Michela

    Hi Michela,
    since the VI you want to modify is part of a Toolkit, I suggest you to copy the whole block diagram in a new VI and then save it in a new location.
    Place the DB List Tables.vi on a block diagram, double click on it and go to the tab "Window -> Show Block Diagram "
    Select "Edit -> Select All" to select the whole block diagram and select "Edit -> Copy"
    Open a new VI and select "Edit -> Paste"
    Save the new VI
    In this way you can modify everything you want without overwriting the Toolkits VIs.
    Hope this can help.
    Regards, 
    Andrea N.
    Systems Engineer ATE & RF - Mediterranean Region
    National Instruments Italy

  • Error when setting up connection from Universe Designer to Oracle database

    Hello,
    I am attempting to create a connection to an Oracle 10 database in Universe Designer.  I am currently running Business Objects XI 3.1 SP3 on a 32 bit machine.  I have the Oracle client installed.  In Universe Designer when I attempt to create a new connection using the Oracle 10 client I receive the following error.
    CS:DBDriver failed to load : C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll (The specified module could not be found.)
    The dbd_oci.dll file does exist in the directory listed above.  Has anyone encountered this issue?
    Thanks in advance.
    Brock

    Hello Brock,
              Do you have multiple SQL clients installed on your system? If so, uninstall the previous versions. Check if the PATH variable is set to correct bin path and then try testing it again.
    Regards,
    Sanjay

  • Memory leak pulling in data from database view or database table

    Post Author: Thang Nguyen
    CA Forum: Data Integration
    Hi,
    I'm experiencing memory leaks when using DI to load from a database view or table. I have seen the issue on 11.7.2.0 and 11.7.2.2 and was wondering if anyone else has seen it.
    You can see the row count in the monitor tab going up, but with every 1000 rows it pulls in the al_engine process consumes more and more memory until it gets to 2GB and crashes with an unknown error.
    Simlir behaviour is seen in the validation transform when doing and "IN" to another table, and with table comparisons.
    I've got a webex with support tomorrow as they don't seem to belive that this happening and just want to get a heads up if anyone else was seeing this problem.
    Thanks

    Post Author: tambol
    CA Forum: Data Integration
    HI,
    i am experiencing similar error : 
    Unknown error in transform <AIView4>.
    i am using older version of BO. how could i possibly fix this without upgrading to newest version?
    please don't be too techincal when explaining...new here
    thanks a lot!

Maybe you are looking for

  • Saved movie trailers crash iTunes 11.1.1.11

    iTunes 11.1.1.11 on my ThinkPad X230 with Win7 64bit crashes. I can click and watch a movie trailer in iTunes fine, but the same trailer downloaded and saved will crash iTunes if I click on the saved trailer. If I try to just play the saved trailer w

  • Download of 1 particular Podcast freezes when xfr to IPOD -Apple Logo shows

    Since I've upgraded to 7.0, my downloads of Coast to Coast am podcasts will not play on my IPOD. They play perfecly fine in ITunes on my laptop. But, after I transfer them to the IPOD they show up however when I hit play the IPOD Apple logo comes on

  • HP1200 Laserjet Driver not installing on Win 8.1

    I'm trying to connect and install an HP 1200 printer to my Pavillion 500-118, which I have recently upgraded to Win 8.1. The HP Support site shows a driver for Win 8 and 8.1 (USB), but after I download the .msi file nothing happens. Not clear what I

  • Exchange Connector 3.0 status Never Run

    Hi, I've setup lab enviroment of SCSM 2012 SP1 following the instructions: http://technet.microsoft.com/en-us/library/hh914226.aspx Everything works fine with an exception of Exchange Connector. It is stuck in status: Never Run I was able to configur

  • Zen Touch FM radio..hel

    well i just got a zen touch for xmas, and on the box it says fm radio available separetly. how do i get the fm radio to work.. do i have to pay for it's sumone plz help me figure it out..lol i really want radio on my creative. dat was the main reason