DATABASE DESIGN DOCUMENTATION

3y ago
16 Views
3 Downloads
248.90 KB
60 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Maxine Vice
Transcription

CONSERVATION AND SUSTAINABLE USEOF THEMESOAMERICAN BARRIER REEF SYSTEMSPROJECT (MBRS)Belize – Guatemala – Honduras - MexicoDATABASE DESIGN DOCUMENTATIONSAM / MBRSDesign and Implementation of aRegional Environmental Information System (REIS)for the Mesoamerican Barrier Reef Systems ProjectProject Coordinating UnitCoastal Resources Multi-Complex BuildingPrincess Margaret DriveP.O. Box 93Belize City BelizeTel: (501) 223-3895; 223-4561Fax: (501) 223-4513Email: mbrs@btl.netWebsite: http://www.mbrs.org.bz

CONSERVATION AND SUSTAINABLE USE OF THE MESOAMERICAN BARRIER REEF SYSTEM (MBRS)DATABASE DESIGN DOCUMENTATIONDESIGN AND IMPLEMENTATION OF A REGIONAL ENVIRONMENTAL INFORMATION SYSTEM (REIS) FOR THEMESOAMERICAN BARRIER REEF SYSTEMS PROJECTMesoamerican Barrier Reef Systems Project Coordination UnitCoastal Resources Multi-Complex, Fisheries Compound, Princess Margaret DriveP.O. Box 93, Belize City, Belize Central AmericaTel: 501-22-33895/34561Fax: 501-22-34513E-mail: mbrs@btl.net

MBRS Technical Document #20REIS Database Design DocumentationTABLE OF CONTENTSPAGE1.Introduction. 12.Software and Hardware Specifications . 12.1 Software Selection. 12.2 Hardware requirements . 42.2.1 General Specifications. 42.2.2 Detailed Technical Specifications . 43.Database Design. 83.1 Common Tables . 93.1.1 Site Table . 93.1.2 Survey Table . 123.1.3 Transect. 153.1.4 Person . 173.2 Species List. 193.2.1 Species . 193.2.2 Local Name . 203.2.3 Threatened and Endangered. 223.3 Mangroves . 233.3.1 Forest Structure. 243.3.2 Seedling. 25I

MBRS Technical Document #20REIS Database Design Documentation3.3.3 Seedling biomass . 273.3.4 Interstitial Water. 293.3.5 Leaf Litter. 303.3.6 Zonation. 323.4 Coral Reefs . 353.4.1 Manta Tow. 353.4.2 Adult Fish. 383.4.3 Fish Recruitment . 403.4.4 Rover Diver. 413.4.5 Point Intercept . 423.4.6 Benthiclut. 433.4.7 Benthic Coral . 443.5 Seagrasses . 483.5.1 Seagrass Growth. 483.5.2 Seagrass Biomass. 503.5.3 Seagrass Leaf Area Index . 53Appendix A – Data Types. 56II

MBRS Technical Document #20REIS Database Design DocumentationDATABASE DESIGN DOCUMENTATION1.INTRODUCTIONThe Mesoamerican Barrier Reef System (MBRS) is the largest barrier reef system in the Caribbean and the second largest reefsystem in the world. The primary goal of the MBRS project is to enhance protection of these valuable ecosystems. Key to anyprotection strategy is knowledge of the habitats and the various uses of those habitats. Management decisions need to be based oninformation of the system. While there may be many efforts to monitor, study, and manage individual portions of the MBRS, asystem wide overview of the information available is essential for management of the MBRS as a whole unit. Collecting all of thedisparate information and compiling it into one easily accessible database is the goal of the Regional Environmental InformationSystem (REIS). The design of the database is based on the information that is to be collected, or has been collected in the past.The data are stored in PostgreSQL 7.3.2 on a Dell Server running Red Hat Linux Version 8.2. Access to the data will be through aweb interface running on Apache web server and using PHP. This design is to allow easy data entry access and querying toresearchers throughout the 4 countries served by MBRS.The driving philosophy behind the database design was to have an efficient, normalized database that would be easy to maintain andexpand, as well as allow easy data entry and access.-1-

MBRS Technical Document #202.SOFTWARE AND HARDWARE SPECIFICATIONS2.1Software SelectionREIS Database Design DocumentationFollowing reviews of the data that would be entered into the database, and the requirements of retrieving the data several criteriawere identified that need to be met by the database software. The minimum requirements for the software were:1. Must support the relational database model, and some version of the SQL language. This is an industry standard, and asa program that will be spanning several countries and many years adhering to this standard will ensure the longevity andportability of the database. In addition most database administrators are familiar with some form of SQL and relationaldatabases, so training of an administrator will be relatively easy.2. Need to allow multiple users to access tables simultaneously. Since the data is going to be entered by users from 4countries and numerous agencies, it is likely that multiple people will be entering data into the same table at the sametime.3. Allow running of stored SQL scripts. There are many processes that can be automated with stored scripts, to facilitymanagement, updates, editing, and querying of the database. This is especially important if users are accessing the datafrom the internet. Being able to call and run a stored script is far easier and more efficient than trying to code all theinformation into a web form.4. Allow restrictions on the data values entered in columns within a table. Being able to restrict the data to certain ranges orvalues will reduce the possible errors in data entry.5. Allow creation of multiple indexes on a table, as well as unique indexes within a table. Also must be able to create oneindex on multiple columns. Multiple indexes on a table allow faster sorts and queries based on various parameters.Creating a unique index across multiple columns will prevent entering duplicate data.-2-

MBRS Technical Document #20REIS Database Design Documentation6. Allow creation of views on the data. This allows a minimum amount of data to be stored and a virtually unlimited numberof outputs to be created. Views allow display of calculated values, without having to create additional columns in the datatables and have them populated with the calculated values. Having the additional columns can lead to conflicting datawithin one record of a data table. In addition, views allow multiple tables to be joined together to provide a customizedview of the data in the data table.7. Allow inner joins, left outer joins, right outer joins, full outer joins, and multiple joins within a query. The joins are differentways of selecting items from one or more tables, in either a query or a view. The inner join selects only the records thatexist in both tables and matches them up. The left outer join, selects all of the records from the left table and only thematching records from the right table. The right outer join, selects all of the records from the right table and only thematching records from the left table. The full outer join selects all records from both the left and right table and joins therecords that match. The non-matching records are joined with null values.8. Have some method of replication between two servers. Since the data is going to be housed on two servers some sort ofreplication is necessary.9. Allow triggers on the data tables. Triggers will allow predetermined actions to be taken when information is entered,edited, or deleted from a data table. Column data checks are an intrinsic form of triggers.10. Allow data entry from the internet. Most of the data will be entered into the forms from the internet.11. Had to run on a Linux System. The project is running a Linux server, therefore the database program must run on Linux.Based on these requirements the qualified software was examined was Oracle, Informix, Ingres, and PostgreSQL. All of theseproducts met the requirements outlined above. PostgreSQL offered the best price/performance of the qualified software. Based onresearch of the computer literature, PostgreSQL appeared to serve data over the web as fast or nearly as fast as any of the other-3-

MBRS Technical Document #20REIS Database Design Documentationproducts. Also being an open source program there is no upfront cost to acquiring the software. Based on the cost and performancePostgreSQL was chosen as the software to use for this project.Following the selection of the database software and operating system, the web server and server side scripting language defaultedto Apache Web server and PHP. This is the best combination that supports Linux and PostgreSQL.2.2Hardware Requirements2.2.1 General SpecificationsThe database server will be used as a web server and database server for a regional project with its central office located in Belize.A tower chassis has been chosen to accommodate an internal LTO tape drive. This server will be connected via the Internet withanother server located in Belmopan, Belize.Both servers will have the same hardware and software configuration. Themanufacturer of any software included with the hardware must be a reputable and globally recognized manufacturer of that class ofsoftware. The Manufacturer of the proposed equipment must be a reputable and globally recognized manufacturer of microcomputerhardware. Absolutely no clones will be considered. The equipment vendor must be an authorized dealer of the proposed equipmentand software preferably with an office in each country where equipment is to be located.2.2.2 Detailed Technical SpecificationsThe server should meet the following detailed specification.These specifications were determined based on the size of thedatabase, the number of users, and the life expectancy of the project. Based on monetary considerations it is not expected that theserver will be replaced for at least 5 years.-4-

