Mynet project exercise 3
This presentation is the property of its rightful owner.
Sponsored Links
1 / 13

MyNet project: exercise 3 PowerPoint PPT Presentation


  • 68 Views
  • Uploaded on
  • Presentation posted in: General

MyNet project: exercise 3. Genoveva Vargas Solar, Christine Collet Technical support: Javier Espinosa, Epal Njamen Orléant , Juan Carlos Castrejón. http://vargas-solar.imag.fr/academika/cloud-data-management/. Objective. Others. MyNet DB. Have a first experience on

Download Presentation

MyNet project: exercise 3

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Mynet project exercise 3

MyNet project: exercise 3

Genoveva Vargas Solar, Christine Collet

Technical support:

Javier Espinosa, EpalNjamenOrléant, Juan Carlos Castrejón

http://vargas-solar.imag.fr/academika/cloud-data-management/


Objective

Objective

Others

MyNetDB

Have a first experience on

  • sharding a relational DBMS

  • dealing with shards synchronization

  • deploying the service on the cloud and implement an interface

English

Français

MyNet

Service

Español


Development environment

Development environment

  • Windows Azure http://windows.azure.com

  • Visual Studio 2012 Professional Edition

  • Windows Azure SDK http://www.windowsazure.com/en-us/develop/downloads/

  • Microsoft Web Platform Installerhttp://www.microsoft.com/web/downloads/platform.aspx


Creating and populating the initial mynet db

Creating and populating the initial MyNet DB

Key concepts: UML  relational transformation rules, Azure federation tool, data provider service


Defining the mynet relational schema

Defining the MyNet relational schema


Transformation rules uml relational 1

Transformation rules UML – relational(1)

  • Create a relation schema for each class with the attributes and using the identifier as primary key

  • Examine (1,1) associations, for each one proceed as follows:

    • Let R be an association between classes A  B integrate in the relation schema representing A the key of B.

    • The transformation of R is terminated


A 1 1 b

A(1,1) --- B

  • POST (postID: Integer, timeStamp: Date, geoStamp: String, contentID: Integer)

  • CONTENT(contentID: Integer, text: String)


Transformation rules uml relational 2

Transformation rules UML – relational(2)

  • Examine associations with cardinality (0,1). For each one proceed as follows:

    • Let R be an association between classes A(0,1)--- B with cardinality (0,1) in A

      • Add as foreign key the key of A in B

    • The transformation of R is terminated


A 0 1 b

A(0,1)--- B

  • CONTACT ( contactID: Integer, lastName: String, givenName: String, society : String)

  • BASICINFO ( socialNetworkID: URI, webSite: URI, contactID: Integer)

  • POST (postID: Integer, timeStamp: Date, geoStamp: String, contactID: Integer, contentID: Integer)


A 0 1 b1

A(0,1)--- B

  • BASICINFO ( socialNetworkID: URI, webSite: URI)

  • ADDRESS (street: String, number: Integer, city: String, ZipCode: String,socialNetworkID: URI)

  • EMAIL ( email: String, type: String, socialNetworkID: URI)

  • LANGUAGE (languageID: Integer, Language: String, socialNetworkID: URI)


Transformation rules uml relational 3

Transformation rules UML – relational(3)

  • Examine associations with cardinality (x,n). For each one proceed as follows:

    • Let R be an association between classes A(x,n)--- B. Create a table with:

      • R attributes

      • The key of A and B

    • The transformation of R is terminated


Creation

Creation

  • Create your database on Azure as explained in previous exercises

  • Define your DDL script define your relational database schema

  • Follow the Technical memento for populating your new MyNet database


Hands on the federation

Hands on the federation

Follow the Technical Memento


  • Login