JS TAP CHl KHOA HOC S6? I W^IGDlINGCOSdDirUEUPHANTAN ^ ™ONG QUANLY BAO T^OT^TRircnVG DAI HOC HA TINH Tnm Thi Hmn^'''' NgoyJn TU Vi|t'''' I Bai TU Tkn Hoii'''' TOM TAT Trong bii bto niy, chtag tfti tttoh bay tf[.]
JS I ^ TAP CHl KHOA HOC S6? W^IGDlINGCOSdDirUEUPHANTAN ™ONG QUANLY BAO T^OT^TRircnVG DAI HOC HA TINH Tnm Thi Hmn^' NgoyJn TU Vi|t' Bai TU Tkn Hoii' I TOM TAT Trong bii bto niy, chtag tfti tttoh bay tftm ti, v i CO so dii lito phto tto va tag dung cua CO sft Hju phto tto vto bii tt*, quto ly dto tao tai Trutag Dai hoc Ha Tmh Tu cich nep cfa vto di, dua di xuit giii quyi^ ttto c„ so dft phfa dch duit ki CO so dir hfu quan ly dto tap vi cii dat thu nghiim dfa huftng toi muc dich nang cao hito qua ttong cong tac quto ly dto tao hito dtog cta nhifa bit cap tai Trutag Dai hoc Hi rmh Ki, qua dst dupc la thie, ki CO sft dii lito quto ly dto tso d«o mft hmh dtt lito phto tto bing phmmg phip phta manh ngang, dinh vj dtt hto tai ba dia diim ttnmg tag voi ba CO so host dpng cua ttuong vi cii dat mft phftng mftt sft chuc ntog quto ly Tft khft.: Co so dtt Uiu, CO sft dtt Uto phto tin, quto ly dto tao, phto minh ngang phto manh dpc, djnh vi dtt Uju ASBTRACT In Ihis paper, we introduce Ihe summary- of distributed databases anj the applicanon ofdtstnbuted databases in Ihe training managemem at HaTmh Universil,- Basing on Ihe way of accessing lo Ihe problem and giving Ihe solulion to Ihe problem, we anah-ed and designed the training management databases as w-ellas set up the experiment ith the aim of mrprovmg the effect afthe managemeni m the education which still consists of sereral •nadequacies and difficulties a, Ha Tmh Universi,,- The resuh ts designing the training rmnagemem daurbases following the dispersed databases model hhori^tal Z T ^ Z " " ^ "^'^ ' ^ °" " ^ '^"^"' corresponding to three Deparunents of Ha Tmh Unrversity gnd selling up the imitadon of some management fimcdons Key uranb: Databases, distributed databases, training management, hori^ntal Jragmenlation, alongfi-agmenuttion localing data 1, Giftrj thijn Trutag Dsi hpc Hi rmh li mpt ttutag cftng lap, da cip, da nganh, dto rao na,fa nhan luc nhim dip tag cto yto ciu cua su nghiep phat ttifa kinh ti - xa hfti cua dit nuoc ' ThS Tratog D^ hpc Hi rmh EoBil: h«ng.irmaugl„iedu.™ TRUONGBAI HOC HATI nfti chung vi tinh Ha Tinh nfti riing Dua ttin tinh hinh phit trito thiic tito ciia tinh ritog vi ci nuftc noi chung, nhi tnrtag da ttog cutag phat triin mfti cac mS nginh dio dap tag nhu can nguftn nhto Ipc thpc tiin ciia xa hfti Su phit trien vi quy mft mi nginh vi sft lutag sinh viin tuyta sinh qua cic nim ( thiy quy mfl dio tso cua Trutag Dai hpc Hi Tinh dang tten da phit ttifa ctog ms,^, me Voi quy mft dto tao tren thi cflng tic quto 1^^ dio tso ttrong dfli phiic tsp Hijn tsi nhi" tnrtag dang sii dung phfa mem EduSoft phuc vu cftng tic quto Iy, Dfti tupng tuong lae chtah cua hj d,flng Ii cto bfl, gitog vien vi sinh vijn Phfa mim dupc xay dpng ttto mi hmh CO sft dfl liju tap trung Thim vio dft, mft hinh co sft dfl liju tip ttnng cftn bflc Ij nhtag nhupc diim sau: Tfag kha nfag Iuu ttfl thftng tin Ii khft khfa, bfti bj gifti hsn tii da Clia dujt bj nhft; Dft sfa stog phuc vu ciia co sft dft liiu khftng cao sfl ngufti sil d\|iig ttog; Khi nfag n'nh tofa ciia cic miyti'nhdon Ie dang dto tfti gifti hsn vSt ly; Mfl htoh ti chuc Iuu ttfl, xu ly du Uju tjp ttung khflng phi, hpp cho nhtag tft chftc kmh tl, xi hfli c6 host dpng rftng Ita, da quflc gia Vfti nhtag die diim ttin vi die biit ttirtag dang hoat dpng tai hai co sft vfti ba dja phfa khic nin dl dst hiju qua tftt nhit ttong cflng tic qufa Iy, phat huy nhftng uu diim noi bat cua hj thftng dfl liju phto tto nhu dip fag dupc cac yiu ciu vi phit ttiln CO cto tfl chiic; giim chi phi ttuyin Uiftng; hiju qui cftng vijc, dfl tin cJy, dp sin stog cao nhftm lAc gii di xuit ip dung mfl htah co sft du liju phfa tfa, cu thi Ii sii dpng phuong phap phfa mfah ngang dfl liju, tit dft djnh vj du lito tai cto dja dilm nrong tag vfti cic cft sft host dftng di nfag cao hiju qua, qufa ly dio tjo tai ttutag 2, Mjt si khii nifm vi djnh nghia 2.1 Hf thing phin lin Hi thing phfa tto li tip hpp eto miy tmh dpc Ijp kit nfti vfti thinh mpt m s n g : | | may Imh dupc cii di, cto hj co sft dfl lito vi cto phfa mim he thtog phta tto, tso kU ntog cho ntata ngufti su dung ttuy nhap chia se ngufa thflng tin chmtg, Cto miy tinhi h-ong thftng phfa tfa cft kit nfli phto ctag Iftng ,g hj thong Iftnt leo, cft nghia li khftng chia si bfl nhft,: chi CO mflt hi dito hanh ttong toto bfl hj thftng phto tin in tin Cto msng miy tinh dupc xiy dung dua ttta ky thuat Web, nhu msng httemet, msng ii Inttane, Ii cac msng phfa tan 2.2 Hf qudn Iri casd dir lifu phan lin log,c vo, va dupc phfa bft vit Iy nta nhito may chu cua mang miy tfnh ^ DuA nghia hi CSDLPT bap gftm ca khii nijm CSDL vi hf CSDLPT, Djnh n, TAP CHl KHOA HOC S6? niy nhto mang hai khia canh quan ttpng cua CSDLPT: - Tinh phdn tdn: Toto bp du lito cua CSDL phfa tto khong duoc tip ttung ft mftt noi ma phan ttta nhita ttam Umftc mang miy rinh, difa niy giup phto biit CSDL phfa tto voi CSDL lap trung - Su luang quan logic- Toto bp dtt Uto cua CSDL phfa tfa cft mftt sft cto thuftc rinh m g bupe chtag voi nhau, tii cft thi phto biit mp CSDL phfa tto voi mftt tip hpp CSDL cue bp hoac cic tjp cu ttu tai cto vj tti khto ttong mftt mang may tinh ^ ^ Hinh I Mdl trudng hi thine ca sd du lieu Trong hi tfrfag co sft du lita phto lto gftm nhito ttam, mfli ttam co d,l khai ,hto cto g,ao tac ttuy nhip du liju Ben nhiiu ttam khac 23 Ky Ihugt Ihiil kihf Ihing phdn tdn -nuit ki cua mftt he thfag miyrinhphto Ito bao gftm vito quyi, dinh vi vito dat dfl hto va chuong tttah ft cac nam ttin mft, mang may tinh, ctag nhu li nang thilt ki chmh msng may rinh Trong ttutag hpp hj thfag quto ly CSL phfa tan vito phto tto cto fa dpng gom hai vito: phto tto cua phfa mim hi thftng quto ly CSDL phto tto va su phta tto eua chuong tttah fag dung chsy ttin phfa mim hi thftng Sp phto tto eua cto phfa mim ,v w ' r ' i " " ' ' • * " * " ° " ' ™ ^ "^"^ ' ^ ' " "™ • * •"* ' * « hai phuonu phip taet ke CSDL phan Ifa: phuong phip thii, kini ttto xuftng >i,h,i,ki ttr duoi Ito ^ 2J,1, Qni trinh thiit ke tir tren xuftng (Top-Down) ' - • P * * : * * y ^ ' ^ ^ ' - NhJ" dW, nghia mfli ttutag hi tiifag va Au thap cto nhu ciu ve dtt heu va nhu cau xu ly ciia tat ci mpi ngufti co su dung CSDL - Thiit ki khung nhin- Dinh ngta'a eto giao dito cho nguft, su dm,E cuft, (End-User) = ,.: '" *^ *** "'^^ ^ ™ ''^ '"-S *« >^i nghijp nhim xto djnh cto Ioai thuc thi va moi hen h? giua cac thirc the TRUONGBAI HOC HA T I N H X - Thiit kiphdn Idn: Chia cic quan hi thaith nhiiu quan hi nhft hon gpi Ii phto minh vi cap phat chiing cho cac vi tri - Thiet ke vdt ly Anh xs lupc dft khii nijm cue bfl sang cic thiit bj luu trfl vit W cft sto tai cic vi tti tuong tag 1.3.2 Qui trinh thiet kl tii dufti len (Bottom-Up) Thiit ki tu ttin xuftng thich hpp vfti nhtag CSDL dupc thiit kl ttt diu Tuy nhiin ttong thuc ti li da cft sfa mflt sfl CSDL, nhijm vu thiit ki li phai rich hpp chtag Mnh mpt CSDL Khod diim cua thiit kl ttr dufti Ijn li cic lupc khii nijm cpc bft Qni ttinh si bao gftm vito n'ch hpp cto lupc dft cue bp d,inh khai nijm lupc dft toto cue 2.4 Phdn mdnh du- lieu Phto lta cto hi cp sft dtt lieu phto tto dupc fluit kl flteo hutag ttt ttin xuing (TopDown) Ttai, ki phto minh dfl hju Ii cflng vijc diu rita phii thpc hita Mpc dich ciia vijc phto minh dfl Uju li tso cic don vj cip phat logc, cho chi phi dl fltpc hifn ttuy vin thflng tin Ii thip nhit Cac quan hf co so dfl liju thutag dupc biiu diln dufti dsng bfag Vijc phin manh mftt quan hf thtoh nhiiu quan hf khic theo cac cich khac nhau, sg cft cto cich phin manh hrong tag Co hai kiiu phta minh ttrong ling vfti vito chia quan h j theo chiiu dpc vi chiiu ngang 2.4.1 Phdn minh ngang Phto minh ngang li vijc chia quan hf Uiinh nhifa cto nhftm bft Kit qui ciia qui trinh phto minh ngang li cto quan hf con, sft Iupng quan hf phu U,upc vto difa kijn ring buto efta eto thuflc ttah Va cto bfl ttong cto quan hi Ii tich bijt Phto minh ngang U,pc chit la phep chpn quan hj thfla mto mflt bito fltta difa kijn cho ttuftc Co hai phupng phip phta manh ngang: - Phto manh ngang nguyto fliuy: Li phta minh ngang dupc a,uc hito ttto cto vj tii cua chmh quan hj dft -Phan minh ngang dfa xuit: U phfa ta mftt quan hj dpa ttta cto vi hi cua quan hj khic 2.4 Phan mdnh dpc Phto mtoh dpc quan hj R smh cto minh RI, R2, , Rr, cho m3i mtah chia mp „ p cac thupc ttah cila quan hf R vi khoi eua nft Mpc dich cua phfa mtoh dpc li Phan ch,a quan he R „p cto quan hf nhft hon dl cft nhifa tag d cft flti chi c k : • X ^ ^ r ' " ' " ' ' " " ^ ' ' ' ^ " ' ^ ^ ^ - "«« to^c dft phfa mtoh cho phip giam ,0, ttaeu iho, gian thpc hita cua fag dung ttto manh dft chon o h L t " f ^ , " " ^ ' ' ' " " ' * ""^ '" " « '^ * * phto minh ngang, vi sft lpa p t su dtaVh' ã H"' 'T''''''ô'"''ô * ^*' '"^ ph^ « = ••• " ^ - l l l f l •?r^""''"™^''"^°''''-'-''*''' 'i-l'ftt,tocpc: Nhom thupc tinh: Bat dto gto mii thuflc tinh cho mflt mtoh vi ttong m5i bt^c n& | | TAPcrtiaioAHocs6? mpt so manh Iai voi cho dfa ftfta difa kijn -Ttoh minh: Bit din bfag mat quan hjva quyit dinh etoh phto chia dua ttto hinh V, ttuy nhap cua cto fag dung ttta cto thupc tint Pban licb,lbiill,i Cdsir da Ueu quin Iy ddo tao 3.1 Liifcdi kbdi niim cia CSDL Ctai WtJtqnfaly diim fti hpc phto ttong npi dmig qufa ly dto tao tin ttutag, cto xay dung cto thpc fti sau: '• " " " A : Dftng di luu ttft cto ftftng tm vi cic khoa ttong ttuta, Column Name Data Type MAKHOA NCHARnO) TENKHOA NVARCHARISO) Hinh Bdng da lieu Khoa ^' NOAIffiHOC^Dtag dilm tttt cac ftftngtavi cto nginh hoc ttong ttutag Hinb Bdng da lieu Nginh hgc LOP: Dtag di luu tttt cic ftftng ta vi cac Ita hoc ttnng ttutag Hinb Bdng da lieu Ldp MONHOC Dung dg lmi tri^ cac tfaong tin vi cic mnn h» H^r^^ Hinh Bdng dii lieu Mon hoc „ g ^ bpc TRUQNG BAI HQC HA T SINHVIEN: Dung dl lmi tra cic thQng tin vh cac sinh viSn cua tnrdng Column Name MASV HOTEN NGAYSINH GIOITINH DIACHI MANGANH Data Type NCHAR(IO) NVARCHARXSO) DATETIME BIT NV/«ICHAR(50) NCHAR(IO) Hinh Bdng du lieu Sinh vien DIEM: Diing de liru tr& cic thong tin vh diem thi hpc phin ciia cac sinh vi&i trucmg Column Name Data Type MASV NCHARdO) MAMONHOC NCHAR(IO) LANTHl INT DlEMTHl NUMBERICdS.O) Hinh Bdng dir H$u Diim Lupc quan hp cua cac thuc thS: ^^3 Hinh Luge quan hi giaa cac thuc Ihi 3,2 PhSn doain dif li^u Hito tsi Tnrtag Dsi hpc Hi Tinh dang ho,t dpng ft hai eo sft Cto khoa dupc djt tsi CO so mo,, do CO U,e lua chpn ,ita chufa phta doan dtt lito theo cto khoa hoto bp mftn Vo, yen cau cua bii toto dat vi mo hiri, dfl lito quan hf ft ttin, ta phto mtoh dft Ufn fteo phuong phap phto minh ngang di xii Iy bii toto Cp thi nhu sau: Co sft du liju CO bfag KHOA vfti 10 bfl dft liju: TAP CHf KHOA HOC s ? Bdng 10 Bdng md cdc khoa Trong dft: «linaUioa =1t6-) oi Imakjraa »l™"*"-IS-I or