Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. ADO with Jetengine very slow?

ADO with Jetengine very slow?

Scheduled Pinned Locked Moved Database
c++databasequestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zack
    wrote on last edited by
    #1

    We are using ADO(in a C++ env.) to connect to diffent databases just by replacing the provider string. What we noticed is that the ADO/OleDB Provider for JetEngine (4.0 and 3.51) (Access) is very, very slow. We compared with the the ADO/OleDB Provider for MS-SQL and we found a factor 60 !!!. We tried with old DAO MFC - Classes with Access-databases and the factor was 100 faster than with ADO/OleDB with JetEngine. Just using plain OleDB didnt make things much faster. Do someone know more about slowliness of OleDB for Jetengine? Are there alternative OleDB drivers that are faster? :confused: zack

    T 1 Reply Last reply
    0
    • Z zack

      We are using ADO(in a C++ env.) to connect to diffent databases just by replacing the provider string. What we noticed is that the ADO/OleDB Provider for JetEngine (4.0 and 3.51) (Access) is very, very slow. We compared with the the ADO/OleDB Provider for MS-SQL and we found a factor 60 !!!. We tried with old DAO MFC - Classes with Access-databases and the factor was 100 faster than with ADO/OleDB with JetEngine. Just using plain OleDB didnt make things much faster. Do someone know more about slowliness of OleDB for Jetengine? Are there alternative OleDB drivers that are faster? :confused: zack

      T Offline
      T Offline
      Thomas Ascher
      wrote on last edited by
      #2

      Try to use client cursors instead of the default serverside cursors if the .mdb file is on your local pc: _RecordsetPtr pSet(__uuidof(Recordset)); pSet->CursorLocation = adUseClient; pSet->Open(...);

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups