Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Database Schema
v6.5
MV-WEB
Identification
MV-WEB v6.5 Database Schema
15 October 2015 TDC-1309-001
MV-WEB v6.5
Copyright
© 2015 Itron, Inc. All rights reserved.
Confidentiality Notice
The information contained herein is proprietary and confidential and is being provided subject to the condition that (i) it be held in confidence except to the extent required otherwise by law and
(ii) it will be used only for the purposes described herein. Any third party that is given access to this information shall be similarly bound in writing.
Trademark Notice
Itron is a registered trademark of Itron, Inc.
All other product names and logos in this documentation are used for identification purposes only and may be trademarks or registered trademarks of their respective companies.
Suggestions
If you have comments or suggestions on how we may improve this documentation, send them to TechnicalCommunicationsManager@itron.com.
For more information about Itron or Itron products, see www.itron.com.
If you have questions or comments about the software or hardware product, contact Itron Technical Support Services.
Contact
Email: support@itron.com
Internet: support.itron.com
Telephone Itron Technical Support North America: 1-877-487-6602
For technical support contact information by region, go to www.itron.com and select your country and language.
MV-WEB v6.5 Database Schema
The following tables are populated by the MV-90 xi ODBC export process.
utsMType Field Name Type Len Req Indexes Type Duplicates FK Reference
Meter Type mt_type int 5 X Meter Type Primary No
Meter Type Name mt_name varchar 12 X
Meter Day Start mt_day_start int 5 X
utsMeter Field Name Type Len Req Indexes Type Duplicates FK Reference
Meter ID mtr_id varchar 14 X Meter ID Primary No
GMT Offset mtr_gmt int 5 X Meter Type Foreign Yes utsMType.mt_type
Time Zone mtr_tz_id varchar 50
Meter Group mtr_group varchar 6 X
Meter Type mtr_type int 5 X
Meter interval Length mtr_intlen int 5
Meter Voltage Code mtr_voltage varchar 2
mtr_conn_ena
Meter Connect Enabled bled varchar 1
MV90-DB Server mv90dbserver varchar 200
utsMeterCust Field Name Type Len Req Indexes Type Duplicates FK Reference
Meter ID mtr_id varchar 14 X Meter ID Primary No utsMeter.mtr_id
Customer ID cst_id varchar 20 X Customer ID Primary No utsCustomer.cst_id
utsCustomer Field Name Type Len Req Indexes Type Duplicates FK Reference
Customer ID cst_id varchar 20 X Customer ID Primary No
Account Number cst_acctnum varchar 20 X
Customer Group cst_group varchar 6 X
Name cst_name varchar 50 X
Bill Cycle Code cst_cycle varchar 2 X
Rate Code cst_rate varchar 6 X
TOU Schedule Code cst_tou varchar 2 X
Address 1 cst_addr1 varchar 50 X
Address 2 cst_addr2 varchar 50 X
Address 3 cst_addr3 varchar 50 X
utsProfile Field Name Type Len Req Indexes Type Duplicates FK Reference
Meter ID + Meter
Channel +
Meter ID p_mtrid varchar 14 X Date/Time Primary No
Meter ID + Meter utsChannel.ch_mtrid +
Meter Channel (P) p_mtrchn int 5 X Channel Foreign Yes utsChannel.ch_mtrchn
Date/Time p_dtm varchar 12 X
Value p_usage real 4 X
Status (int/Chan) p_status int 10
DST Offset p_dst int 5 X
utsUOM Field Name Type Len Req Indexes Type Duplicates FK Reference
UOM Code uom_code int 5 X UOM Code Primary No
Primary Description uom_prim varchar 6 X
The following tables are used internally by MV-WEB. MV-90 xi does not export to these tables.
FK
utsUsers Field Name Type Len Req Indexes Type Duplicates Reference
User Name u_name varchar 20 X Name Primary No
Privileges u_priv varchar 6 X
Contact u_contact varchar 25 X
Phone u_phone varchar 20
Password u_pass varchar 32 X
Email u_email varchar 100
Call Group ID u_mig_id varchar 25
User ID id int 10 X
Company ID company_id int 10 X
Meter Group ID metergroup_id int 10 X
FK
mig_times Field Name Type Len Req Indexes Type Duplicates Reference
MIG ID mig_id varchar 25 X MIG ID Foreign No utsMIGs.id
Day Of Week dow int X
Start Time start_time int X
End Time end_time int X
FK
acc_ranges Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
FK
agg_meters Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
Name name varchar 25 X
User ID user_id varchar 20 X
FK
companies Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
Name name varchar 30 X
Description description varchar 255 X
Contact Name contact_name varchar 50
Contact Phone contact_phone varchar 20
Contact Email contact_email varchar 75
FK
mtr_groups Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
Name name varchar 30 X
Description user_id varchar 255 X
Company ID company_id int
FK
mtrgrp_rels Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
Meter Group ID metergroup_id int 10 X ID +
Object
Type +
Object ID
Object Type object_type varchar 12 X
Object ID object_id varchar 30 X
FK
option_rels Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
Option Level option_level int 25 X Option ID
Object ID object_id int 20 X Option
Level
Value value varchar 255 Object ID
Option ID option_id int
FK
options Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
Name name varchar 50 X
Highest Level highest_level int X
Section section varchar 30 X
FK
TOU_SCHEDULE Field Name Type Len Req Indexes Type Duplicates Reference
ID ID int X ID Primary No
Name NAME varchar 50 X
Description DESCRIPTION varchar 100
Holiday List ID HOLIDAY_LIST_ID Int 3
From MV-90? from_mv90 varchar 3
FK
TOU_PEAK_TYPE Field Name Type Len Req Indexes Type Duplicates Reference
TOU_PEAK_TYPE_ int X ID Primary No
ID
TOU_ID int X
NAME varchar 30 X
OFF_PEAK varchar 5
FK
TOU_SEASON Field Name Type Len Req Indexes Type Duplicates Reference
TOU_SEASON_ID int X ID Primary No
TOU_ID varchar 10 X
SEASON_NAME varchar 30 X
SEASON_START_MMDD varchar 5
SEASON_STOP_MMDD varchar 5
FK
TOU_HOLIDAY_LIST Field Name Type Len Req Indexes Type Duplicates Reference
TOU_HOLIDAY_LIST_ID int X ID Primary No
HOLIDAY_LIST_NAME varchar 50 X
HOLIDAY_LIST_DESC varchar 255 X
TOU_HOLIDAY_LIST_ID int
HOLIDAY_DATE_NAME varchar 30 X
HOLIDAY_DATE varchar 10 X
FK
tou_rels Field Name Type Len Req Indexes Type Duplicates Reference
id int X id Primary No
tou_id int
owner_id int X
owner_type varchar 20 X
FK
evtCategories Field Name Type Len Req Indexes Type Duplicates Reference
ID id int X ID Primary No
Event Category ID evtcatid int X
Event Category Desc evtcatdescr varchar 50 X