Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

30645 rosemond dr franklin mi

16/11/2021 Client: muhammad11 Deadline: 2 Day

Group 3 – Part 1 Project – Online Clothing Store 6

Online Shopping Database

Table of Contents 1 Project Overview 5 2 Project Plan 6 3 Logical Data Model 10 4 Relational Data model 11 5 DDL for tablespaces 11 6 DDL Script and objects 12 7 Calculations for sizing objects or source of sizing 23 7.1 Table 1: Warehouse 23 7.2 Table 2: Supplier 24 7.3 Table 3: Promotions 24 7.4 Table 4: Inventory 25 7.5 Table 5: Shopping Cart 26 7.6 Table 6: Customer 26 7.7 Table 7: Order 27 7.8 Table 8: Transaction 28 7.9 Table 9: Shipping 28 8 Results of query on catalog showing all objects with valid status 30 8.1 EMPLY, ADDRSS, CUST 30 8.2 INVT, ORDER, PROMO 30 8.3 TRANSCTN, WHRHSE & CUST 31 8.4 SHIPNG, SHP_CRT & SUPLR 31 9 DB Installation outputs 32 10 Installation checkout commands and sample output 34 11 Create DBA user script 34 12 Alter users script 36 13 Export command and output 37 13.1 Dbuser export file 37 13.2 Export command and output 37 13.3 Unix Screenshot of exp file 41 14 SQL Loader Control files for 10 table loads 42 14.1 Control Files 42 14.2 Log Files 42 15 Analyze commands for each table 43 15.1 Analyze Command Set 1 43 15.2 Analyze Command Set 2 44 15.3 Analyze Command Set 3 44 16 Query output showing row numbers from catalog 45 16.1 Table: TRANSCTN 45 16.2 Table: ADDRSS 45 16.3 Table: SHP_CRT 46 16.4 Table: EMPLY 46 16.5 Table: CUST 47 16.6 Table: WHRHSE 47 16.7 Table: SUPLR 48 16.8 Table: SHIPNG 48 16.9 Table: PROMO 49 16.10 Table: ORDER 49 16.11 Table: INVT 50

Project Overview
Project Title – Online Clothing Store

The objective of the project is to develop a database that can be accessed by a web application, which allows customers to purchase a variety of products sold online from different vendors from any location.

Project Plan

Figure 1: Online shopping database design and implementation project plan page 1

Figure 2: Online shopping database design and implementation project plan page 2

Figure 3: Online shopping database design and implementation project plan page 3

Figure 4: Online shopping database design and implementation project plan page 4

Logical Data Model

Figure 5: Logical data model for online shopping database

Relational Data model

Figure 6: Relational data model for online shopping database

DDL for tablespaces
CREATE TABLESPACE "USER_DATA1" LOGGING DATAFILE '/u01/app/oracle/DBST670/user_data101.dbf' SIZE 4826K RESUE AUTOEXTEND ON NEXT 512K MAXSIZE 65536k EXTENT MANAGEMENT LOCAL;

CREATE TABLESPACE "USER_DATA2" LOGGING DATAFILE '/u01/app/oracle/DBST670/user_data201.dbf' SIZE 4134K RESUE AUTOEXTEND ON NEXT 512K MAXSIZE 65536k EXTENT MANAGEMENT LOCAL;

CREATE TABLESPACE "USER_INDEX" LOGGING DATAFILE '/u01/app/oracle/DBST670/user_INDX01.dbf' SIZE 4210K RESUE AUTOEXTEND ON NEXT 512K MAXSIZE 65536k EXTENT MANAGEMENT LOCAL;

CREATE TEMPORARY TABLESPACE "USER_TEMP" LOGGING TEMPFILE '/u01/app/oracle/DBST670/user_temp01.dbf' SIZE 16384K RESUE AUTOEXTEND ON NEXT 512K MAXSIZE 65536k EXTENT MANAGEMENT LOCAL;

DDL Script and objects
set echo on

-----------------------------------------------------------

-- CREATE ADDRESS TABLE - Common for all entities that require address example customer, shipping, etc.

-----------------------------------------------------------

CREATE TABLE addrss (

addrid NUMBER(7) NOT NULL,

res_no VARCHAR2(255),

street VARCHAR2(300) NOT NULL,

city VARCHAR2(100) NOT NULL,

state CHAR(2),

zip CHAR(10),

addrtype CHAR(1) NOT NULL,

shipng_shpng_id NUMBER(7) NOT NULL,

shipng_order_order_id NUMBER(7) NOT NULL,

shipng_order_transctn_tran_id NUMBER(7) NOT NULL,

shipng_order_promo_prm_id VARCHAR2(20) NOT NULL,

constraint addrss_pk primary key (addrid, shipng_shpng_id, shipng_order_order_id, shipng_order_transctn_tran_id, shipng_order_promo_prm_id)

using index

storage (

initial 25k

next 12k

)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10k

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE CUSTOMER TABLE

--------------------------------

CREATE TABLE cust (

cust_id NUMBER(7) NOT NULL,

fname VARCHAR2(100) NOT NULL,

lname VARCHAR2(100) NOT NULL,

constraint cust_pk primary key (cust_id)

using index

storage (

initial 25k

next 12K

)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE EMPLOYEE TABLE

--------------------------------

CREATE TABLE emply (

empid NUMBER(7) NOT NULL,

fname VARCHAR2(100) NOT NULL,

lname VARCHAR2(100) NOT NULL,

dept VARCHAR2(100) NOT NULL,

desgn VARCHAR2(100) NOT NULL,

addrss_addrid NUMBER(7) NOT NULL,

addrss_shpng_id NUMBER(7) NOT NULL,

addrss_order_id NUMBER(7) NOT NULL,

addrss_tran_id NUMBER(7) NOT NULL,

addrss_prm_id NUMBER(7) NOT NULL,

whrhse_whr_id NUMBER(7) NOT NULL,

whrhse_invt_id NUMBER(7) NOT NULL,

whrhse_sup_id VARCHAR2(10) NOT NULL,

constraint emply_pk primary key (empid, addrss_addrid, addrss_shpng_id, addrss_order_id, addrss_tran_id, addrss_prm_id, whrhse_whr_id,whrhse_invt_id, whrhse_sup_id)

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE INVT TABLE

--------------------------------

CREATE TABLE invt (

invt_id NUMBER(7) NOT NULL,

invt_desc VARCHAR2(300) NOT NULL,

"SIZE" VARCHAR2(50) NOT NULL,

inv_date VARCHAR2(10) NOT NULL,

in_stock NUMBER(7) NOT NULL,

cost VARCHAR2(50) NOT NULL,

suplr_sup_id VARCHAR2(50) NOT NULL,

constraint invt_pk primary key (invt_id, suplr_sup_id)

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE ORDER TABLE

--------------------------------

CREATE TABLE "ORDER" (

order_id NUMBER(7) NOT NULL,

ord_desc VARCHAR2(300) NOT NULL,

transctn_tran_id NUMBER(7) NOT NULL,

promo_prm_id VARCHAR2(10) NOT NULL,

constraint order_pk primary key (order_id, transctn_tran_id, promo_prm_id )

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE PROMOTIONS TABLE

--------------------------------

CREATE TABLE promo (

prm_id NUMBER(7) NOT NULL,

prm_desc VARCHAR2(200),

prm_amt varchar2(20) NOT NULL,

constraint promo_pk primary key (prm_id)

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE SHIPPING TABLE

--------------------------------

CREATE TABLE shipng (

shpng_id NUMBER(7) NOT NULL,

shng_desc VARCHAR2(100),

shpng_status CHAR(1) NOT NULL,

order_order_id NUMBER(7) NOT NULL,

order_transctn_tran_id NUMBER(7) NOT NULL,

order_promo_prm_id VARCHAR2(10) NOT NULL,

constraint shipng_pk primary key (shpng_id, order_order_id, order_transctn_tran_id, order_promo_prm_id )

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE SHOPPING CART TABLE

--------------------------------

CREATE TABLE shp_crt (

shp_id NUMBER(7) NOT NULL,

cost NUMBER(10,2) NOT NULL,

cust_cust_id NUMBER(7) NOT NULL,

invt_invt_id NUMBER(7) NOT NULL,

invt_sup_id NUMBER(7) NOT NULL,

transctn_tran_id varchar2(10) NOT NULL,

constraint shp_crt_pk primary key (shp_id, cust_cust_id, invt_invt_id, invt_sup_id, transctn_tran_id)

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE SUPPLIER TABLE

--------------------------------

CREATE TABLE suplr (

sup_id NUMBER(7) NOT NULL,

sup_name VARCHAR2(300) NOT NULL,

addrid VARCHAR2(10),

constraint suplr_pk primary key (sup_id )

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE TRANSACTION TABLE

--------------------------------

CREATE TABLE transctn (

tran_id NUMBER(7) NOT NULL,

card_num VARCHAR2(50),

constraint transctn_pk primary key (tran_id )

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

--------------------------------

-- CREATE WAREHOUSE TABLE

--------------------------------

CREATE TABLE whrhse (

whr_id NUMBER(7) NOT NULL,

whr_nm VARCHAR2(100) NOT NULL,

invt_invt_id NUMBER(7) NOT NULL,

invt_sup_id VARCHAR2(10) NOT NULL,

constraint whrhse_pk primary key (whr_id, invt_invt_id,invt_sup_id )

using index

storage (

initial 25k

next 12K)

tablespace USER_INDEX

)

pctfree 0

pctused 90

storage (

initial 50k

next 10K

pctincrease 0

maxextents 5

)

tablespace USER_DATA1;

ALTER TABLE addrss

ADD CONSTRAINT addrss_cust_fk FOREIGN KEY ( cust_cust_id )

REFERENCES cust ( cust_id );

ALTER TABLE addrss

ADD CONSTRAINT addrss_shipng_fk FOREIGN KEY ( shipng_shpng_id,

shipng_order_order_id,

shipng_order_transctn_tran_id,

shipng_order_promo_prm_id )

REFERENCES shipng ( shpng_id,

order_order_id,

order_transctn_tran_id,

order_promo_prm_id );

ALTER TABLE addrss

ADD CONSTRAINT addrss_whrhse_fk FOREIGN KEY ( whrhse_whr_id,

whrhse_invt_invt_id,

whrhse_invt_sup_id )

REFERENCES whrhse ( whr_id,

invt_invt_id,

invt_sup_id );

ALTER TABLE emply

ADD CONSTRAINT emply_addrss_fk FOREIGN KEY ( addrss_addrid,

addrss_shpng_id,

addrss_order_id,

addrss_tran_id,

addrss_prm_id,

addrss_whr_id,

addrss_invt_id,

addrss_sup_id,

addrss_cust_cust_id )

REFERENCES addrss ( addrid,

shipng_shpng_id,

shipng_order_order_id,

shipng_order_transctn_tran_id,

shipng_order_promo_prm_id,

whrhse_whr_id,

whrhse_invt_invt_id,

whrhse_invt_sup_id,

cust_cust_id );

ALTER TABLE emply

ADD CONSTRAINT emply_whrhse_fk FOREIGN KEY ( whrhse_whr_id,

whrhse_invt_id,

whrhse_sup_id )

REFERENCES whrhse ( whr_id,

invt_invt_id,

invt_sup_id );

ALTER TABLE invt

ADD CONSTRAINT invt_suplr_fk FOREIGN KEY ( suplr_sup_id )

REFERENCES suplr ( sup_id );

ALTER TABLE "ORDER"

ADD CONSTRAINT order_promo_fk FOREIGN KEY ( promo_prm_id )

REFERENCES promo ( prm_id );

ALTER TABLE "ORDER"

ADD CONSTRAINT order_transctn_fk FOREIGN KEY ( transctn_tran_id )

REFERENCES transctn ( tran_id );

ALTER TABLE shipng

ADD CONSTRAINT shipng_order_fk FOREIGN KEY ( order_order_id,

order_transctn_tran_id,

order_promo_prm_id )

REFERENCES "ORDER" ( order_id,

transctn_tran_id,

promo_prm_id );

ALTER TABLE shp_crt

ADD CONSTRAINT shp_crt_cust_fk FOREIGN KEY ( cust_cust_id )

REFERENCES cust ( cust_id );

ALTER TABLE shp_crt

ADD CONSTRAINT shp_crt_invt_fk FOREIGN KEY ( invt_invt_id,

invt_sup_id )

REFERENCES invt ( invt_id,

suplr_sup_id );

ALTER TABLE shp_crt

ADD CONSTRAINT shp_crt_transctn_fk FOREIGN KEY ( transctn_tran_id )

REFERENCES transctn ( tran_id );

ALTER TABLE whrhse

ADD CONSTRAINT whrhse_invt_fk FOREIGN KEY ( invt_invt_id,

invt_sup_id )

REFERENCES invt ( invt_id,

suplr_sup_id );

Calculations for sizing objects or source of sizing
Table 1: Warehouse

AVG BYTES PER ROW = WHR_ID(3Bytes) + WHR_NM(40Bytes) + INVT_INVT_ID(3Bytes) + INVT_SUPID(3Bytes)= 49 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 49

R = 148.92 - .036R

1.036R = 148.92

R = 143.75

ROUND UP TO 144 per 8192-byte block

blocks = ceiling(10000 / 144) = ceiling(69.44) = 70

70 Blocks or 35840 bytes of Storage for this Table

Table 2: Supplier

AVG BYTES PER ROW = SUP_ID(3Bytes) + SUP_NAME(40Bytes) + ADDRID(3Bytes) = 46 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 46

R = 158.64 - .039R

1.039R = 158.64

R = 152.69

ROUND UP TO 153 rows per 8192-byte block

blocks = ceiling(10000 / 153) = ceiling(65.36) = 66

66 Blocks or 33792 bytes of Storage for this Table

Table 3: Promotions

AVG BYTES PER ROW = PRM_ID(3Bytes) + PRM_DESC(60Bytes) + PRM_AMT(4Bytes) = 67 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 67

R = 108.91 - .027R

1.027R = 108.91

R = 106.05

ROUND UP TO 107 rows per 8192-byte block

blocks = ceiling(10000 / 107) = ceiling(93.46) = 94

94 Blocks or 48128 bytes of Storage for this Table

Table 4: Inventory

AVG BYTES PER ROW = INVT_ID(3Bytes) + INVT_DESC(80Bytes) + SIZE(1Bytes) + INV_DATE(7bytes) + IN_STOCK(3bytes) + Cost(4bytes) + SUPLR_SUP_ID (3Bytes) = 101 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 101

R = 72.25 - .018R

1.018R = 72.25

R = 70.97

ROUND UP TO 71 rows per 8192-byte block

blocks = ceiling(10000 / 71) = ceiling(140.85) = 141

141 Blocks or 72192 bytes of Storage for this Table

Table 5: Shopping Cart

AVG BYTES PER ROW = SHIP_ID(3Bytes) + COST(4Bytes) + CUST_CUST_ID(3Bytes) + INVT_INVT_ID(3bytes) + INVT_SUP_ID(3bytes) + TRANSCTN_TRAN_ID(3bytes = 19 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 19

R = 384.06 - .053R

1.053R = 384.06

R = 364.73

ROUND UP TO 365 rows per 8192-byte block

blocks = ceiling(10000 / 365) = ceiling(27.40) = 28

28 Blocks or 14336 bytes of Storage for this Table

Table 6: Customer

AVG BYTES PER ROW = CUST_ID(3Bytes) + FNAME(40Bytes) + LNAME(3bytes) = 46 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 46

R = 158.64 - .039R

1.039R = 158.64

R = 152.69

ROUND UP TO 153 rows per 8192-byte block

blocks = ceiling(10000 / 153) = ceiling(65.36) = 66

66 Blocks or 33792 bytes of Storage for this Table

Table 7: Order

AVG BYTES PER ROW = ORDER_ID(3Bytes) + ORD_DESC(40Bytes) + TRANSCTN_TRAN_ID(3bytes) + PROMO_PRM_ID(3bytes)= 49 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 49

R = 148.93 - .037R

1.037R = 148.93

R = 143.62

ROUND UP TO 144 rows per 8192-byte block

blocks = ceiling(10000 / 144) = ceiling(69.44) = 70

70 Blocks or 35840 bytes of Storage for this Table

Table 8: Transaction

AVG BYTES PER ROW = TRAN_ID(3Bytes) + CARD_NUM(6Bytes)= 9 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 9

R = 810.8 - .2R

1.2R = 810.8

R = 675.66

ROUND UP TO 676 rows per 8192-byte block

blocks = ceiling(10000 / 676) = ceiling(14.80) = 15

15 Blocks or 7680 bytes of Storage for this Table

Table 9: Shipping

AVG BYTES PER ROW = SHPNG_ID(3Bytes) + SHNG_DESC(40Bytes) + SHPNG_STATUS(1Bytes) + ORDER_ORDER_ID(3Bytes) + ORDER_TRANSCTN_TRAN_ID(3Bytes) + ORDER_PROMO_PRM_ID(3Bytes)= 65 Bytes

NUM ROWS PER BLOCK

R = (7297.2 - 1.8*R) / 65

R = 112.26 - .028R

1.028R = 112.26

R = 109.20

ROUND UP TO 110 rows per 8192-byte block

blocks = ceiling(10000 / 110) = ceiling(90.90) = 91

91 Blocks or 46592 bytes of Storage for this Table

Results of query on catalog showing all objects with valid status
EMPLY, ADDRSS, CUST

INVT, ORDER, PROMO

TRANSCTN, WHRHSE & CUST

SHIPNG, SHP_CRT & SUPLR

DB Installation outputs

Figure 18: Database installed

Figure 19: Putty output

Installation checkout commands and sample output

Create DBA user script
CREATE USER dbst670a identified by mypassword default tablespace user temporary tablespace temp;

GRANT connect, resource TO dbst670a;

CREATE USER dbst670b identified by mypassword default tablespace user temporary tablespace temp;

GRANT connect, resource TO dbst670b;

CREATE USER dbst670c identified by mypassword default tablespace user temporary tablespace temp;

GRANT connect, resource TO dbst670c;

CREATE USER dbauser identified by mypassword default tablespace user temporary tablespace temp;

GRANT CONNECT, RESOURCE TO DBAUSER;

GRANT DBA TO dbauser;

Figure 22: Create User dbst670b and dbst670c

Figure 23: Created users

Alter users script
alter user dbst670a default tablespace user_data1 temporary tablespace user_temp;

alter user dbst670b default tablespace user_data1 temporary tablespace user_temp;

alter user dbst670c default tablespace user_data1 temporary tablespace user_temp;

Figure 24: ALTER USER Script

Export command and output
Dbuser export file
Export command and output
[[email protected] ~]$ exp owner=dbauser file=dbauser.exp

Export: Release 12.2.0.1.0 - Production on Mon Jul 8 21:44:19 2019

Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.

Username: dbauser

Password:

Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

Export done in US7ASCII character set and AL16UTF16 NCHAR character set

server uses AL32UTF8 character set (possible charset conversion)

About to export specified users ...

. exporting pre-schema procedural objects and actions

. exporting foreign function library names for user DBAUSER

. exporting PUBLIC type synonyms

. exporting private type synonyms

. exporting object type definitions for user DBAUSER

About to export DBAUSER's objects ...

. exporting database links

. exporting sequence numbers

. exporting cluster definitions

. about to export DBAUSER's tables via Conventional Path ...

. . exporting table ADDRSS 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table CUST 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table EMPLY 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table INVT 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table ORDER 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table PROMO 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table SHIPNG 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table SHP_CRT 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table SUPLR 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table TRANSCTN 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table WHRHSE 10000 rows exported

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. exporting synonyms

. exporting views

. exporting stored procedures

. exporting operators

. exporting referential integrity constraints

. exporting triggers

. exporting indextypes

. exporting bitmap, functional and extensible indexes

. exporting posttables actions

. exporting materialized views

. exporting snapshot logs

. exporting job queues

. exporting refresh groups and children

. exporting dimensions

. exporting post-schema procedural objects and actions

. exporting statistics

Export terminated successfully with warnings.

Unix Screenshot of exp file

SQL Loader Control files for 10 table loads
Control Files
Log Files
Analyze commands for each table
Analyze Command Set 1

Analyze Command Set 2

Analyze Command Set 3

Query output showing row numbers from catalog
Table: TRANSCTN

Figure 8: Table TRANSCTN created

Table: ADDRSS

Figure 7: ADDRSS Table created

Table: SHP_CRT

Figure 9: Table SHP_CRT

Table: EMPLY

Figure 10: Table EMPLY

Table: CUST

Figure 11: Table CUST

Table: WHRHSE

Figure 12: Table WHRHSE

Table: SUPLR

Figure 13: Table SUPLR

Table: SHIPNG

Figure 14: Table SHIPNG

Table: PROMO

Figure 15: Table PROMO

Table: ORDER

Figure 16: Table ORDER

Table: INVT

Figure 17: Table INVT

Group3_OnlineSho

pping.pdf

ID Task

Mode

Task Name Duration Start Finish

1 Planning 5 days Mon 5/27/19Fri 5/31/19

2 Discuss the domain to design and build database

2 days Tue 5/28/19 Wed 5/29/19

3 Finalize the domain to design and build database

2 days Thu 5/30/19 Fri 5/31/19

4 Brainstorm entities in scope 2 days Thu 5/30/19 Fri 5/31/19

5 Finalize the domain 1 day Mon 6/3/19 Mon 6/3/19

6 End of Pllanning Phase 0 days Wed 6/5/19 Wed 6/5/19

7 Analysis 8 days Wed 6/5/19 Fri 6/14/19

8 Decide data modeling tool 1 day Thu 6/6/19 Thu 6/6/19

9 Finalize data modeling tool 1 day Fri 6/7/19 Fri 6/7/19

10 Discuss possible attributes of the entities

4 days Mon 6/10/19

Thu 6/13/19

11 Discuss possible relationships between entities

4 days Mon 6/10/19

Thu 6/13/19

12 End of Analysis Phase 0 days Fri 6/14/19 Fri 6/14/19

13 Detailed Systems Design 15 days Mon 6/17/19Fri 7/5/19

14 Conceptual Design 2 days Mon 6/17/19Tue 6/18/19

15 Draft version of logical model for the online shopping data domain

5 days Wed 6/19/19

Tue 6/25/19

16 Generate relational model for the online shopping data domain

5 days Wed 6/19/19

Tue 6/25/19

6/5

6/14

21 24 27 30 2 5 8 11 14 17 20 23 26 29 2 5 8 11 14 17 20 23 26 29 1 4 7 10 13

May 2019 June 2019 July 2019 August 2019

Task

Split

Milestone

Summary

Project Summary

Inactive Task

Inactive Milestone

Inactive Summary

Manual Task

Duration-only

Manual Summary Rollup

Manual Summary

Start-only

Finish-only

External Tasks

External Milestone

Deadline

Progress

Manual Progress

Page 1

Project: Group3_OnlineShoppin

Date: Sun 7/7/19

ID Task

Mode

Task Name Duration Start Finish

17 Generate DDL using Oracle SQL Developer Data Modeler

2 days Wed 6/26/19

Thu 6/27/19

18 Resolve errors 2 days Wed 6/26/19Thu 6/27/19

19 Update logical data model, relational data model and DDL

5 days Fri 6/28/19 Thu 7/4/19

20 Final baseline model 0 days Fri 7/5/19 Fri 7/5/19

21 Implementation 20 days Mon 7/8/19 Fri 8/2/19

22 Test database instance created successfully

1 day Mon 7/8/19 Mon 7/8/19

23 Create users of database 1 day Mon 7/8/19 Mon 7/8/19

24 Estimates of overhead in each block

1 day Mon 7/8/19 Mon 7/8/19

25 Estimate data space needs (using pctfree)

1 day Tue 7/9/19 Tue 7/9/19

26 Estimate number of rows per block

1 day Wed 7/10/19

Wed 7/10/19

27 Estimate number of blocks

1 day Thu 7/11/19 Thu 7/11/19

28 Re-check the estimates 1 day Fri 7/12/19 Fri 7/12/19

29 Apply the estimate calculations to all tables defined in the DDL

2 days Sat 7/13/19 Mon 7/15/19

30 Create database user matching each group member

1 day Tue 7/16/19 Tue 7/16/19

7/5

21 24 27 30 2 5 8 11 14 17 20 23 26 29 2 5 8 11 14 17 20 23 26 29 1 4 7 10 13

May 2019 June 2019 July 2019 August 2019

Task

Split

Milestone

Summary

Project Summary

Inactive Task

Inactive Milestone

Inactive Summary

Manual Task

Duration-only

Manual Summary Rollup

Manual Summary

Start-only

Finish-only

External Tasks

External Milestone

Deadline

Progress

Manual Progress

Page 2

Project: Group3_OnlineShoppin

Date: Sun 7/7/19

ID Task

Mode

Task Name Duration Start Finish

31 Create tablespace to store data from each table

1 day Tue 7/16/19 Tue 7/16/19

32 Create index space 1 day Tue 7/16/19 Tue 7/16/19

33 Create tables based on finalized DDL

1 day Tue 7/16/19 Tue 7/16/19

34 Create mockup data 2 days Wed 7/17/19Thu 7/18/19

35 Load data into tables using SQLLDR

2 days Fri 7/19/19 Mon 7/22/19

36 Resolve any errors 1 day Tue 7/23/19 Tue 7/23/19

37 Generate Analytics of tables

2 days Wed 7/24/19

Thu 7/25/19

38 Ensure data can be exported - save and bring back data

1 day Fri 7/26/19 Fri 7/26/19

39 Ensure data can be Imported - save and bring back data

1 day Sun 7/28/19 Mon 7/29/19

40 Evalulate database performance using V$SYSSTAT

1 day Tue 7/30/19 Tue 7/30/19

41 Use Automatic Database Diagnostic Monitor (ADDM) to find bottlenecks in performance

1 day Wed 7/31/19

Wed 7/31/19

21 24 27 30 2 5 8 11 14 17 20 23 26 29 2 5 8 11 14 17 20 23 26 29 1 4 7 10 13

May 2019 June 2019 July 2019 August 2019

Task

Split

Milestone

Summary

Project Summary

Inactive Task

Inactive Milestone

Inactive Summary

Manual Task

Duration-only

Manual Summary Rollup

Manual Summary

Start-only

Finish-only

External Tasks

External Milestone

Deadline

Progress

Manual Progress

Page 3

Project: Group3_OnlineShoppin

Date: Sun 7/7/19

ID Task

Mode

Task Name Duration Start Finish

42 Make updates to the database based on recommendations of ADDM

1 day Thu 8/1/19 Thu 8/1/19

43 End of Implementation Phase

0 days Fri 8/2/19 Fri 8/2/19

44 Rollout 0 days Sat 8/3/19 Sun 8/4/19

45 Rollut Databasese to Production

0 days Sat 8/3/19 Sat 8/3/19

46 Project Submission 1 day Sun 8/4/19 Sun 8/4/19

8/2

8/4

8/3

21 24 27 30 2 5 8 11 14 17 20 23 26 29 2 5 8 11 14 17 20 23 26 29 1 4 7 10 13

May 2019 June 2019 July 2019 August 2019

Task

Split

Milestone

Summary

Project Summary

Inactive Task

Inactive Milestone

Inactive Summary

Manual Task

Duration-only

Manual Summary Rollup

Manual Summary

Start-only

Finish-only

External Tasks

External Milestone

Deadline

Progress

Manual Progress

Page 4

Project: Group3_OnlineShoppin

Date: Sun 7/7/19

OnlineShoppingLo

gicalModel_Updated.pdf

SHP_CRT

*P SHP_ID NUMERIC (7) * COST DECIMAL (10,2) *PF CUST_ID NUMERIC (7) *PF INVT_ID NUMERIC (7) *PF SUP_ID NUMERIC (7) *PF TRAN_ID NUMERIC (7)

SHP_CRT PK (SHP_ID, CUST_ID , INVT_ID, SUP_ID, TRAN_ID)

SUPLR

*P SUP_ID NUMERIC (7) * SUP_NAME VARCHAR (300)

ADDRID NUMERIC (7)

SUPLR PK (SUP_ID)

SHIPNG

*P SHPNG_ID NUMERIC (7) SHNG_DESC VARCHAR (100)

* SHPNG_STATUS CHAR (1) *PF ORDER_ID NUMERIC (7) *PF TRAN_ID NUMERIC (7) *PF PRM_ID NUMERIC (7)

SHIPNG PK (SHPNG_ID, ORDER_ID, TRAN_ID, PRM_ID)

ORDER

*P ORDER_ID NUMERIC (7) * ORD_DESC VARCHAR (300) *PF TRAN_ID NUMERIC (7) *PF PRM_ID NUMERIC (7)

ORDER PK (ORDER_ID, TRAN_ID, PRM_ID)

ADDRSS

*P ADDRID NUMERIC (7) RES_NO VARCHAR (20)

* STREET VARCHAR (300) * CITY VARCHAR (100)

STATE CHAR (2) ZIP CHAR (10)

* ADDRTYPE CHAR (1) *PF SHPNG_ID NUMERIC (7) *PF ORDER_ID NUMERIC (7) *PF TRAN_ID NUMERIC (7) *PF PRM_ID NUMERIC (7) *PF WHR_ID NUMERIC (7) *PF INVT_ID NUMERIC (7) *PF SUP_ID NUMERIC (7) *PF CUST_ID NUMERIC (7)

ADDRSS PK (ADDRID, SHPNG_ID, ORDER_ID, TRAN_ID, PRM_ID, WHR_ID, INVT_ID, SUP_ID, CUST_ID )

CUST

*P CUST_ID NUMERIC (7) * FNAME VARCHAR (100) * LNAME VARCHAR (7)

cust_email VARCHAR (320)

CUST PK (CUST_ID )

WHRHSE

*P WHR_ID NUMERIC (7) * WHR_NM VARCHAR (100) *PF INVT_ID NUMERIC (7) *PF SUP_ID NUMERIC (7)

WHRHSE PK (WHR_ID, INVT_ID, SUP_ID)

TRANSCTN

*P TRAN_ID NUMERIC (7) CARD_NUM NUMERIC (14)

TRANSCTN PK (TRAN_ID)

PROMO

*P PRM_ID NUMERIC (7) PRM_DESC VARCHAR (200)

* PRM_AMT DECIMAL (10,2)

PROMO PK (PRM_ID)

EMPLY

*P EMPID NUMERIC (7) * FNAME VARCHAR (100) * LNAME VARCHAR (100) * DEPT VARCHAR (100) * DESGN VARCHAR (100) *PF ADDRID NUMERIC (7) *PF SHPNG_ID NUMERIC (7) *PF ORDER_ID NUMERIC (7) *PF TRAN_ID NUMERIC (7) *PF PRM_ID NUMERIC (7) *PF WHR_ID NUMERIC (7) *PF INVT_ID NUMERIC (7) *PF SUP_ID NUMERIC (7) *PF WHR_ID1 NUMERIC (7) *PF INVT_ID1 NUMERIC (7) *PF SUP_ID1 NUMERIC (7) *PF CUST_ID NUMERIC (7)

EMPLY PK (EMPID, ADDRID, SHPNG_ID, ORDER_ID, TRAN_ID, PRM_ID, WHR_ID1, INVT_ID1, SUP_ID1, CUST_ID , WHR_ID, INVT_ID, SUP_ID)

INVT

*P INVT_ID NUMERIC (7) * INVT_DESC VARCHAR (300) * INVT_SIZE NUMERIC (2) * INV_DATE Date * IN_STOCK NUMERIC (7) * COST DECIMAL (10,2) *PF SUP_ID NUMERIC (7)

INVT PK (INVT_ID, SUP_ID)

OnlineShoppingRel

ationalModel.pdf

PROMO

*P PRM_ID NUMBER (7) PRM_DESC VARCHAR2 (200)

* PRM_AMT NUMBER (10,2)

PROMO_PK (PRM_ID)

TRANSCTN

*P TRAN_ID NUMBER (7) CARD_NUM NUMBER (14)

TRANSCTN_PK (TRAN_ID)

INVT

*P INVT_ID NUMBER (7) * INVT_DESC VARCHAR2 (300) * SIZE NUMBER (2) * INV_DATE DATE * IN_STOCK NUMBER (7) * COST NUMBER (10,2) *PF SUPLR_SUP_ID NUMBER (7)

INVT_PK (INVT_ID, SUPLR_SUP_ID)

INVT_SUPLR_FK (SUPLR_SUP_ID)

SUPLR

*P SUP_ID NUMBER (7) * SUP_NAME VARCHAR2 (300)

ADDRID NUMBER (7)

SUPLR_PK (SUP_ID)

SHP_CRT

*P SHP_ID NUMBER (7) * COST NUMBER (10,2) *PF CUST_CUST_ID NUMBER (7) *PF INVT_INVT_ID NUMBER (7) *PF INVT_SUP_ID NUMBER (7) *PF TRANSCTN_TRAN_ID NUMBER (7)

SHP_CRT_PK (SHP_ID, CUST_CUST_ID, INVT_INVT_ID, INVT_SUP_ID, TRANSCTN_TRAN_ID)

SHP_CRT_TRANSCTN_FK (TRANSCTN_TRAN_ID) SHP_CRT_INVT_FK (INVT_INVT_ID, INVT_SUP_ID) SHP_CRT_CUST_FK (CUST_CUST_ID)

SHIPNG

*P SHPNG_ID NUMBER (7) SHNG_DESC VARCHAR2 (100)

* SHPNG_STATUS CHAR (1) *PF ORDER_ORDER_ID NUMBER (7) *PF ORDER_TRANSCTN_TRAN_ID NUMBER (7) *PF ORDER_PROMO_PRM_ID NUMBER (7)

SHIPNG_PK (SHPNG_ID, ORDER_ORDER_ID, ORDER_TRANSCTN_TRAN_ID, ORDER_PROMO_PRM_ID)

SHIPNG_ORDER_FK (ORDER_ORDER_ID, ORDER_TRANSCTN_TRAN_ID, ORDER_PROMO_PRM_ID)

CUST

*P CUST_ID NUMBER (7) * FNAME VARCHAR2 (100) * LNAME VARCHAR2 (7)

CUST_PK (CUST_ID)

EMPLY

*P EMPID NUMBER (7) * FNAME VARCHAR2 (100) * LNAME VARCHAR2 (100) * DEPT VARCHAR2 (100) * DESGN VARCHAR2 (100) *PF ADDRSS_ADDRID NUMBER (7) *PF ADDRSS_SHPNG_ID NUMBER (7) *PF ADDRSS_ORDER_ID NUMBER (7) *PF ADDRSS_TRAN_ID NUMBER (7) *PF ADDRSS_PRM_ID NUMBER (7) *PF WHRHSE_WHR_ID NUMBER (7) *PF WHRHSE_INVT_ID NUMBER (7) *PF WHRHSE_SUP_ID NUMBER (7)

EMPLY_PK (EMPID, ADDRSS_ADDRID, ADDRSS_SHPNG_ID, ADDRSS_ORDER_ID, ADDRSS_TRAN_ID, ADDRSS_PRM_ID, WHRHSE_WHR_ID, WHRHSE_INVT_ID, WHRHSE_SUP_ID)

EMPLY_ADDRSS_FK (ADDRSS_ADDRID, ADDRSS_SHPNG_ID, ADDRSS_ORDER_ID, ADDRSS_TRAN_ID, ADDRSS_PRM_ID) EMPLY_WHRHSE_FK (WHRHSE_WHR_ID, WHRHSE_INVT_ID, WHRHSE_SUP_ID)

ORDER

*P ORDER_ID NUMBER (7) * ORD_DESC VARCHAR2 (300) *PF TRANSCTN_TRAN_ID NUMBER (7) *PF PROMO_PRM_ID NUMBER (7)

ORDER_PK (ORDER_ID, TRANSCTN_TRAN_ID, PROMO_PRM_ID)

ORDER_PROMO_FK (PROMO_PRM_ID) ORDER_TRANSCTN_FK (TRANSCTN_TRAN_ID)

WHRHSE

*P WHR_ID NUMBER (7) * WHR_NM VARCHAR2 (100) *PF INVT_INVT_ID NUMBER (7) *PF INVT_SUP_ID NUMBER (7)

WHRHSE_PK (WHR_ID, INVT_INVT_ID, INVT_SUP_ID)

WHRHSE_INVT_FK (INVT_INVT_ID, INVT_SUP_ID)

ADDRSS

*P ADDRID NUMBER (7) RES_NO VARCHAR2 (20)

* STREET VARCHAR2 (300) * CITY VARCHAR2 (100)

STATE CHAR (2) ZIP CHAR (10)

* ADDRTYPE CHAR (1) *PF SHIPNG_SHPNG_ID NUMBER (7) *PF SHIPNG_ORDER_ORDER_ID NUMBER (7) *PF SHIPNG_ORDER_TRANSCTN_TRAN_ID NUMBER (7) *PF SHIPNG_ORDER_PROMO_PRM_ID NUMBER (7)

ADDRSS_PK (ADDRID, SHIPNG_SHPNG_ID, SHIPNG_ORDER_ORDER_ID, SHIPNG_ORDER_TRANSCTN_TRAN_ID, SHIPNG_ORDER_PROMO_PRM_ID)

ADDRSS_SHIPNG_FK (SHIPNG_SHPNG_ID, SHIPNG_ORDER_ORDER_ID, SHIPNG_ORDER_TRANSCTN_TRAN_ID, SHIPNG_ORDER_PROMO_PRM_ID)

dbauser.exp

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Accounting & Finance Master
Quick Finance Master
Accounting & Finance Specialist
George M.
Exam Attempter
Ideas & Innovations
Writer Writer Name Offer Chat
Accounting & Finance Master

ONLINE

Accounting & Finance Master

After reading your project details, I feel myself as the best option for you to fulfill this project with 100 percent perfection.

$25 Chat With Writer
Quick Finance Master

ONLINE

Quick Finance Master

I am a PhD writer with 10 years of experience. I will be delivering high-quality, plagiarism-free work to you in the minimum amount of time. Waiting for your message.

$35 Chat With Writer
Accounting & Finance Specialist

ONLINE

Accounting & Finance Specialist

I am a professional and experienced writer and I have written research reports, proposals, essays, thesis and dissertations on a variety of topics.

$30 Chat With Writer
George M.

ONLINE

George M.

As per my knowledge I can assist you in writing a perfect Planning, Marketing Research, Business Pitches, Business Proposals, Business Feasibility Reports and Content within your given deadline and budget.

$24 Chat With Writer
Exam Attempter

ONLINE

Exam Attempter

I can assist you in plagiarism free writing as I have already done several related projects of writing. I have a master qualification with 5 years’ experience in; Essay Writing, Case Study Writing, Report Writing.

$43 Chat With Writer
Ideas & Innovations

ONLINE

Ideas & Innovations

After reading your project details, I feel myself as the best option for you to fulfill this project with 100 percent perfection.

$23 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Assignment crafting assist and where by to receive some on the net - Endnote x7 for windows - Blog - Discussion post soc350 - NR 632 week 7 IP - Harvey norman knox westfield - Australian human rights commission aglc - Chemical formula of monosaccharides disaccharides and polysaccharides - Beldray digital plug in heater 17.85 amazon - Edie quotes on the waterfront - Timur the lame ottoman empire - Henna co produces and sells two products - Christopher lowell office furniture - Capitalization of project costs - The house on mango street questions and answers - What is merchandise inventory on a balance sheet - Economic lens - Accrual income versus cash flow for a period - Pitot tube traverse calculation - Anu financial markets and takeovers - Aleks placement test wsu - Nanny and the professor hulu - Capstone Assignment - 5 Pages - $35 - Human Resources & Project Management Expert Needed. APA Experts ONLY! - How many liters of the antifreeze ethylene glycol - 37 cervara avenue stirling - Quartz sandstone is changed during metamorphism into - What is the size of a1 - Civilization reading - Net present value and other investment criteria solutions - Plan production for a four-month period - Pats control function module - Business cycle activity for students - Ugli fruit keep spiders away - Discussion response - MATH - Dairy technology society of india - Positioning statement for virgin america - Change cell to 20pt in excel - Sheep brain dissection worksheet - Capella project management - Occupational therapy clinical reasoning examples - Calculate the efficiency of a kettle - Sexual harassment assault response prevention training course answers - Acids bases and salts lab report - S Paper for Jennifer - Employee empowerment and decision making autonomy impact morale - The distance from the sun to uranus - Ict university tuition fees - How to create use case diagram in rational rose - Arrange the compounds in order of decreasing pka - Ap biology flashcards pdf - Act 5 quests diablo - The psychoanalytic approach to personality - Pacific cataract and laser institute case study - LDR/711A: Leadership Theory And Practice Wk 4 - Case Study Analysis - Discussion - Contact sunshine coast council - Information technology related example of research proposal - +91-8306951337 vashikaran specialist near me IN Aligarh - Athlean x workout free download - Funny bat mitzvah speech to my daughter - URGENT! Disconnect Paper - Accounting 202 final exam answers - Renew your nervous system and build stamina kriya - Michigan english test pdf - Patterns and algebra stage 3 - Business Intelligence (Disc1) - Bible revelation chapter 12 - Statistic home work - Courts limited jurisdiction cjt 101 assignment - Gen 499 general education capstone - Sport obermeyer case study solution excel - Discussion Post - Chesham bois parish council - Consider the circuit shown in figure 1 - Smoorenburg patent & trademark attorneys - Mafs 912 g co 3.11 answers - CPK Case Study UVA-F-1553 - Biblical allusions in hamlet - Why does st louis have colder winters than norfolk - Franklin electronics case study answers - Point cook coastal park walk - How to linear programming in excel - Coalmining history resource centre - Dynamics impulse and momentum solved problems - Mico del rosario instagram - Desktopx 3.5 scenario colossus 3g - Hum 105 week 4 - Disney's design case study answers - How can amazon improve its weakness - Assignment 2) Working on Understanding: More from Singer's "All Animals Are Equal" - Senior advocate job description - Discussion - Ford motor company case study analysis - Solubility of benzoic acid in diethyl ether - Answer this in the next 4 hours - Is anyone good for dissertations please ? - Naoh khp titration lab report - Tc 3 22.91 pdf - Should cellphones be banned in educational institutions