Hi,
I'm using CR XI and deploying reports to an XI server. The database I use is Teradata.
I've created a main report that uses a view from Teradata database A and a view from Teradata database B.
The views on both systems are identical. I'm just doing this as a first time test of using multiple data sources
For reasons unkonwn to me when I connected to Database A I wasn't able to see the account view that I have access to so I used Add Command to get the data. Then I connected to Database B (where I can see the account view). I used the Database Expert links tab to join the two views together by the account_nbr field (join type: inner, enforce join: enforced both, link type: =).
Mmy output fields are
DatabaseA.account_nbr, DatabaseB.account_nbr and DatabaseB.account_name.
The tables on both systems that the views are based upon have unique primary indexes on account_nbr. Also both tables have the exact same data and 20,000 rows of it.
Problem is that when I run the report the output is returned incredibly slow.
Both databases are very fast. I know that Crystal Reports on my laptop is doing the joining but why the huge performance problem. When I run a report grabbing account_nbr and account_name against each table individually I get all data back in less than a minute.
I've seen some postings about people accessing different databases using subreports - main report hits Database 1 and the subreport hits Database 2 then parameters are passed from sub to main in order to get Database 2's values onto the main report. I don't understand how working that way would be any faster than just letting CR do the joining directly from the start.
Anyone have any performance issues when accessing two database?
Any ideas, tips, reommnedataions?
Thanks in advance!
I'm using CR XI and deploying reports to an XI server. The database I use is Teradata.
I've created a main report that uses a view from Teradata database A and a view from Teradata database B.
The views on both systems are identical. I'm just doing this as a first time test of using multiple data sources
For reasons unkonwn to me when I connected to Database A I wasn't able to see the account view that I have access to so I used Add Command to get the data. Then I connected to Database B (where I can see the account view). I used the Database Expert links tab to join the two views together by the account_nbr field (join type: inner, enforce join: enforced both, link type: =).
Mmy output fields are
DatabaseA.account_nbr, DatabaseB.account_nbr and DatabaseB.account_name.
The tables on both systems that the views are based upon have unique primary indexes on account_nbr. Also both tables have the exact same data and 20,000 rows of it.
Problem is that when I run the report the output is returned incredibly slow.
Both databases are very fast. I know that Crystal Reports on my laptop is doing the joining but why the huge performance problem. When I run a report grabbing account_nbr and account_name against each table individually I get all data back in less than a minute.
I've seen some postings about people accessing different databases using subreports - main report hits Database 1 and the subreport hits Database 2 then parameters are passed from sub to main in order to get Database 2's values onto the main report. I don't understand how working that way would be any faster than just letting CR do the joining directly from the start.
Anyone have any performance issues when accessing two database?
Any ideas, tips, reommnedataions?
Thanks in advance!