MBRS Technical Document #20REIS Database Design DocumentationItemDescriptionSystem ProcessorsDual Intel Xeon 2.4GHz with NetBurst Micro-architecture with Hyper-Threadingtechnology400MHz front side bus512KB L2 Advanced Transfer CacheServerWorks GC-LE chipset2GB 200MHz ECC DDR SDRAM (2 x 1 GB)Total of 6 DIMM sockets on system board configurable for up to 6 GB3 full length PCI-X slots (1 X 64bit/133MHz, 2 X 64bit/100MHz)Dual channel, integrated RAID ControllerWith 128MB battery-backed cache2 internal channelsEmbedded RAID i.e. ROMB (RAID On Motherboard)Capable of handling RAID 1 and RAID 55 Bay Hot Plug SCSI Hard Drive Backplane for1 x 5 configurationOn-Board RAID 1, RAID 55 drives connected to on-board RAID5 73GB (10,000 rpm) 1 inch Ultra3 (Ultra 160) Hot Plug SCSI1.44MB Diskette DriveDVD ROM (CD-ROM capable) Drive15in (13.8inch viewable) MonitorIntegrated controller w/8MB of RAMIntel Pro/100 Dual Port Server AdapterTo allow connection to a 100Mbps port on Internet SwitchWith failover and load balancing supportStandard Windows PS/2 KeyboardWith Keyboard CablePS/2 two-button mouse with scroll wheel andWith Mouse CableFront Side BusCacheChipsetMemoryMemory Expandable to:Expansion SlotsRAID Controller(Primary Controller)Hard Drive BackplaneHard DrivesDiskette DriveOptical DriveMonitorGraphics CardNetwork AdapterKeyboardMouse-5-

MBRS Technical Document #20REIS Database Design DocumentationItemDescriptionSCSI Drive Controller(Secondary Controller)Tape Backup UnitSCSI Drive Controller – compatible with Internal LTO Tape Backup UnitPlus appropriate cable(s)Internal LTO Tape Backup DriveCapacity: 100 GB native, 200 GB compressedMedia Type: LTO UltriumRecording Format: LTO Ultrium Generation 1Average Seek / Access Time: 71sData Transfer Rate: 15 MBps native, 30 MBps compressedInterface Type: Ultra wide SCSI-2Veritas Netbackup Datacenter or equivalentCompatible with LTO driveMust be able to run on a RedHat Linux 8.0 operating systemSuitable for use in a relational database environmentTape Backup Software25-pin parallel port9-pin serial portsUniversal Serial Bus portsPower SuppliesChassisOperating SystemOperating System Documentation SetManagement SoftwareHot pluggable, redundant 500 watts power supplies (2x500watt) and hot pluggable fansVoltage: 100-240 VACTower ChassisRed Hat Linux 8.0 Professional InstalledWith up-to-date drivers for all system components including video, SCSI, motherboard,NIC, etc.Documentation and Media for Red Hat Linux 8.0 ProfessionalEmbedded Hardware-based Remote Access (ERA) management features, includingbuilt-in port, to enable administrators to access, diagnose and remotely manage theserverServer management tools with the following features: Facilitate system set-up, installation and configuration Complete event management including logging and filtering events Email or paging to keep administrators informed of potential server problems beforethey become critical Fault monitoring of voltage, fan, and thermal conditions to help ensure notification incase of potential problems Asset management features to enable system administrator to inventory server-6-

