We are able to create folders under Azure Blob Storage Container without enabling Hierarchical namespace (HNS).

AGRAWAL, RISHI 0 Reputation points
2023-03-13T12:42:27.31+00:00

Using Azure Data Explorer, we are able to create folders under Azure Blob Storage Container without enabling Hierarchical namespace (HNS).

Is it expected?

How HNS is different from creating folders under containers?

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,535 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,336 Reputation points
    2023-03-15T00:01:34.6566667+00:00

    @Agrawal, Rishi Thanks for reaching out to Microsoft Q&A. I understand that you are having questions with creating folders in Blob storage without HNS.

    Azure Blob Storage is organized in a flat paradigm, rather than a hierarchical paradigm (like a classic file system). However, you can organize blobs into virtual directories in order to mimic a folder structure. A virtual directory forms part of the name of the blob and is indicated by the delimiter character. However, please note that these are not actual directories.

    On the other hand, enabling Hierarchical Namespace (HNS) in Azure Data Lake Storage Gen2 organizes objects (files) into a hierarchy of directories and subdirectories in the same way that the file system on your computer is organized. The hierarchical namespace scales linearly and doesn't degrade data capacity or performance.

    Refer below information to understand difference between Hierarchical Namespace vs Flat namespaces to further understand the difference-

    Hierarchical namespaces organize blob data into directories and stores metadata about each directory and the files within it. They keep the data organized, which yields better storage and retrieval performance for an analytical use case and lowers the cost of analysis. This structure allows operations, such as directory renames and deletes, to be performed in a single atomic operation.
    Flat namespaces, by contrast, require several operations proportionate to the number of objects in the structure.

    As per- https://medium.com/awesome-azure/azure-difference-between-azure-blob-storage-and-azure-data-lake-storage-comparison-azure-blob-vs-adls-gen2-81af5ef2a6e1

    Please also refer to this detailed video regarding differences between Azure Blob vs ADLS Gen2- https://www.youtube.com/watch?v=NHn5GAkvlwg

    Hope this helps. Please let us know if you have any more questions and we will be glad to assist you further. Thank you!

    Remember:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.