PRB: Slow View Performance with Sybase ODBC Driver
ID: Q196773
|
The information in this article applies to:
-
Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a, 6.0
SYMPTOMS
When you create a view with either the View Designer or with CREATE SQL
VIEW and using a Sybase ODBC driver to connect to a Sybase server, the view
performance can be slow when you are working with large tables.
RESOLUTION
Step-by-Step Procedures
- Open the ODBC Manager from the Control Panel.
- Double-click on the Sybase DSN for the connection that will be used in
Visual FoxPro.
- Click the Advanced tab, and click Performance.
- Set the Prepare Method to None (default is Full).
MORE INFORMATION
Steps to Reproduce Behavior
- Install the Sybase ODBC driver.
- Create a Sybase datasource that connects to a database with a table
of at least 100,000 rows.
- Open a Visual FoxPro database. Use MODIFY DATABASE to open the
Database Designer. Right-click on the Database Designer window and
click Connections. Click New and create a connection based on
the Sybase datasource.
- Right-click on the Database Designer window and click New Remote
View...
- Click New View in the New Remote View dialog box. In the following
dialog box, select the connection created in step 3.
- When the dialog box opens with a list of tables, select a table with at
least 100,000 rows.
NOTE: Depending upon the size of the table, the View Designer might take
several minutes to respond.
Sybase is manufactured by Sybase, a vendor independent of Microsoft; we
make no warranty, implied or otherwise, regarding this product's
performance or reliability.
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by
Mike Stewart, Microsoft Corporation.
Additional query words:
Keywords : kbDatabase kbODBC kbVFp500a kbVFp600 KbDBFDBC
Version : WINDOWS:5.0,5.0a,6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: August 12, 1999