e-Commerce Data Data issues in electronic commerce. e-Commerce in 2000: $6.9b 10% 5% 32% 10% 19% 24% Computers Travel Entertainment Gifts, Flowers Apparel Other Demographics 30 something years old College educated $50,000 - $60,000 income Modem access over telephone lines e-Business functions Publish Information Accept registrations Execute transactions Connect partners B2C Retail Storefronts Customer sales and transaction Limited client functionality Public access Poorly understood economic justification Customer relationship management B2B Business to business Business order processing Supply chain management 100 times the retail sales volume Business interconnection EDI Fat client capability Resource Constraints Managing critical resources determines data architectures Processing Storage Access/communication Security Why Use a Database Management System? Storing and Retrieving Data Managing Metadata Supporting Simultaneous Data Sharing Providing Transaction Atomicity Providing Authorization and Security Services Increasing Programmer Productivity Using Data Effectively Process transactions efficiently Access warehouse data flexibly Manage the data resource data administration database administration Global issues Data Usage Transaction: process orders Real Time Volatile Optimized for Update Warehouse: discover opportunities Time Stamped Static Optimized for Retrieval Conventional Files: Cons Data redundancy Data inconsistency Inflexibility (program/data dependence) Difficulty responding to ad hoc requests Problems in sharing data Security problems Definitions Database -organized set of files Database Management System software that organizes, manipulates, and retrieves data stored in a database Databases - Pros Reduced redundancy Increased data integrity Increased flexibility (program/data independence) Increased ability to respond to ad hoc requests Increased ability to share data Improved data security Databases - Cons Increased complexity Slower processing speed Greater disk space requirements Higher initial development costs Increased vulnerability Database Topology Centralized - all related files in one physical location Distributed - multiple locations External - database wholly outside organization but accessible by communications Centralized Database Centralized Databases Database contained in a single location Control of data quality and security Easier multi-user management Not scalable Needs substantial processing power Requires substantial communication Distributed Databases Copies of a database, or portions of one, in multiple locations Problems with concurrency Replicated vs. partitioned Horizontal vs. vertical partitioning Consider use vs. updating Distributed Database External Databases Database managed by another organization outside of the company network Better security Loss of control External Database A commercial provider Views of Data Logical Physical In database, logical view is separated from physical view Databases vs Files Relational vs Other Legacy/Server/Client Centralized/Distributed (horizontal & vertical)/Replicated Multi-tier architecture Transaction/Warehouse