Results 1 to 9 of 9
  1. #1
    edmscan is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168

    Looking for Table and Query design suggestions for Attached Database ..

    I have a Access 2010 database and I have attached it .. with sample data and I am looking for suggestions on Table design / Relationships / Indexes or anything that will make it work better.



    The transmissions table .. actually has currently over 1 million records in it and will be growing .. so I want to make sure my design is sound. Radio.zip

    I also have included the queries I will typically use. A couple of the queries will prompt for data criteria .. you can use 6429.

    I think I have covered it all ... nothing is terribly broken just looking for design suggestions as the "transmission" table will be getting big .. so I want to optimize first before going forward.
    I am far from an Access expert .. all suggestions are welcome.

    Thanks
    Kevin

  2. #2
    edmscan is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    So this is how I look at it ... and may clarify things. This is for a communications system with radios / groups and transmissions.

    The 3 tables are such ..

    Kevin Table (really a radio table)
    Radio - PK
    User (1 per radio)
    LastUpdate (1 per radio)

    KevinGroup Table (really a group table)
    Group - PK
    Name (1 per group)
    LastUpdate (1 per group)

    Transmissions Table
    Id PK
    Transdate (1 per Id)
    Transtime (1 per id)
    Radio (1 per id) - FK
    Type (1 per id)
    TransType (1 per id)
    Group (1 per id) - FK

    However if you can see above ... there can be many transmission records for a radio (kevin table) .. and group (kevinGroup table).

    I think I am normalized ... but am open to suggestions on improvements. I have posted my relationships below .. just to save downloading the database.

    Click image for larger version. 

Name:	Untitled.png 
Views:	17 
Size:	9.8 KB 
ID:	17449

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Over 1 million records is too much for me to download the db file.

    The relationships seem to be correct.

    What is purpose of the db?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    edmscan is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    Quote Originally Posted by June7 View Post
    Over 1 million records is too much for me to download the db file.

    The relationships seem to be correct.

    What is purpose of the db?
    The attached DB only contains .. like very very few records, I just wanted to make it the same as the production one otherwise .. just with less records as that would not add anything here.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Okay, for some reason the file was taking a long time to download on home computer.

    Why is there an * character in the User values?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    edmscan is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    Sorry .. I wish that my computer would tell me when someone replies in a better way.

    I know it is weird .. but the * is there cause these are identified radios (designated with a * in the name) .. and ones without the * are unidentified. There are about 6400 identified ones and 300 or so unidentified.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Why not a separate field for this status info? Can be a Yes/No field named Identified.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    edmscan is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    Quote Originally Posted by June7 View Post
    Why not a separate field for this status info? Can be a Yes/No field named Identified.
    Do you think there would be a performance difference if I removed the * from User in the Access table ? and did what you indicated. I can easily do it and quite likely will just cause I never use the imported data
    in anywhere but in Access. The data never goes back into where it comes from.

    I have a couple queries where I distinguish between the 2 .. and yes your way makes a lot of sense. I just do it this way .. as the data comes from a C application and it just works very well there.

    I think something for me to do tonight.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    The Yes/No field will make it easier to filter records based on the status.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Help with a query. See attached database
    By lehi53 in forum Queries
    Replies: 15
    Last Post: 02-20-2014, 03:25 PM
  2. Replies: 14
    Last Post: 02-20-2014, 12:11 PM
  3. Examiner Database Design Suggestions
    By seth1685 in forum Database Design
    Replies: 1
    Last Post: 01-05-2012, 10:11 AM
  4. Suggestions for Form Design
    By KrisDdb in forum Forms
    Replies: 2
    Last Post: 12-08-2011, 02:31 PM
  5. Replies: 6
    Last Post: 06-27-2011, 07:11 PM

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