Multi-user Databases with Microsoft Access



Similar documents
Guide to Upsizing from Access to SQL Server

4cast Server Specification and Installation

Accessing Database Information Using Visual Basic:

Updated: April Copyright DBA Software Inc. All rights reserved. 2 Getting Started Guide

SAS Client-Server Development: Through Thick and Thin and Version 8

Chapter 14: Databases and Database Management Systems

COMPONENTS in a database environment

Business Intelligence Getting Started Guide

SQL Server An Overview

CatDV Pro Workgroup Serve r

TROUBLESHOOTING INFORMATION

Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation.

Updated: May Copyright DBA Software Inc. All rights reserved. 2 Getting Started Guide

Frequently Asked Questions Sage Pastel Intelligence Reporting

Local Area Networks: Software and Support Systems

SOFTWARE INSTALLATION INSTRUCTIONS CLIENT/SERVER EDITION AND WEB COMPONENT VERSION 10

Chapter 4 Accessing Data

DATABASE DESIGN AND IMPLEMENTATION II SAULT COLLEGE OF APPLIED ARTS AND TECHNOLOGY SAULT STE. MARIE, ONTARIO. Sault College

Keystone 600N5 SERVER and STAND-ALONE INSTALLATION INSTRUCTIONS

Microsoft Access is an outstanding environment for both database users and professional. Introduction to Microsoft Access and Programming SESSION

PATROL From a Database Administrator s Perspective

SEER Enterprise Shared Database Administrator s Guide

Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server

Database Corruption And Prevention

Server Installation, Administration and Integration Guide

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Search help. More on Office.com: images templates

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World

Getting Started with STATISTICA Enterprise Programming

INFORMIX - Data Director for Visual Basic. Version 3.5

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

When you publish data to a SharePoint site, you first

Inmagic Content Server Workgroup Configuration Technical Guidelines

Pastel Evolution BIC. Getting Started Guide

Advantage Database Server or Microsoft SQL Server which one is right for you?

Basic SQL Server operations

Audit TM. The Security Auditing Component of. Out-of-the-Box

Sage ERP Accpac 6.0A. Installation and System Administrator's Guide

Ascent Capture Internet Server

User Reports. Time on System. Session Count. Detailed Reports. Summary Reports. Individual Gantt Charts

Opera 3 Installation & Upgrade Guide

This is Remote Desktop to remote into the terminal server. This is QuickBooks running inside the remote desktop window

ENSURING DATABASE RELIABILITY ON YOUR NETWORK

Getting Started Guide SAGE ACCPAC INTELLIGENCE

One of the database administrators

IDERA WHITEPAPER. The paper will cover the following ten areas: Monitoring Management. WRITTEN BY Greg Robidoux

AdminToys Suite. Installation & Setup Guide

Partner. Sage Pastel. Accounting. Installation Guide

v4.8 Getting Started Guide: Using SpatialWare with MapInfo Professional for Microsoft SQL Server

PaperClip32. Installation Guide. for Workgroup and Enterprise Editions. Document Revision 2.1 1

1.264 Lecture 15. SQL transactions, security, indexes

Centran Version 4 Getting Started Guide KABA MAS. Table Of Contents

Improving Your Relationship with SAS Enterprise Guide

Special Edition for FastTrack Software

Bank Reconciliation need not be back breaking anymore!!!

FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS

Table of Contents. RFMS SQL Backup

Planning the Installation and Installing SQL Server

Copyright Software Technology, Inc Cushman Drive Lincoln, NE (402)

DataLogger Kepware, Inc.

BillQuick Agent 2010 Getting Started Guide

I. General Database Server Performance Information. Knowledge Base Article. Database Server Performance Best Practices Guide

Technology Announcement - SQL Server Database Transition

pc resource monitoring and performance advisor

Migrating helpdesk to a new server

LockView 4.2 CompX Database & Network Configuration & Installation Manual

Setting Up ALERE with Client/Server Data

A Document Retention System for Eye Care Practices. Release Notes. Version 7.5 October A Milner Technologies, Inc. Solution

Using MS Excel V Lookups

Inmagic Content Server v9 Standard Configuration Technical Guidelines

Contents. Introduction. Chapter 1 Some Hot Tips to Get You Started. Chapter 2 Tips on Working with Strings and Arrays..

Objectives. At the end of this chapter students should be able to:

EnterpriseLink Benefits

Developing Multiuser and Enterprise Applications

Getting Started Guide

Application Compatibility Best Practices for Remote Desktop Services

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

Chapter 3. Database Environment - Objectives. Multi-user DBMS Architectures. Teleprocessing. File-Server

TestManager Administration Guide

Installation Instructions Release Version 15.0 January 30 th, 2011

Chapter 5: System Software: Operating Systems and Utility Programs

In the same spirit, our QuickBooks 2008 Software Installation Guide has been completely revised as well.

LockView CompX Database & Network Configuration & Installation Manual

PPC s SMART Practice Aids Prepare for Installing database upgrade to SQL Express 2008 R2

Moving from DBF to SQL Server Pros and Cons

Business Intelligence Tutorial

Fifty Critical Alerts for Monitoring Windows Servers Best practices

WHITE PAPER PPAPER. Symantec Backup Exec Quick Recovery & Off-Host Backup Solutions. for Microsoft Exchange Server 2003 & Microsoft SQL Server

TROUBLESHOOTING GUIDE

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

Chapter Contents. Operating System Activities. Operating System Basics. Operating System Activities. Operating System Activities 25/03/2014

Sage ERP MAS 90 Sage ERP MAS 200 Sage ERP MAS 200 SQL. Installation and System Administrator's Guide 4MASIN450-08

Setting up a database for multi-user access

Windows Server 2012 Server Manager

Hardware & Software Requirements for BID2WIN Estimating & Bidding, the BUILD2WIN Product Suite, and BID2WIN Management Reporting

Shelter Pro Installation Guide. Overview. Database backups. Shelter Pro Installation Guide Page 1

IBM Tivoli Storage Manager Version Introduction to Data Protection Solutions IBM

Chapter 3. Application Software. Chapter 3 Objectives. Application Software. Application Software. Application Software. What is application software?

Software License Registration Guide

Transcription:

Multi-user Databases with Microsoft Access A Presentation for the Microsoft Access SIG of the North Texas PC User Group and the Metroplex Access Developers by Larry Linson Copyright 2000, 2001 by L.M. Linson, all rights reserved.

What is Access? A nice little desktop database First popular Windows database For the novice For the power user For the developer A File Server database with Jet

Access can build A standalone database A multi-user database A client linked to ODBC databases A direct client to SQL Server A web interface to database

Multiuser Database (for this discussion) Access Application Part Access (Jet database engine) Tables and Data On a Network

Performance Factors Hardware Environment Software Environment Network Environment Requirements of Application Design of Application Implementation of Application (More details about these, later)

How Many Users? High-End Reports Michael Groh 150 Drew Wutka 135 Michael Kaplan 90 + Stephen Forte 95 Concensus Almost every factor just right

How Many Users? Routine Reports in comp.databases.ms-access newsgroup from experienced Access developers 30-70 users for Access 97 and Access 2000, a few less for Access 2.0 Concensus Not every factor has to be just right

How Many Users? Low -End Reports Falls over with 4 users Concensus At least one factor very wrong Often many factors wrong Most common cause, when one proved Designer / implementer did not understand Microsoft Access

Resources... Access 97 Developer s Handbook by Getz, Litwin, Gilbert published by SYBEX ISBN: 0-7821 - 1941-7 Chap 12 Developing Multi-User Applications

Resources... Access 2000 Developer s Handbook, Volume 2: Enterprise Edition by Getz, Litwin, Gilbert published by SYBEX ISBN: 0-7821 - 2372-4 Chap 2 Developing Multi-User Jet Applications

Resources... Programming Microsoft Access 2000 by Rick Dobson publisher Microsoft Press ISBN: 0-7356 - 0500-9 Chapter 10 Working with Multi- User Databases

Resources... Building Applications with Microsoft Access 97 Manual, comes with Office Developer or the MSDN Library publisher: Microsoft Chapter 10 Creating Multi-User Databases

