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/10/03 17:25:43 UTC
[jira] [Resolved] (MARMOTTA-324) Create random IDs for database
primary keys
[ https://issues.apache.org/jira/browse/MARMOTTA-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Schaffert resolved MARMOTTA-324.
------------------------------------------
Resolution: Fixed
> 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 was sent by Atlassian JIRA
(v6.1#6144)