Results 1 to 6 of 6
  1. #1
    bilalo is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    107

    Database encryption performance


    After applying password encryption to my back end, I noticed a slower performance in the front end, forms are taking more time to load. Is this a normal behavior? Is there anything that could be done to solve this issue?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,409
    by definition, decrypting is a process - and a process will take time. However if you have applied good design principles it should not really be noticeable.

    Good design principles include

    • not using domain functions in queries
    • minimising the amount of data brought across from the BE (only the fields required, apply filtering techniques to the recordsource query criteria, not the form filter, etc)
    • applying appropriate indexing
    • probably the most effective - once a connection to the BE is made, keep the connection open

  3. #3
    bilalo is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    107
    Thank you, how to apply the last part ( once a connection to the BE is made, keep the connection open) ?

    Quote Originally Posted by Ajax View Post
    by definition, decrypting is a process - and a process will take time. However if you have applied good design principles it should not really be noticeable.

    Good design principles include

    • not using domain functions in queries
    • minimising the amount of data brought across from the BE (only the fields required, apply filtering techniques to the recordsource query criteria, not the form filter, etc)
    • applying appropriate indexing
    • probably the most effective - once a connection to the BE is made, keep the connection open

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,973
    Create a persistent connection by opening a hidden form at startup which is linked to a small linked table.
    The table should have few records, ideally one, so it loads quickly.
    It can be dummy data if you want.
    Keep the form open permanently in the background
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  5. #5
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,409
    The table should have few records, ideally one, so it loads quickly.
    or just have a form recordsource something like

    SELECT * FROM myTable WHERE False

    which won't return any records

    Keep the form open permanently in the background
    to clarify, open the form hidden

  6. #6
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,973
    Hi. I did say to open it hidden.
    Your suggestion having no records is even better than one record in this case
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Accde database password and performance?
    By BrightSoftware in forum Access
    Replies: 8
    Last Post: 05-21-2019, 06:36 AM
  2. Replies: 9
    Last Post: 07-13-2018, 02:18 PM
  3. Replies: 1
    Last Post: 11-13-2015, 12:25 PM
  4. Replies: 0
    Last Post: 08-18-2014, 09:11 AM
  5. Database performance issues
    By smikkelsen in forum Access
    Replies: 3
    Last Post: 03-10-2011, 05:53 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums