vistec semiconductor sysetms group 6 ding chen yee wan cheung roya pakzad zach rabinovich megan...

25
Vistec Vistec Semiconductor Semiconductor Sysetms Sysetms Group 6 Group 6 Ding Chen Ding Chen Yee Wan Cheung Yee Wan Cheung Roya Pakzad Roya Pakzad Zach Rabinovich Zach Rabinovich Megan Whittey Megan Whittey

Upload: jamal-drape

Post on 29-Mar-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Vistec Semiconductor Vistec Semiconductor SysetmsSysetms

Group 6Group 6

Ding ChenDing ChenYee Wan CheungYee Wan Cheung

Roya PakzadRoya PakzadZach RabinovichZach RabinovichMegan WhitteyMegan Whittey

Page 2: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Visctec Company ProfileVisctec Company Profile

Vistec produces all its Vistec produces all its products in Germanyproducts in Germany

Products include inspection Products include inspection systems, defect detection systems, defect detection and classification, and classification, metrology systems for metrology systems for mask and wafer mask and wafer manufacturing manufacturing

Vistec utilizes state of the Vistec utilizes state of the art electron beam art electron beam lithography and wafer lithography and wafer process controlprocess control

Page 3: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Vistec Current Database SystemVistec Current Database System

Database used now is in Lotus NotesDatabase used now is in Lotus NotesNo system in place to track "out of box" failures No system in place to track "out of box" failures of spare parts, it is important for the company to of spare parts, it is important for the company to know failure rates as well as who ordered, etc.know failure rates as well as who ordered, etc.Currently within Logistics department there are Currently within Logistics department there are few tracking systems in place to monitor and few tracking systems in place to monitor and improve current performanceimprove current performanceNeed to develop ways to track ingoing and Need to develop ways to track ingoing and outgoing parts to insure orderly acceptance and outgoing parts to insure orderly acceptance and rejection of various spares used by field service rejection of various spares used by field service organization to repair systems installed in fieldorganization to repair systems installed in field

Page 4: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Vistec Database Project SummaryVistec Database Project Summary

Provide a working Provide a working database which database which amends the flaws amends the flaws in the current in the current databasedatabase

Focus on the Focus on the OBF’s since it’s the OBF’s since it’s the company’s prioritycompany’s priority

Page 5: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

DP I SummaryDP I Summary

We created: Overall Project Summary Textual summary of database requirements Simplified EER diagram from information from

client

Page 6: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

DP II SummaryDP II Summary

We….Revised simplified EER diagramRelational Schema from EER diagram5 interesting queries described and why they are interesting to our client

1: Rank products by Instant Failure (OBF) 2: Helping managers set the warranty periods based on mean

time between failures 3: Rank all sales people by profits 4: Forecast the customer demands on each product type and

estimate the time required to produce products 5: Choose an optimal order quantity (EOQ) that will minimize the

storage and ordering costs.

Page 7: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

DP III SummaryDP III Summary

We…Client DescriptionRevised simplified EER diagramRevised relational design schemaCreated and implemented tables in Microsoft Access

Created relationships between the tables5 interesting queries written in:

English Relational algebra and/or SQL

Page 8: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

EER Diagram AssumptionsEER Diagram Assumptions

Each product is checked by the company before they Each product is checked by the company before they send it out to the customers, so that the product is send it out to the customers, so that the product is either OBF (out of box failure) or noteither OBF (out of box failure) or notEach customer only works with one sales rep.Each customer only works with one sales rep.Each sales rep. has at least one customerEach sales rep. has at least one customerEach factory has at least one factory workerEach factory has at least one factory workerEach factory worker only works at one factoryEach factory worker only works at one factoryEach stock stores at one factoryEach stock stores at one factoryEach warranty status and OBF will only be checked by Each warranty status and OBF will only be checked by one service engineer (i.e. no duplicate checking)one service engineer (i.e. no duplicate checking)

Page 9: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

EER DiagramEER Diagram

Page 10: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Relational SchemaRelational Schema

Page 11: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Relational Schema (cont’d)Relational Schema (cont’d)

Page 12: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Relationship View in AccessRelationship View in Access

Page 13: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

NormalizationNormalization

1NF:1NF:2.Customer (CID, Name, StreetAddress, PhoneNumber, City, State,

Zip)

Reason: The customer entity has no multivalued attributes assuming there’s only one phone number for each customer.

