universes and general

of 22/22
1. How would you improve the performance of the reports. Performance of the reports starts with analyzing the problem. The problem could be with database, Universe or the report itself Analyzing the database -Run the SQL from the report on an oracle client like SQL Navigator or toad after passing in all the parameters. -Identify if the SQL takes considerable less time than the report. If yes then the problem is with the Universe or with the report if no then -Run an explain plan on the SQL -Look to see if all the statistics are computed, indexes are built and the indexes are used -Check to see if aggregate tables can be used ( Aggregate tables are useful if the data can be concised to 1/10th of fact data) -Check to see if data has increased and usage of materialized views could help. oCreating materialized views enable to pre -run the complex joins and store the data. oMost of the DW environment has a day old data hence they don’t have lot of overhead. oRunning a report against a single materialized table is always faster then running against multiple tables with complex joins. oIndexes can be created on this materialized view to further increase the performance. -Check to see if the performance of the SQL can be increased by using hints ,if yes then add a hint to the report SQL and freeze the SQL, this might have an additional overhead of maintaining the report Analyzing the Universe - Check is all the outer joins are properly created and remove unnecessary outer join - Business Objects as such do not use Multi Pass SQL , Multi pass SQL is a technique a software use to break down a complex SQL into multiple smaller SQLs. Hence a query using one fact table and three dimension tables can be broken down into two, one between the dimension tables and the second between the first result and the fact table. This can be achieved in BO by creating Derived Tables. The derived table would be based on three dimension tables and the reports hence can use one derived table and one fact table instead of four tables. - The Keys tab allows you to define index awareness for an object. Index awareness is the ability to take advantage of the indexes on key columns to speed data retrieval.

Post on 18-Dec-2015

213 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

UNIVERSE DESIGN

TRANSCRIPT

1. How would you improve the performance of the reports.

Performance of the reports starts with analyzing the problem.The problem could be with database, Universe or the report itself

Analyzing the database-Run the SQL from the report on an oracle client like SQL Navigator or toad after passing in all the parameters.-Identify if the SQL takes considerable less time than the report. If yes then the problem is with the Universe or with the report if no then-Run an explain plan on the SQL-Look to see if all the statistics are computed, indexes are built and the indexes are used-Check to see if aggregate tables can be used ( Aggregate tables are useful if the data can be concised to 1/10th of fact data)-Check to see if data has increased and usage of materialized views could help.

oCreating materialized views enable to pre -run the complex joins and store the data.oMost of the DW environment has a day old data hence they dont have lot of overhead.oRunning a report against a single materialized table is always faster then running against multiple tables with complex joins.oIndexes can be created on this materialized view to further increase the performance.-Check to see if the performance of the SQL can be increased by using hints ,if yes then add a hint to the report SQL and freeze the SQL, this might have an additional overhead of maintaining the report

Analyzing the Universe

- Check is all the outer joins are properly created and remove unnecessary outer join

- Business Objects as such do not use Multi Pass SQL , Multi pass SQL is a technique a software use to break down a complex SQL into multiple smaller SQLs. Hence a query using one fact table and three dimension tables can be broken down into two, one between the dimension tables and the second between the first result and the fact table. This can be achieved in BO by creating Derived Tables. The derived table would be based on three dimension tables and the reports hence can use one derived table and one fact table instead of four tables.

- The Keys tab allows you to define index awareness for an object. Index awareness is the ability to take advantage of the indexes on key columns to speed data retrieval.

o In a typical data warehousing environment surrogate keys are used as primary keys instead of natural keys , this primary key may not be meaningful to the end user but Designer can take advantage of the indexes on key columns to speed data retrieval.o The only disadvantage is it would not return duplicate data unless the duplicate data has separate keys

- Check to see if the size of the universe has increased recently

oTry to create a different universe for new requirementsoUnder extreme conditions the AUTOPARSE parameter in the param file can be turned off, this could be too risky if not handled properly.

Analyzing the Report-Check to see if there are any conditions which could be pushed into universe as Filters-Check to see if a formula has multiple usage ,turn this to a variable-Check if there are any variables which are not used, remove them.-Remove any additional filters or alerters on the report.

3. Complex ReportsTV BOM is a complex report with lots of alerters, filters where the user wants to see both filtered and unfiltered grand totals

4. Difference between filters and Condition and which is betterFilters are conditions designed at Universe level and Conditions are defined at Report level.Filters are better since it filters the data at database level making the report to run fast.

5. Difference between Formula and a variable and their advantagesWhen a formula is assigned a name it becomes a variable. Formulas should always be converted to variables if they are used more than once in a report

