Sélectionnez la base de données requise dans la liste des bases de données.
Dans le menu de navigation, cliquez sur Datastore Studio.
Types de statistiques
La page "Tableau de bord" affiche les données de différentes manières :
Un graphique à secteurs affichant l'espace utilisé par chaque type de propriété (exemple : chaîne, double ou blob).
Un graphique à secteurs affichant l'espace utilisé par genre d'entité.
Une table avec l'espace total utilisé par chaque type de propriété. Le type de propriété "Métadonnées" représente l'espace utilisé en stockant les propriétés dans une entrée qui n'est pas exploitée directement par les propriétés. L'entité "Statistiques Datastore", le cas échéant, indique l'espace utilisé par les données statistiques elles-mêmes dans votre base de données.
Une table indiquant la taille totale, la taille moyenne, le nombre d'entrées et la taille de toutes les entités, ainsi que les index intégrés et composites.
Les graphiques à secteurs indiquent par défaut les statistiques de toutes les entités. Le menu déroulant disponible vous permet de restreindre les données affichées par ces graphiques au genre d'entité de votre choix.
Limites de stockage relatives aux statistiques
Les données statistiques sont stockées dans l'instance Datastore de votre application. L'espace utilisé par les données statistiques augmente proportionnellement au nombre de genres d'entités et de types de propriétés différents utilisés par votre application. Si vous utilisez des espaces de noms, chaque espace de noms contient une copie complète de ses propres statistiques. Pour que la surcharge liée au stockage et à la mise à jour des statistiques reste raisonnable, la base de données supprime progressivement les entités de statistiques.
Pour en savoir plus sur les données statistiques et sur la manière dont Datastore supprime progressivement les entités statistiques, consultez la page Statistiques en mode Datastore.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/05 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/05 (UTC)."],[[["\u003cp\u003eThe Datastore Dashboard provides statistics on your application's data, accessible via the Google Cloud console's Databases page and then selecting Datastore Studio.\u003c/p\u003e\n"],["\u003cp\u003eStatistics are displayed through pie charts and tables, showing data usage by property type, entity kind, and overall space consumed by entities and indexes.\u003c/p\u003e\n"],["\u003cp\u003eThe statistics displayed include total space used, average size, entry count, and a breakdown of space usage by various property types, including metadata and datastore statistics themselves.\u003c/p\u003e\n"],["\u003cp\u003eWhile the charts show data for all entities by default, users can filter them to display data for a specific entity kind using a drop-down menu.\u003c/p\u003e\n"],["\u003cp\u003eStorage of statistics data depends on the number of different entity kinds, property types, and namespaces, and the database will progressively drop statistics entities to maintain reasonable storage overhead.\u003c/p\u003e\n"]]],[],null,["# Viewing Statistics in the Console\n\nThis page describes details of the statistics shown in the Datastore\nDashboard.\n\nViewing the statistics\n----------------------\n\nView statistics for your application's data in the Datastore\nDashboard.\n\n1. In the Google Cloud console, go to the **Databases** page.\n\n [Go to Databases](https://console.cloud.google.com/datastore/databases)\n2. Select the required database from the list of databases.\n\n3. In the navigation menu, click **Datastore Studio**.\n\n| **Note:** While Datastore removes individual entities almost immediately, a namespace container may remain visible for several days to a week after the final entity within it is removed.\n\nTypes of statistics\n-------------------\n\nThe Dashboard page displays data in various ways:\n\n- A pie chart that shows space used by each property\n type, such as string, double, or blob.\n\n- A pie chart showing space used by entity kind.\n\n- A table with the total space used by each property type. The \"Metadata\"\n property type represents space consumed by storing\n properties inside an entry that is not used by the properties directly. The\n \"Datastore Stats\" entity, if any, shows the space consumed by the statistics\n data itself in your database.\n\n- A table showing total size, average size, entry count, and the size of all\n entities, and the built-in and composite indexes.\n\n| **Note:** Operations generated by Datastore Statistics count against your [quota](/datastore/docs/pricing).\n\nBy default, the pie charts display statistics for all entities. You can restrict\nthe pie charts to a particular entity kind by choosing from the drop-down menu.\n\nStorage limitations for statistics\n----------------------------------\n\nThe statistics data is stored in your application's Datastore\ninstance. The space consumed by the statistics data increases in proportion to\nthe number of different entity kinds and property types used by your\napplication. If you use namespaces, each namespace contains a complete copy of\nthe stats for that namespace. To keep the overhead of storing and updating the\nstatistics reasonable, the database progressively drops statistics\nentities.\n\nFor details on statistics data and how Datastore progressively\ndrops statistics entities, see [Datastore mode Statistics](/datastore/docs/concepts/stats)."]]