I think that if you are using ODBC then you are using SQL even if the database is in Progress. In the developer just select Database / show sql query to see the calls made on the database.
Reports / Performance information in the crystal developer will show the number of records and timing for pulling the data.
Â
What SQL Expressions within Crystal can you do with a SQL database that you can not do with a progress database.
I would be very interested if I could do multiple queries inside a report that are based on the results from the previous query. I have done mixed BAQ and ODBC to combine quieries.
Â
For complicated reports I use Excel and SQL queries and it is so very much faster than Crystal ever could be.
Â
For example a report with item sales and purchases hits many tables. With Kits and manufactured items it gets where crystal has a hard time getting it all on one report.
________________________________
From: Vic Drecchio <
vic.drecchio@...>
To:
vantage@yahoogroups.com
Sent: Tuesday, June 5, 2012 7:30 AM
Subject: RE: [Vantage] Vantage 8.03/Progress 10.1B ODBC settings and optimization
Â
Define "simple query". If you're doing any filtering, for example:
SELECT * FROM LABORDTL WHERE PAYROLLDATE >= TODAY-90
Regardless of the fact if you have your FAR set to 400, ODBC will bring back
ALL 72,581 records from your LaborDtl table and then apply the WHERE clause
above.
I know the folks that know me on here will laugh, but again, this is where
SQL on the back-end greatly helps (vs Progress). When this occurs in a SQL
world, you can use SQL Expressions within Crystal to properly limit the
dataset being pulled across the wire.
I'm assuming you're Progress, so Install SQuirreL (search the group for
install instructions; if you cannot find, email me directly and I will fwd
them to you). Install Squirrel and test your theory about ODBC and perhaps
you can tune your query.
This is another reason why BAQs aren't so bad. They, too, also limit the
dataset at the server and only deliver what you asked for. With ODBC, it's
like ordering a Pepperoni pizza from Dominos and when Dominos shows up at
your door they have one of every pizza they sell and then you choose your
Pepperoni Pizza. BAQs and SQL Expressions is when *only* the pepperoni
pizza is delivered.
From:
vantage@yahoogroups.com [mailto:
vantage@yahoogroups.com] On Behalf Of
flexial_ma
Sent: Monday, June 04, 2012 5:04 PM
To:
vantage@yahoogroups.com
Subject: [Vantage] Vantage 8.03/Progress 10.1B ODBC settings and
optimization
I am finding using Crystal with ODBC to be very slow in returning even what
I think are simple queries. I am looking to find out what everyone has their
ODBC connection properties set to, specifically the Advanced tab that has
the "Default Isolation Level", and "Fetch Array Size" variables. What are
the best settings for these. My current settings are Default Isolation Level
= "READ UNCOMMITTED" and Fetch Array Size=10000. "Enable Timestampe with
Time Zone"=Checked. I am querying the LaborDtl table (I know it's a big
table), but it's taking several minutes to return just basic information for
a few employees/jobs when I run a report. Anything I can do to help this
regarding ODBC? Thanks in advance.
Mike..
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2178 / Virus Database: 2425/5044 - Release Date: 06/04/12
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]