6. Can u use multiple database in a universeNo We cannot use multiple data providers in a universe .

7. What are shortcut joinsA shortcut join is a join that provides an alternative path between two tables. Shortcut joins improve the performance of a query by not taking into account intermediate tables, and so shortening a normally longer join path.

8. How do u migrate/promote universe and reports from dev to test environmentsBusiness Objects as such does not have any tool for version controlling, hence a detailed document is maintained about the changes done in each release.QMF is a tool used for version controlled promotions. It has its own repository, before promoting the new universe/report it backs up the old one in the repository9. Problems from migrating from 5x to 6x

10. How do you restrict data based on user profilesRow Level security in Supervisor can be used to restrict data.

11. What are fan traps and Chasm trapsMany to one joins from two fact tables converge on a single lookup table. This type of join convergence can lead to a join path problem called a chasm trap.

A one to many join links a table which is in turn linked by a one to many join. This type of fanning out of one to many joins can lead to a join path problem called a fan trap.

12. Ways to solve these trapsThese traps can be solved by applying contexts and using aliases. Aliases are better than contexts because contexts lays open the database structure to the end user.

1. What is the dense rank?2. How to create hierarchies in BO?3. What is meant by Object Stores?4. How to schedule the report in B.O?5. What is a Data Cube? What is its use?6. What is a fantrap in Business Objects?7. How do you specify external strategies?8. What are the different types of Strategies?9. How to generate the report from excel sheet?10. What are the visualization options available?11. What are Dimension-Measure-Detail Objects?12. What are the user requirements in a universe?13. How can we do load testing for Webi Reports?14. How many ways we test the universe & Report?15. What are the general issues in migration process?16. Which versions are used in the BO dashboard work?17. What is the information contained in the universe file?18. When to use local filter and when to use global Filter?19. What is Nested prompt and how to create this prompt?20. When we use aggergate awarness function in designer?21. What is the difference between BoXIR2 and BOXIR3?22. What is the difference between the class and an object?23. What is the difference between User and versatile user?24. What is the difference between master-detail and break?25. How to select different data providers in business objects?26. How does the use of Aggregate tables improve performance?27. What is the difference between detect alias and detect context?28. What would you consider as your biggest achievement and why?29. What is the difference between slice and dice and cross tab report?30. What are the different times at which port binding can be specified?31. What are the ways in which you can check the integrity and reports?32. Is there any default username & pwd for BO designer & supervisor?33. Is there any way to limit access to specific rows of a table in Oracle DB?34. What is difference between custom hierarchy and report based heirarchy?35. What are the types of connections we use when connecting to the database?36. How can use the entities from two different objects to perform a single query?37. Can you please clarify the difference between compatible and incompatible objects?38. What is property promotion and how does it help in management oriented deployment?39. How do we test the reports in the business objects? How to create the tabs in the reports?40. Are Data mart and DWH normalized or denormalised? Do both of them exist in the same tier?

41. In the BO universe, how to link two universe, like i have one universe in sales.uni and another is marketing.uni

In BO Designer, from File Menu -> Parameters -> Links tab on Universe Parameters box. Click Add link to linkthe universe. The linking universe should be exported andimportedfrom repository before linking.

42. How to select different data providers inbusiness objects?Answers:Once you have your report generated, right click inthe leftwindow(yourvariables) click on "New Data Provider" follow the wizard. & you are done.

If trying to usediff. data provider for different reports, after creating 1 report, right click on the Report1 tab located at the bottom, click insert new then the procedure is same to add data provider.

43. How to execute the plsql procedure from the report by clicking with mouseAnswers:We can select either tables or procedures or views as our data to generate our reports.In the designer in bo's we can select tab "insert" n select the particular data source forgeneratingthe report through mouse click.

44.What is a derived table in datawarehousing?it is similar to views,it is mainly used to restrict the datas45. How to generate the report from excel sheet?Answers:Start BO,

Select "Others" on Data Providers wizard page,

fromdrop down menu, select "ersonaldata files",

specify file location & check the box "First Row contains Column names" this will help you in creating Objects.

click Ok.

Start building your reports.......

46. How many universes can be created in a projectAnswers:We can create anynumberof universe, but at a time we can open only one universe, generallynumberof universes should be equal tonumberof sub-domains.

47. How toschedulethe report in B.O?Answers:We canschedulethe reportsthrough broadcast agent.48. What is report template in B.O?Answers:Report Template is a specimen for your future reports.What is report template in B.O?Answers:Report Template is a specimen for your future reports.

You create a report fromscratch, say make it Master-Detail Report with charts, putyour companylogo, add some default colors(something like same colorsyour companyuses for its documents, webpages etc.) & then save it as BO Report Template file.

Next time when you are creating new reports, & select use Templates option, your report saved as template will be listed in the box. If you select it, your new report will automatically use all color formats, & table-chart structures, logo....whatever you used in your template report file.

Advantage : 1 time devaelopment of display & structure format, for multiple reports use. i.e. Time Saving. No need of formatting for all standard reports.

49. What is drill filter and it's usage ? How many types offiltersare there ?Answers:Three types ofdrillis in BO.1.drillup,2.drilldown,3.drillthro'.

drillup means second->minutes->hour->->day

drilldown means region->country->state->district

drillthro'--wht ever u want that element

Answers:Report Template is a specimen for your future reports.

You create a report fromscratch, say make it Master-Detail Report with charts, putyour companylogo, add some default colors(something like same colorsyour companyuses for its documents, webpages etc.) & then save it as BO Report Template file.

Next time when you are creating new reports, & select use Templates option, your report saved as template will be listed in the box. If you select it, your new report will automatically use all color formats, & table-chart structures, logo....whatever you used in your template report file.

Advantage : 1 time devaelopment of display & structure format, for multiple reports use. i.e. Time Saving. No need of formatting for all standard reports.

Answers:Report Template is a specimen for your future reports.

You create a report fromscratch, say make it Master-Detail Report with charts, putyour companylogo, add some default colors(something like same colorsyour companyuses for its documents, webpages etc.) & then save it as BO Report Template file.

Next time when you are creating new reports, & select use Templates option, your report saved as template will be listed in the box. If you select it, your new report will automatically use all color formats, & table-chart structures, logo....whatever you used in your template report file.

Advantage : 1 time devaelopment of display & structure format, for multiple reports use. i.e. Time Saving. No need of formatting for all standard reports.

50. what is fantrap?Actually FAN TRAP is aproblemthat occurs in Universe Level. Loop occurs while we designthe universe.

Two Types of LoopProblem:

1) FANTRAPPROBLEMsolved byALIASMETHOD:

Definition: Two One-to-many table link eachother is in turn linked another one-to-many table.

2) CHASM TRAPPROBLEMsolved by CONTEXT METHOD:

Definition: Two Many-to-one table converges on onesinglelookup table.

Loop can bedetectedwhile INTEGRITY CHECK is done. An option is there as "Check for LOOPS" available. By "Detect Loop" we can choose what to be applied for solving the loop.FanTrap: resolved byalias. Two one-to-many joined table linked each other and in turn linked to one-to-many tableObject store is nothing butthe containerof object which is created after rpt file run once.

Questions?solve the following loops? dimension table fact table fact table dimension table link will be there between tables?HOW DO YOU FIND WHAT TYPE OF TRAP IS THERE BY SEEING THE REPORT?HOW TO PUBLISH A REPORT IN BO?what is the new tool introduce in BOXI r3 compare with boxi r2, can any one tell and what is the differences between boxir3 and boxi4.0 thanx in advanceCan some one say abt "ALL" in prompt .. How to get the word "ALL" in the prompt along with the list of values? Plz give me the steps?Can some one explain in detail about the following: What are Traps? How to recognize the Traps? How to solve them?What is the architecture of ur project? can u explain it? PLz

What is the BO project Architecture? Explain in detail? Thanks in advance for ur answers?

Hi ,how many shortcut joins used in a single universe?

If 2 tables are joined by Shortcut join, if query is generated based these join, what will be the join type and what will be the generated query? Thanks in advance?

please anyone explain the equi join,outer joi(right outer join and left outer join),theta join and self join with database tables.

please differentiate star schema and snow fleak schema with dimension table, how end user is depending on them in creating reports.normally we get many contexts when resolving loops or traps,how do u take them to reports.

What are the Input and Output Context Operators.How to display the top 5 records along with the additional records,plus their sub and grand totals to be display in the same block.

Can someone please give some information on REPORT BURSTING and how to do it in BCA as i have to split the report and send diff reports to diff people

Answers:If some part of the data in your report is sensative, you can't risk sending the whole report to everybody, even to those who need to see the least sensative part of report !

Solution is Report Bursting.

You can send reports to BCA for scheduled processing & distribution to users based on THEIR profiles (profile = user rights) & not based on your profile !

BO 5 & WebI 2.5 procedure to do this :

