Soror SAHRI SD-SQL Server: a Scalable Distributed Database
2 Objective u Most of DBSs are parallel : SQL Server, Oracle,..etc. SQL Server, Oracle,..etc. u DBSs do not provide scalable data partitioning. u Application of the SDDS technology to DBSs.
3 SD-SQL Server Architecture SQL Server D2 SD-SQL client SD-SQL Server Managers SQL Server Di SD-SQL server SD-SQL peer Split User/Application SQL Server D1
4 Implementing the Server Side Management of a scalable table the Split Implementing the Client Side View adjustment Query Processing Performance Measurements Scripts
5 The Server side DB_1 Segment Meta-tables SD_CSD_RP DB_2 Segment ……… SQL Server 1 Split SQL … SD_SITESD_SIZE Meta-tables SD_CSD_RP SQL Server 2 SD_SITESD_SIZE
6 The Client side Distributed Partitioned Union all View Db_1.Segment1Db_2. Segment1 …………
7 The achieved work: The Server side u The Split mechanism u Split between 2 servers u Split between several servers (5 servers) u Management of a scalable table: u Create a scalable table u Alter a scalable table u Drop a scalable table u Create a scalable view u Management of Indexes on a scalable table
8 The achieved work: The Client side u The View Adjustment u Query Processing, we allow a large number of queries: u Most of the SQL commands (aggregations…) in the SELECT clause. SELECT clause. u Most of the SQL commands (joins…) in the WHERE u Several objects in the FROM clause: tables, views… u Tables with aliases u Scalable view at several levels (3 levels)
9 Performance Measurements u Use of the SkyServer Database from the website: u Make of PhotoObj table of SkyServer DB as a scalable table. PhotoObj is a table of 158,426 tuples (about 260 MB)
10 Performance Measurements SD-SQL Server Segment split time
11 Performance Measurements SD-SQL Server query (Q1) execution time (Q1) SELECT TOP 10 objid FROM PhotoObj WHERE objid NOT IN (SELECT objid FROM _Photoobj)
12 Performance Measurements SD-SQL Server query (Q2) execution time (Q2) SELECT COUNT (*) FROM T1
13 Performance Measurements (Q3) SELECT COUNT (*) FROM PhotoObj PhotoObj contains 1 segment of _PhotoObj Comparison between SQL Server and SD-SQL Server execution time of query (Q2)
14 Future Works u More Performance Measurements u more comparisons between SQL Server and SD-SQL Server u Measurements with more than 2 partitioned segments