【正文】
heet 數(shù)據(jù)源數(shù)據(jù)表 varchar 50 Fieldno 字段序號 varchar 20 fieldname 字段名稱 nvarchar 50 fieldmark 字段中文簡要描述 nvarchar 100 Fieldfare 更新頻率 nvarchar 30 Fieldkey 是否為主鍵 nchar 1 fieldcheck 字段約束 nvarchar 100 fieldtype 字段類型 varchar 30 fieldlength 字段長度 int 8 fieldfrombase 字段數(shù)據(jù)源庫 varchar 50 fieldfromsheet 字段數(shù)據(jù)源表 varchar 50 fieldfromfield 字段數(shù)據(jù)源字段 varchar 50 18 remark 備注 nvarchar 200 parentID 根節(jié)點編號 nchar 20 parentname 根節(jié)點名稱 nvarchar 50 childID 父節(jié)點編號 nchar 20 childname 父節(jié)點名稱 nvarchar 50 輸出數(shù)據(jù) 圖 41 輸出數(shù)據(jù)截圖 1 圖 42 輸出數(shù)據(jù)截圖 2 圖 43 輸出數(shù)據(jù)截圖 3 19 數(shù)據(jù)庫設(shè)計說明 表 44 元數(shù)據(jù)庫設(shè)計說明表 屬性名 屬性描述 屬性類型 屬性長度 是否為主鍵 元數(shù)據(jù)庫信息表 basename 數(shù)據(jù)庫名稱 varchar 50 是 basemark 對該數(shù)據(jù)庫的簡要描述 nvarchar 100 否 basetype 數(shù)據(jù)庫類型 varchar 50 否 baseavailable 是否有效 nvarchar 2 否 元數(shù)據(jù)表信息表 sheetinfono 數(shù)據(jù)表信息編號 varchar 12 是 sheetname 數(shù)據(jù)表名 varchar 50 否 sheetmark 對該數(shù)據(jù)表的簡要描述 nvarchar 100 否 sheetfrombase 數(shù)據(jù)源數(shù)據(jù)庫 varchar 50 否 sheetfromsheet 數(shù)據(jù)源數(shù)據(jù)表 varchar 50 否 元數(shù)據(jù)字段信息表 fieldno 字段序號 varchar 20 是 fieldname 字段名稱 nvarchar 50 否 fieldmark 字段中文簡要描述 nvarchar 100 否 fieldfre 更新頻率 nvarchar 30 否 fieldkey 是否為主鍵 nchar 1 否 fieldcheck 字段約束 nvarchar 100 否 fieldtype 字段類型 varchar 30 否 fieldlength 字段長度 int 8 否 fieldfrombase 字段數(shù)據(jù)源庫 varchar 50 否 fieldfromsheet 字段數(shù)據(jù)源表 varchar 50 否 fieldfromfield 字段數(shù)據(jù)源字段 varchar 50 否 remark 備注 nvarchar 200 否 元數(shù)據(jù)根節(jié)點表 parentID 根節(jié)點編號 nchar 20 是 parentname 根節(jié)點名稱 nvarchar 50 否 元數(shù)據(jù)父節(jié)點表 childID 父節(jié)點編號 nchar 20 是 childname 父節(jié)點名稱 nvarchar 50 否 20 生成元數(shù)據(jù)庫的 SQL 語句如下: USE [master] GO /****** 對象 : Database [METADATA] 腳本日期 : 06/10/2020 18:14:01 ******/ CREATE DATABASE [METADATA] ON PRIMARY ( NAME = N39。 . 數(shù)據(jù)庫設(shè)計 數(shù)據(jù)庫設(shè)計是指對于一個給定的應(yīng)用環(huán)境,構(gòu)造最優(yōu)的數(shù)據(jù)庫模式,建立數(shù)據(jù)庫及其應(yīng)用系統(tǒng),使之能夠有效地存儲數(shù)據(jù),滿足各種用戶的應(yīng)用需求。本章著重敘述 前者。腳本引擎是處理腳本程序的 COM 物件。當程序執(zhí)行完畢后,服務(wù)器僅將執(zhí)行的結(jié)果返回給客戶瀏覽器,這樣也就減輕了客戶端瀏覽器的負擔,大大提高了交互的速度。 6)對 Web 技術(shù)的支持,使用戶能夠很容易地將數(shù)據(jù)庫中的數(shù)據(jù)發(fā)布到 Web 頁面上。 Server 數(shù)據(jù)庫 SQL Server 是由 Microsoft開發(fā)和推廣的關(guān)系數(shù)據(jù)庫管理系統(tǒng)( DBMS) ,它最初是由 Microsoft、 Sybase和AshtonTate 三家公司共同開發(fā)的,并于 1988 年推出了第一個 OS/2 版本。 B/S 架構(gòu)軟件的優(yōu)勢 1)維護和升級方式簡單 目前,軟件系統(tǒng)的改進和升級越來越頻繁, B/S架構(gòu)的產(chǎn)品明顯體現(xiàn)著更為方便的特性。系統(tǒng)設(shè)計階段的主要任務(wù)是從管理信息系統(tǒng)的總體目標出發(fā),根據(jù)系統(tǒng)分析 階段對系統(tǒng)邏輯功能的要求,并考慮到經(jīng)濟、技術(shù)和運行環(huán)境等方面的條件,確定系統(tǒng)的總體結(jié)構(gòu)和系統(tǒng)各組成部分的技術(shù)方案,合理選擇計算機的軟、硬件設(shè)備,提出系統(tǒng)的實施計劃,確??傮w目標的實現(xiàn)。元數(shù)據(jù)的集成和可見性幫助各部門了解存在哪些數(shù)據(jù)、數(shù)據(jù)存儲位置及其含義,從而最大限度的降低信息復(fù)雜性。通過錄入數(shù)據(jù)字段名稱、選擇數(shù)據(jù)字段是否有效等建立新的數(shù)據(jù)表??紤]到某一數(shù)據(jù)表或數(shù)據(jù)字段的源可能有多條 信息,在錄入時能夠做到同時錄入多條數(shù)據(jù)信息,在修改時也能同時修改多條信息,保證界面的友好性。 系統(tǒng) 每次存取網(wǎng)頁頁面時間不得超過 5 秒,數(shù)據(jù)庫信息反饋必須在 5 秒內(nèi)回應(yīng)。非功能性需求是用戶對系統(tǒng)良好運作提出的期望,包括了易用性、反應(yīng)速度、容錯性、健壯性等等質(zhì)量屬性。 5. 系統(tǒng)測試部分,簡單陳述了軟件測試的方案及具體對各個模塊測試的細節(jié)。 . 系統(tǒng)開發(fā)的目標 數(shù)據(jù)庫元數(shù)據(jù)管理系統(tǒng)開發(fā)的總體目標是以 WEB界面實現(xiàn)對數(shù)據(jù)庫的可視化管理,對數(shù)據(jù)庫有更加精準詳細的描述,并能簡化數(shù)據(jù)庫的管理操作。其二,還會把業(yè)務(wù)元數(shù)據(jù)抽取出來,確定要做哪些應(yīng)用,就 把相關(guān)的指標、流程在平臺上建立起來。但問題是,現(xiàn)在的軟件開發(fā)一般都是迭代式開發(fā),每個階段都有不同的人在做。 以當日用戶數(shù)為例,對于這一指標,市場部、網(wǎng)絡(luò)部、計費部等部門給出的定義并不一樣。在項目開發(fā)過程中,遵循軟件工程的開發(fā)模式,系統(tǒng)在平臺化和擴展性方面具有獨到的設(shè)計,具有實用性和先進性。 上海電力學(xué)院 本科畢業(yè)設(shè)計(論文) 題 目: 數(shù)據(jù)庫元數(shù)據(jù)管理系統(tǒng)設(shè)計與實現(xiàn) 院 系: 專業(yè)年級: 2020級 學(xué)生姓名: 學(xué)號: 指導(dǎo)教師: 2020年 6月 1日 II 數(shù)據(jù)庫元數(shù)據(jù)管理系統(tǒng)設(shè)計與實現(xiàn) 摘要 元數(shù)據(jù)管理平臺的建設(shè), 是為了避免 數(shù)據(jù)信息定義不明引起的爭議。 關(guān)鍵詞 : 數(shù)據(jù)庫, 元數(shù)據(jù), WEB, III METADATA MANAGEMENT SYSTEM OF DATABASE ABSTRACT There is a big problem in the current data warehouse project that has been built, we have dispute on data, because of the inconsistent definitions which led an inconsistent indicator on data, and this makes the credibility of database system decreases. In order to clarify these issues, we need to reverse lookup the definition of these tables in database and the relationship between these tables. To avoid similar problems like this, we build a metadata management platform. After the pletion of metadata management platform, we can extract the metadata. We clearly see the relationship between tables and fields in this platform. Users can easily modify the data in database through the platform after data extraction, so that to adjust the statistical indicators of business and so on. Integration and visibility of metadata, which help departments see the definition and storage location of data, and minimize the plexity of information. Based on the knowledge of metadata, the author has developed a metadata management system bined with actual demand, and the system is put into operation now. The design of this system is based on , and ultimately, we can manage database and metadata in WEB interface. In the procedure of development, we followed the rule of Software Engineering, the system platform and scalability has unique design, with practical and advanced. Key words: Database, metadata, WEB, IV 目 錄 1. 緒論 .............................................................................................................................................. 1 . 開發(fā)背景及意義 ................................................................................................................... 1 . 系統(tǒng)開發(fā)的目標 ................................................................................................................... 2 . 全文概要 ............................................................................................................................. 2 2. 系統(tǒng)需求分析 ................................................................................................................................ 3 . 用戶需求 ............................................................................................................................. 3 . 功能性需求 .................................................................................................................. 3 . 技術(shù)需求 ..................................................................................................................... 3 . 功能分析 ..........................................................................................................