Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database Project Team 4 Group c v Menna Hamza Mohamad Hesham Mona Abdel Mageed Yasmine Shaker.

Similar presentations


Presentation on theme: "Database Project Team 4 Group c v Menna Hamza Mohamad Hesham Mona Abdel Mageed Yasmine Shaker."— Presentation transcript:

1 Database Project Team 4 Group c v Menna Hamza Mohamad Hesham Mona Abdel Mageed Yasmine Shaker

2 Data base project  Learn How to work with relatively big database sizes  Learn how to optimize queries

3 1 st Phase  Get a working database  Populate database

4 Mall Data base  Mall Products  Places(shops, restaurants, Cinema)  Customer Oriented

5 Database Engine  Oracle  SQL Server 2005  SQL Server 2008

6 Data Generation(1 st phase)  100,000 per table  Inheritance problem  Fix manually  Products table grew to 600,000

7 Phase 2  Query Selection  5 queries  3 select  Mall viewer (Mall by name)  GetPlaceByName (Search for shops and restaurants with a given name)  Get Mother Board supported memory and ram

8 Phase 2 cont  2 update queries  PlayNextMovie (Changes a cinema now playing movie to next playing and set next playing with the query parameter)  Add a book

9 Phase 2 statistics  Get SQL server CPU, Cache Network Statistics  Use SQL profiler  Snap shots  SQL Management studio for client side statistics and execution plan

10 Phase 3  Optimize queries  Generate new databases  It s about size not data correctness  Choose 2 queries  Mall Viewer  GetPlaceByName

11 Performance Enhancement  Mostly from indexes  The application domain was helpful  Select is the most frequent and important operation  Insert book was re written to be more efficient  Cost is mostly due to clustered index update

12 Before and after (Time)

13 Before and after (Cost)

14 Size vs. time (Get Place)

15 Size vs. time (Mall Viewer)

16 Over all performance

17 Summary  Speed UP  85.7%  78.3%  Cost improvement  88%  99.6%  Over All Speed up  71.5%


Download ppt "Database Project Team 4 Group c v Menna Hamza Mohamad Hesham Mona Abdel Mageed Yasmine Shaker."

Similar presentations


Ads by Google