Jump to content
Sign in to follow this  
Extrude Ragu

Key-Value Pairs and Database limits

Recommended Posts


  I searched around but I was unable to find any information related to the limitations of Key-Value Pair storage?

  I want to know what limits there are (in terms of how much data my Experience can store), and if there are things I am not allowed to track with KVP's



I could using KVP's store a users point-score in a game, or perhaps a HUD-position preferrence

For example KEY = avKey + "|pointscore" VALUE = 10

However If there was a data-storage limit and my experience hit it, I wouldn't be able to delete those key-value pairs because I do not know the key of every Avatar that has entered my Experience, and thus the only way to get around the problem at that point would be to delete the entire experience (very bad)

So.. Is there a limit? Can the limit be expanded if needed?

Kind regards

Share this post

Link to post
Share on other sites

As far as I know, there is no limit to the number of keys you can create in an Experience, or at least it's a comfortably high number that few users are likely to bump up against.  Experiences like Linden Realms have thousands of KVP, one for each player who has ever played there. The more significant limit is the string length limit for key values, 4095 characters for a Mono-compiled script.  You can pack a lot of information into a delimited string, but it takes some planning to imagine all the variables you might want to store and to get them formatted so that they are easy to use when you retrieve and parse the KVP later.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...