0x020440k
0x020440k

Reputation: 29

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

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.

Upvotes: 1

Views: 7067

Answers (2)

Andrei
Andrei

Reputation: 936

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.

Upvotes: 1

abo
abo

Reputation: 96

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.

Upvotes: 1

Related Questions