Search code examples
azureazure-storageazure-blob-storage

Best way to index data in Azure Blob Storage?


I plan on using Azure Blob storage to store images. I will have around 5000 categories for images that I plan on using folders to keep separated. For each of the image files, the file names won't differ a lot across the board and there is the potential to need to change metadata frequently.

My original plan was to use a SQL database to index all of these files and store my metadata there, but I'm second guessing that plan.

Is it feasible to index files in Azure Blob storage using a database, or should I just stick with using blob metadata?

Edit: I guess this question should really be "are there any downsides to indexing Azure Blob storage using a relational database?". I'm much more comfortable working with a DB than I am Azure storage, so my preference is to use a DB.

I'm second guessing whether or not to use a DB after looking at Azure storage more and discovering meta-tags and indexing. Hope this helps.


Solution

  • You can use Azure Search for this task as well, store images in Azure Storage (BLOB) and use Azure Search for crawling. indexing and searching. Using metadata you can enhance your search as well. This way you might not even need to use Folders to separate different categories.