Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Alternative for Slow ODBC

Featured Replies

  • Newbies

Good day

Filemaker newbie here

I'm helping sorting out some performance issues on a vb.net application that creates reports via the filemaker odbc connector.  It is extremely slow, querying tables with up to a million records.

Are there any other options one could consider? A rewrite of the vb.net app is off the cards at the moment.

Thanks in advance,

William

Are all the fields indexed that are being queried? Are there joins involved? If the first answer is no, or the second is yes, perhaps the data can be de-normalized for use in the query. Or you could look at pushing the data into a SQL database, maybe on a nightly script schedule. Or maybe you could explore the Data API.

Welcome to the forums and please update your profile with FileMaker and OS version so we can better answer your questions.

  • Author
  • Newbies
16 hours ago, Fitch said:

Are all the fields indexed that are being queried? Are there joins involved? If the first answer is no, or the second is yes, perhaps the data can be de-normalized for use in the query. Or you could look at pushing the data into a SQL database, maybe on a nightly script schedule. Or maybe you could explore the Data API.

Welcome to the forums and please update your profile with FileMaker and OS version so we can better answer your questions.

Thanks Fitch.

Getting the data to SQL is exactly what I'm looking at.  In that case I can swing the connection strings of the VB app to SQL.  

Here's what I've tried thus far:

FmPro Migrator: the app crashes when I click on the "Get field size" button for the bigger tables

Full Convert (x32 & x64) excruciatingly slow and gives an assortment or errors including arithmetic exceptions and ODBC connection timeouts

Custom C# application: similar issues to Full Convert

I've also tried MirrorSync, which seems to be an ideal solution, but it's pricey and the client would most likely not be willing to pay for the SQL license. 

So the next best thing I figure is as you say, trying the data api. 

Edit:

I was wondering if the following were practical/possible:

We're running daily reports mostly, so would I be able to migrate data from my bigger tables to daily updated tables via the built in FM scripts?  That way the vb.net app would say only have to query 4k/5k records.

Or an additional database, which would basically be a clone of the other one, but with historical data removed?

Edited by WilliamN

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.