Database reference - calcom

calcom -  tables

Table overview

name columns rows refers to refers from dependents row size data indexes comment
AGE_EXPAND_DOCS 12 6,020 0 0 1 75 b 424 kb 16 kb
This table contains information on how age expansions were done
 
COM_AGE_COMPS 10 48,713 0 0 2 43 b 2,864 kb 40 kb
This table contains expanded age compositions from commercial landings for aged species.
 
COM_LANDS 10 276,316 0 0 4 64 b 19,056 kb 8 kb
This table contains estimated commercial landings of all species from expansions for 1969- current year.  It is the Best Available Data.
 
COM_LEN_COMPS 10 242,706 0 0 2 43 b 14,336 kb 160 kb
This table contains expanded length compositions for commercial species.
 
COMP_EXPAND_DOCS 13 20,924 0 0 1 34 b 984 kb 16 kb
This table contains information about how borrowing was done to produce year end species specific landings found in the COM_LANDS table. Real_ =strata that was expanded, Used_ were the strata borrowed from.
 
CONDITION_CODES 2 20 0 0 1 408 b 8 kb 8 kb
codes used by CDFG on landing receipts for live, dresed, etc...
 
CR_BLOCK_SUMMARY 11 442,895 0 0 1 78 b 35,416 kb 344 kb
This table contains landings from 1931-1968 by CDFG block for all species by month.  This is part of the catch reconstruction program.
 
CR_FINAL_RECONSTRUCTION_LANDINGS 6 92,440 0 0 0 59 b 6,048 kb 8 kb  
CR_TRAWL_BLOCK_SUMMARY 8 128,738 0 0 1 64 b 8,608 kb 48 kb
This table contains trawl log summary data by year and CDFG block for the trawl fishery from 1925-2009.
 
CR_TRAWL_EFFORT 5 8,741 0 0 1 20 b 256 kb 16 kb
This table contains trawl effort by month and CDFG block from 1930-1952.  It is part of the Catch Recon program.
 
CURRENT_AGES 19 0 0 0 0 222 b 0 kb 0 kb
This table hold ages for fish collected during the current sample year - it is virtually never used
 
CURRENT_CLUSTS 6 2,922 0 0 2 36 b 168 kb 16 kb
This table hold cluster data for samples collected during the current year
 
CURRENT_FISH 10 41,370 0 0 2 52 b 2,432 kb 16 kb
This table holds individual fish data for samples collected during the current year
 
CURRENT_SAMPLES 24 1,990 0 0 1 371 b 392 kb 16 kb
this table contaons sample header data for samples collected during the current year
 
DATA_HISTORY 9 154 0 0 2 198 b 24 kb 32 kb
This table contains information about key events and activities in the CCGS.
 
DISPOSITION_CODES 2 16 0 0 1 408 b 8 kb 8 kb
codes used by CDFG on landing receipts includes live, research, personal use, ...
 
FLATFISH_BIN_AGES 16 35,318 0 0 0 618 b 7,752 kb 8 kb
This table contains age data for flatfish Bin samples (samples based on number of fish, not weight). These are rescued samples.
 
FLATFISH_BIN_CLUSTS 6 8,751 0 0 1 457 b 544 kb 16 kb
This table contains cluster data for flatfish Bin samples (samples based on number of fish, not weight). These are rescued sample
 
FLATFISH_BIN_FISH 8 197,985 0 0 0 468 b 13,344 kb 8 kb
This table contains individual fish data for BIN samples (samples based on number of fish not weight)
 
FLATFISH_BIN_SAMPLES 17 4,809 0 0 1 1,256 b 1,144 kb 16 kb
This table contains header data for flatfish Bin samples (samples based on number of fish, not weight). These are rescued samples.
 
GEAR_CODES 6 70 0 0 3 112 b 8 kb 8 kb
a code look up table which also shows gear group designations
 
GRADE_CODES 2 11 0 0 1 408 b 8 kb 8 kb
a list of grade (size) codes used by CDFG on receipts
 
LEN_EXPAND_DOCS 12 40,096 0 0 1 41 b 2,328 kb 32 kb
This table contains information about how borrowing was done to perform length expansions.
 
LENGTH_CONVERSIONS 13 35 0 0 1 53 b 8 kb 8 kb
This table holds length conversion factors for rockfish. It allows conversion between tl, fl, and sl. Refer to the documentation for usage. The data comes from Echeverria and Lenarz, 1983.  The conversions are: length=a+(b * length) where length is cm.
 
MARKET_CATEGORIES 7 428 0 0 2 590 b 40 kb 16 kb
This table contains descriptions of the market categories (sort groups) used by CDFG and CALCOM.
 
MASTER_AGES 19 187,487 0 0 1 222 b 46,552 kb 264 kb
This table contains ages for fish often with multiple ages.  The Best_age is stored in the MASTER_FISH table.
 
MASTER_CLUSTS 6 112,951 0 0 5 36 b 5,816 kb 40 kb
This table contains cluster data for all port samples except those from the current year.
 
