- Cloud database
-
A cloud database is a database running on Cloud Computing platform, such as Amazon EC2, GoGrid and Rackspace. There are two common deployment models: Users can run databases on the cloud independently, using a Virtual Machine image, or they can purchase access to a database service, maintained by a cloud database provider. Of the databases available on the cloud, some are SQL-based and some use a NoSQL data model.
Contents
Deployment Model
There are two primary methods to run a database on the cloud:
- Virtual Machine Image - cloud platforms allow users to purchase virtual machine instances for a limited time. It is possible to run a database on these virtual machines. Users can either upload their own machine image with a database installed on it, or use ready-made machine images that already include an optimized installation of a database. For example, Oracle provides a ready-made machine image with an installation of Oracle Database 11g Enterprise Edition on Amazon EC2.[1]
- Database as a Service - some cloud platforms offer options for using a database as a service, without physically launching a virtual machine instance for the database. In this configuration, application owners do not have to install and maintain the database on their own. Instead, the database service provider takes responsibility for installing and maintaining the database, and application owners pay according to their usage.[2] For example, Amazon Web Services provides two database services as part of its cloud offering, SimpleDB which is a NoSQL key-value store, and Amazon Relational Database Service which is an SQL-based database service with a MySQL interface.
A third option is managed database hosting on the cloud, where the database is not offered as a service, but the cloud provider hosts the database and manages it on the application owner's behalf. For example, cloud provider Rackspace offers managed hosting for MySQL databases.[3]
Architecture and Common Characteristics of Cloud Database Services
- Most database services offer web-based consoles, which the end user can use to provision and configure database instances. For example, the Amazon Web Services web console enables users to launch database instances, create snapshots (similar to backups) of databases, and monitor database statistics.[4]
- Database services consist of a database manager component, which controls the underlying database instances using a service API. The service API is exposed to the end user, and permits users to perform maintenance and scaling operations on their database instances. For example, the Amazon Relational Database Service's service API enables creating a database instance, modifying the resources available to a database instance, deleting a database instance, creating a snapshot (similar to a backup) of a database, and restoring a database from a snapshot.[5]
- Database services take care of scalability and high availability of the database. Scalability features differ between vendors - some offer auto-scaling, others enable the user to scale up using an API, but do not scale automatically. There is typically a commitment for a certain level of high availability (e.g. 99.9% or 99.99%).
Data Model
It is also important to differentiate between cloud databases which are relational as opposed to non-relational or NoSQL:
- SQL Databases, such as Oracle Database, Microsoft SQL Server and MySQL, are one type of database which can be run on the cloud (either as a Virtual Machine Image or as a service, depending on the vendor). SQL databases are difficult to scale, meaning they are not natively suited to a cloud environment, although cloud database services based on SQL are attempting to address this challenge.[6]
- NoSQL Databases, such as Apache Cassandra, CouchDB and MongoDB, are another type of database which can run on the cloud. NoSQL databases are built to service heavy read/write loads and are able scale up and down easily,[7] and therefore they are more natively suited to running on the cloud. However, most contemporary applications are built around an SQL data model, so working with NoSQL databases often requires a complete rewrite of application code.[8]
Cloud Database Vendors
The following table provides main database vendors with a cloud database offering, organized by Machine Image vs. database as a service deployment, and by SQL vs. NoSQL data model. See the references next to the vendor names for more information.
Cloud database vendors by deployment and data model Virtual Machine Deployment Database as a Service SQL Data Model NoSQL Data Model - Amazon SimpleDB
- Database.com by SalesForce[23]
- Google App Engine Datastore
- CouchDB Hosted Database[24]
- MongoDB Database as a Service (several options)[25]
See also
References
- ^ a b Amazon Machine Images - Oracle Database 11g Release 2 (11.2.0.1) Enterprise Edition - 64 Bit, Amazon Web Services, Retrieved 2011-11-9.
- ^ a b Klint Finley, "7 Cloud-Based Database Services", ReadWriteWeb, Retrieved 2011-11-9.
- ^ "MySQL Server Support at Rackspace", [www.rackspace.com Rackspace.com], Retrieved 2011-11-10.
- ^ "AWS Management Console, Amazon RDS Features", Amazon Web Services, Retrieved 2011-11-10.
- ^ "Amazon Relational Database Service, Features, Detailed Description", Amazon Web Services, Retrieved 2011-11-10.
- ^ Dave Rosenberg, Are databases in the cloud really all that different?, CNET, Retrieved 2011-11-6
- ^ Agrawal, Rakesh et al. (2008). "The Claremont report on database research". SIGMOD Record (ACM) 37 (3): 9–19. doi:http://doi.acm.org/10.1145/1462571.1462573. ISSN 0163-5808. http://db.cs.berkeley.edu/claremont/claremontreport08.pdf.
- ^ Ken North, "SQL, NoSQL or SomeSQL?", Dr. Dobb's, Retrieved 2011-11-9.
- ^ "Oracle Database in the Cloud", Oracle.com, Retrieved 2011-11-9.
- ^ Deploy your database applications and projects on the cloud, IBM.com, Retrieved 2011-9-1
- ^ Chris Kanaracus, "Ingres rolls out cloud database offerings", Infoworld.com, Retrieved 2011-8-28.
- ^ Chris Kanaracus, "EnterpriseDB Adding New Cloud Option for PostgreSQL Database", PCWorld, retrieved 2011-8-28
- ^ "Running MySQL on Amazon EC2 with EBS (Elastic Block Store), Amazon Web Services, retrieved 2011-11-20
- ^ Noel Yuhanna, SQL Azure Raises The Bar On Cloud Databases, Forrester, Retrieved 2011-11-9.
- ^ "Announcing Heroku PostgreSQL Database Add-on", Heroku Blog, Retrieved 2011-11-9.
- ^ "Amazon Machine Images, CouchDB 0.10.x 32 bit Ubuntu", Amazon Web Services, Retrieved 2011-11-10.
- ^ "Amazon Machine Image, Hadoop AMI", Amazon Web Services, Retrieved 2011-11-10.
- ^ "Setting up Cassandra in the Cloud", Cassandra Wiki, Retrieved 2011-11-10.
- ^ "Neo4J in the Cloud", Neo4J Wiki, Retrieved 2011-11-10.
- ^ "Announcing Neo4J on Windows Azure", Neo4J Blog, Retrieved 2011-11-10.
- ^ "MongoDB on Amazon EC2, MongoDB.org, Retrieved 2011-11-10.
- ^ "MongoDB on Azure, MongoDB.org, Retrieved 2011-11-10.
- ^ Jeanette Borzo, "Salesforce to Offer 'Cloud' Database", Wall Street Journal, Retrieved 2011-8-28.
- ^ "Looking for CouchDB Hosted?", CouchBase, Retrieved 2011-11-10.
- ^ "MongoDB Hosting Center", MongoDB.org, Retrieved 2011-11-10.
Categories:
Wikimedia Foundation. 2010.