generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Limit per key for DataStore?

Previous Thread :: Next Thread 
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
26 Feb 2014 10:45 AM
Subject.
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
26 Feb 2014 11:32 AM
64 kb.
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
26 Feb 2014 01:00 PM
I was told 63k
Report Abuse
Merely is not online. Merely
Joined: 07 Dec 2010
Total Posts: 17266
26 Feb 2014 01:00 PM
64k but it includes the key. So you should store slightly less than that.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
26 Feb 2014 02:43 PM
How much is a string worth? :/
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
26 Feb 2014 10:53 PM
@not
Most (if not all?) characters are a single byte.

So, therefore, if this limit is true, 63,300 characters per key.

Not exactly sure if this would change if it's a table or not, but either way I think there's still a bug with tables having multiple value types, so it would be better to just EncodeJSON and DecodeJSON using RBXUtility.
Report Abuse
Eosob is not online. Eosob
Joined: 02 Jun 2011
Total Posts: 80
27 Feb 2014 06:34 AM
Like Merely said it includes the key, however if you don't include the key it will just use the Roblox Default key (0 for number, false for bool etc...) so if you need to use those, it'll save data on not including the key.
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
02 Mar 2014 12:28 PM
Actually datastore uses EncodeJSON and DecodeJSON, so you can't just say how much kb something takes (8 bytes per character) by just putting a string in a table, as it will take slightly more.

I would like to see a way to store raw strings, so we can create our own compression functions.
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
02 Mar 2014 12:32 PM
@jobro
If it already uses Encode/DecodeJSON, then why would it have any problem with varied value types for tables? I'm assuming you mean it automatically uses EncodeJSON when setting the value for a key, and Decode when calling it. So, if that were the case, everything it handles would already be a string.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image