2NF:10.Order (OID, Date, Description, ESSN6a, CID2, PID1, Quantity)

Reason: No partial dependencies, everything is derived from the order id.

Page 14: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

NormalizationNormalization

CPID CType Description PID Type Price

4. Component4. Component

1 FD1 FD

2FD2FD

Transitive Dependency Violates 3 NF

Normalization

CPID cType Description PID

Component 1Component 1

PID Type Price

Component 2Component 2

FD3 FD4

Page 15: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 1 Query 1

Find out which product types have most failure by Find out which product types have most failure by ranking percentage failure for each productranking percentage failure for each product

SELECT COUNT(R. TagNumber)/SUM(o.quantity)*100

FROM Returned_Produce R, OrderTo O

WHERE SUM(o.quantity) IN (SELECT SUM(O.quantity)

FROM ShipsTo S

GROUP BY S. PID)

GROUP BY R.PID

ORDER BY COUNT(R.TagNumber)/SUM (O.quantity)*100;

Page 16: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 2Query 2

Helping the company to set the warranty Helping the company to set the warranty periods based on mean time between failureperiods based on mean time between failure

SELECT RProd.PID, AVG(DATEDIFF(“day”, ShipTo.Date, RProd.Date_Returned)

From Returned_Product AS RProd, ShipTo

Where RProd.PID=ShipTo.PID, RProd.Type=ShipTO. Type, RProd. CID=ShipTo.CID

GROUP BY ShipTo.PID;

Page 17: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 2Query 2

Page 18: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 3Query 3

Rank all salesperson by profits (subtract salary Rank all salesperson by profits (subtract salary from the salesperson’s total sales)from the salesperson’s total sales)

3.1 Total_Sales_Query3.1 Total_Sales_Query

SELECT (p.Price*o.quantity)OrderTotalFROM Product AS p, Order AS o WHERE p.PID=o.PID AND o.Date LIKE ‘%2007’GROUP BY o.OID;

3.2 Profit_per_SalesPerson_Query3.2 Profit_per_SalesPerson_Query

SELECT SP.ESSN, (OT.OrderTotal*(1 - SP.Commision) – SP.Salary )ProfitsFROM SalesPerson AS SP, Order_Total_Query AS OT WHERE SP.ESSN=OT.ESSNORDER BY (OT.OrderTotal*(1 - SP.Commision) – SP.Salary )Profits;

Page 19: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 3Query 3

Page 20: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 4Query 4

Forecasting the customer demands on each product type based Forecasting the customer demands on each product type based on the historical demand data, and estimate the time require on the historical demand data, and estimate the time require producing the products by keep tract of the average time for producing the products by keep tract of the average time for supplier to deliver the component when placed order.supplier to deliver the component when placed order.

4.1 Average time for supplier4.1 Average time for supplier Select AVG (DATEDIFF (“d”, ORDERFROM. Date_Received, ORDERFROM. Date-Ordered))/*100FROM ORDERFROMGROUP BY ORDERFROM. Type;

4.2 Demand_Query4.2 Demand_QuerySelect SUM(ORDER.quantity) AS DemandTotal, ORDER.PID, ORDER.DateFrom ORDERGROUP BY ORDER.PIDORDER BY ORDER.DATE;

Page 21: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 4

Page 22: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Query 5Query 5Choose an optimal order quantity (EOQ) that will Choose an optimal order quantity (EOQ) that will minimize the storage and ordering costs.minimize the storage and ordering costs.

OrderingCost_Query SELECT C.Price AS OrderCost

FROM Component AS C;

HoldingCost_QuerySELECT StoredAt.HoldingCost AS HoldCostFROM StoredAt;GROUP BY StoredAt.PID;

EOQSELECT sqrt( 2*OC.OrderCost*D.DemandTotal/HC.HoldCost )FROM OrderingCost_Query AS OC, HoldingCost_Query AS

HC, Demand_Query AS D

Page 23: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Component & Feedback ReportsComponent & Feedback Reports

Page 24: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Component & Lithography TablesComponent & Lithography Tables

Page 25: Vistec Semiconductor Sysetms Group 6 Ding Chen Yee Wan Cheung Roya Pakzad Zach Rabinovich Megan Whittey

Vistec Semiconductor Vistec Semiconductor SysetmsSysetms

QuestionsQuestions

and and

AnswersAnswers