My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
CRDSS_Task2_13-1_StrategyUpdatingCRDSSRelationalDatabaseData
CWCB
>
Decision Support Systems
>
DayForward
>
CRDSS_Task2_13-1_StrategyUpdatingCRDSSRelationalDatabaseData
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
9/25/2011 10:18:47 AM
Creation date
6/2/2008 12:06:44 PM
Metadata
Fields
Template:
Decision Support Systems
Title
CRDSS Task 2.13-1 - System Maintenance - Strategy for Updating CRDSS Relational Database Data
Description
This memorandum discusses the strategy to be used for updating CRDSS relational database data.
Decision Support - Doc Type
Task Memorandum
Date
1/3/1997
DSS Category
HydroBase
DSS
Colorado River
Basin
Colorado Mainstem
Contract/PO #
C153658, C153727, C153752
Grant Type
Non-Reimbursable
Bill Number
SB92-87, HB93-1273, SB94-029, HB95-1155, SB96-153, HB97-008
Prepared By
Riverside Technology inc.
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
11
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
Refreshing the Database <br />To successfully refresh the database, the following conditions must be met: <br />-Each database table that is eligible to be refreshed must have certain properties defined in <br />advance of the refresh process: <br />Refresh frequency (every year, every 2 years, never, etc.) - State personnel will be <br />? <br />consulted to obtain the correct refresh values for DWR data. <br /> <br />Source of refresh data and the transport mechanism to make that data available (ftp, <br />? <br />tape, etc.). The source of each data type is available in the database and in the CRDSS <br />Users? Manual (database section). <br /> <br />Potential porting problems once the incoming data has been obtained from an external <br />? <br />source. <br /> <br />Additional costs involved in obtaining non-State information (USGS records). <br />? <br />-Each database table that is eligible for updating should be unloaded to a disk file prior to any <br />update process. For long-term storage, the unloaded disk file should then be stored on tape in a <br />compressed format. In the event that new data are used to update a production table and are <br />later found to be in error, the table can be restored to its pre-update status by using the data <br />stored on the tape. <br />-Each database table that is eligible to be refreshed may have two distinct input data sets <br />associated with it. The primary ?refresh? data set will contain all of the data that are to be <br />merged into the permanent production database. The secondary ?verify? data set will contain <br />the records that are to replace existing historical data currently present in the production <br />database. The presence of the ?verify? data set is probably applicable only for State supplied <br />data, since historical data from other sources will rarely change. However, it is recommended <br />that historical data from non-State sources be spot checked. Changes made to the refresh data <br />set will be documented in a report and supplied to the original data owner. <br />-Each data item in a given incoming data set must meet any and all data constraints defined for <br />the destination table. This requirement assures that the new data meets the same integrity <br />standards as the data currently in the database. Constraints defined in the database can be found <br />in the schema and in the data dictionary. Some examples of data constraints are given below: <br />In the cropchar table, the value for cropname must match a value from a list of 39 valid <br />? <br />crop names. <br /> <br />In the cu_indust table, the value for unit must be either ac/ft or ha/m. <br />? <br /> <br />In the daily_flow table, the value for each of the observation type fields (obs1...obs31) <br />? <br />must be either F (filled) or O (observed). <br />-Each incoming data set will be loaded into a temporary database table that mirrors or closely <br />resembles the destination table. Once the data is contained within the database, then all <br />3 <br />a320/taskmems/ 2-13-01.doc 01/03/97 <br />
The URL can be used to link to this page
Your browser does not support the video tag.