Resources Microsoft Office Visual Basic Programmer s Guide Manual, comes with Office 2000 Developer or the MSDN Library publisher: Microsoft Chapter 16 Multi-User Database Solutions

What s Different? Using database across network File-Server versus Server Databases Performance Corruption Multiple users of same data Collisions (Add and Update) Locking Seeing Other Users Update Refreshing Updating Related Tables Transactions Who Am I? Identifying Users

Multi-user Layout... PROCESS ON USER WORKSTATION DATA ON SERVER PROCESS ON USER WORKSTATION... PROCESS ON USER WORKSTATION

Alternate Layout... USER MTS PROCESS USER PROCESS DATA USER PROCESS Remote NT Server

Multi-User Layout Tables on Server Available To All Users On Users Workstations Access (or Runtime) Application Part Fetch.DLLs, Objects Locally

Access is a File-Server Retrieval, Extraction, and Manipulation on User s Workstation Every I/O Done Across Network That would normally be to local hard drive Not whole database, nor necessarily whole table Just what Access finds necessary Index may be enough to find exact records

Performance Factors Performance Hardware Environment More Memory Faster Processors Faster Hard Drives Software Environment Not Too Much Else Running Network Environment Faster is Better

Performance More Factors Reduce Network Traffic Database Design Appropriate indexing more important Use Queries not Tables No extra Tables in Queries Database Implementation Queries, not DAO Code (When Feasible) Queries, not RecordsetClone.FindFirst

Data Integrity Record Locking... In Bound Forms No Locks (aka Optimistic Locking)» Only in the instant the record is saved Edited Record (aka Pessimistic Locking)» As soon as user begins to edit All Records» All records in the entire recordset» Batch Updates» Administrative Maintenance

Data Integrity Record Locking... Possibilities by Object All Three Options» Table datasheets; Select, Crosstab, Union Query, Forms, OpenRecordset Lock Edited Record or All Records» Update, Delete, Make-Table, Append Lock All Records» Data Definition Queries No Locks or Lock All Records» Reports

Data Integrity Record Locking... Default Record Locking Option Established by menu Tools Options Applies to All, Except Data Definition Queries All Records Open Recordset Edited Record

Data Integrity Record Locking... OpenRecordset dbdenyread or dbdenywrite Overrides.LockEdits property Native Access Tables Only.LockEdits Property True = Edited Record (the default) False = No Locks

Data Integrity Record Locking... Advantages of Pessimistic Locking Simple to Develop, Prevents Overwriting Disadvantages of Pessimistic Lock Multiple Records, Less Concurrency Advantages of Optimistic Locking Simple to Use, Better Concurrency, Less Lockout Disadvantages of Optimistic Can be Confusing to User, Allows Overwriting

Data Integrity Record Locking Generally, use Optimistic Minimize User Lockout Or, Mixed, by Specific Object Most Optimistic, but Critical Information, Pessimistic» Example: Quantity on Hand in Inventory

Locking Improvements Access 2.0 Page Locking, Adding Locked Last or New Record Access 95, 97 Page Locking, but Adding Doesn t Lock Last or New Record Access 2000 Record-Level Locking, Optional Data Integrity

Data Integrity Transactions Changes in a batch All Succeed or All Fail Same or Related Tables Credit New Account and Debit Old Account Allocate Stock to Order, Deduct Stock on Hand

Causes of Corruption Data Integrity Ungraceful Termination Power Outages Users Power-Off Flakey Network Countermeasures Battery Back-Up Condition of Continued Employment Isolate Cause and Replace» Hardware» Staff

Miscellaneous Identifying Users Typically secure the database Everyone Logs In Viewing and Reporting MSLDBUSR.DLL by Microsoft Unsupported

Advanced Multi-User Stretch the Capacity Unusual Requirements Standard Approach Insufficient Threshold by Trial and Error

Advanced Multi-User Unbound Forms Code / Queries Hold record minimal time Other approaches

Advanced Multi-User Buys a little time (at best) Consider upsizing Often non-trivial project to extend multiuser application to upsize to client-server

The End Multi-user Databases with Microsoft Access. Copyright 2000, 2001 by L.M. Linson, all rights reserved