gpt4 book ai didi

google-cloud-storage - 谷歌云存储 "Minimum storage duration"的含义

转载 作者:行者123 更新时间:2023-12-04 11:58:58 32 4
gpt4 key购买 nike

我知道谷歌云存储有 4 个存储选项,每个选项都有不同的“最短存储时间”
https://cloud.google.com/storage/docs/lifecycle?hl=vi
标准存储:无
近线存储:30 天
Coldline 存储:90 天
存档存储:365 天
“最短存储期限”是什么意思?
我猜想,“最短存储时间”是您的数据保存在 Google Cloud 存储中的时间。
如果不使用,您的数据将在此期限后自动删除吗?
如:

  • 我使用选项 Nearline Storage: 30 days 来存储我的数据。
  • 如果在 30 天内我不使用这些数据。它将被删除
  • 如果我经常使用这些数据。它将被存储,直到我删除我的存储桶。

  • 我的猜测对吗?
    如果错了:请告诉我正确的事情。

    最佳答案

    为了理解Minimum Storage Duration,有必要先了解Storage classes的概念。
    什么是存储类?

    The storage class of an object or bucket affects the object's/bucket'savailability and pricing.


    根据一个人的用例以及访问存储桶中数据的频率,他可以选择可用的存储类之一:

    Standard Storage is used for data that is frequently accessed and/orstored only for short periods of time.

    Nearline Storage is a low-cost option for accessing infrequentlydata. It offers lower at-rest costs in exchange to lower availability,30 days minimum storage duration and cost for data access. It issuggested to be used in use cases where one accesses his data once permonth on average.

    Coldline Storage is similar to Nearline, but offers even lowerat-rest costs again in exhange to lower availability, 90 days minimumstorage duration and higher cost for data access.

    Archive Storage is the lowest-cost, highly durable storage servicefor data archiving, online backup, and disaster recovery. has noavailability SLA, though the typical availability is comparable toNearline Storage and Coldline Storage. Archive Storage also has highercosts for data access and operations, as well as a 365-day minimumstorage duration.


    您可以在 Storage Classes 中找到详细信息文档。
    那么什么是 最短存储时间 ?
    minimum storage duration适用于使用上述存储类之一存储的数据。您可以在文件存储此持续时间之前将其删除,但在删除时,您将被收取费用,就好像文件已存储了最短持续时间一样。
    请注意,最短存储时间与对象的自动删除无关。
    如果您想根据条件删除对象,例如 Age对象,那么您可以为目标对象设置对象生命周期策略。您可以找到有关如何删除超过 30 天的对象的实时版本的示例, here .

    关于google-cloud-storage - 谷歌云存储 "Minimum storage duration"的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64442551/

    32 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com