Which is better: view or custom folder

Hi all
I work in Discoverer 10 g 2 and 10 gr 2 Oracle database.
I developed a few business sectors and handed over to the company and the system works well.
Now business wants a link or a feature that requires to connect 5 existing folders and this link will appear on the screen 7 items these records.
As it is a complex join, I think to provide a custom folder with all elements of reaquired (which exist in those folders) in the tables that connects all these tables in a view.
There are two ways to do:
One, create a view in the database and map a simple folder to it.
Two, create a cutom folder with the same query.
I was wondering if a method is preferable on other maintenace point of view or any other consideration.
There are no restrictions in our society to create new views. If I create a view, I grant all users the right to select on that. In the custom folder I need not to worry about privileges.
I was reading another thread last: migrate folders customized views of the database which, in my view, that view is a better option.

Please suggest.

Thank you

Published by: amar Sep 14, 2009 08:26

Hello

If you are able to create views this option is always better for complex joins. Dependencies are managed in the database and complex queries are stored in the database to which they belong.

You don't need to select all your users privileges, because you should use database roles. You just need to grant the role of discoverer database selection.

Rod West

Tags: Business Intelligence

Similar Questions

  • Custom folder - basic questions

    Hello world

    Hope everything goes well...

    I am aware that one can create a
    Declaration and to use it to create a custom folder of discoverer.

    I was wondering when you tend to go with this approach?

    You do this so that you can-
    (1) avoid complex queries of Discoverer - for example, you want to avoid using too many analytical functions
    in order to prepare the data using SQL?


    (2) create a NEW query to scout out this custom folder
    This technique is so want to do a query on a query

    I would like to create a custom for these 2 reasons folder.

    What are your opinions? TX, sandra

    Hi Sandra,.

    Let's specify the terms:

    Normally, you developed your Select statement that returns the data you need in the discoverer. Now, you have two choices:

    1. send the SQL your administrator to Disco and to allow him to create a custom Discoverer folder, where it uses your SQL directly (copy & paste is discoverer admin)

    2. you can use your Select statement and store it in the database and give it a name. do you it through:
    Create view your_view_name
    as
    Select in...;

    You can use this view as any other table to select:
    Select * from your_view_name;

    And it returns the same results as your first select statement. The advantage is that this view exists as an object in the comic book, means that anyone can use (for example for testing), while you as developer maintain.

    When you have a view, then in the administrator of discoverer rather than create a custom folder you can create a 'normal' folder through "New database folder". Then it will list all your tables and views in the database, if you select your point of view "your_view_name" and it will create a folder for this (each column in the view will get something in the etc folder).

    With regard to performance: you usually can't tell that this or that performs better, because the select statement of the view and in the custom folder may be the same. However if it is in the comic book as a point of view, then the DBA can monitor and optimize the performance of better, since it can be seen as an object.

    Beside that, there are some limitations for select statements that you can use in a custom folder. You don't have these limits in the views of the DB. However, these are fairly complex statements that you maybe do not miss so far...

    Benefits for testing regarding:
    The advantage with a view of DB is: you create a view for your select statement and then you can ask someone else to check if it returns the correct data. They will have to do a:
    Select * from your_view_name where...;

    If something is not correct, you change the view, but you don't need to send them the SQL Mail again... SQLs mail is something I try to avoid, because people always copy & paste errors or e-mail program does stupid things with the code or something else... I prefer to keep the 'application' (statement of code / select source) hidden from the person that tests... they can validate based on the results.

    But I don't want to focus too much on this one, since normally it should test your users in Discoverer, it is that they will use, so they should test here. And here, it doesn't have a difference for the end user you have views or custom folders.

    With regard to the control of Source Code or "Version Control":
    We use CVS or Subversion to store the code of our program. Then all the program code is stored in a version control system, so that you can keep track of the evolution over time, see which version is installed when (we 'labels' with the date of the deployment on the version installed) etc.

    I assume that you store your program code somewhere in a folder, and you are using different folders for different versions or something. It's pretty nasty, CVS or Subversion or systems like this easier ;)

    Regarding the automatic deployment:
    Once we have developed a certain program (statement, package), and it works fine, then store us it as a new version in our CVS (version control). Then we do a UAT (user acceptance testing). IF all goes well and approved for production, so it must be installed on the production server.
    For this, we have a so-called deployment & generation system. We use ANTS to it (comes from the Java community I think).

    What we do when we want to have something installed: we run a script called 'build.sh' with some parameters:
    Build.sh deploy_production mon_project

    This means we want to deploy the program "mon_project" on the production system. the rest is handled by the script:
    1. download the latest version of the program from CVS code
    2. prepare & copy all the files on the production servers
    3. run one or several scripts on the production servers installation install everything (for example it will run our "create view... "script via SQLPlus)."
    4. check if the installation goes very well
    5. put a label/sticker in CVS that this version of the specific program has been installed on the current date on the production system

    You can add things more if you want... of course not everything is automated on our site, for example the discoverer files are always born manually. But it is an action of time. If you make a minor change to the view of DB (not), then you must install the new version of the view only, but nothing should be done in discoverer with the folder.

    Well, I could go on for a long time explain the concept more... But meanwhile, I forgot already what was the initial problem :-D

    Best regards
    David.

  • How can I request the parameters of custom folder to a specific group of records under XP?

    Hello everyone.

    I'm THAT n00b-ish person asking the stupid question. But I can't understand for save the children. So I want to open with 1 million wishlist.

    I'm organizing my files of music inside the folder 'my music '. I am aware that since he is a 'special' folder, I can not customize it at the root.
    SO, I'm trying to customize the folders inside and make sure the radio button for "apply it to all subfolders" is checked. However, the options that I can apply are quite limited (essentially, I have the choice to make all files to display as thumbnails or icons, which isn't exactly the most intuitive way to search for music).
    I went to come a taken ONE of my files and converted to retail and added columns flow, track number, etc. so theoretically, I can fix my list in order: artist, title of song, duration, flow, track number, album, genre, folder

    (It's because I'm always organize a lot of my music as its most often jumbled together from various sources incorrectly appointed or mixed compilations or what have you).

    I tried everything under the Sun to figure out how to make this setting this record, applied to all of the folders inside my music. BUT there seems to be no way to save it as a template or apply it to a group of files (all I see is that I can do EVERY file on my computer that I don't want).

    Any help is very appreciated. Thanks in advance. See you soon.
    * original title - forgive my innanity, how I apply some settings to custom folder as a specific group of folders.*

    Hello

    I suggest to refer to the link below and follow the troubleshooting steps to customize folders.

    How to modify your folder view settings or customize a folder

    http://support.Microsoft.com/kb/812003

  • HP Jet 8: Which is better 10 Windows or Windows 8.1 on 8 HP flow?

    Which is better 10 Windows or Windows 8.1 on 8 HP flow?

    The biggest problem with the tablets of flow and win 10 is battery draining, especially in "standby mode". The only work around is turn off wifi, bluetooth and the location in the settings before you let sleep. Not a very good alternative.

    You can return if you delete the old Windows folder that was created during the upgrade.

    Go to settings > update & Security > Recovery > go back to a previous version of Windows.

    Follow the prompts.

    If you can not go back, and you have not created a recovery image before the upgrade, you will need to contact HP support for recovery media.

    The MS media creation tool that microsoft must create a USB key for 8.1 installation, will work on the flow of a recovery. Unless you buy a new key for this option to work.

  • I added my yahoo email account in Thunderbird and it did not bring a custom folder that I created in Yahoo. How can I move or import these files

    I added my yahoo email account in Thunderbird and it did not bring a custom folder that I created in Yahoo. It was just the default folders: reception, sent and trash box. How can I move or import records custom website E-mail Yahoo in Thunderbird? It's just a free email account Yahoo and it shows as a POP in Thunderbird account.

    You must configure an IMAP account to show custom in TB cases.

    http://KB.mozillazine.org/Yahoo

  • Which is better Air iPad or iPad Pro

    I prefer iPad Air. It is lighter and has a less glossy screen. Overall, it is best to use.

    Depends on what use you? Which is better: a Ferrari or a Honda minivan? A Ferrari is not very good if you try to move 4 kids, 2 dogs, and grandmother...

  • How to customize and difficulty permanently the size (zoom %) web pages in Firefox that Internet Explorer is: view - Zoom - Custom (percentage).

    How do I customize and fix permanently the size of web pages (zoom %) in Firefox than Internet Explorer is:
    View - Zoom - Custom (percentage).

    Thank you

    This can help you.

    https://support.Mozilla.com/en-us/questions/894000

  • Y at - it a command which will lead you to the folder "recent places"?

    Y at - it a command which will lead you to the folder "recent places"?

    Yours Sincerely
    Peter H.

    Hello peterhogler and welcome to the microsoft form

    It is not a keyboard command directly linked during the recent locations, but you can create a

    GoTo start-> type "recent places"-> right click "recent places"-> click 'Properties'-> tab click "shortcut"-> click the instance text box "shortcut key :"-> type 'R' and you'll get a shortcut "ctrl + alt + r" click apply and you'll have a new shortcut.

    Good luck

  • Recover my outlook folders of Windows 7, which disappeared when I empied the folder to delete

    Recover my outlook folders of Windows 7, which disappeared when I empied the folder to delete

    Hi Bawmel,

    I understand that you have emptied the folder delete in outlook and now the records are missing in outlook. If I'm wrong please let me know.

    Answer us with answers to the following questions for you help.

    1. using outlook.com or Microsoft Office Outlook?

    2. What are the contents of the folder delete?

    If you use Microsoft Office Outlook, contact the Microsoft Office team using this link: http://answers.microsoft.com/en-us/office

  • Which is better, migration or clean install?

    Recently, I switched from PC to Mac, and I have a program from my PC (Quick Books) I want to be able to turn on my Mac.  I am considering the merger of 6 to do this, but I have a few questions before I dive.

    1. I have a xp sp2 installation disc.  I read in the documentation of Fusion 6 it supports xp sp3.  Can I create a virtual machine using my drive?  If not, is there a workaround? Yes, I have a certificate of authenticity.

    2. my PC has xp sp3 installed so I guess that I would be able to migrate, but I wish that all the operating system and the QB without all the other applications and files that are installed on the machine.  Is this possible?  And if so, how buggy would?  I'd be better off buying a new copy of windows to

    install?  Which brings me to the question

    3. which is better, migration or clean install?


    Thank you in advance for your help!

    If the copy of Windows XP that you have the certificate of authenticity for is an OEM version supplied with the PC that you are allowed to transfer to another system, physical or vital, because he lives and dies on its original system install on it EULA.

    P2V is an important, and sometimes necessary mechanism however own building will be always relanceraient overall a better Virtual Machine built and less problematic than if you take the time to purge the installation P2V everything that was relevant to the physical system originally installed and even in this case the virtual partition may not be aligned correctly and therefore affect performance significantly.

    In a scenario of such use you mentioned her own building is the absolute path to go and Microsoft Windows SP2 will install successfully even if you may need to download the Windows XP Service Pack 3 Installation Package network for developers and it professionals if you update via Windows Update problems.  (I would download the SP above!)  That said, don't forget that there will be no updates to Windows XP, especially security update, dated April 8, 2014 and in the circumstances I would not of Windows XP in order to have an Internet connectivity than later as Black Hat Hackers will target not doubtably Windows XP for bugs of extra security they can find after Microsoft ceases to support.  I would consider to move to a more recent version of Windows or to abandon Windows altogether!

  • I have an option 47W800 or 46HX850 which is better. My requirement is HD and 3D as well as better pi

    I have an option 47W800 or 46HX850 which is better. My requirement is HD and 3D as well as the best photo quality

    KDL46HX850 was released in March 2012 and for us to offer high quality products and services for 2013 and the forthcoming years Sony have to continually improve the quality of its products. This is the reason why some of Sony products have been replaced by a new line of products with improved features and quality.

    If my post answered your question, please mark it as "accept as a Solution.

  • Custom folder

    I created a custom folder and when I access this folder to create a workbook, I can't choose other folders as all get dimmed or disabled. Can someone tell why this is happening.
    Also, I am not able to see other records from the database that I see when I connect administrator. In Discovere Office I see that custojm records and a few other issues irrelevant, how can I see some of the other databases of records, please notify

    Thank you

    Hello

    I notice that even though I have some common columns between two custom folders, other custom file is not anbaled when I select one.

    Common columns are insufficient, you must create a join in the EULS that connects these elements in 2 files.

    Also for database records if there is joined column then also other folders are disabled after selecting one of the folder. I'm doing something worng?

    Only records that have a join to all the folders that you have selected in your worksheet is activated. If you have a file attached to B to C, and you select an element of A, then you will need to select an element in B to activate the C folder.

    Rod West

  • Event Viewer displays customized with source Wininit

    Hello Microsoft experts.

    After trying to create a view custom in the event viewer, one with the 'Wininit' source, in order to capture all the events, I noticed that even though the view is created successfully, it brings no results (i.e. empty) (Windows 7 64 bit with SP1 operating system). Think that the application log is not registration events Wininit, I tried to add a custom filter in the category 'Application' of events with the source "Wininit. The latter brings multiple results (mainly information and one caveat, I think)). If the events with the "Wininit" source are recorded in the category 'Application '.
    How do you think should I proceed in the future, in order to troubleshoot further? I checked the filesystem with sfc/scannow nothing helps. Also I discovered that when I change the view custom to another source, for example 'Winlogon', the results appear under the view, with the selected source - 'Winlogon' now, to make it work as it should.
    Finally and most importantly, I navigated to my registry key (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\Wininit) and saw the differences between the two (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\Wininit, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\Winlogon) without any ideas on how to proceed.
    I assumed that it could be a matter of rights. So, I checked the security under the branches of two registry settings, and they are the same.
    Now I'm out of ideas, and internet research helps not at all.
    Please indicate something, because reinstalling Windows is not an option. Also, I checked this custom view (with source Wininit) in Windows 7 PCs of others (friends), and it works perfectly. What is the possible problem in my case?
    Thanks in advance.

    Hello

    I would recommend you to view the query on the TechNet Forum which, I am sure, will help you better.

    You can check the link to the request message:

    http://social.technet.Microsoft.com/forums/en/category/w7itpro

    Do not hesitate to write us if you have any other questions.

  • Type of view track customer?

    I'm looking to start collecting usage statistics in our view... environment in particular, I am interested what kind of client a user uses to connect to a virtual desktop.  We have a number of PCoIP thin clients set up in the library in our University, and I want to be able to see how many logons occurred on these devices rather than to use how the view Client for Windows, iPad, Mac, etc.  I know that the database of the event following the assignments of connections and desktop, but is possible to collect this type of customer data?

    I would also eventually be able to track this PCoIP device a user performed during a session of some... this type of data often comes in handy when you're trying to solve customer problems and could help us to determine which areas of our facilities are used by most of the students.

    Thanks in advance!

    Jamie

    If you query the field Environment\ViewClient_Type of the HKCU\Volatile he can give you the information you need.

  • Recovery of the records by using the Ref Cursor or indexes per Table (which is better)

    Hi all

    I am interested to know if there is a performance (or other) advantages to return a result set from an Oracle stored procedure for a client application (for example, in Java) by using a Ref Cursor or Index by Table, respectively. Most of the people I met who know Java seem to use a Ref Cursor but did not say why this method is preferable. I'm not too familiar with Java and do not have the opportunity to test the difference between either method, but I am very interested in the other user forum about this view, gauging

    Kind regards

    Kevin.

    KevinFitz wrote:
    Hi zerathul,

    Thanks for the quick and helpful response. A REF CURSOR would be the best solution if the same set of results (content and number of records returned) should be dealt with by the application of the 'customer '. I'm guessing that maybe in this situation 'theoretical' that there might be less network traffic to return the set of results through an associative array,

    Kind regards

    Kevin.

    Yes, it would always be the best solution, because an associative array would mean collecting all the data in memory of expensive PGA on the database server before they pass any return on the network, while a fair Ref cursor is to feed the data over the network (maybe a little extra load, but you were unlikely to notice). Also the client application would treat a ref as of rows returned cursor data recovery and could treat them upon their arrival, an associative array is a collection of data which will then be entirely spent before any treatment could be done and then the treatment should go through the entire table to do.

    REF CURSOR will also provide other information such as the error codes etc regarding SQL if necessary. If you get an error when filling a table on the side of the database, it is not so easy to recover this error to the client.

    REF CURSOR is designed for this purpose. Use them.

Maybe you are looking for