Schema design for time series data - Cloud Bigtable
文章推薦指數: 80 %
Schema design for time series data. This page describes schema design patterns for storing time series data in Cloud Bigtable. This page builds on Designing ... WhyGoogle close DiscoverwhyleadingbusinesseschooseGoogleCloud Whetheryourbusinessisearlyinitsjourneyorwellonitswaytodigitaltransformation,GoogleCloudcanhelpyousolveyourtoughestchallenges. Learnmore Keybenefits Overview Topreasonsbusinesseschooseus. Multicloud Runyourappswhereveryouneedthem. Trustandsecurity Keepyourdatasecureandcompliant. Globalinfrastructure BuildonthesameinfrastructureasGoogle. Datacloud Unifydataacrossyourorganization. Opencloud Scalewithopen,flexibletechnology. Sustainability Runonthecleanestcloudintheindustry. Productivityandcollaboration ConnectyourteamswithAI-poweredapps. Resources Events BrowseupcomingGoogleCloudevents. Blog Readourlatestproductnewsandstories. Customerstories Explorecasestudiesandvideos. Analystreports Readwhatindustryanalystssayaboutus. Solutions close IndustrySolutions Reducecost,increaseoperationalagility,andcapturenewmarketopportunities. Retail Analyticsandcollaborationtoolsfortheretailvaluechain. ConsumerPackagedGoods SolutionsforCPGdigitaltransformationandbrandgrowth. FinancialServices Computing,datamanagement,andanalyticstoolsforfinancialservices. HealthcareandLifeSciences Advanceresearchatscaleandempowerhealthcareinnovation. MediaandEntertainment Solutionsforcontentproductionanddistributionoperations. Telecommunications Hybridandmulti-cloudservicestodeployandmonetize5G. Gaming AI-drivensolutionstobuildandscalegamesfaster. Manufacturing MigrationandAItoolstooptimizethemanufacturingvaluechain. SupplyChainandLogistics Digitalsupplychainsolutionsbuiltinthecloud. Government Datastorage,AI,andanalyticssolutionsforgovernmentagencies. Education Teachingtoolstoprovidemoreengaginglearningexperiences. Notseeingwhatyou'relookingfor? Seeallindustrysolutions Notseeingwhatyou'relookingfor? Seeallsolutions ApplicationModernization Developandrunapplicationsanywhere,usingcloud-nativetechnologieslikecontainers,serverless,andservicemesh. HybridandMulti-cloudApplicationPlatform Platformformodernizinglegacyappsandbuildingnewapps. Cloud-NativeAppDevelopment End-to-endsolutionforbuilding,deploying,andmanagingapps. APIManagement AccelerateapplicationdesignanddevelopmentwithanAPI-firstapproach. ServerlessSolutions Fullymanagedenvironmentfordeveloping,deployingandscalingapps. DevOps ProcessesandresourcesforimplementingDevOpsinyourorg. ContinuousDelivery(CD) End-to-endautomationfromsourcetoproduction. ContinuousIntegration(CI) Fastfeedbackoncodechangesatscale. MainframeModernization Automatedtoolsandprescriptiveguidanceformovingtothecloud. CAMP ProgramthatusesDORAtoimproveyoursoftwaredeliverycapabilities. Hosting Servicesandinfrastructureforbuildingwebappsandwebsites. SiteReliabilityEngineering(SRE) ToolsandresourcesforadoptingSREinyourorg. ArtificialIntelligence AddintelligenceandefficiencytoyourbusinesswithAIandmachinelearning. BuildanduseAI Productstobuildanduseartificialintelligence. ContactCenterAI AImodelforspeakingwithcustomersandassistinghumanagents. AgentAssist AI-poweredconversationswithhumanagents. CloudTalentSolution AIwithjobsearchandtalentacquisitioncapabilities. DocumentAI MachinelearningandAItounlockinsightsfromyourdocuments. LendingDocAI Mortgagedocumentdatacaptureatscalewithmachinelearning. ProcurementDocAI Procurementdocumentdatacaptureatscalewithmachinelearning. Intelligentproducts CreateengagingproductownershipexperienceswithAI. DataScience PutyourdatatoworkwithDataScienceonGoogleCloud. ContractDocAI SpecializedAIforbetteringcontractunderstanding. ContactCenterAIInsights AI-poweredunderstandingtobettercustomerexperience. APIsandApplications Speedupthepaceofinnovationwithoutcoding,usingAPIs,apps,andautomation. NewBusinessChannelsUsingAPIs Attractandempoweranecosystemofdevelopersandpartners. UnlockingLegacyApplicationsUsingAPIs Cloudservicesforextendingandmodernizinglegacyapps. OpenBankingAPIx SimplifyandacceleratesecuredeliveryofopenbankingcompliantAPIs. Databases Migrateandmanageenterprisedatawithsecurity,reliability,highavailability,andfullymanageddataservices. DatabaseMigration Guidesandtoolstosimplifyyourdatabasemigrationlifecycle. DatabaseModernization Upgradestomodernizeyouroperationaldatabaseinfrastructure. GoogleCloudDatabases Databaseservicestomigrate,manage,andmodernizedata. MigrateOracleworkloadstoGoogleCloud Rehost,replatform,rewriteyourOracleworkloads. OpenSourceDatabases Fullymanagedopensourcedatabaseswithenterprise-gradesupport. SQLServeronGoogleCloud OptionsforrunningSQLServervirtualmachinesonGoogleCloud. DataCloud Unifydataacrossyourorganizationwithanopenandsimplifiedapproachtodata-driventransformationthatisunmatchedforspeed,scale,andsecuritywithAIbuilt-in. Databasessolutions Migrateandmanageenterprisedatawithsecurity,reliability,highavailability,andfullymanageddataservices. Smartanalyticssolutions Generateinstantinsightsfromdataatanyscalewithaserverless,fullymanagedanalyticsplatformthatsignificantlysimplifiesanalytics. AIsolutions AddintelligenceandefficiencytoyourbusinesswithAIandmachinelearning. DigitalTransformation Acceleratebusinessrecoveryandensureabetterfuturewithsolutionsthatenablehybridandmulti-cloud,generateintelligentinsights,andkeepyourworkersconnected. BusinessContinuity Proactivelyplanandprioritizeworkloads. DigitalInnovation Reimagineyouroperationsandunlocknewopportunities. OperationalEfficiency Prioritizeinvestmentsandoptimizecosts. COVID-19Solutions Getworkdonemoresafelyandsecurely. COVID-19SolutionsfortheHealthcareIndustry HowGoogleishelpinghealthcaremeetextraordinarychallenges. InfrastructureModernization MigratequicklywithsolutionsforSAP,VMware,Windows,Oracle,andotherworkloads. ApplicationMigration Discoveryandanalysistoolsformovingtothecloud. SAPonGoogleCloud CertificationsforrunningSAPapplicationsandSAPHANA. HighPerformanceComputing Compute,storage,andnetworkingoptionstosupportanyworkload. WindowsonGoogleCloud ToolsandpartnersforrunningWindowsworkloads. DataCenterMigration MigrationsolutionsforVMs,apps,databases,andmore. ActiveAssist Automaticcloudresourceoptimizationandincreasedsecurity. VirtualDesktops Remoteworksolutionsfordesktopsandapplications(VDI&DaaS). RapidAssessment&MigrationProgram(RAMP) End-to-endmigrationprogramtosimplifyyourpathtothecloud. BackupandDisasterRecovery Ensureyourbusinesscontinuityneedsaremet. ProductivityandCollaboration Changethewayteamsworkwithsolutionsdesignedforhumansandbuiltforimpact. GoogleWorkspace Collaborationandproductivitytoolsforenterprises. GoogleWorkspaceEssentials Securevideomeetingsandmoderncollaborationforteams. CloudIdentity UnifiedplatformforITadminstomanageuserdevicesandapps. ChromeEnterprise ChromeOS,ChromeBrowser,andChromedevicesbuiltforbusiness. CloudSearch Enterprisesearchforemployeestoquicklyfindcompanyinformation. Security Detect,investigate,andrespondtoonlinethreatstohelpprotectyourbusiness. SecurityAnalyticsandOperations Solutionforanalyzingpetabytesofsecuritytelemetry. WebAppandAPIProtection ThreatandfraudprotectionforyourwebapplicationsandAPIs. SecurityandResilienceFramework Solutionsforeachphaseofthesecurityandresiliencelifecycle. Riskandcomplianceascode(RCaC) Solutiontomodernizeyourgovernance,risk,andcompliancefunctionwithautomation. SmartAnalytics Generateinstantinsightsfromdataatanyscalewithaserverless,fullymanagedanalyticsplatformthatsignificantlysimplifiesanalytics. DataWarehouseModernization Datawarehousetojumpstartyourmigrationandunlockinsights. DataLakeModernization Servicesforbuildingandmodernizingyourdatalake. SparkonGoogleCloud RunandwriteSparkwhereyouneedit,serverlessandintegrated. StreamAnalytics Insightsfromingesting,processing,andanalyzingeventstreams. BusinessIntelligence SolutionsformodernizingyourBIstackandcreatingrichdataexperiences. DataScience PutyourdatatoworkwithDataScienceonGoogleCloud. MarketingAnalytics Solutionsforcollecting,analyzing,andactivatingcustomerdata. GeospatialAnalyticsandAI Solutionsforbuildingamoreprosperousandsustainablebusiness. Datasets DatafromGoogle,public,andcommercialproviderstoenrichyouranalyticsandAIinitiatives. StartupsandSMB AcceleratestartupandSMBgrowthwithtailoredsolutionsandprograms. StartupSolutions GrowyourstartupandsolveyourtoughestchallengesusingGoogle’sproventechnology. StartupProgram Getfinancial,business,andtechnicalsupporttotakeyourstartuptothenextlevel. SmallandMediumBusiness Exploresolutionsforwebhosting,appdevelopment,AI,andanalytics. SoftwareasaService BuildbetterSaaSproducts,scaleefficiently,andgrowyourbusiness. Products close FeaturedProducts ComputeEngine VirtualmachinesrunninginGoogle’sdatacenter. CloudStorage Objectstoragethat’ssecure,durable,andscalable. CloudSDK Command-linetoolsandlibrariesforGoogleCloud. CloudSQL RelationaldatabaseserviceforMySQL,PostgreSQLandSQLServer. GoogleKubernetesEngine Managedenvironmentforrunningcontainerizedapps. BigQuery Datawarehouseforbusinessagilityandinsights. CloudCDN Contentdeliverynetworkfordeliveringwebandvideo. Dataflow Streaminganalyticsforstreamandbatchprocessing. Operations Monitoring,logging,andapplicationperformancesuite. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. Anthos Platformformodernizingexistingappsandbuildingnewones. Notseeingwhatyou'relookingfor? Seeallproducts(100+) AIandMachineLearning VertexAI UnifiedMLPlatformfortraining,hosting,andmanagingMLmodels. Speech-to-Text Speechrecognitionandtranscriptionsupporting125languages. VisionAI Customandpre-trainedmodelstodetectemotion,text,more. Text-to-Speech Speechsynthesisin220+voicesand40+languages. CloudTranslation Languagedetection,translation,andglossarysupport. CloudNaturalLanguage Sentimentanalysisandclassificationofunstructuredtext. AutoML Custommachinelearningmodeltraininganddevelopment. VideoAI Videoclassificationandrecognitionusingmachinelearning. AIInfrastructure Optionsforeverybusinesstotraindeeplearningandmachinelearningmodelscost-effectively. Dialogflow Conversationapplicationsandsystemsdevelopmentsuiteforvirtualagents. AutoMLTables ServicefortrainingMLmodelswithstructureddata. Notseeingwhatyou'relookingfor? SeeallAIandmachinelearningproducts APIManagement ApigeeAPIManagement ManagethefulllifecycleofAPIsanywherewithvisibilityandcontrol. ApigeeIntegration API-firstintegrationtoconnectexistingdataandapplications. CloudEndpoints DeploymentanddevelopmentmanagementforAPIsonGoogleCloud. CloudHealthcareAPI SolutiontobridgeexistingcaresystemsandappsonGoogleCloud. AppSheet No-codedevelopmentplatformtobuildandextendapplications. APIGateway Develop,deploy,secure,andmanageAPIswithafullymanagedgateway. Compute ComputeEngine VirtualmachinesrunninginGoogle’sdatacenter. AppEngine Serverlessapplicationplatformforappsandbackends. CloudGPUs GPUsforML,scientificcomputing,and3Dvisualization. MigrateforComputeEngine ServerandvirtualmachinemigrationtoComputeEngine. SpotVMs Computeinstancesforbatchjobsandfault-tolerantworkloads. ShieldedVMs ReinforcedvirtualmachinesonGoogleCloud. Sole-TenantNodes Dedicatedhardwareforcompliance,licensing,andmanagement. BareMetal InfrastructuretorunspecializedworkloadsonGoogleCloud. Recommender UsagerecommendationsforGoogleCloudproductsandservices. VMwareEngine Fullymanaged,nativeVMwareCloudFoundationsoftwarestack. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. Notseeingwhatyou'relookingfor? Seeallcomputeproducts Containers GoogleKubernetesEngine Managedenvironmentforrunningcontainerizedapps. ContainerRegistry Registryforstoring,managing,andsecuringDockerimages. ContainerSecurity Containerenvironmentsecurityforeachstageofthelifecycle. CloudBuild SolutionforrunningbuildstepsinaDockercontainer. DeepLearningContainers Containerswithdatascienceframeworks,libraries,andtools. KubernetesApplications Containerizedappswithprebuiltdeploymentandunifiedbilling. ArtifactRegistry Packagemanagerforbuildartifactsanddependencies. Knative ComponentstocreateKubernetes-nativecloud-basedsoftware. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. CloudCode IDEsupporttowrite,run,anddebugKubernetesapplications. DataAnalytics BigQuery Datawarehouseforbusinessagilityandinsights. Looker PlatformforBI,dataapplications,andembeddedanalytics. Dataflow Streaminganalyticsforstreamandbatchprocessing. Pub/Sub Messagingserviceforeventingestionanddelivery. Dataproc ServiceforrunningApacheSparkandApacheHadoopclusters. CloudDataFusion Dataintegrationforbuildingandmanagingdatapipelines. CloudComposer WorkfloworchestrationservicebuiltonApacheAirflow. Dataprep Servicetopreparedataforanalysisandmachinelearning. Dataplex Intelligentdatafabricforunifyingdatamanagementacrosssilos. DataCatalog Metadataservicefordiscovering,understanding,andmanagingdata. AnalyticsHub Serviceforsecurelyandefficientlyexchangingdataanalyticsassets. Notseeingwhatyou'relookingfor? Seealldataanalyticsproducts Databases CloudBigtable Cloud-nativewide-columndatabaseforlargescale,low-latencyworkloads. Firestore Cloud-nativedocumentdatabaseforbuildingrichmobile,web,andIoTapps. Memorystore In-memorydatabaseformanagedRedisandMemcached. CloudSpanner Cloud-nativerelationaldatabasewithunlimitedscaleand99.999%availability. CloudSQL FullymanageddatabaseforMySQL,PostgreSQL,andSQLServer. DatabaseMigrationService Serverless,minimaldowntimemigrationstoCloudSQL. BareMetalSolutionforOracle InfrastructuretorunspecializedOracleworkloadsonGoogleCloud. FirebaseRealtimeDatabase NoSQLdatabaseforstoringandsyncingdatainrealtime. Datastream Serverlesschangedatacaptureandreplicationservice. DeveloperTools ArtifactRegistry Universalpackagemanagerforbuildartifactsanddependencies. CloudBuild Continuousintegrationandcontinuousdeliveryplatform. CloudCode IDEsupporttowrite,run,anddebugKubernetesapplications. CloudDeploymentManager ServiceforcreatingandmanagingGoogleCloudresources. gcloudCLI CommandlinetoolsandlibrariesforGoogleCloud. CloudScheduler Cronjobschedulerfortaskautomationandmanagement. CloudSourceRepositories PrivateGitrepositorytostore,manage,andtrackcode. CloudTasks Taskmanagementserviceforasynchronoustaskexecution. GoogleCloudDeploy FullymanagedcontinuousdeliverytoGoogleKubernetesEngine. Tekton Kubernetes-nativeresourcesfordeclaringCI/CDpipelines. ToolsforPowerShell FullcloudcontrolfromWindowsPowerShell. Notseeingwhatyou'relookingfor? Seealldevelopertools HealthcareandLifeSciences ApigeeHealthcareAPIx FHIRAPI-baseddigitalserviceproduction. CloudHealthcareAPI SolutionforbridgingexistingcaresystemsandappsonGoogleCloud. CloudLifeSciences Toolsformanaging,processing,andtransformingbiomedicaldata. HealthcareNaturalLanguageAI Real-timeinsightsfromunstructuredmedicaltext. HybridandMulticloud Anthos Platformformodernizingexistingappsandbuildingnewones. Looker PlatformforBI,dataapplications,andembeddedanalytics. CloudRunforAnthos IntegrationthatprovidesaserverlessdevelopmentplatformonGKE. GoogleCloudMarketplaceforAnthos Containerizedappswithprebuiltdeploymentandunifiedbilling. MigrateforAnthos TooltomoveworkloadsandexistingapplicationstoGKE. Operations Monitoring,logging,andapplicationperformancesuite. CloudBuild ServiceforexecutingbuildsonGoogleCloudinfrastructure. TrafficDirector Trafficcontrolpaneandmanagementforopenservicemesh. ApigeeAPIManagement APImanagement,development,andsecurityplatform. GoogleDistributedCloud Fullymanagedsolutionsfortheedgeanddatacenters. InternetofThings CloudIoTCore IoTdevicemanagement,integration,andconnectionservice. EdgeTPU ASICdesignedtorunMLinferenceandAIattheedge. ManagementTools AnthosConfigManagement Automatepolicyandsecurityforyourdeployments. CarbonFootprint DashboardtoviewandexportGoogleCloudcarbonemissionsreports. CloudAPIs ProgrammaticinterfacesforGoogleCloudservices. CloudConsole Web-basedinterfaceformanagingandmonitoringcloudapps. CloudMobileApp ApptomanageGoogleCloudservicesfromyourmobiledevice. CloudShell Interactiveshellenvironmentwithabuilt-incommandline. ConfigConnector Kubernetesadd-onformanagingGoogleCloudresources. CostManagement Toolsformonitoring,controlling,andoptimizingyourcosts. IntelligentManagement Toolsforeasilymanagingperformance,security,andcost. PrivateCatalog Servicecatalogforadminsmanaginginternalenterprisesolutions. TerraformonGoogleCloud OpensourcetooltoprovisionGoogleCloudresourceswithdeclarativeconfigurationfiles. MediaandGaming GameServers GameservermanagementservicerunningonGoogleKubernetesEngine. OpenCue Opensourcerendermanagerforvisualeffectsandanimation. TranscoderAPI Convertvideofilesandpackagethemforoptimizeddelivery. Migration ApplicationMigration Appmigrationtothecloudforlow-costrefreshcycles. BigQueryDataTransferService DataimportserviceforschedulingandmovingdataintoBigQuery. CloudFoundationToolkit ReferencetemplatesforDeploymentManagerandTerraform. DatabaseMigrationService Serverless,minimaldowntimemigrationstoCloudSQL. MigrateforAnthos ComponentsformigratingVMsintosystemcontainersonGKE. MigrateforComputeEngine ComponentsformigratingVMsandphysicalserverstoComputeEngine. RapidAssessment&MigrationProgram(RAMP) End-to-endmigrationprogramtosimplifyyourpathtothecloud. TransferAppliance StorageserverformovinglargevolumesofdatatoGoogleCloud. StorageTransferService Datatransfersfromonlineandon-premisessourcestoCloudStorage. VMwareEngine MigrateandrunyourVMwareworkloadsnativelyonGoogleCloud. Networking CloudArmor SecuritypoliciesanddefenseagainstwebandDDoSattacks. CloudCDN Contentdeliverynetworkforservingwebandvideocontent. CloudDNS Domainnamesystemforreliableandlow-latencynamelookups. CloudLoadBalancing Servicefordistributingtrafficacrossapplicationsandregions. CloudNAT NATserviceforgivingprivateinstancesinternetaccess. HybridConnectivity ConnectivityoptionsforVPN,peering,andenterpriseneeds. NetworkConnectivityCenter Connectivitymanagementtohelpsimplifyandscalenetworks. NetworkIntelligenceCenter Networkmonitoring,verification,andoptimizationplatform. NetworkServiceTiers Cloudnetworkoptionsbasedonperformance,availability,andcost. NetworkTelemetry VPCflowlogsfornetworkmonitoring,forensics,andsecurity. TrafficDirector Trafficcontrolpaneandmanagementforopenservicemesh. Notseeingwhatyou'relookingfor? Seeallnetworkingproducts Operations CloudLogging GoogleCloudaudit,platform,andapplicationlogsmanagement. CloudMonitoring Infrastructureandapplicationhealthwithrichmetrics. ErrorReporting Applicationerroridentificationandanalysis. KubernetesEngineMonitoring GKEappdevelopmentandtroubleshooting. CloudTrace Tracingsystemcollectinglatencydatafromapplications. CloudProfiler CPUandheapprofilerforanalyzingapplicationperformance. CloudDebugger Real-timeapplicationstateinspectionandin-productiondebugging. IntelligentOperations Toolsforeasilyoptimizingperformance,security,andcost. SecurityandIdentity CloudIAM PermissionsmanagementsystemforGoogleCloudresources. AssuredWorkloads Complianceandsecuritycontrolsforsensitiveworkloads. CloudKeyManagement ManageencryptionkeysonGoogleCloud. ConfidentialComputing EncryptdatainusewithConfidentialVMs. SecurityCommandCenter PlatformfordefendingagainstthreatstoyourGoogleCloudassets. CloudDataLossPrevention Sensitivedatainspection,classification,andredactionplatform. ManagedServiceforMicrosoftActiveDirectory HardenedservicerunningMicrosoft®ActiveDirectory(AD). AccessTransparency Cloudprovidervisibilitythroughnearreal-timelogs. TitanSecurityKey Two-factorauthenticationdeviceforuseraccountprotection. SecretManager StoreAPIkeys,passwords,certificates,andothersensitivedata. BeyondCorpEnterprise Zerotrustsolutionforsecureapplicationandresourceaccess. Notseeingwhatyou'relookingfor? Seeallsecurityandidentityproducts ServerlessComputing CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. CloudFunctions Platformforcreatingfunctionsthatrespondtocloudevents. AppEngine Serverlessapplicationplatformforappsandbackends. Workflows WorkfloworchestrationforserverlessproductsandAPIservices. Storage AllStorageProducts Cloud-basedstorageservicesforyourbusiness. CloudStorage Objectstoragethat’ssecure,durable,andscalable. Filestore Filestoragethatishighlyscalableandsecure. PersistentDisk BlockstorageforvirtualmachineinstancesrunningonGoogleCloud. CloudStorageforFirebase Objectstorageforstoringandservinguser-generatedcontent. LocalSSD Blockstoragethatislocallyattachedforhigh-performanceneeds. StorageTransferService Datatransfersfromonlineandon-premisessourcestoCloudStorage. GoogleWorkspaceEssentials Securevideomeetingsandmoderncollaborationforteams. Pricing close Savemoneywithourtransparentapproachtopricing GoogleCloud'spay-as-you-gopricingoffersautomaticsavingsbasedonmonthlyusageanddiscountedratesforprepaidresources.Contactustodaytogetaquote. Requestaquote GoogleCloud Pricingoverview Payonlyforwhatyouusewithnolock-in. Pricelist Getpricingdetailsforindividualproducts. Pricingcalculator Calculateyourcloudsavings. GoogleCloudFreeProgram $300infreecreditsand20+freeproducts. RelatedProducts GoogleWorkspace GoogleMapsPlatform ChromeEnterprise Apigee Looker Firebase Gettingstarted close GetstartedwithGoogleCloud Startbuildingrightawayonoursecure,intelligentplatform.Newcustomersget$300infreecreditstousetowardGoogleCloudproductsandservices. Getstartedforfree Self-serviceResources Getstarted GetstartedwithGoogleCloud. DeveloperCenter StayintheknowandbecomeanInnovator. GoogleCloudcertification Prepareandregisterforcertifications. Experthelpandtraining Consulting Partnerwithourexpertsoncloudprojects. TechnicalAccountManagement GetongoingguidancefromGoogle. Training Enrollinon-demandorclassroomtraining. Partnersandthird-partytools GoogleCloudpartners Explorebenefitsofworkingwithapartner. Becomeapartner JointhePartnerAdvantageprogram. GoogleCloudMarketplace Deployready-to-gosolutionsinafewclicks. Docs Support Docs Support Language English Deutsch Español–AméricaLatina Français Português–Brasil 中文–简体 日本語 한국어 Signin CloudBigtable Overview Guides Reference Samples Support Resources ContactUs Getstartedforfree WhyGoogle More Solutions More Products More Pricing More Gettingstarted More Docs Overview Guides Reference Samples Support Resources Support Console ContactUs Getstartedforfree Discover Bigtableoverview Instances,clusters,andnodes Getstarted QuickstartusingthecbtCLI QuickstartusingtheHBaseshell Bigtablecodelab Getstartedwiththeclientlibraries C#helloworldC++helloworldGoHelloworldHappyBasehelloworldHBaseHelloworldJavahelloworldNode.jshelloworldPHPhelloworldPythonhelloworldRubyhelloworldHBaseAppEngineflexibleenvironmentHBaseAppEnginestandardenvironmentHBaseHadoopMapReducejobHBasecommand-lineinterfaceGoAppEngineapplication InstallthegcloudCLI Provisionandmanage Createandmodifyinstances ChoosebetweenSSDandHDDCreateaninstanceModifyaninstanceDeleteaninstanceScalingclustersAutoscaling Createandmanagetables Replication AboutreplicationExamplesofreplicationsettingsFailoversManagefailovers Backupandrestore BackupsManagebackups Createandmanageinstancelabels Develop Schemadesign DesignaschemaSchemadesignbestpracticesTime-seriesdataschemas Readandwriterequests WritesWriteexamplesReadsReadexamplesFiltersUsefilters Garbagecollection AboutgarbagecollectionConfiguregarbagecollectionSimulatecell-levelTTLSequentialnumbersintimestampsKeeponlythelatestvalue Appprofiles AboutappprofilesCreateandconfigureappprofiles UsetheHBaseAPI BigtableandtheHBaseAPIHBaseandBigtabledifferencesCreateaconnectionHandlebatchexceptionsInstalltheHBaseshellMigratefromearlierHBaseversionsReportclient-sidemetrics Usetheemulator Monitorandtroubleshoot Understandperformance Monitoring Metrics UseKeyVisualizer OverviewofKeyVisualizerUseKeyVisualizerExploreheatmapsHeatmappatternsKeyVisualizermetricsDiagnosticmessages Connectionpools Configureconnectionpools Createatesttable Secure Authentication AccesscontrolwithIAM Auditlogging AuditlogginginformationEstimateDataAccessauditlogcostsDataAccessauditlogfieldsAuditlogexample Encryption Customer-managedencryptionkeys(CMEK)UseCMEK Migrate Importandexportdata MigratedatafromHBase BigtablecodelabforCassandrausers ImportaCSVfile Integrate IntegrationswithBigtable UseCloudBigtablewithMemcached Monitortime-seriesdatawithOpenTSDB UseCloudFunctions StoregraphdatawithJanusGraph CreateaHadoopcluster Viewsamples AllBigtablecodesamples Allcodesamplesforallproducts DiscoverwhyleadingbusinesseschooseGoogleCloud Learnmore Keybenefits Overview Multicloud Trustandsecurity Globalinfrastructure Datacloud Opencloud Sustainability Productivityandcollaboration Resources Events Blog Customerstories Analystreports IndustrySolutions Retail ConsumerPackagedGoods FinancialServices HealthcareandLifeSciences MediaandEntertainment Telecommunications Gaming Manufacturing SupplyChainandLogistics Government Education Seeallindustrysolutions Seeallsolutions ApplicationModernization HybridandMulti-cloudApplicationPlatform Cloud-NativeAppDevelopment APIManagement ServerlessSolutions DevOps ContinuousDelivery(CD) ContinuousIntegration(CI) MainframeModernization CAMP Hosting SiteReliabilityEngineering(SRE) ArtificialIntelligence BuildanduseAI ContactCenterAI AgentAssist CloudTalentSolution DocumentAI LendingDocAI ProcurementDocAI Intelligentproducts DataScience ContractDocAI ContactCenterAIInsights APIsandApplications NewBusinessChannelsUsingAPIs UnlockingLegacyApplicationsUsingAPIs OpenBankingAPIx Databases DatabaseMigration DatabaseModernization GoogleCloudDatabases MigrateOracleworkloadstoGoogleCloud OpenSourceDatabases SQLServeronGoogleCloud DataCloud Databasessolutions Smartanalyticssolutions AIsolutions DigitalTransformation BusinessContinuity DigitalInnovation OperationalEfficiency COVID-19Solutions COVID-19SolutionsfortheHealthcareIndustry InfrastructureModernization ApplicationMigration SAPonGoogleCloud HighPerformanceComputing WindowsonGoogleCloud DataCenterMigration ActiveAssist VirtualDesktops RapidAssessment&MigrationProgram(RAMP) BackupandDisasterRecovery ProductivityandCollaboration GoogleWorkspace GoogleWorkspaceEssentials CloudIdentity ChromeEnterprise CloudSearch Security SecurityAnalyticsandOperations WebAppandAPIProtection SecurityandResilienceFramework Riskandcomplianceascode(RCaC) SmartAnalytics DataWarehouseModernization DataLakeModernization SparkonGoogleCloud StreamAnalytics BusinessIntelligence DataScience MarketingAnalytics GeospatialAnalyticsandAI Datasets StartupsandSMB StartupSolutions StartupProgram SmallandMediumBusiness SoftwareasaService FeaturedProducts ComputeEngine CloudStorage CloudSDK CloudSQL GoogleKubernetesEngine BigQuery CloudCDN Dataflow Operations CloudRun Anthos Seeallproducts(100+) AIandMachineLearning VertexAI Speech-to-Text VisionAI Text-to-Speech CloudTranslation CloudNaturalLanguage AutoML VideoAI AIInfrastructure Dialogflow AutoMLTables SeeallAIandmachinelearningproducts APIManagement ApigeeAPIManagement ApigeeIntegration CloudEndpoints CloudHealthcareAPI AppSheet APIGateway Compute ComputeEngine AppEngine CloudGPUs MigrateforComputeEngine SpotVMs ShieldedVMs Sole-TenantNodes BareMetal Recommender VMwareEngine CloudRun Seeallcomputeproducts Containers GoogleKubernetesEngine ContainerRegistry ContainerSecurity CloudBuild DeepLearningContainers KubernetesApplications ArtifactRegistry Knative CloudRun CloudCode DataAnalytics BigQuery Looker Dataflow Pub/Sub Dataproc CloudDataFusion CloudComposer Dataprep Dataplex DataCatalog AnalyticsHub Seealldataanalyticsproducts Databases CloudBigtable Firestore Memorystore CloudSpanner CloudSQL DatabaseMigrationService BareMetalSolutionforOracle FirebaseRealtimeDatabase Datastream DeveloperTools ArtifactRegistry CloudBuild CloudCode CloudDeploymentManager gcloudCLI CloudScheduler CloudSourceRepositories CloudTasks GoogleCloudDeploy Tekton ToolsforPowerShell Seealldevelopertools HealthcareandLifeSciences ApigeeHealthcareAPIx CloudHealthcareAPI CloudLifeSciences HealthcareNaturalLanguageAI HybridandMulticloud Anthos Looker CloudRunforAnthos GoogleCloudMarketplaceforAnthos MigrateforAnthos Operations CloudBuild TrafficDirector ApigeeAPIManagement GoogleDistributedCloud InternetofThings CloudIoTCore EdgeTPU ManagementTools AnthosConfigManagement CarbonFootprint CloudAPIs CloudConsole CloudMobileApp CloudShell ConfigConnector CostManagement IntelligentManagement PrivateCatalog TerraformonGoogleCloud MediaandGaming GameServers OpenCue TranscoderAPI Migration ApplicationMigration BigQueryDataTransferService CloudFoundationToolkit DatabaseMigrationService MigrateforAnthos MigrateforComputeEngine RapidAssessment&MigrationProgram(RAMP) TransferAppliance StorageTransferService VMwareEngine Networking CloudArmor CloudCDN CloudDNS CloudLoadBalancing CloudNAT HybridConnectivity NetworkConnectivityCenter NetworkIntelligenceCenter NetworkServiceTiers NetworkTelemetry TrafficDirector Seeallnetworkingproducts Operations CloudLogging CloudMonitoring ErrorReporting KubernetesEngineMonitoring CloudTrace CloudProfiler CloudDebugger IntelligentOperations SecurityandIdentity CloudIAM AssuredWorkloads CloudKeyManagement ConfidentialComputing SecurityCommandCenter CloudDataLossPrevention ManagedServiceforMicrosoftActiveDirectory AccessTransparency TitanSecurityKey SecretManager BeyondCorpEnterprise Seeallsecurityandidentityproducts ServerlessComputing CloudRun CloudFunctions AppEngine Workflows Storage AllStorageProducts CloudStorage Filestore PersistentDisk CloudStorageforFirebase LocalSSD StorageTransferService GoogleWorkspaceEssentials Savemoneywithourtransparentapproachtopricing Requestaquote GoogleCloud Pricingoverview Pricelist Pricingcalculator GoogleCloudFreeProgram RelatedProducts GoogleWorkspace GoogleMapsPlatform ChromeEnterprise Apigee Looker Firebase GetstartedwithGoogleCloud Getstartedforfree Self-serviceResources Getstarted DeveloperCenter GoogleCloudcertification Experthelpandtraining Consulting TechnicalAccountManagement Training Partnersandthird-partytools GoogleCloudpartners Becomeapartner GoogleCloudMarketplace Home Docs CloudBigtable Documentation Guides Sendfeedback Schemadesignfortimeseriesdata Thispagedescribesschemadesignpatternsforstoringtimeseriesdatain CloudBigtable.ThispagebuildsonDesigningyourschemaand assumesyouarefamiliarwiththeconceptsandrecommendationsdescribedonthat page. Atimeseriesisacollectionofdatathatconsistsofmeasurementsandthe timeswhenthemeasurementsarerecorded.Examplesoftimeseriesincludethe following: Theplotofmemoryusageonyourcomputer Temperatureovertimeonanewsreport Stockmarketpricesoveraperiodoftime Agoodschemaresultsinexcellentperformanceandscalability,andabadschema canleadtoapoorlyperformingsystem.However,nosingleschemadesign providesthebestfitforallusecases. Thepatternsdescribedonthispageprovideastartingpoint.Yourunique datasetandthequeriesyouplantousearethemostimportantthingsto considerasyoudesignaschemaforyourtime-seriesdata. Thebasicdesignpatternsforstoringtime-seriesdatain Bigtableareasfollows: Rowsaretimebuckets Newcolumnsfornewevents Newcellsfornewevents Rowsrepresentsingletimestamps Serializedcolumndata Unserializedcolumndata Dataforexamples Toillustratethedifferencesbetweenpatterns,theexamplesonthispageassume thatyouarestoringdataforanappthatrecordsthe measurementsthatweatherballoonstakeonceeveryminute.Weuseeventto meanasinglerequestthatwritesoneormultiplecellsatthe sametime.LocationIDscorrespondwithGoogleCloudregions. Measurement Example Timestampsonthispageareformattedlike`tYYYY-MM-DD-HHMM`for humanreadability.Inaproductiontable,timestampsareusually expressedasthenumberofmicrosecondssince1970-01-0100:00:00 UTC,like`1616264288050807`). Pressure(pascals) 94587 Temperature(Celsius) 9.5 Humidity(percentage) 65 Altitude(meters) 601 Relateddata Example BalloonID 3698 Location asia-southeast1 Timestamp1 t2021-03-05-1204 Timebuckets Inatimebucketpattern,eachrowinyourtablerepresentsa"bucket"oftime, suchasanhour,day,ormonth.Arowkeyincludesanon-timestampidentifier, suchasweek49,forthetimeperiodrecordedintherow,alongwithother identifyingdata. Thesizeofthebucketthatyouuse—suchasminute,hour,orday— dependsonthequeriesthatyouplantouseandon Bigtabledatasizelimits.Forinstance,if rowsthatcontainanhourofdataarebiggertherecommendedmaximumsize perrowof100MB,thenrowsthatrepresentahalfhour oraminuteareprobablyabetterchoice. Advantagesoftimebucketpatternsincludethefollowing: You'llseebetterperformance.Forexample,ifyoustore100 measurements,Bigtablewritesandreadsthosemeasurementsfaster iftheyareinonerowthaniftheyarein100rows. Datastoredinthiswayiscompressedmoreefficientlythandataintall, narrowtables. Disadvantagesincludethefollowing: Time-bucketschemadesignpatternsaremorecomplicatedthansingle-timestamp patternsandcantakemoretimeandefforttodevelop. Addingnewcolumnsfornewevents Inthistimebucketpattern,youwriteanewcolumntoarowforeachevent, storingthedatainthecolumnqualifierratherthanasacellvalue. Thismeansthatforeachcell,yousendthecolumnfamily,columnqualifier,and timestamp,butnovalue. Usingthispatternforthesampleweatherballoondata,eachrowcontainsall themeasurementsforasinglemetric,suchaspressure,forasingleweather balloon,overthecourseofaweek.Eachrowkeycontainsthelocation,balloon ID,metricthatyouarerecordingintherow,andaweeknumber.Everytimea balloonreportsitsdataforametric,youaddanewcolumntotherow.The columnqualifiercontainsthemeasurement,thepressureinPascals,forthe minuteidentifiedbythecelltimestamp. Inthisexample,afterthreeminutesarowmightlooklikethis: Rowkey 94558 94122 95992 us-west2#3698#pressure#week1 t2021-03-05-1200 t2021-03-05-1201 t2021-03-05-1202 Usecasesforthispatternincludethefollowing: Youdon'tneedtomeasurechangesinyourtimeseriesdata. Youwanttosavestoragespacebyusingcolumnqualifiersasdata. Addingnewcellsfornewevents Inthistimebucketpattern,youaddnewcellstoexistingcolumnswhenyou writeanewevent.Thispatternletsyoutakeadvantageof Bigtable'sabilitytoletyoustoremultipletimestampedcellsin agivenrowandcolumn.It'simportanttospecifygarbagecollectionruleswhen youusethispattern. Usingtheweatherballoondataasanexample,eachrowcontainsallthe measurementsforasingleweatherballoonoverthecourseofaweek.Therowkey prefixisanidentifierfortheweek,soyoucanreadanentireweek'sworthof dataformultipleballoonswithasinglequery.Theotherrowkeysegmentsare thelocationwheretheballoonoperatesandtheIDnumberfortheballoon.The tablehasonecolumnfamily,measurements,andthatcolumnfamilyhasone columnforeachtypeofmeasurement:pressure,temperature,humidity,and altitude. Everytimeaballoonsendsitsmeasurements,theapplication writesnewvaluestotherowthatholdsthecurrentweek'sdatafortheballoon, writingadditionaltimestampedcellstoeachcolumn.Attheendoftheweek, eachcolumnineachrowhasonemeasurementforeachminuteoftheweek,or 10,080cells(ifyourgarbagecollectionpolicyallowsit). Eachcolumnineachrowholdsameasurementforeachminuteoftheweek.Inthis case,afterthreeminutes,thefirsttwocolumnsinarowmightlooklikethis: Rowkey pressure temp asia-south2#3698#week1 94558(t2021-03-05-1200) 9.5(t2021-03-05-1200) 94122(t2021-03-05-1201) 9.4(t2021-03-05-1201) 95992(t2021-03-05-1202) 9.2(t2021-03-05-1202) Usecasesforthispatternincludethefollowing: Youwanttobeabletomeasurechangesinmeasurementsovertime. Single-timestamprows Inthispattern,youcreatearowforeachneweventormeasurementinsteadof addingcellstocolumnsinexistingrows.Therowkeysuffixisthetimestamp value.Tablesthatfollowthispatterntendtobetallandnarrow,andeach columninarowcontainsonlyonecell. Important:Toavoidhotspots,neveruseatimestampvalueasarowkeyprefix. Single-timestampserialized Inthispattern,youstoreallthedataforarowinasinglecolumnina serializedformatsuchasaprotocolbuffer(protobuf).Thisapproachis describedinmoredetailonDesigningyourschema. Forexample,ifyouusethispatterntostoretheweatherballoondata,your tablemightlooklikethisafterfourminutes: Rowkey measurements_blob us-west2#3698#2021-03-05-1200 protobuf_1 us-west2#3698#2021-03-05-1201 protobuf_2 us-west2#3698#2021-03-05-1202 protobuf_3 us-west2#3698#2021-03-05-1203 protobuf_4 Advantagesofthispatternincludethefollowing: Storageefficiency Speed Disadvantagesincludethefollowing: Theinabilitytoretrieveonlycertaincolumnswhenyoureadthedata Theneedtodeserializethedataafterit'sread Usecasesforthispatternincludethefollowing: Youarenotsurehowyouwillquerythedataoryourqueriesmight fluctuate. Yourneedtokeepcostsdownoutweighsyourneedtobeabletofilterdata beforeyouretrieveitfromBigtable. Eacheventcontainssomanymeasurementsthatyoumightexceedthe 100MBper-rowlimitifyoustorethedatainmultiple columns. Single-timestampunserialized Inthispattern,youstoreeacheventinitsownrow,evenifyouarerecording onlyonemeasurement.Thedatainthecolumnsisnotserialized. Advantagesofthispatternincludethefollowing: Itisgenerallyeasiertoimplementthanatime-bucketpattern. Youmightspendlesstimerefiningyourschemabeforeusing it. Disadvantagesofthispatternoftenoutweightheadvantages: Bigtableislessperformantwiththispattern. Datastoredthiswayisnotasefficientlycompressedasdatainwider columns. Evenwhenthetimestampisattheendoftherowkey,thispatterncanresult inhotspots. Usecasesforthispatternincludethefollowing: Youwanttoalwaysretrieveallcolumnsbutonlyaspecifiedrangeof timestamps,butyouhaveareasonnottostorethedatainaserialized structure. Youwanttostoreanunboundednumberofevents. Usingtheweatherballoonexampledata,thecolumnfamilyand columnqualifiersarethesameastheexampleusingtimebucketsandnewcells. Inthispattern,however,everysetofreportedmeasurementsforeachweather ballooniswrittentoanewrow.Thefollowingtableshowsfiverowsthatare writtenusingthispattern: Rowkey pressure temperature humidity altitude us-west2#3698#2021-03-05-1200 94558 9.6 61 612 us-west2#3698#2021-03-05-1201 94122 9.7 62 611 us-west2#3698#2021-03-05-1202 95992 9.5 58 602 us-west2#3698#2021-03-05-1203 96025 9.5 66 598 us-west2#3698#2021-03-05-1204 96021 9.6 63 624 Additionalstrategies Ifyouneedtosendmultipledifferentqueriesforthesamedataset,consider storingyourdatainmultipletables,eachwitharowkeydesignedforoneof thequeries. Youcanalsocombinepatternsinsomecases.Forexample,youcanstore serializeddatainrowsthatrepresent timebuckets,aslongasyoudon'tlettherowsbecometoobig. What'snext Reviewthestepsinvolvedinplanningaschema. Understandthebestpracticesfordesigningaschema. ReadabouttheperformanceyoucanexpectfromBigtable. ExplorethediagnosticcapabilitiesofKeyVisualizer. Workthroughatutorialonmonitoringtime-seriesdata withOpenTSDBandGoogleCloud. Sendfeedback Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates. Lastupdated2022-03-23UTC. [{ "type":"thumb-down", "id":"hardToUnderstand", "label":"Hardtounderstand" },{ "type":"thumb-down", "id":"incorrectInformationOrSampleCode", "label":"Incorrectinformationorsamplecode" },{ "type":"thumb-down", "id":"missingTheInformationSamplesINeed", "label":"Missingtheinformation/samplesIneed" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Needtotellusmore? WhyGoogle ChoosingGoogleCloud Trustandsecurity Opencloud Multicloud Globalinfrastructure Sustainability Customersandcasestudies Analystreports Whitepapers Blog Productsandpricing GoogleCloudpricing GoogleWorkspacepricing MapsPlatformpricing Seeallproducts Solutions Infrastructuremodernization Databases Applicationmodernization Smartanalytics ArtificialIntelligence Security Productivity&worktransformation Industrysolutions DevOpssolutions Smallbusinesssolutions Seeallsolutions Resources GoogleClouddocumentation GoogleCloudquickstarts GoogleCloudMarketplace GoogleWorkspaceMarketplace Learnaboutcloudcomputing Support Codesamples Tutorials Training Certifications GoogleDevelopers GoogleCloudforStartups Systemstatus ReleaseNotes Engage Contactsales FindaPartner BecomeaPartner Events Podcast DeveloperCenter PressCorner GoogleCloudonYouTube GoogleCloudTechonYouTube GoogleWorkspaceonYouTube FollowonTwitter JoinUserResearch We'rehiring.JoinGoogleCloud! GoogleCloudCommunity CookieSettings AboutGoogle Privacy Siteterms GoogleCloudterms Carbonneutralsince2007 SignupfortheGoogleCloudnewsletter Subscribe Language English Deutsch Español–AméricaLatina Français Português–Brasil 中文–简体 日本語 한국어
延伸文章資訊
- 1Schema Object Names and Qualifiers - Oracle Help Center
Rules for naming schema objects and schema object location qualifiers ... Each period separator, ...
- 2Duration - Schema.org Type
The length of time it takes to perform instructions or a direction (not including time to prepare...
- 3Schema Configuration - Cortex metrics
Cortex chunks storage stores indexes and chunks in table-based data storages. When such a storage...
- 4The Role of a Schema in Psychology - Verywell Mind
In psychology, a schema is a cognitive framework that helps organize and ... When the little girl...
- 5Schema of period submission | Download Scientific Diagram
Download scientific diagram | Schema of period submission from publication: Thesauri of Historica...