MASTER_FISH 10 1,231,434 0 0 14 52 b 83,816 kb 328 kb
this table contains individual fish data for all port samples except those caught in the current year.
 
MASTER_SAMPLES 24 46,249 0 0 19 371 b 5,888 kb 32 kb
This table contains sample header data for all port samples except those from the current year
 
MATURITY_CODES 4 33 0 0 1 159 b 8 kb 8 kb
this table contains the maturity codes used in the port samples.  Rockfish use different codes than sablefish. Flatfish maturity codes are no longer used (unreliable).
 
MISSING_DATA_FISH 12 1,699 0 0 0 112 b 128 kb 8 kb
This table is used when a fish was used but the sample data was incomplete. The age may be okay; however, some key information is missing.
 
OTOLITH_INVENTORY 16 16,386 0 0 4 206 b 1,536 kb 792 kb
This table contains an inventory of all of the otoliths are in our collection.  Note that some otoliths are stored in coin envelopes, while others are stored in trays.  Those stored in trays give us the ability to track down otoltihs for a specific fish.
 
port_codes 6 473 0 0 3 1,038 b 32 kb 16 kb  
PORT_COMPLEX_CODES 2 48 0 0 1 6 b 8 kb 8 kb
a list of port complex codes used in CALCOM
 
RECON_COM_LANDS 8 23,395 0 0 3 635 b 1,912 kb 768 kb
This table contains commercial landings by year and CDFG region from 1916-1968. These are the reconstructed landing estimates. This table is used by the website.
 
RECON_REC_LANDS 5 5,300 0 0 1 26 b 192 kb 16 kb
This table contains recreational data from the catch reconstruction project. It includes only rockfish from 1928-1980.
 
REG_ALL_LOCATIONS 8 70 0 0 7 2,172 b 16 kb 32 kb
This table contains location data for all commercial groundfish regulations.  It joins on LOCATION_ID in other tables.
 
REG_commercial_regulations 5 4,606 0 0 3 8,816 b 1,320 kb 16 kb
This table contains all regulations for federally managed groundfish.
 
reg_oy_abc_ofl 12 1,876 0 0 0 2,832 b 240 kb 8 kb
This table contains OYs, ABCs, etc... for groundfish included the commercial regulations component of the database
 
REG_RCAS 7 1,298 0 0 0 3,624 b 232 kb 8 kb
This table contains the rough boundaries, year of implementation, gear type, and area description of Rockfish Conservation Areas as part of the commercial regulations component of the database
 
REG_ROCKFISH_MANAGEMENT_GROUPS 6 167 0 0 2 512 b 16 kb 16 kb
This table allows fulltext queries to retrieve regulations for a species when they may have been managed as part of a group and not just as a separate species.
 
Reg_species_groups 4 93 0 0 0 200 b 8 kb 8 kb  
REGION_CODES 2 8 0 0 1 54 b 8 kb 8 kb
This table contains CDFG Region codes and descriptions.
 
SIZE_CODES 2 9 0 0 1 55 b 8 kb 8 kb
This table contains definitions of size sort groups used ijn port samples.
 
SPECIES_CODES 10 197 0 0 1 100 b 32 kb 16 kb
this table contains all species codes used in the CALCOM database
 

Tables referenced by views, procedures, or functions

name references
COM_AGE_COMPS 1
COM_LANDS 4
COM_LEN_COMPS 1
GEAR_CODES 2
MARKET_CATEGORIES 1
MASTER_CLUSTS 4
MASTER_FISH 13
MASTER_SAMPLES 18
OTOLITH_INVENTORY 1
port_codes 2
RECON_COM_LANDS 1
REG_ALL_LOCATIONS 4
REG_commercial_regulations 1

Tables not referenced by views, procedures, or functions

name
AGE_EXPAND_DOCS
COMP_EXPAND_DOCS
CONDITION_CODES
CR_BLOCK_SUMMARY
CR_FINAL_RECONSTRUCTION_LANDINGS
CR_TRAWL_BLOCK_SUMMARY
CR_TRAWL_EFFORT
CURRENT_AGES
CURRENT_CLUSTS
CURRENT_FISH
CURRENT_SAMPLES
DATA_HISTORY
DISPOSITION_CODES
FLATFISH_BIN_AGES
FLATFISH_BIN_CLUSTS
FLATFISH_BIN_FISH
FLATFISH_BIN_SAMPLES
GRADE_CODES
LEN_EXPAND_DOCS
LENGTH_CONVERSIONS
MASTER_AGES
MATURITY_CODES
MISSING_DATA_FISH
PORT_COMPLEX_CODES
recon_com_lands_back
RECON_REC_LANDS
Reg_management_grps_for_web
reg_oy_abc_ofl
REG_RCAS
REG_ROCKFISH_MANAGEMENT_GROUPS
Reg_species_groups
REGION_CODES
SIZE_CODES
SPECIES_CODES


Largest tables by size on disk Largest tables by row count Largest indexes by size on disk



Documentation generated by SqlSpec