A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/storage/docs/hns-overview below:

Hierarchical namespace | Cloud Storage

This page provides an overview of hierarchical namespace, including its key features, common use cases, benefits, and limitations to consider.

Overview

Hierarchical namespace is a capability offered by Cloud Storage that lets you organize objects into folders and store your data in a logical file system structure. Storing your data in a file system structure enhances performance, ensures consistency, and simplifies the management of data-intensive and file-oriented workloads.

Folder operations provide reliability and management capabilities, including creating, deleting, listing, and renaming folders. The hierarchical organization of objects simplifies data organization and streamlines data management tasks. A folder in a bucket with hierarchical namespace enabled can contain objects, other folders, or a combination of both.

To use folders in a bucket, you must enable hierarchical namespace when you create the bucket. Your bucket's hierarchical namespace setting can't be changed after the bucket is created. For information about enabling hierarchical namespace for your bucket, see Create and manage buckets with hierarchical namespace enabled.

The following diagram shows an example of a bucket with hierarchical namespace enabled where objects are organized in a hierarchical structure of folders.

Figure 1. Bucket hierarchy with folders and objects. Key features

Hierarchical namespace provides the following features:

When should you enable hierarchical namespace for your bucket

You should consider enabling hierarchical namespace when using applications that expect a file system-like hierarchy and semantics. Hierarchical namespace is beneficial for data-intensive tasks like analytics, AI, and ML workloads. Here are some common scenarios where you should consider using hierarchical namespace:

Before enabling hierarchical namespace for your bucket, you should consider the limitations of hierarchical namespace. For information about hierarchical namespace limitations, see Limitations.

Benefits of hierarchical namespace

When you enable Hierarchical namespace for your buckets, you can do the following:

Platform support

Buckets with hierarchical namespace support the following Cloud Storage platform capabilities:

Compatibility with Cloud Storage operations and features

Buckets with hierarchical namespace enabled have the following interactions with other Cloud Storage operations:

Object operations

Buckets with hierarchical namespace enabled handle object operations in the following ways:

Managed folder operations

Buckets with hierarchical namespace enabled handle managed folder operations in the following ways:

Bucket operations

You can delete a bucket with hierarchical namespace enabled in the same manner as any other bucket. If a bucket enabled with hierarchical namespace only contains empty folders and no objects or managed folders, then the bucket can be deleted.

Object Lifecycle Management

Object Lifecycle Management lets you automate actions on objects based on conditions, such as age or prefix. However, Object Lifecycle Management rules can behave differently in buckets with hierarchical namespace and in buckets with a flat namespace due to the RenameFolder operation:

How to manage buckets with hierarchical namespace enabled

You can list all buckets with hierarchical namespace enabled, regardless of their storage layout. A bucket's storage layout describes how objects are arranged within a bucket, either in a flat namespace or a hierarchical namespace. For instructions on viewing a bucket's storage layout, see Get a bucket's storage layout. To list all buckets, follow the instructions detailed in List buckets.

You can delete a bucket with hierarchical namespace enabled in the same manner as any other bucket. For the purposes of deletion, if a bucket with hierarchical namespace enabled only contains empty folders and no objects or managed folders, then the bucket is considered empty. For instructions about deleting buckets, see Delete buckets.

Pricing

For pricing information, refer to Cloud Storage pricing.

Limitations

The following are the limitations of hierarchical namespace:

What's next Try it for yourself

If you're new to Google Cloud, create an account to evaluate how Cloud Storage performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.

Try Cloud Storage free

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.5