This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
teaching:infoh415:tp [2014/11/25 14:07] stefeppe [Object databases] |
teaching:infoh415:tp [2021/11/10 10:16] gdejaege [Graph databases] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Active databases ===== | ===== Active databases ===== | ||
+ | |||
+ | ==== Before Session 1 ==== | ||
+ | If you are planning on working on your own laptop/computer (which is strongly advised given the state of the computers in the computer rooms), please download and install the following before the first exercice session. | ||
+ | * For windows: | ||
+ | * [[https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15| Azure studio]] or [[https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017|SQL Server Management Studio]] | ||
+ | * [[https://www.microsoft.com/en-us/sql-server/sql-server-downloads|SQL Server Express]] | ||
+ | * For mac: | ||
+ | * [[https://database.guide/how-to-install-sql-server-on-a-mac/|Follow this tutorial]]. Note that I could not verify if this tutorial works by myself. | ||
+ | * For linux: | ||
+ | * [[https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql-server-ver15&viewFallbackFrom=azuresqldb-current|SQL Server]]. While choosing the "edition", please select the free "Express" edition. | ||
+ | * [[https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15| Azure studio]]. To connect to your SQL Server express, please indicate server: "localhost", login: "SA" and the password selected during the installation of SQL Server. | ||
+ | |||
==== Session 1 : Exercises "PhD" ==== | ==== Session 1 : Exercises "PhD" ==== | ||
- | * {{:teaching:infoh415:infoh415_1415_tp01_slides.pdf|Slides: Intro + recap}} | + | * {{:teaching:infoh415:2021_adb_tp1_slides.pdf|Slides: Intro + recap}} |
- | * {{:teaching:infoh415:infoh415_1415_tp01_exercices.pdf|Exercises + solutions}} | + | * {{:teaching:infoh415:2021_adb_tp1_exercices.pdf|Exercises + Solutions}} |
- | * {{teaching:infoh415:sdi_actives_phd_scripts.zip|SQL Server Scripts}} | + | * {{:teaching:infoh415:2021_adb_tp1_sql.zip|SQL Server Scripts}} |
+ | |||
==== Sessions 2 and 3 : Exercises "Employees Departments Projects" ==== | ==== Sessions 2 and 3 : Exercises "Employees Departments Projects" ==== | ||
+ | | ||
+ | |||
+ | * {{:teaching:infoh415:2021_adb_tp02_03_slides.pdf|Recap}} | ||
+ | * {{:teaching:infoh415:2021_adb_exercices.pdf|Exercises + Solutions}} | ||
+ | * {{:teaching:infoh415:2021_adb_tp02_03sql.zip|SQL Server Scripts}} | ||
+ | * {{:teaching:infoh415:sql.zip|New scripts}} | ||
+ | * The second exercise session will take place the 30/09 14h-16h in S.UB4.126 | ||
- | * {{:teaching:infoh415:infoh415_1415_tp02_03_slides.pdf|Recap}} | ||
- | * {{:teaching:infoh415:infoh415_1415_tp02_03_exercices.pdf|Exercises + Solutions}} | ||
- | * {{teaching:infoh415:sdi_actives_constraints_scripts.zip|SQL Server Scripts}} | ||
Line 20: | Line 38: | ||
==== Sessions 4, 5 and 6 ==== | ==== Sessions 4, 5 and 6 ==== | ||
- | * {{:teaching:infoh415:infoh415_1415_tp04_05_06_slides1.pdf|Recap}} | + | * {{:teaching:infoh415:2021_infoh415_tp04_05_06_slides.pdf|Recap}} |
- | * {{:teaching:infoh415:infoh415_1415_tp04_05_06_exercises.pdf|Exercises and solutions}} | + | * {{:teaching:infoh415:temporal_difference_explained_example.pdf| Drawing temporal difference}} **Attention: this drawing is not totally correct, an update version should be posted soon** |
+ | * {{:teaching:infoh415:temporal_join_example.pdf| Drawing temporal join}} | ||
+ | * {{:teaching:infoh415:2021_translationea.pdf| Traduction of EA schemas}} | ||
+ | * {{:teaching:infoh415:2021_infoh415_tp04_05_06_exercices.pdf|Exercises and solutions}} | ||
* {{:teaching:infoh415:infoh415_1415_tp04_05_06_scripts.zip|SQL Server Scripts}} | * {{:teaching:infoh415:infoh415_1415_tp04_05_06_scripts.zip|SQL Server Scripts}} | ||
+ | * {{:teaching:infoh415:infoh415_tp05_ex10.pdf|Explanation of 10th query exercise}} | ||
+ | * {{:teaching:infoh415:ex10_aggregation_step_by_step.pdf|10th query step by step drawing}} | ||
+ | * Planning: | ||
+ | * Session 4: Exercice 1 (relational schema) and queries 1 to 5 | ||
+ | * Session 5: Queries 6 to 8 and constraints | ||
+ | * Session 6: Queries 9 to 13 | ||
+ | ===== Graph databases ===== | ||
+ | |||
+ | ==== Sessions 7, 8, 9 ==== | ||
+ | |||
+ | {{:teaching:infoh415:graphdb-ulb-2021.zip|Material for Graph databases sessions}} | ||
+ | |||
+ | Please be sure to install the correct version of Neo4J as indicated in the installation document. | ||
+ | |||
+ | /* | ||
+ | The commands needed to start the server are written here under. Do not forget to first select the correct databasa as written in the assignment. | ||
+ | |||
+ | In Linux, login, then open a terminal window and type the following commands: | ||
+ | |||
+ | $ cd /tmp | ||
+ | |||
+ | $ tar xJf /serveur/neo4j.tar.xz | ||
+ | |||
+ | $ cd neo4j | ||
+ | |||
+ | $ ./bin/neo4j console | ||
+ | |||
+ | |||
+ | This will launch the server. The address where you can execute your queries should appear in the terminal. | ||
+ | |||
+ | * {{:teaching:infoh415:assigment_graph.pdf|Exercices on Graph Databases}} | ||
+ | * {{:teaching:infoh415:graph_databases_updated.zip| databases used UPDATED}} | ||
+ | * {{:teaching:infoh415:part_3_-_neo4j-practice.pdf| introductory slides }} | ||
+ | |||
+ | |||
+ | */ | ||
+ | |||
+ | |||
+ | /* | ||
===== Object databases ===== | ===== Object databases ===== | ||
- | ==== Session 7 ==== | + | ==== Session 7 : LINQ (SQL) ==== |
+ | |||
+ | * {{:teaching:infoh415:sdi_object_linq_sql_slides.pdf|Slides}} | ||
+ | * {{:teaching:infoh415:sdi_object_linq_sql.pdf|Exercises and solutions}} | ||
+ | |||
+ | ==== Session 8 : LINQ (XML) ==== | ||
+ | * {{:teaching:infoh415:infoh415_tp08_linq-xml_slides.pdf|Slides}} | ||
+ | * {{:teaching:infoh415:infoh415_tp08_linq-xml_exercises.pdf|Exercises and solutions}} | ||
+ | * {{:teaching:infoh415:dblp-100k.zip|DPLP Xml file}} | ||
+ | |||
+ | ==== Session 9 : Object relational databases (Oracle) ==== | ||
+ | |||
+ | * {{:teaching:infoh415:sdi_object_slides_oracle.pdf|Slides}} | ||
+ | * {{:teaching:infoh415:object-relational.pdf|Exercises and solutions}} | ||
+ | * [[https://docs.oracle.com/cd/B28359_01/appdev.111/b28371/toc.htm|On-line Oracle documentation]] | ||
+ | */ | ||
+ | |||
+ | ===== Spatial databases (PostGIS) ===== | ||
+ | |||
+ | ==== Session 10 ==== | ||
+ | |||
+ | * {{:teaching:infoh415:infoh415_tp_10_exercices_solutions_2018.pdf|Exercises}} | ||
+ | * {{:teaching:infoh415:infoh415_postgis_insertion.zip|}} | ||
+ | * {{:teaching:infoh415:shapefiles.zip}} | ||
+ | * {{:teaching:infoh415:tp_10_txt_corrections.zip|}} | ||
+ | * {{:teaching:infoh415:shapefiles.tar.gz}} | ||
+ | * [[http://postgis.net/docs/index.html|On-line PostGIS documentation]] | ||
+ | * [[http://postgis.net/docs/reference.html#Management_Functions|On-line PostGIS documentation - Command reference]] | ||
+ | |||
+ | ==== Session 11 ==== | ||
+ | |||
+ | * {{:teaching:infoh415:infoh415_postgis_bel_alt.zip|bel_alt.vrt}} | ||
+ | * {{:teaching:infoh415:infoh415_postgis_generate.sql.zip|}} | ||
+ | * {{:teaching:infoh415:infoh415_tp11_exercices.pdf|Exercices}} | ||
+ | * {{:teaching:infoh415:infoh415_tp11_slides.pdf|Slides}} | ||
+ | * {{:teaching:infoh415:infoh415_tp11_commands_and_corrections.zip|Corrections and commands}} | ||
+ | ==== Session 12 ==== | ||
+ | * {{:teaching:infoh415:infoh415_2018_tp12_exercices.pdf|Exercices}} | ||
+ | * {{:teaching:infoh415:initialisation.zip|Initialisation script}} | ||
+ | * {{:teaching:infoh415:spatial_reference_guide.pdf|References}} |