Ravendb: nosql Database Based on Windows/. NET platform

Source: Internet
Author: User
Tags silverlight

As we all know, the nosql movement aims to become a substitute for traditional relational database management systems in the big data era. Ravendb is a good example of Microsoft's changing attitude towards open source. Microsoft's acceptance of ravendb (nosql database) surprised many people. Ravendb can easily replace the relational database management system and be compatible with previous. NET applications.

The emergence and development of nosql is very necessary. The speed and high scalability of nosql systems are their advantages, and this is not the strength of traditional relational databases. Nosql provides effective solutions for companies such as Amazon and Google that need to process big data. For example, bigtable, the originator of key-value storage, and couchdb.

Related cloud storage solutions provide options other than traditional relational databases, including windows azure table (key value type) and hadoop-based Amazon EC2.

The fixed mode of storing data in rows or columns is a basic feature of traditional relational databases such as SQL Server and Oracle. Although many people think that traditional relational databases will gradually die out, different tools are needed in different situations. As a large number of different types of data continue to grow, unstructured data storage will become a key technology in the future.

Ravendb is a document database designed for the Windows/. NET platform. The emergence of ravendb connects. Net Applications with non-relational databases. Data is stored in shcema-less mode and directly connected through HTTP, restful API, or more convenient. Net client API .. . Net client API uses LINQ to operate on ravendb database document storage.

Ravendb

Before installing ravendb, you need to install. NET Framework 4.0. Ravendb can run in three different modes, including Windows Services and IIS applications.ProgramAnd embedded. NET applications.

The latest version of ravendb includes the following components:

● Client: lightweight Clients Based on. NET Framework 4.0

● Client 3.5: lightweight client Based on. NET Framework 3.5

● Silverlight: Silverlight 4.0 client

● Embeddedclient: embeddedclient (including files required by ravendb in Embedded Mode)

● Server: files required for ravendb Server Mode

● Web: files required by ravendb in IIS Mode

● Bundles: ravendb extension file

● Samples: ravendb Sample Application

Run the following command to set the server

    1. <Raven root directory> \ Server \ raven.server.exe/install

After the installation is successful, you can access it through http: // localhost: 8080/Raven/studio.html. 1. Because this interface uses Silverlight, you may need to install or upgrade the Silverlight component.

You can click the create sample data button to fill in the sample data storage to learn how raveddb works.

Figure 2 shows how to open ravendb and store data in ravendb. This set of data creates the following attributes: albumarturl, artist, genre, price, title, and count sold.

    1. {
    2. "Albumarturl": "/content/images/placeholder.gif ",
    3. "Artist ":{
    4. & Quot; Id & quot;: & quot; artists/133 & quot ",
    5. "Name": "Stevie Ray Vaughan & Double Trouble"
    6. },
    7. "Genre ":{
    8. "ID": "genres/6 ",
    9. "Name": "Blues"
    10. },
    11. "Price": 8.99,
    12. "Title": "In Step ",
    13. "Countsold": 0
    14. }

The style database has a unique URL (http: // localhost: 8080/Raven/studio.html #/edit? Id = albums/614 & database = default), and other projects can be accessed through URLs.

For example, you can access the genre information through the following url: http: // localhost: 8080/Raven/studio.html #/edit? Id = genres/6 & database = default. You can edit the data on the web page.

The future of databases

It is irrational for nosql experts to predict the demise of traditional relational databases. Different scenarios require different applications. The products behind giants such as Google, Amazon, and Microsoft provide a bright future for database development. What do you think about the future development of databases? (Li Zhi/compilation)

Original article: techrepublic.com

Embed ravendb into ASP. net mvc 3 applications

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.