Results 1 to 9 of 9
  1. #1
    Harold7 is offline Novice
    Windows 11 Office 365
    Join Date
    Aug 2023
    Posts
    9

    What is s_GUID, s_ColLineage, s_Genertion, s_Lineage?

    Hello everyone,

    I'm working on developing a very old database and some of the tables have these columns (s_GUID, s_ColLineage, s_Genertion, s_Lineage)

    What are they, and is it okay to omit them when developing the database

    Thanks

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    looks like they are replication fields. A method used in 2003 and earlier to synchronise data between master and slave db's. The method was discontinued in 2007 and not replaced with an alternative. The Master would spawn slave replica's that could be take 'off site' and changes made and on its return would be synchronised back the master.

    There were problems - you couldn't sync one slave to another or to any other file but the master.

    a GUID is a Global Unique IDentifier and you will find them in some of the system tables. And you can still set a PK as a GUID if you want, but not recommended - expensive as a resource (16 bytes v 4 bytes for an autonumber) and there are numerous things you can't do with a GUID that you can with an autonumber - can't remember what, it's been a long time since I experimented with them.

    So you can delete them unless you are still using 2003 or earlier and need the functionality.

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Being the cautious sort, I wouldn't delete them from the primary file until I tested the result in a copy of that file - just in case.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Harold7 is offline Novice
    Windows 11 Office 365
    Join Date
    Aug 2023
    Posts
    9
    Quote Originally Posted by CJ_London View Post
    looks like they are replication fields. A method used in 2003 and earlier to synchronise data between master and slave db's. The method was discontinued in 2007 and not replaced with an alternative. The Master would spawn slave replica's that could be take 'off site' and changes made and on its return would be synchronised back the master.

    There were problems - you couldn't sync one slave to another or to any other file but the master.

    a GUID is a Global Unique IDentifier and you will find them in some of the system tables. And you can still set a PK as a GUID if you want, but not recommended - expensive as a resource (16 bytes v 4 bytes for an autonumber) and there are numerous things you can't do with a GUID that you can with an autonumber - can't remember what, it's been a long time since I experimented with them.

    So you can delete them unless you are still using 2003 or earlier and need the functionality.
    I see.. I appreciate your help.

  5. #5
    Harold7 is offline Novice
    Windows 11 Office 365
    Join Date
    Aug 2023
    Posts
    9
    Quote Originally Posted by Micron View Post
    Being the cautious sort, I wouldn't delete them from the primary file until I tested the result in a copy of that file - just in case.
    Good idea, thanks.

  6. #6
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    When using replication, you need a GUID as PK. Using autonumbering you would have 1-2-3-... in every database, giving doubles trying to consolidate these in the master database. So you need a global unique ID field. Taking into consideration that we're talking of a primary key field here, I don't think it's a good idea to delete the GUID field when there are data in the database you want to keep.

  7. #7
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    When using replication, you need a GUID as PK.
    strongly recommend you do not use a GUID as a PK, I experimented with the idea years ago and hit all sorts of problems. Use a separate field (autonumber - replicationID) solely for the purposes of replication/synchronising - together with two time fields, one to store the latest insert/update datetime in the master and one to store the latest insert/update datetime in the slave. If the former is later that the latter the slave needs updating, if the latter is later than the former, the master needs updating (and the slave updated to reflect the changed insert/update datetime in the master)

  8. #8
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Using GUID's all the time, never had any problems with them. They are the simplest and best solution for replication purposes, don't complicate things with extra fields, it will only slow the engine down.

    But as there is no more replication in Access and for this thread: only saying that if there exists a GUID as a primary key: don't delete the field. General rule: never delete the primary key field before you have made sure you replaced it with another PK field and tested this thoroughly.

  9. #9
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    FWIW, you can remove replication and maintain relationships. It may not be a widely posted topic but it's out there. I had to do it in order to work out a problem for someone else because the db was painfully slow on the old pc where I had an old version of Access that I could open it with.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

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