Hi,
We are currently migrating data from SQL Server 2005 to Oracle 10g. I've been tasked with creating a simple data integrity report that e-mails users if a variance between an Oracle view and a SQL view exists. We are using BO Premium and Crystal XI.
The report links the Oracle view and SQL view by a MonthID field. Each view contains 6 similar fields and displays only 88 records (months), although they both have to query considerably large DBs.
The Oracle SQL executes in 00:06:45 minutes (TOAD) while the SQL executes in 00:02:36 minutes (Mngt Studio).
The problem i'm having is that within both Crystal, and during Scheduling in BO, the report takes 20 minutes. Each view executes in similar minutes in individual Crystal Reports.
I understand that each SQL statement will be executed sequentially, i.e. Oracle first, then SQL. But i don't understand why it takes a further 10 minutes to complete the linking and retrieve the data. I guess it's the way Crystal links the returned data sets...
Could someone please offer an alternative method or at least explain how Crystal joins data from different datasources locally.
Many thanks,
We are currently migrating data from SQL Server 2005 to Oracle 10g. I've been tasked with creating a simple data integrity report that e-mails users if a variance between an Oracle view and a SQL view exists. We are using BO Premium and Crystal XI.
The report links the Oracle view and SQL view by a MonthID field. Each view contains 6 similar fields and displays only 88 records (months), although they both have to query considerably large DBs.
The Oracle SQL executes in 00:06:45 minutes (TOAD) while the SQL executes in 00:02:36 minutes (Mngt Studio).
The problem i'm having is that within both Crystal, and during Scheduling in BO, the report takes 20 minutes. Each view executes in similar minutes in individual Crystal Reports.
I understand that each SQL statement will be executed sequentially, i.e. Oracle first, then SQL. But i don't understand why it takes a further 10 minutes to complete the linking and retrieve the data. I guess it's the way Crystal links the returned data sets...
Could someone please offer an alternative method or at least explain how Crystal joins data from different datasources locally.
Many thanks,