+ M Y N ET PROJECT : EXERCISE 3 Genoveva Vargas Solar, Christine Collet Technical support: Javier...

13
+ 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/

Transcript of + M Y N ET PROJECT : EXERCISE 3 Genoveva Vargas Solar, Christine Collet Technical support: Javier...

+

MYNET PROJECT: EXERCISE 3Genoveva 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/

2+ OBJECTIVE

Have a first experience on sharding a relational DBMS dealing with shards synchronization deploying the service on the cloud and implement an interface

MyNet DB

MyNetService

Français

Español

English

Others

3+ 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

4

+ CREATING AND POPULATING THE INITIAL MYNET DB

Faire glisser l'image vers l'espace réservé ou cliquer sur l'icône pour l'ajouter

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

+ 5

DEFINING THE MYNET RELATIONAL SCHEMA

+ TRANSFORMATION RULES UML – RELATIONAL(1)1. Create a relation schema for each class with the attributes

and using the identifier as primary key

2. 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

7+ A(1,1) --- B

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

CONTENT( contentID: Integer, text: String)

+ TRANSFORMATION RULES UML – RELATIONAL(2)3. 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

9+ 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)

10+ 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)4. 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

12+ 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

13

+ HANDS ON THE FEDERATION

Faire glisser l'image vers l'espace réservé ou cliquer sur l'icône pour l'ajouter

Follow the Technical Memento