INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

BTrieve and .NET

BTrieve and .NET

(OP)
Hi,

One of the applications I'm working on uses a Pervasive(Btrieve) database. I downloaded the Pervasive .NET OLDE drivers and I'm able to make a connection to the Pervasive in my .NET application, but I find that the queries, especially joins , other complex queries and larger return datasets are extremely slow.

Is this a problem with pervasive drivers or is this the way Pervasive behaves when trying to access thru OLE drivers ?

Thanks,
Scott

RE: BTrieve and .NET

In my experience accessing pervasive via SQL is slow compared to SQL Server or Oracle.  I found that Left Joins where much quicker to process than Inner Joins.

RE: BTrieve and .NET

One thing to make sure of is that your database is consistent.  Any problem in the definition of the DDFs could cause problems. Make sure you're queries are optimized and using indexes whenever possible.  Also, don't try to return too many records.  I saw one web app that was trying to return 40,000 records when they only needed 20-30.  

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
Custom VB and Btrieve development.
http://www.mirtheil.com

RE: BTrieve and .NET

(OP)

I noticed the same problems, my problem is I'm forced to retrieve large amount of records for a monthly report .
I ended up doing was transfer the data from Pervasive to my SQL server via DTS and then use SQL Server to do the processing work for me .

Hang

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close