Home > database >  What is the difference between Storage and Databases in cloud services?
What is the difference between Storage and Databases in cloud services?

Time:10-11

I am learning the GCP fundamental course, and I am confused about the difference between Storage and Databases in cloud services. Because data can also be considered a kind of file, can data also be stored in Storage? Could you help explain the difference between these two concepts with an example? Thank you so much.

CodePudding user response:

Storage is for file storage such as images and pdfs.

Database is basically a storage but it stores data records which can be queried using a query language.

CodePudding user response:

So in the storage, you can store files such as images. You can then store the link used to access that in a database. In a database, you store values such as users, usernames, and passwords. Imagine having a database with users, you would have both username and password text in the database and have another value with the image. The image is stored in the storage and in the database we just have the link as image value which sends you to the location of the stored image.

  • Related