Re: [appengine-java] Counting read/write operations for monitoring quota

2011-11-16 Thread Mister Schtief
Hi Raphael

thx for appstat link. i activated it, but how does the
datastore_v3.RunQuery count relates to the quota Datastore Read
Operations is one query one read operation? or does it depend on the
number of entities returned?

schtieF

On Wed, Nov 16, 2011 at 11:04 AM, Raphael André Bauer
raphael.andre.ba...@gmail.com wrote:
 On Wed, Nov 16, 2011 at 10:48 AM, Mr. Schtief lisc...@gmail.com wrote:
 Hi,
 is there a possibility to count read/write operations from within java?
 since the billing change i have massive problems with overquota and i need
 to find out what is causing so much operations.
 thanx in advance
 schtieF


 Did you try AppStats?
 http://code.google.com/appengine/docs/java/tools/appstats.html

 Best,

 Raphael


 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/nDSQLRZyO1cJ.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 inc: http://ars-machina.raphaelbauer.com
 tech: http://ars-codia.raphaelbauer.com
 web: http://raphaelbauer.com

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: many different Properties or Entity for name/value pairs

2011-11-04 Thread Mister Schtief
hi gerald,

thx for your answer but this is the ugliest solution ;) why serializing all
pairs and storing them in one.property  it will never be searchable...

using one entity property for every map.entry or using one entity of a key
value pair type, thats the question ;)

schtief
Am 04.11.2011 07:10 schrieb Gerald Tan woefulwab...@gmail.com:

 You can serialize a MapString,String property into a byte array to be
 stored in the entity
 The easiest way to do this would be to use Objectify with the @Serialized
 annotation

 http://code.google.com/p/objectify-appengine/wiki/IntroductionToObjectify#@Embedded

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/_tZZPKf5r6cJ.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.