How many Datastore reads consume each Fetch, Count and Query operations?

前端 未结 2 1571
闹比i
闹比i 2020-12-25 11:20

I\'m reading on Google App Engine groups many users (Fig1, Fig2, Fig3) that can\'t figure out where the high number of Datastore reads in their billing reports come from.

2条回答
  •  情书的邮戳
    2020-12-25 12:16

    Just to make sure:

    I'm almost sure:

    Example.all().count(10000)
    

    This one uses small datastore operations (no need to fetch the entities, only keys), so this would count as 1 read + 10,000 (max) small operations.

提交回复
热议问题