MBRS Technical Document #20ItemEnvironmental ParametersHardware Documentation SetWarranty and Hardware SupportUninterruptible Power SupplyREIS Database Design DocumentationDescriptionconfiguration, CPU, memory and disk information, helping keep track of systemsand keep them up-to-date Built-in remote management Management of drive array under RAID ControllerPre Executable Environment (PXE) support of embedded NICsMust have Simple Network Management Protocol (SNMP) agent software availableOperating Temperature: 10º C to 35º C (50º F to 95º F)Operating Relative Humidity: 8% to 80% (non-condensing)Storage Relative Humidity: 5% to 95% (non-condensing)Users Manual, Installation and Trouble Shooting Guide on CD3 Year Onsite Parts and Labor WarrantyStand alone 2200VA/1600W Smart UPS 120 V to provide 30 minutes of runtime at halfload with the following features: Input 120V/ Output 120V, Input frequency 50/60 Hz /- 3 Hz (auto sensing) DB-9 RS-232 Interface Port w/ Smart UPS signalling RS-232 cable Network-grade line conditioning Management Software on CD User Manual & Installation Guides Overload Indicator and Replace Battery Indicator LED status display with load and battery bar-graphs Optional Emergency Power Off (EPO) Optional Surge energy rating 320 joules Full time multi-pole noise filtering : 0.3% IEEE surge let-through : zero clampingresponse time : meets UL 1449 Maintenance-free battery sealed Lead-Acid battery with suspended electrolyte :leakproof Typical recharge time: 3 hour(s) 2-year repair or replace warranty-7-

MBRS Technical Document #203.REIS Database Design DocumentationDATABASE DESIGNThe first step in the database design was to analyze the data that would be collected and determine the expected uses of

MBRS Technical Document #20 REIS Database Design Documentation DATABASE DESIGN DOCUMENTATION 1. INTRODUCTION The Mesoamerican Barrier Reef System (MBRS) is the largest barrier reef system in the Caribbean and the second largest reef system in the world. The primary goal of the MBRS project is to enhance protection of these valuable ecosystems .

Related Documents:

Database Applications and SQL 12 The DBMS 15 The Database 16 Personal Versus Enterprise-Class Database Systems 18 What Is Microsoft Access? 18 What Is an Enterprise-Class Database System? 19 Database Design 21 Database Design from Existing Data 21 Database Design for New Systems Development 23 Database Redesign 23

viii Related Documentation The platform-specific documentation for Oracle Database 10g products includes the following manuals: Oracle Database - Oracle Database Release Notes for Linux Itanium - Oracle Database Installation Guide for Linux Itanium - Oracle Database Quick Installation Guide for Linux Itanium - Oracle Database Oracle Clusterware and Oracle Real Application Clusters

Getting Started with Database Classic Cloud Service. About Oracle Database Classic Cloud Service1-1. About Database Classic Cloud Service Database Deployments1-2. Oracle Database Software Release1-3. Oracle Database Software Edition1-3. Oracle Database Type1-4. Computing Power1-5. Database Storage1-5. Automatic Backup Configuration1-6

The term database is correctly applied to the data and their supporting data structures, and not to the database management system. The database along with DBMS is collectively called Database System. A Cloud Database is a database that typically runs on a Cloud Computing platform, such as Windows Azure, Amazon EC2, GoGrid and Rackspace.

Creating a new database To create a new database, choose File New Database from the menu bar, or click the arrow next to the New icon on the Standard toolbar and select Database from the drop-down menu. Both methods open the Database Wizard. On the first page of the Database Wizard, select Create a new database and then click Next. The second page has two questions.

real world about which data is stored in a database. Database Management System (DBMS): A collection of programs to facilitate the creation and maintenance of a database. Database System DBMS Database A database system contains information about a particular enterprise. A database system provides an environment that is both

Physical Database Design and Performance Modern Database Management 6th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden Robert C. Nickerson ISYS 464 – Spring 2003 Topic 23 Database Development Process Database planning Database requirements analysis Conceptual database design

Concepts of Database Management Seventh Edition Chapter 6 Database Design 2: Design Method. Objectives Discuss the general process and goals of database design Define user views and explain their function Define Database Design Language (DBDL) and use it to document database designs