You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Sebastian Schaffert (JIRA)" <ji...@apache.org> on 2013/09/26 15:48:05 UTC

[jira] [Created] (MARMOTTA-324) Create random IDs for database primary keys

Sebastian Schaffert created MARMOTTA-324:
--------------------------------------------

             Summary: Create random IDs for database primary keys
                 Key: MARMOTTA-324
                 URL: https://issues.apache.org/jira/browse/MARMOTTA-324
             Project: Marmotta
          Issue Type: Bug
          Components: Triple Store
            Reporter: Sebastian Schaffert
            Assignee: Sebastian Schaffert
             Fix For: 3.2


The current implementation for generating database keys in the kiwi-triplestore is based on either database sequences (safe method, but slow) or in-memory sequences (fast method, but does not allow concurrent database access). We should also add an implementation that is both fast and reasonably safe by generating random long IDs using a reliable algorithm. For example, we could use UUID.getLeastSignificantBits() to create this ID.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira