CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Posts
    8

    Please guide me!

    I'm currently encountered a problem now with database, we plan to use Data Source to access the data from the database. E.g. we put the database file (*.mdb) into a NT server and we placed the application program into the client computer of that server Or we can said that we access the database in the server by using the program, which is installed in the client computer. After my studying, I find that "Remote Data Object" -> RDO or "ActiveX Data Object -> ADO should be used. I try out the components both the ADODC and DATAGRID by setting the connection properties to the Specified Data Source Name in the Control Panel of Windows and Record Source properties by using SQL command but I find it very slow even I just have 8 thousands over records. Have I used the RDO and ADO the right way? or may be there is some trick to access data fast. Can you please provided together with some actual examples (Note: we're not planned to use the fixed path of the database and the indexing methods such as APP.PATH or DYNASET). Anyway, thanks for looking into my Serious problem here and wish you have a nice day.


  2. #2
    Join Date
    May 1999
    Location
    Braine L'Alleud, Belgium
    Posts
    10

    Re: Please guide me!

    Some suggestions:
    Is Your application (client) accessing the mdb in a shared drive?
    If that is the case try creating another mdb, that have links to the server mdb, and place a copy of that mdb on each client.
    Connect you appliation to the local mdb...

    Check the index / Sql that take the longer to execute, performance can improbed by adding some indexes.

    Move tables that are not updated frecuently to the local copy of the mdb.

    And remember mdb databases are no good for more than 5 (IMHE) conncurent users. If you plan for a larger number of users then a different database like MS-SQL or Oracle should be considered.

    Hope it helps,
    JP

    Juan Pablo Mattenet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured