锘??xml version="1.0" encoding="utf-8" standalone="yes"?>PipeCAD涔嬬閬撴爣鍑嗗簱PipeStd

eryar@163.com

 

Key Words. PipeCAD, PipeStd, 绠?#38316;?#29825;?#29825;?#26462;欢锛?#32480;′欢?#31793;

 

1. Introduction

鍓嶄笉涔?#38171;?#28051;や綅鑰佸弸寰愭诲拰姣涙诲湪涓婃捣娴?#28051;?#38322;戞ˉ鐨?#28051;鑼?#28051;鍧愬皬鑱?#38171;?#37733;炴兂鍒?#37713;?#39582;?#37715;?#37812;?#28000;?#28000;ㄥ湪閭?#38322;?#38001;氫細鐨勬儏鏅?#37510;?#28000;?#28000;?#37714;?#37714;湪A鍏徃?#25328;I鍏徃锛?#37812;?#35120;撴?#36346;湪?#20187;SPD鐨勫紑鍙戙傚湪涓?#25443;鑱?#37928;勮瘽棰?#28052;?#37828;?#37711;?#27996;?#29825;?#29825;?#26462;欢鐨?#38171;?#35120;撴椂涔?#37832;?#28051;浜涙濇兂纰版挒鐨勭伀鑺?#38171;屾兂?#28483;鍋氬嚭涓涓?#28000;涔?#26462;欢锛?#37812;?#28051;?/span>CEO锛岃繋濞剁櫧瀵岀編锛?#29863;?#28051;?#27996;?#37922;熼?#36346;?#33324;傜?#25780;灉鍑?#39582;磋繃鍘?#38171;屽綋骞村?#30789;繃鐨勭墰B锛屾病鏈?#28729;?#37916;般?#37711;?#28051;?#37832;?#28051;涓氨鏄仛涓涓?#32480;?#38316;撴爣鍑嗗簱绋嬪簭锛屾柟渚?#32480;′欢鐨?#28729;?#28052;?#37510;?#28729;?#28052;夊ソ涔?#37722;?#38171;?#37721;?#28000;?#28725;?#37711;?/span>AVEVA PDMS?#25328;Intergraph SmartPlant銆?/span>

鐪嬬潃鍥藉唴宸?#37720;?/span>/鑸硅埗璁?#29825;?#26462;欢濡?/span>PDSOFT锛?/span>UESOFT锛?/span>PDMAX杩?#37832;?#38008;硅埗璁?#29825;?#26462;欢SPD閮戒笉娓╀笉?#20224;锛?#38000;?#28051;?#37733;藉鐨?/span>AVEVA PDMS/Marine, Intergraph SmartPlant宸茬粡鍗犳嵁浜嗗?#34249;唴?#31478;鍦?#38171;屾湁?#26882;鎴?#28052;熷湪?#20802;?#32017;鍙?#28051;涓?#37720;?#37833;?#22986;︽兂鐨?#32480;?#38316;?#29825;?#29825;?#26462;欢鐨勬剰涔夊拰浠峰?#37510;?/span>

AVEVA PDMS/Marine鎴戣寰?#37828;?#32480;鍗?#37828;?#37922;?#37928;?#26462;欢锛?#28051;鑷?#37928;勬?#23940;綔?#26591;寮?#38171;屽熀浜?/span>CSG鐨勯犲?#23340;?#26945;硶锛岃?#27195;?#24874;緵浜?#27996;屾?#32017;鍙戣瑷PML鍙?/span>C#鏉?#28725;?#32459;嬪簭杩涜?#23680;?#22443;椿鎵╁睍銆傚熀浜?#37826;囦欢鐨勫眰娆?#37825;版嵁?#31793;锛?#39582;?#37819;愪緵浜?#37825;版嵁?#31793;鐨勫銆?#37714;?#37510;佹敼鍙婃?#29256;嵁鍥?#38315;鍔熻兘锛?#37721;?#28000;?#37922;?#27996;庡ぇ涓瀷椤圭洰璁?#29825;?#37510;?#37922;?#27996;?#23536;?#28729;?#37828;?#23536;?#37714;板拰?#30381;鐗?#38171;屾墍浠?#37922;?#37812;?#23536;?#28598;?#37510;?/span>

Intergraph SmartPlant鏄編鍥?#37928;?#28051;娆捐蒋?#27426;锛岀敱浜?#37711;?#28000;?#37837;?#37828;?#29840;?#38171;屽湪鍥藉唴鐨勭敤鎴?#38318;?#37828;笉宸?#38333;?#37928;?#37719;曚綅銆?#37922;?#27996;庢病鏈変娇鐢ㄨ繃锛屾墍浠?#28725;?#37711;?#28051;嶄究浜庤瘎浠?#37510;備絾鏄?#37922;?#27996;?#37733;藉唴澶?#37832;?#28051;?#28051;讳細鎸?#28729;?#26473;?#23046;捐蒋?#27426;锛屾墍浠?#37733;?#38340;?#28051;?#37922;?#37812;?#28052;?#23536;?#28598;?#37510;?/span>

鍐?#37930;?#37733;藉唴鐨勫伐鍘?/span>/鑸硅埗璁?#29825;?#32495;荤粺PDSOFT锛?/span>UESOFT锛?/span>PDMAX鍙?/span>SPD绛?#38171;?#38318;?#37828;熀浜?/span>AutoCAD?#32017;鍙?#37928;?#37510;?#37827;?#37832;熷熀浜?/span>AutoCAD锛?#37733;?#28051;?/span>AutoCAD姣旇緝鏅?#37721;?#38171;屾墍浠?#28028;氬惛寮?#28051;浜涗細AutoCAD鐨勭敤鎴?#37510;備絾鏄熀浜?/span>AutoCAD?#32017;鍙?#32459;嬪簭寮?#32468;?#28052;嬩竴鏄?/span>AutoCAD鐗?#37832;?#37719;囩骇锛岀?#23338;簭瑕佹兂閫傚簲AutoCAD锛?#28052;熷繀椤?#29882;熺潃鍗囩骇銆傚紛绔?#27996;屾槸AutoCAD鐨勬?#24874;緵鐨勫紑鍙戝簱ObjectARX, .NET绛?#38318;戒笉鏄紑婧?#37928;?#38171;屽鏋?#37828;?#38317;?#27996;涘簱鍑?#37916;?/span>BUG鎴?#37828;笉?#25966;鎸?#37928;勫?#29115;兘锛岃涔?#37720;诲拰Autodesk鍏徃娌熼?#38171;岃涔?#37721;?#37832;?#32513;?#38316;?#27996;?#37510;?#37832;?#37928;勪娇鐢?/span>ObjectARX鐨?/span>C++?#31793;?#32017;鍙?#38171;岃櫧鐒剁?#23338;簭鎬?#38003;藉ソ锛岃繕?#28266;?#23047;鐢?/span>MFC?#20187;GUI锛屼絾鏄紑鍙戞晥鐜?#28003;?#37510;傚紛绔?#28052;嬩笁鏄?#37832;?#27996;?#37716;熻兘涓?/span>AutoCAD鐨勫?#29115;兘?#31810;缂犱笉娓?#38171;岀敤鎴蜂綋楠屼笉澶弸濂?#37510;?/span>

涓?#27996;嗗疄鐜?#37713;?#39582;?#37715;?#37928;勬ⅵ?#20802;锛?#37812;?#37712;?#28729;氬紑鍙?#28051;涓?#32480;?#38316;?#29825;?#29825;?#26462;欢PipeCAD銆?/span>

 

2. PipeCAD

瀵?/span>PipeCAD鐨?#28051;涓?#28729;氫綅?#27688;鏄?#38315;?#37922;?#27996;?#28051;皬?#28727;椤圭洰鐨?#32480;?#38316;?#29825;?#29825;?#26462;欢銆?#37733;?#28051;?#28598;у瀷椤圭洰鐨勭敤鎴?#28051;鑸?#38318;?#37828;?#37922;?/span>PDMS鎴?/span>SmartPlant銆?/span>

?#23047;鐢ㄥ紑婧愬簱OpenCASCADE鏉?#26473;涜涓?#32513;?#37733;?#35120;㈠紑鍙?#38171;屼娇鐢ㄥ紑婧愬簱Qt鏉?#26473;涜GUI?#32017;鍙?#38171;屾彁?#29678;绋嬪簭?#32017;鍙戞晥鐜?#37510;?#37733;?#28051;轰娇鐢ㄥ紑婧愭妧鏈?#38171;?#37713;?#37916;?/span>BUG鍙?#28000;?#28000;庢?#35268;嵁涓?#29785;?#37712;?#37510;?#28051;嶄緷璧?#37711;?#28000;?#38338;?#23143;?#37928;?#26462;欢锛?#28051;嶄細鏈?#37711;?#28000;?#26462;欢鍗囩骇?#29995;鏉?#37928;?#35120;卞搷銆?/span>

涓氬姟鏍稿績鍔熻兘閮?#38007;?#23480;?#28729;?#37916;?#38171;岀?#23338;簭鑷?#28051;诲彲?#24118;锛屾柟渚?#28583;?#37716;犳?#26495;?#29115;兘銆?/span>

 

PipeCAD鐨?#37714;濇?#32017;鍙?#28000;?#28051;嬪?#29115;兘妯?#37735;?#38171;?/span>

绠′欢?#31793;绛夌骇?#31793;绠?#37918;嗙?#23338;簭PipeStd锛?/span>

涓?#32513;?#29825;?#29825;?#22959;?#37735;?/span>PipeCAD锛?/span>

绠?#38316;?#26462;?#23092;?#37733;?#37713;?#37733;?#22959;?#37735;?/span>IsoAlgo銆?/span>

 

3. PipeStd

PipeStd涓?#29781;?#37922;?#37833;?#28725;?#32480;′欢?#29219;鍑?#37825;版嵁銆?#32480;?#38316;撶瓑?#39559;绛夋?#29256;嵁杩涜绠$悊銆?#37832;?#27996;嗙?#27426;鏁版嵁锛屽氨鍙?#28000;?#28725;?#32480;′欢杩涜涓?#32513;?#37828;剧ず銆?#37832;?#27996;嗙閬撶瓑?#39559;锛屽氨鍙?#28000;ュ湪涓?#32513;?#29825;?#29825;?#22959;?#37735;?#37833;ヤ娇鐢?#32480;′欢鏉?#28725;?#32480;?#38316;?#26473;涜?#23677;缓妯?#37510;?/span>PipeStd鐨勪娇鐢ㄦ柟寮?#28051;?/span>PDMS鐨?/span>Paragon妯?#37735;楃被?#25216;锛?#38315;氳繃鍙傛?#26495;寲鐨勬柟寮?#37833;?#28729;?#28052;?#32480;′欢銆傜洰鍓?#32459;嬪?#24533;殑涓?#29781;佸?#29115;?#34249;?#33580;粡瀹?#37916;?#38171;岀?#23338;?#24533;?#23684;潰濡?#28051;?#37733;?#37813;绀?#38171;?/span>

鍏?#28051;?#26473;?#29825;炬兂鐨勫?#29115;兘鏈?#38171;?/span>

瀵?#37711;?#37510;佸鍑?/span>PDMS涓?#37928;?#32480;′欢鍙?#32480;?#38316;撶瓑?#39559;Piping Specification鏁版嵁锛?/span>

瀵?#37711;?#37510;佸鍑?/span>SmartPlant涓?#37928;?#32480;′欢鍙?#32480;?#38316;撶瓑?#39559;Piping Specification鏁版嵁锛?/span>

 

4. Conclusion

涓や綅鍙嬩汉鐨勬彁閱?#38171;屽喅瀹氬紑鍙?#28051;涓?#28051;?#32513;?#32480;?#38316;?#29825;?#29825;?#26462;欢PipeCAD銆?#28051;?#28051;皬?#28727;椤圭洰鐨?#32480;?#38316;?#29825;?#29825;?#37819;愪緵浜?#28051;涓?#38315;夋嫨銆傛?#31295;績鍔熻兘閮?#38007;?#23480;?#28729;?#37916;?#38171;岀?#23338;簭鑷?#28051;诲彲?#24118;銆?#28051;嶄緷璧?#37711;?#28000;?#26462;欢锛屽AutoCAD锛屾?#24874;緵?#22727;濂?#37928;勭敤鎴蜂綋?#29529;銆?/span>

 



eryar 2018-11-25 22:27 鍙戣〃璇?#29825;?/a>
]]>銆?#26462;?#37510;戝祵鍏?#23534;?#37825;版嵁?#31793;绯荤粺Berkeley DBhttp://www.2676208.com/eryar/archive/2018/11/22/BerkeleyDb.htmleryareryarThu, 22 Nov 2018 01:57:00 GMThttp://www.2676208.com/eryar/archive/2018/11/22/BerkeleyDb.htmlhttp://www.2676208.com/eryar/comments/216074.htmlhttp://www.2676208.com/eryar/archive/2018/11/22/BerkeleyDb.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216074.htmlhttp://www.2676208.com/eryar/services/trackbacks/216074.html

鍘?#37826;?#37734;?#37735;锛?a href="https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html" target="_blank">https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html

鍓?#29815;

UNIX/LINUX骞?#37721;?#28051;嬬?#21228;?#29256;嵁?#31793;绉嶇被闈?#29999;?#28598;?#38171;?a href="https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html#artrelatedtopics">鍙?#38000;?#29863;勬枡1涓?#37714;?#28051;?#27996;嗗叾涓?#37928;勫ぇ閮?#37714;?#37510;?#38315;氬父锛?#37812;?#28000;湪璁?#29825;NIX/LINUX骞?#37721;?#28051;嬬?#21227;簲鐢?#26462;欢?#26882;锛屽鏋?#37825;版嵁绉嶇被绻佸,鏁版嵁涓庢?#29256;嵁涔嬮?#26449;叧绯?#23011;旇緝澶?#37833;?#38171;屽氨?#32048;閫?#37922;?#28051;浜?#28598;?#37736;嬬?#21226;紒涓氱骇鏁版嵁?#31793;绯荤粺锛屽?#20401;B2锛孫RACLE銆丼YBASE绛?#38171;屽鏋?#26462;欢瑙勬ā?#31497;澶?#38171;屽氨鍊?#37722;?#38315;?#37922;?#28641;侻YSQL銆丳OSTGRESQL绛?#28051;皬?#28727;鏁版嵁?#31793;銆備?#23338;?#20633;娇鐢≒HP/PERL + MYSQL/POSTGRESQL璁?#29825;?#32515;戠珯?#29056;鏈?#28051;婃槸涓涓?#23536;堝父瑙?#37928;勫仛?#30838;銆備絾鏄?#38171;屽綋搴?#37922;?#26462;欢绠?#37918;嗙?#21228;?#29256;嵁?#34987;?#28727;?#32221;灏?#38171;?#37911;?#37714;?#23049;ㄦ剰锛?#26473;?#39582;朵笉鏄?#29831;撮渶瑕?#32480;?#37918;嗙?#21228;?#29256;嵁閲忓皬锛?#38171;屾?#29256;嵁绠$悊鏈韩?#31497;澶?#37833;?#38171;?#28051;?#28725;?#37825;版嵁鎿嶄綔瑕佹?#20638;?#27195;晥鐜?#38171;?#37714;?#37922;?#28598;?#37722;?#27047;?#27047;?#37928;凚erkeley锛堢編鍥藉姞宸?#28598;?#28699;?#28028;?#37711;?#37714;?#37714;?#37837;?#38171;夊紑鍙?#37928;?Berkeley DB鍙兘鏄?#28051;涓?#23536;?#37828;?#37829;?#37928;勯夋嫨銆?/p>

DB缁?#26473;?/h2>

DB鏈鍒濆紑鍙?#37928;勭洰鐨勬槸浠?#37826;?#37928;凥ASH璁?#38338;?#32480;楁硶鏉?#28000;?#37831;?#37827;?#37928;刪search鍑?#37825;板拰澶?#38322;忕殑dbm瀹?#37916;?#38171;?#28641;侫T&T鐨刣bm锛孊erkeley鐨刵dbm锛孏NU椤圭洰鐨刧dbm锛?DB鐨勭涓涓?#37721;戣?#23680;?#22557;湪1991骞?#37713;?#37916;?#38171;?#35120;撴椂杩樺寘鍚?#27996;咮+鏍戞?#29256;嵁璁?#38338;?#32480;楁硶銆傚湪1992骞?#38171;孊SD UNIX绗?.4鍙戣?#23680;増涓?#37718;?#37722;?#27996;咲B1.85鐗?#37510;傚熀鏈?#28051;?#29825;?#28051;?#26473;?#37828;疍B鐨勭涓涓?#23005;?#23534;忕増銆傚湪1996骞?#28051;?#37832;?#38171;?a href="http://www.sleepycat.com/">Sleepycat杞欢鍏徃鎴?#32468;?#38171;屾?#24874;緵瀵笵B鐨勫晢涓氭敮鎸?#37510;傚湪杩?#28000;?#37722;?#38171;孌B寰?#37714;?#27996;嗗箍娉?#37928;勫簲鐢?#38171;屽綋鍓?#37832;鏂?#37911;?#37832;?#37828;?.3.27銆?/p>

DB?#25966;鎸?#37713;?#28052;?#37813;鏈?#37928;勭幇浠?#37823;嶄綔绯荤粺锛屽?#20410;INUX銆乁NIX銆乄INDOWS绛?#38171;?#28052;?#37819;愪緵浜?#28051;板?#23680;?#21227;簲鐢?#32459;嬪簭鎺?#37721;?#38171;屾敮鎸丆銆丆++銆丣AVA銆丳ERL銆乀CL銆丳YTHON銆丳HP绛?#37510;侱B鐨勫簲鐢?#37719;?#37714;嗗箍娉?#38171;屽湪寰?#28598;氱煡鍚?#37928;?#26462;欢涓?#38318;借兘鐪?#37714;板叾?#38889;褰?#37510;備?#23338;鍙?#38000;?#29863;勬枡2涓綔鑰呰皥鍒?#37714;?#37922;―B?#28266;LINUX涓?#28729;?#37916;板唴鏍哥骇鏂囦欢绯荤粺锛?a href="https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html#artrelatedtopics">鍙?#38000;?#29863;勬枡3涓?#38315;氳繃瀹?#38340;?#23092;?#29831;曟?#29256;嵁璇?#37828;嶥B鎻愰?#27193;簡OPENLDAP鐨勬晥鐜?#37510;侺INUX涓嬬殑杞欢鍖?#32480;?#37918;嗗櫒RPM涔熶娇鐢―B绠$悊杞欢鍖呯浉鍏?#37825;版嵁锛?#37721;?#28000;ヤ娇鐢?#37723;?#28000;ile?#29025;鐪婻PM鏁版嵁?#27952;褰?var/lib/rpm涓嬬?#21228;枃?#27426;,鍒?#37832;?#35120;?#23534;?#28641;?#28051;嬬?#21230;緭鍑?#38171;?/p>

Dirnames: Berkeley DB (Btree, version 9, native byte-order)
Filemd5s: Berkeley DB (Hash, version 8, native byte-order)

鍊?#23536;楁敞鎰忕?#21228;槸DB鏄祵鍏?#23534;?#37825;版嵁?#31793;绯荤粺锛?#38000;屼笉鏄?#29999;?#29785;?#37928;?#37711;崇郴/瀵硅薄?#28727;鏁版嵁?#31793;锛屽SQL璇?#29815;?#31497;?#25966;鎸?#38171;?#28052;熶笉鎻愪?#28057;?#29256;嵁?#31793;甯?#29785;?#37928;勯珮?#39559;鍔熻兘锛屽?#20634;?#27194;偍?#32323;绋?#38171;岃Е鍙戝櫒绛?#37510;?/p>

DB鐨?#29825;?#29825;?#37804;濇兂

DB鐨?#29825;?#29825;?#37804;濇兂鏄?#32480;鍗?#37510;佸皬宸?#37510;佸彲闈?#37510;?#26946;樻ц兘銆傚鏋?#29831;?#28051;浜?#28051;?#23092;?#37825;版嵁?#31793;绯荤粺鏄?#28598;?#38000;?#37711;?#37928;勮瘽锛?#38317;?#28052;圖B?#27688;鍙?#32457;?#28051;哄皬鑰岀簿銆侱B鎻愪緵浜?#28051;绯?#37714;?#25652;?#37922;?#32459;嬪簭鎺?#37721;?#38171;圓PI锛?#38171;岃皟鐢?#37832;韩寰?#32480;鍗?#38171;屽簲鐢?#32459;嬪簭?#25328;DB鎵鎻愪緵鐨勫簱?#28266;涓?#25443;缂?#29831;戞垚涓?#37721;?#37813;?#29723;岀?#23338;簭銆?#26473;?#32457;嶆柟寮?#28000;?#28051;ゆ柟闈?#37835;佸ぇ鎻愰?#27193;簡DB鐨勬晥鐜?#37510;傜涓锛欴B?#31793;?#25328;搴?#37922;?#32459;嬪簭杩?#29723;屽湪鍚?#28051;涓?#37734;?#37735;绌?#38338;?#38171;屾病鏈?#28729;?#37812;?#32468;?#32459;嬪簭?#25328;鏁版嵁搴撴湇鍔″櫒涔嬮棿鏄?#29840;?#37928;勭?#25120;粶閫?#29825;紑閿锛?#28052;熸病鏈?#37832;?#37734;?#28051;?#37832;?#26473;?#32459;?#28052;嬮棿鐨勯?#29825;?#38171;涚浜?#38171;氫笉?#28214;瑕佸SQL浠g爜瑙g爜锛屽鏁版嵁鐨?#29825;?#38338;?#37929;?#37812;?#27996;嗗綋銆?/p>

DB瀵归渶瑕?#32480;?#37918;嗙?#21228;?#29256;嵁鐪嬫硶寰?#32480;鍗?#38171;孌B鏁版嵁?#31793;鍖?#37722;嫢骞?#37833;?#29825;板綍锛?#23011;?#28051;涓?#29825;板綍鐢?#37711;抽敭瀛楀拰鏁版嵁锛圞EY/VALUE锛?#37835;?#37812;?#37510;傛?#29256;嵁鍙?#28000;?#37828;?#32480;鍗?#37928;勬?#29256;嵁?#34987;?#28727;锛?#28052;?#37721;?#28000;?#37828;?#28598;?#37833;?#37928;勬?#29256;嵁?#34987;?#28727;锛?#28186;嬪?#20400;璇?#29815;涓?#32513;撴瀯銆侱B瀵?#37825;版嵁?#34987;鍨嬩笉?#20187;浠讳綍瑙?#38322;? 瀹?#37711;?#37922;?#32459;嬪簭鍛?#38007;?#29723;屽?#21229;悊锛?#37711;稿?#23340;殑C璇?#29815;鎸?#38333;?#37928;?鑷?#37922;?椋庢牸銆傚鏋滄妸璁板綍鐪?#37812;?#28051;涓?#37832;塶涓?#28699;楁鐨勮〃锛?#38317;?#28052;堢1涓?#28699;楁涓?#29723;?#37928;?#28051;婚敭锛岀2--n涓?#28699;楁瀵瑰簲浜嗗叾瀹?#37825;版嵁銆侱B搴?#37922;?#32459;嬪簭閫氬父?#23047;鐢?#28598;?#28051;狣B鏁版嵁?#31793;锛?#28000;庢?#24878;?#23942;剰涔?#28051;?#37930;?#38171;?#28052;熷氨鏄?#37711;崇郴鏁版嵁?#31793;涓?#37928;勫涓?#29723;?#37510;侱B?#31793;闈?#29999;哥揣鍑?#38171;屼笉瓚呰繃500K锛屼?#21975;彲浠?#32480;?#37918;嗗ぇ鑷?56T鐨勬?#29256;嵁閲?#37510;?/p>

DB鐨?#29825;?#29825;?#37711;?#37714;嗕綋鐜?#27996;哢NIX鐨勫熀浜?#23480;?#37711;?#37928;勫摬瀛?#38171;?#37719;寵嫢骞?#32480;鍗?#23480;?#37711;?#37928;勭?#21227;悎鍙?#28000;?#28729;?#37916;板己澶?#37928;勫?#29115;兘銆侱B鐨?#23011;?#28051;涓熀纭鍔熻兘妯?#37735;?#38318;借璁?#29825;?#28051;虹嫭绔嬬殑,涔?#37719;虫剰鍛崇潃鍏朵娇鐢?#26864;嗗煙骞朵笉灞闄?#27996;嶥B鏈韩銆備?#23338;?#20634;姞閿佸瓙绯荤粺鍙?#28000;?#37922;?#27996;?#38344;濪B搴?#37922;?#32459;嬪?#24533;殑閫?#37922;?#37823;嶄綔锛屽唴瀛?#37711;?#27996;?#32514;撳?#21449;?#29362;瓙绯荤粺鍙?#28000;?#37922;?#27996;庡湪?#21812;瀛?#28051;熀浜?#26916;?#38344;?#37928;勬枃?#27426;缂撳啿銆?/p>

DB鏍稿績鏁版嵁缁撴瀯

鏁版嵁?#31793;鍙?#37836;勭?#25780;瀯DB锛氬寘鍚?#27996;嗚嫢骞?#37819;?#26473;版?#29256;嵁?#31793;灞炴?#37928;勫?#20635;暟锛屽?#20635;?#29256;嵁?#31793;璁?#38338;柟?#30838;?#34987;?#28727;銆?#38315;昏緫椤?#38344;?#28598;у皬銆?#37825;版嵁?#31793;鍚嶇О绛?#38171;?#37722;屾椂锛孌B缁撴瀯涓?#37718;?#37722;?#27996;嗗ぇ閲忕?#21228;?#29256;嵁?#31793;澶勭悊鍑?#37825;版寚閽?#38171;屽ぇ澶?#37825;板艦寮?#28051;?锛?dosomething锛?DB *, arg1, arg2, …)銆?#37711;?#28051;?#37832;閲?#29781;?#37928;勬湁open,close,put,get绛?#37713;?#37825;般?/p>

鏁版嵁?#31793;璁板綍缁撴瀯DBT锛欴B涓?#37928;?#29825;板綍鐢?#37711;抽敭瀛楀拰鏁版嵁鏋?#37812;?#38171;?#37711;抽敭瀛楀拰鏁版嵁閮?#37922;?#32513;撴瀯DBT琛?#32448;?#37510;?#28729;?#38340;?#28051;?#28729;?#37711;?#37721;?#28000;ユ妸鍏抽敭瀛?#37930;?#37812;?#37911;规畩鐨勬?#29256;嵁銆傜?#25780;瀯涓?#37832;閲?#29781;?#37928;?#28051;?#28051;?#28699;楁鏄?void * data?#25328;u_int32_t size锛?#37714;?#37714;?#28725;瑰簲鏁版嵁鏈韩?#25328;鏁版嵁鐨勯暱搴?#37510;?/p>

鏁版嵁搴撴父?#29219;缁撴瀯DBC锛?#23059;告爣锛坈ursor锛?#37828;?#37825;版嵁?#31793;搴?#37922;?#28051;?#29999;?#29785;佹?#20634;康锛?#37711;?#37832;?#29840;?#28051;婂氨鏄?#28051;涓?#37711;?#27996;?#37911;?#28729;?#29825;板綍鐨?#38316;?#37720;嗗櫒銆傛敞?#21104;鍒癉B?#25966;鎸佸閲?#29825;板綍锛坉uplicate records锛?#38171;?#37719;?#28598;?#37833;?#29825;板綍鏈?#37929;?#37722;?#37711;抽敭瀛?#38171;屽湪瀵瑰閲?#29825;板綍鐨勫?#21229;悊涓?#38171;屼娇鐢?#23059;告爣鏄?#37832;瀹?#37828;?#37928;勬柟寮?#37510;?/p>

鏁版嵁?#31793;鐜?#28583;?#37721;?#37836;勭?#25780;瀯DB_ENV锛?#37916;?#28583;冨湪DB涓?#28766;?#27996;庨珮?#39559;鐗规?#38171;屾湰璐?#28051;?#37930;?#38171;岀幆澧?#37828;?#28598;?#28051;?#37825;版嵁?#31793;鐨勫寘瑁呭櫒銆傚綋涓涓?#37812;?#28598;?#28051;?#37825;版嵁?#31793;?#28266;鐜?#28583;?#28051;?#37813;撳紑鍚?#38171;岀幆澧?#37721;?#28000;?#28051;?#26473;?#27996;涙?#29256;嵁搴撴?#24874;緵澶?#32457;嶅瓙绯荤粺鏈?#37716;?#38171;?#28186;嬪?#20634;绾?杩?#32459;嬪?#21229;悊?#25966;鎸?#37510;?#27996;嬪姟澶勭悊?#25966;鎸?#37510;?#26946;樻ц兘?#25966;鎸?#37510;?#37827;?#36423;楁仮澶嶆敮鎸?#32475;?#37510;?/p>

DB涓?#37837;稿績鏁版嵁缁撴?#21227;湪?#23047;鐢?#37715;?#38318;?#29781;?#37714;濆?#23338;寲锛?#38341;?#37722;?#37721;?#28000;?#29835;?#37922;?#32513;撴瀯涓?#37928;?#37713;?#37825;?#38171;?#37816;?#38333;?#38171;?#28729;?#37812;愬?#21229;鎿嶄綔锛屾渶鍚庡繀椤诲叧闂?#37825;版嵁缁撴瀯銆?#28000;?#29825;?#29825;?#37804;濇兂鐨勫眰闈?#28051;?#37930;?#38171;岃繖绉?#29825;?#29825;℃柟?#30838;鏄?#37714;?#37922;?#38344;?#37722;戣繃绋?#29831;?#29815;瀹?#37916;?#38344;?#28725;?#28725;硅薄缂?#32459;嬬殑涓涓?#37711;?#38012;?#37510;?/p>

DB鏁版嵁璁?#38338;?#32480;楁硶

?#28266;鏁版嵁?#31793;棰嗗煙涓?鏁版嵁璁?#38338;?#32480;楁硶瀵瑰簲浜?#37825;版嵁?#28266;纭?#37929;?#28051;?#37928;勫?#27194;偍鏍?#23534;忓拰鎿嶄綔?#26591;?#30838;銆傚湪缂?#37712;?#25652;?#37922;?#32459;嬪簭?#26882;锛?#38315;夋嫨鍚?#38315;?#37928;?#32480;楁硶鍙?#38003;戒?#27692;湪杩?#32480;?#38315;?#25652;?#28051;婃彁?#29678;1涓?#37922;?#38007;?#28598;?#28051;?#37825;?#38322;忕骇銆傚ぇ澶?#37825;版?#29256;嵁?#31793;閮?#38315;?#37922;˙+鏍?#32480;楁硶锛孌B涔?#28051;嶄?#23338;锛屽?#23678;椂杩樻敮鎸丠ASH绠楁硶銆丷ecno绠楁硶?#25328;Queue绠楁硶銆傛帴涓?#37833;?#38171;?#37812;?#28000;?#28751;?#29825;?#29825;?#26473;?#27996;?#32480;楁硶鐨勭?#22317;偣浠?#37721;?#28641;備?#26335;?#35268;嵁?#28214;瑕佸?#27194;偍鏁版嵁鐨勭?#22317;?#30789;?#28060;閫夋嫨銆?/p>

B+鏍?#32480;楁硶锛欱+鏍戞槸涓涓?#39582;?#29723;?#37837;?#38171;?#37711;抽敭瀛?#37832;夊簭瀛樺偍锛?#39582;?#28051;?#37711;剁?#25780;?#21230;兘闅?#37825;版嵁鐨勬彃鍏ュ拰鍒?#38340;?#26473;涜?#23677;姩鎬?#29835;?#37825;?#37510;?#28051;?#27996;?#28000;g爜鐨?#32480;鍗?#38171;孌B?#30149;鏈?#28729;?#37916;板鍏抽敭瀛?#37928;?#37715;嶇紑鐮佸?#23340;緝銆侭+鏍戞敮鎸佸鏁版嵁?#29025;璇?#37510;?#37819;?#37711;?#37510;?#37714;?#38340;?#37928;勫父鏁扮骇閫?#25652;?#37510;?#37711;抽敭瀛?#37721;?#28000;?#28051;?#28000;绘?#24533;?#21228;?#29256;嵁缁撴瀯銆?/p>

HASH绠楁硶锛欴B涓?#28729;?#38340;呬娇鐢?#37928;勬槸鎵╁睍绾?#37804;ASH绠楁硶锛坋xtended linear hashing锛?#38171;?#37721;?#28000;?#37837;规嵁HASH琛?#37928;勫?#28858;暱杩涜閫傚綋鐨勮皟鏁?#37510;?#37711;抽敭瀛?#37721;?#28000;?#28051;?#28000;绘?#24533;?#21228;?#29256;嵁缁撴瀯銆?/p>

Recno绠楁硶锛?瑕佹眰姣?#28051;涓?#29825;板綍閮?#37832;?#28051;涓?#38315;昏?#25120;邯褰?#37721;?#38171;?#38315;昏?#25120;邯褰?#37721;?#37922;?#32480;楁硶鏈韩鐢?#37812;?#37510;?#28729;?#38340;?#28051;?#38171;岃?#27407;拰鍏崇?#35826;瀷鏁版嵁?#31793;涓?#38315;昏緫涓婚敭閫氬父瀹?#28052;?#28051;篿nt AUTO?#28727;鏄?#37722;?#28051;涓?#22994;傚康銆俁echo?#32531;绔嬪湪B+鏍?#32480;楁硶涔嬩笂锛屾?#24874;緵浜?#28051;涓?#28699;樺偍鏈夊簭鏁版嵁鐨勬帴鍙?#37510;?#29825;板綍鐨勯暱搴?#37721;?#28000;?#28051;?#28729;氶暱鎴栦笉瀹氶暱銆?/p>

Queue绠楁硶锛氬拰Recno?#26591;寮?#37818;?#26473;? 鍙笉?#32323;璁板綍鐨勯暱搴?#28051;?#28729;氶暱銆傛?#29256;嵁浠?#28729;氶暱璁板?#26335;柟寮忓?#27194;偍?#28266;?#27110;鍒?#28051;?#38171;屾彃鍏?#37823;嶄綔?#22968;璁板?#26335;彃鍏?#37714;伴槦鍒?#37928;勫熬閮?#38171;岀浉姣?#28052;嬩笅鎻?#37711;?#38315;?#25652;?#37828;?#37832;蹇?#37928;?#37510;?/p>

瀵?#32480;楁硶鐨勯夋嫨棣?#37711;堣鐪?#37711;抽敭瀛?#37928;勭被?#28727;锛屽鏋?#28051;?#28598;?#37833;傜被?#28727;锛?#37714;?#37721;兘閫夋嫨B+鏍戞垨HASH绠楁硶锛屽鏋?#37711;抽敭瀛?#28051;?#38315;昏緫璁板綍鍙?#38171;?#37714;?#25652;?#29831;?#38315;夋嫨Recno鎴朡ueue绠楁硶銆傚綋宸ヤ綔闆嗗叧閿?#28699;?#37832;夊簭?#26882;锛孊+鏍?#32480;楁硶姣旇緝鍚?#38315;?#38171;?#28641;?#37835;滃伐?#32148;闆?#23011;旇緝澶?#28051;斿熀鏈?#28051;?#37711;抽敭瀛?#28051;?#38341;?#37832;?#37714;嗗?#20905;椂锛?#38315;夋嫨HASH绠楁硶銆俀ueue绠楁硶鍙?#38003;藉?#27194;偍瀹氶暱鐨?#29825;板綍锛屽湪?#29678;鐨?#39582;跺彂澶勭悊?#20751;鍐?#28051;?#38171;孮ueue绠楁?#26335;晥鐜囪緝?#29678;锛?#28641;?#37835;?#37828;?#37711;?#28729;冩儏鍐?#38171;?#37714;?#38315;夋嫨Recno绠楁硶锛孯ecno绠楁?#26335;?#23107;?#29256;嵁瀛樺偍涓?#39582;抽潰鏂囦欢鏍?#23534;?#37510;?/p>

DB甯?#37922;?#37713;?#37825;颁娇鐢?#38012;?#28186;?br />
#include <db.h> 
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
/* DB鐨?#37713;?#37825;版墽琛?#28729;?#37812;愬悗锛岃繑鍥?浠?#29723;?#37812;愬姛锛屽惁鍒?#28598;?#29840;?nbsp;*/
void print_error(int ret)
{
    if(ret != 0)
        printf("ERROR: %s\n",db_strerror(ret));
}
/* 鏁版嵁缁撴瀯DBT?#28266;?#23047;鐢?#37715;?#38171;屽簲棣?#37711;?#37714;濆?#23338;寲锛屽惁鍒?#32514;?#29831;?#37721;?#38315;氳繃?#32126;杩?#29723;屾椂鎶?#37721;傛暟閿?#29831;?nbsp; */
void init_DBT(DBT * key, DBT * data)
{
    memset(key, 0, sizeof(DBT));
    memset(data, 0, sizeof(DBT));
}
void main(void)
{
    DB *dbp;           
    DBT key, data;
    u_int32_t flags;  
    int ret;
    char *fruit = "apple";
    int number = 15;
     
    typedef struct customer
    {
        int  c_id;
        char name[10];
        char address[20];
        int  age;
    } CUSTOMER;
    CUSTOMER cust; 
    int key_cust_c_id = 1;
    cust.c_id = 1;
    strncpy(cust.name, "javer", 9);
    strncpy(cust.address, "chengdu", 19);
    cust.age = 32;
    /* 棣?#37711;?#37714;涘缓鏁版嵁?#31793;鍙?#37836;?nbsp;*/
    ret = db_create(&dbp, NULL, 0);
    print_error(ret);
     
    /* 鍒涘缓鏁版嵁搴撴爣蹇?nbsp;*/
    flags = DB_CREATE;    
    /* 鍒涘缓涓涓?#37722;嶄负single.db鐨勬?#29256;嵁?#31793;锛屼娇鐢˙+鏍?#29825;?#38338;?#32480;楁硶锛屾湰娈?#28000;?#37934;佹紨绀?#28725;?#32480;鍗曟?#29256;嵁?#34987;鍨嬬?#21227;?#21229;悊 */
    ret = dbp->open(dbp, NULL, "single.db", NULL, DB_BTREE, flags, 0); 
    print_error(ret);
    init_DBT(&key, &data);
     
    /* 鍒?#37714;?#28725;?#37711;抽敭瀛楀拰鏁版嵁璧嬪煎拰瑙?#28729;氶暱搴?nbsp;*/
    key.data = fruit;
    key.size = strlen(fruit) + 1;
    data.data = &number;
    data.size = sizeof(int);
    /* ?#22968;璁板綍鍐?#37711;?#37825;版嵁?#31793;涓?#38171;屼笉鍏?#29825;?#29781;嗙洊鍏抽敭瀛?#37929;?#37722;岀殑璁板綍 */
    ret = dbp->put(dbp, NULL, &key, &data,DB_NOOVERWRITE); 
    print_error(ret);
     
/* 鎵嬪姩?#22968;缂撳瓨涓?#37928;勬?#29256;嵁鍒?#37826;?#37714;扮‖鐩樻枃?#27426;涓?#38171;?#28729;?#38340;?#28051;婂湪鍏抽棴鏁版嵁搴撴椂锛屾?#29256;嵁?#32048;琚?#38007;?#37716;?#37714;?#37826;?nbsp;*/
dbp->sync()锛?br />     
init_DBT(&key, &data);
    key.data = fruit;
    key.size = strlen(fruit) + 1;
     
    /* 浠庢?#29256;嵁?#31793;涓煡璇?#37711;抽敭瀛?#28051;篴pple鐨?#29825;板綍 */
    ret = dbp->get(dbp, NULL, &key, &data, 0);
    print_error(ret);
    /* 鐗?#37714;?#29781;佹敞?#21104;鏁版嵁缁撴瀯DBT鐨勫?#26945;?#31029;ata涓簐oid *?#28727;锛屾墍浠ュ湪瀵筪ata璧嬪煎拰鍙?#37706;兼椂锛岃?#20344;?#27692;繀瑕?#37928;勭被?#28727;杞?#37817;?#37510;?nbsp;*/
    printf("The number = %d\n", *(int*)(data.data));
     
    if(dbp != NULL)
            dbp->close(dbp, 0); 
    ret = db_create(&dbp, NULL, 0);
    print_error(ret);
    flags = DB_CREATE;    
    /* 鍒涘缓涓涓?#37722;嶄负complex.db鐨勬?#29256;嵁?#31793;锛屼娇鐢℉ASH璁?#38338;?#32480;楁硶锛屾湰娈?#28000;?#37934;佹紨绀?#28725;瑰鏉傛?#29256;嵁缁撴瀯鐨勫?#21229;悊 */
    ret = dbp->open(dbp, NULL, "complex.db", NULL, DB_HASH, flags, 0); 
    print_error(ret);
    init_DBT(&key, &data);
    key.size = sizeof(int);
    key.data = &(cust.c_id);
    data.size = sizeof(CUSTOMER);
    data.data = &cust;
    ret = dbp->put(dbp, NULL, &key, &data,DB_NOOVERWRITE);
    print_error(ret);
     
    memset(&cust, 0, sizeof(CUSTOMER));
     
    key.size = sizeof(int);
    key.data = &key_cust_c_id;
    data.data = &cust;
    data.ulen = sizeof(CUSTOMER); 
    data.flags = DB_DBT_USERMEM;
    dbp->get(dbp, NULL, &key, &data, 0);
    print_error(ret);
     
    printf("c_id = %d name = %s address = %s age = %d\n", 
        cust.c_id, cust.name, cust.address, cust.age);
     
    if(dbp != NULL)
            dbp->close(dbp, 0); 
}

DB娓告爣?#23047;鐢?#38012;?#28186;?/h2>

娓告爣鏄?#28186;?#29863;?#27996;庢?#29256;嵁?#31793;鍙?#37836;?#37928;?#38171;屽簲鐢?#32459;嬪簭浠?#37934;佹鏋跺涓?#38171;?/p>

1
2
3
4
5
6
7
8
9
10
/* 瀹?#28052;?#28051;涓?#23059;告爣鍙?#38322;?*/
DBC * cur;
/* 棣?#37711;?#37813;撳紑鏁版嵁?#31793;锛屽啀鎵撳紑娓告爣 */
dbp->open(dbp, ……);
dbp->cursor(dbp, NULL, &cur, 0);
 
/* do something with cursor */
/* 棣?#37711;?#37711;抽棴锛屽湪鍏抽棴鏁版嵁?#31793; */
cur->c_close(cur);
dbp->close(dbp, 0);

?#28266;娓告爣鎵撳紑鍚?#38171;?#37721;?#28000;?#28000;?#28598;?#32457;嶆柟寮?#38316;?#37720;嗙壒瀹?#29825;板綍銆?/p>

1
2
3
4
5
6
7
    Memset(&key, 0, sizeof(DBT));
Memset(&data, 0, sizeof(DBT));
/* 鍥?#28051;篕EY?#25328;DATA涓虹┖锛?#37714;?#23059;告爣閬?#37720;?#37825;?#28051;?#37825;版嵁?#31793;璁板綍 */
While((ret = cur->c_get(cur, &key, &data, DB_NEXT)) == 0)
{
    /* do something with key and data */
}

褰撴兂?#29025;璇?#37911;?#28729;氬叧閿?#28699;?#28725;瑰簲鐨?#29825;板綍锛?#37714;?#25652;?#28725;?#37711;抽敭瀛?#29863;嬪?#38171;?#39582;舵妸cur->c_get()鍑?#37825;?#28051;爣蹇椾綅璁剧疆涓篋B_SET銆備?#23338;锛?/p>

1
2
3
4
5
6
    key.data = "xxxxx";
key.size =  XXX;
While((ret = cur->c_get(cur, &key, &data, DB_SET)) == 0)
{
    /* do something with key and data */
}

娓告爣鐨勪綔鐢?#26473;?#37832;?#23536;?#28598;?#38171;屽?#20635;煡璇?#28598;?#38322;?#29825;板綍锛屾彃鍏?淇敼/鍒?#38340;?#29825;板綍绛?#37510;?/p>

DB鐜?#28583;冧娇鐢?#38012;?#28186;?/h2>

鏈?#37826;?#37715;?#38344;?#23480;?#29831;?#37828;?#37916;?#28583;?#37828;疍B鏁版嵁?#31793;鐨勫寘瑁呭櫒锛屾?#24874;緵澶?#32457;嶉珮?#39559;鍔熻兘銆傚簲鐢?#32459;嬪簭浠?#37934;佹鏋跺涓?#38171;?/p>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* 瀹?#28052;?#28051;涓?#37916;?#28583;?#37721;?#38322;?#38171;?#39582;?#37714;涘缓 */
  DB_ENV *dbenv;
  db_env_create(&dbenv, 0);
   
/* ?#28266;鐜?#28583;?#37813;撳紑涔?#37715;?#38171;?#37721;?#29835;?#37922;?#35120;?#23534;?#28051;篸benv->set_XXX()鐨勮嫢骞?#37713;?#37825;?#29825;剧疆鐜?#28583;?*/
  /* 閫氱煡DB?#23047;鐢≧ijndael鍔?#28725;嗙?#26945;硶锛?#37721;?#38000;?#29863;勬枡>锛?#28725;?#37825;版嵁杩涜?#23677;?#21229;悊 */
dbenv->set_encrypt(dbenv, "encrypt_string", DB_ENCRYPT_AES);
  /* 璁剧疆DB鐨勭?#25779;瓨涓?M */
dbenv->set_cachesize(dbenv, 0, 5 * 1024 * 1024, 0);
/* 璁剧疆DB?#29025;鎵?#37825;版嵁搴撴枃?#27426;鐨勭洰褰?*/
  dbenv->set_data_dir(dbenv, "/usr/javer/work_db");
  /* 鎵撳紑鏁版嵁?#31793;鐜?#28583;?#38171;屾敞?#21104;鍚?#37733;?#28051;爣蹇?#37714;?#37714;?#37816;囩?#31691;B鍚?#37716;?#37827;?#36423;?#37510;佸姞閿?#37510;佺?#25779;瓨銆?#27996;嬪姟澶勭?#21975;瓙绯荤粺 */
  dbenv->open(dbenv,home,DB_CREATE|DB_INIT_LOG|DB_INIT_LOCK| DB_INIT_MPOOL
                |DB_INIT_TXN, 0)锛?/code>
   
  /* ?#28266;鐜?#28583;?#37813;撳紑鍚?#38171;?#37714;?#37721;?#28000;?#37813;撳紑?#23266;骞?#28051;?#37825;版嵁?#31793;锛屾墍鏈夋?#29256;嵁?#31793;鐨勫?#21229;悊閮藉湪鐜?#28583;?#37928;勬帶鍒跺拰淇濇姢涓?#37510;?/code>
娉ㄦ剰db_create鍑?#37825;?#37928;勭浜?#28051;?#37721;傛暟鏄?#37916;?#28583;?#37721;?#38322;?*/
db_create(&dbp1, dbenv, 0)锛?/code>
dbp1->open(dbp1, ……);
db_create(&dbp2, dbenv, 0)锛?/code>
dbp1->open(dbp2, ……);
  /* do something with the database */
  /* 鏈鍚庨鍏?#37711;抽棴鎵撳紑鐨勬?#29256;嵁?#31793;锛屽啀鍏抽棴鐜?#28583;?*/
  dbp2->close(dbp2, 0);
  dbp1->close(dbp1, 0);
  dbenv->close(dbenv, 0);

DB杞欢鐨?#28729;?#29761;?#37724;岀紪璇?/h2>

浠嶥B鐨?#28729;樻柟绔欑偣http://www.sleepycat.com/涓?#26462;?#37832;鏂?#37928;?#26462;欢鍖卍b-4.3.27.tar.gz锛岃В鍘?#37714;板伐?#32148;?#27952;褰?#38171;岃繘鍏?#29831;ョ洰褰?#38171;?#28186;濇鎵?#29723;?#28051;?#37714;?#28051;夋潯鍛?#28000;?#37719;?#37721;?#37510;?/p>

1
2
3
../dist/configure
make
make install

鎵?#29723;宮ake uninstall锛?#37714;?#37721;?#37719;?#26462;藉凡瀹?#29761;?#37928;凞B杞欢銆?/p>

DB缂?#37930;佹妸?#31793;?#25328;澶?#37826;囦欢瀹?#29761;呭湪?#27952;褰?usr/local/BerkeleyDB.4.3/涓?#38171;屼娇鐢╣cc test.c -ggdb -I/usr/local/BerkeleyDB.4.3/include/ -L/usr/local/BerkeleyDB.4.3/lib/ -ldb -lpthread?#27688;鍙?#23005;?#32429;?#32514;?#29831;?#32459;嬪簭銆傚鏋?#29831;?#38000;?#37928;?#23092;?#29831;?#28051;?#37832;?#37823;嶄綔绯荤粺涓篟ED HAT9,鍒?#28729;?#29761;?#37928;凞B鐗?#37832;?#37721;兘鏄?.0銆傜壒鍒?#29781;佹敞?#21104;鍒?#26473;?#28051;?#28051;?#37911;?#37832;?#37928;勫?#25780;槸?#31497;鍏?#28729;?#37928;?#37510;備?#23338;鎵撳紑鏁版嵁?#31793;鍑?#37825;癉B->open(),?#28266;4.0鐗?#37832;?#28051;?#37711;?#37721;?#28051;?涓?#38171;?#38000;屽湪4.3鐗?#28051;?#37714;?#28051;?涓?#38171;?#37721;?#38007;?#29723;?#23011;旇緝涓?#28051;簱鐨勫ご鏂囦欢db.h涓璂B->open鍑?#37825;?#37928;?#28729;?#28052;?#38171;?#37510;?#37733;?#28051;哄湪DB鐩?#37711;?#37928;勫簲鐢?#32459;嬪簭涓?#38171;宱pen鍑?#37825;板熀鏈?#28051;?#38318;?#37828;?#29781;?#37813;?#29723;岀殑锛屾墍浠?#28641;?#37835;?#37713;?#37825;板?#23680;増鏈笉鍖归厤锛岀紪璇戣偗瀹氫?#27692;嚭閿?#37510;傚綋?#21159;锛岀紪璇?#28729;?#37812;愬悗锛?#37721;?#28000;ヤ娇鐢?#37723;?#28000;dd?#29025;鐪嬪簱鐨勪緷璧?#37711;崇郴銆?/p>

鎬荤粨

DB鏄?#28051;涓?#37711;?#37832;夊伐涓氬己搴?#37928;勫祵鍏?#23534;?#37825;版嵁?#31793;绯荤粺锛屾?#29256;嵁澶勭?#21977;?#21228;晥鐜?#23536;堥珮銆侱B鍔熻兘鐨勭ǔ瀹?#37804;?#37720;嗙粡?#26882;闂?#37928;?#38000;冮獙锛屽湪澶?#38322;?#25652;?#37922;?#32459;嬪簭涓娇鐢?#28186;?#37828;?#37828;庤瘉銆?#37721;?#28000;ユ兂瑙?#38171;屽湪鍚岀瓑浠g爜璐?#38322;忕?#21228;潯?#27426;涓?#38171;?#26462;欢鐨凚UG鏁板拰浠g爜鐨勯暱搴?#37828;?#37812;愭姣?#37928;?#38171;岀浉瀵?#37713;?#37719;佸厗銆?#37713;?#37927;?#37711;嗗ぇ?#28727;鏁版嵁?#31793;杞欢锛孌B鐨勫彧鏈変笉鍒?00K鐨勫ぇ?#30380;锛?/p>

浠?#28729;?#37916;板?#29115;兘涓?#37930;?DB鏄?#26462;?#38322;忕骇鏁版嵁?#31793;绯荤粺锛?#37812;?#37721;?#32457;?#28051;?鏋? 杞?#38322;忕骇鏁版嵁?#31793;绯荤粺銆備絾鏄?#38171;?#37812;?#29825;?#28051;轰笉?#20824;鍥犳鑰屽績瀛?#26462;?#29785;?#28052;嬫剰锛屾墍璋?灏?#37832;夋墍鐭?#38171;屽鏈夋墍?#26289;"锛?#28000;?#32513;?#28725;硅搴?#23011;旇緝宸?#37711;?#28052;嬮棿鐨勫ソ鍧?#37828;病鏈?#28000;涔堟剰涔?#37928;?#38171;?#37711;抽敭?#28266;浜?#28725;?#23480;?#37711;?#37928;勯夋嫨?#25328;杩?#37922;?#38171;堜技涔?#37721;?#28000;?#37721;?#38000;?#28051;涓?#37835;?#38340;愮紪绋嬬?#21228;濇兂锛?#37510;?#28052;?#29825;?#38171;屾纭?#37928;?琛?#26440;捐寖寮?搴?#29831;?#37828;?#38171;氬湪?#32139;鍓?#25652;?#37922;?#38003;?#37829;?#28051;?#38171;?#38315;夋嫨杩?#32457;?#23480;?#37711;?#37828;?#37832;鍚?#38315;?#37928;?#37510;?/p>



eryar 2018-11-22 09:57 鍙戣〃璇?#29825;?/a>
]]>Getting Started with PostgreSQLhttp://www.2676208.com/eryar/archive/2015/03/28/210183.htmleryareryarSat, 28 Mar 2015 04:56:00 GMThttp://www.2676208.com/eryar/archive/2015/03/28/210183.htmlhttp://www.2676208.com/eryar/comments/210183.htmlhttp://www.2676208.com/eryar/archive/2015/03/28/210183.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/210183.htmlhttp://www.2676208.com/eryar/services/trackbacks/210183.html闃?#29831;诲叏鏂?/a>

eryar 2015-03-28 12:56 鍙戣〃璇?#29825;?/a>
]]>
探灵笔记系统攻略
体彩浙江6?1 黑龙江十一选五一定牛走势图 体彩中国最大彩票网 广东11选5计划数据 篮球比赛用球 时时彩五星定位技巧 久爱棋牌游戏 新时时彩历史开奖信息 北京赛pk10计划软件 云南时时材