Open the document, click "Send to BroadCast Agent" on Doc Exchange toolbar.In Actions tab select "Refresh withthe Profileof Each Recipient"In the Distributions tab select "Distribute via theBusiness ObjectsRepository. (only option to enable you for Report Bursting)click To, select recipients,Scheduleit & OK.In WebI 2.5...........

in Refresh options Select Scheduled Refresh & click send

on Scheduling Options, Set "Refresh According tothe profileof each recipient" to Yes & OK.

Currently I am sending the report to users in excel format,if there is no data also the report will be sent,Is there any option in BO to stop report from being sent if there is no data in the report?

Answers:The timeintervalwill be fixed for sending the report If you aregeneratingor not a default report will be sent regularly, to stop sending you have to condact your admin

Which versions are used in the BO dashboard work?

Answers:Bo XI R2

What is report template in B.O?

Answers:Report Template is a specimen for your future reports.

You create a report fromscratch, say make it Master-Detail Report with charts, putyour companylogo, add some default colors(something like same colorsyour companyuses for its documents, webpages etc.) & then save it as BO Report Template file.

Next time when you are creating new reports, & select use Templates option, your report saved as template will be listed in the box. If you select it, your new report will automatically use all color formats, & table-chart structures, logo....whatever you used in your template report file.

Advantage : 1 time devaelopment of display & structure format, for multiple reports use. i.e. Time Saving. No need of formatting for all standard reports.

is there any other repository domains rather than universe,security,doccument?

Answers:No there are only 3 repository domains for BO 6.5 i.e universe, security and document.

clearly explain the difference between union and group

Answers:

The difference between union and group is as follows:

take two tables t1 and t2.

in t1 we have columnss like a,b,c,d. and t2 has a,d,e,f.

so union means t1 union t2 i.e getting result from both tables i.e a,b,c,d,e.,f

where as group performs on a indiviual column in a particulartable.

Can someone please let me know the things we can do in WEBi and cannot do it in FULL CLIENT and vice versa for BO6.5

Answers:1) we can createedit Universe in the full client but not in WebI2)WebI has comparatively less functions to use than in Full client

3) In Full Client we can write macrosaddins but i am not sure whether we can do the same in WebI or not.

The main difference between fullclient and webi is in webi only universe can be used as source,whereas in fullclient we canfreehandsql,stored procedures and xml dataproviders as source.

What if a cartesian product pop up block appears when running a report. Does it give wrong values? How to solve this issue?Answers:Cartesianproduct is getting incorrect results.

for instance if we have achamtrap or a fan trap n we din't solve them after checking the integrity also we getduplicateresults of the same record ie nothing butcartesianproduct.

ex:-

we have customer,orders,loans classes

ordersfor one product if the product_price is 150$ it will appear twice in the report due to traps bcoz of thecartesianproduct thats why to solve thechamtrap we create context and in order to solve fan trap we createaliastable.

Kindly numberWhat are the steps to be taken to schedule the report?

Answers:As far as i know weschedulethe reportsthrough broadcast agent.

What is top business?

Answers:to get good name ,famen earn well amt is top business.

How to execute the plsql procedure from the report by clicking with mouseAnswers:We can select either tables or procedures or views as our data to generate our reports.In the designer in bo's we can select tab "insert" n select the particular data source forgeneratingthe report throughmouseclick.

What is a derived table in data warehousing?Answers:

it is similar to views,it is mainly used to restrict the datas

I have three predefined prompts.In a report it will come randomly.How they will come in a specified format?

Answers:The Prompts will appear in thealphabetical order.

To make them appear in the order of our requirement, need to prefix a numerical with the prompt

We can do this in two ways...

1.Add thenumberin the first parameter of the given prompt according to the user requirement order or2.You can do it byalphabetical ordergiving alphabets in the place ofnumbers.

We can do this inthree ways1.alphabetical order-prompts will appear inalphabetical order2.numeric order-prefixnumberand they will appear in numeric order3.date order-prompts will appear date wiseit depends on the type we choose in prompt syntax

What three things do you consider to be the most important factors for a manager?

Answers:1. Motivation factor2. Team leader quality3. Risk handler

Product date sales p1 20/Jan/1999 100 p1 20/Feb/1999 200 p1 20/apl/1999 100 p1 20/DEC/1999 50 p1 20/Jan/2000 100 p1 20/mar/2000 500 now i want query like product ,sum of actual year ,sum of business year p1 450 750 here actual year means 1 Jan 1999 to 31 st Jan 1999 business year means 1 st APR 1999 to 31 st mar 200

Answers:Guess you can try this

(select product,sales S_A_Y from info where date >= 1 st Jan 1999 & date == 1 st Apr 1999 & date =