Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Avoid Many to Many Join in Universe

Status
Not open for further replies.

vemu

Technical User
Dec 21, 2005
2
US
I have to bring data from more than 3 fact tables to show in a report, so my universe is having many to many join between the fact tables.

The problem here is when we send the query to the database it is getting more than a billion records and the query is not returning back.

Is there a way to avoid many to many join in the universe? like having a bridge tables in between the facts.

Any help on this is greatly appreciated
 
I don't use Universes, tending to avoid all proprietary data source layers.

If the data is from 3 fact tables, consider creating a UNION ALL query along these lines:

select 'fact1' datasource, value from table1
UNION ALL
select 'fact2' datasource, value from table2
UNION ALL
select 'fact3' datasource, value from table3

Joining is likely creating row inflation.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top