我們使用Barebone CMS' SSO可以了Talend從MySQL序列化數據遷移到PostgreSQL
的MYSQL數據庫,我們有,包含下信息列在序列化格式用戶的配置文件字段在用戶表。
E.g.信息的列值 a:41:{s:7:"aboutme";s:0:"";s:7:"address";s:4:"Pune";s:11:"agriculture";s:11:"Agriculture";s:13:"agri_business";s:0:"";s:22:"agri_finance_insurance";s:0:"";s:12:"agri_trading";s:0:"";s:14:"agro_chemicals";s:14:"Agro Chemicals";s:10:"alt_energy";s:0:"";s:13:"ani_husbandry";s:0:"";s:6:"avatar";s:0:"";s:13:"biotechnology";s:0:"";s:4:"city";s:4:"Pune";s:18:"contact_first_name";s:0:"";s:17:"contact_last_name";s:0:"";s:7:"country";s:5:"India";s:11:"designation";s:0:"";s:5:"email";s:24:"[email protected]";s:8:"farm_act";s:0:"";s:12:"farm_service";s:0:"";s:10:"first_name";s:4:"Amol";s:6:"Gender";s:4:"Male";s:12:"horticulture";s:0:"";s:14:"interest_other";s:8:"Software";s:10:"irrigation";s:0:"";s:17:"KISAN2015_barcode";s:6:"577535";s:16:"KISAN2015_status";s:5:"green";s:8:"landline";s:0:"";s:9:"last_name";s:7:"Chakane";s:9:"lattitude";s:6:"18.482";s:8:"location";s:90:"Tukai Darshan Tekdi Rd, Bijle Nagar, Kale Padal, Hadapsar, Pune, Maharashtra 412308, India";s:9:"longitude";s:6:"73.944";s:13:"machine_tools";s:0:"";s:6:"mobile";s:14:"+91-95XXXXX478";s:10:"occupation";s:27:"Farming,Certification,Other";s:16:"occupation_other";s:18:"Software Developer";s:11:"org_farming";s:0:"";s:12:"post_harvest";s:0:"";s:17:"registration_type";s:5:"email";s:5:"state";s:11:"Maharashtra";s:8:"username";s:24:"[email protected]";s:7:"website";s:0:"";}
我們希望將它們遷移到PostgreSQL的在不同的表。
E.g.我們有用戶的興趣,其中有價值商店「農業,乳製品,家禽」。它們以序列化格式存儲在用戶表的信息列中。
在PostgreSQL中,我們爲利益而創建了主表,它存儲了所有類型的利益,如農業,乳業,家禽。然後user_interest表將有interest_id,user_id說明列。
我們計劃使用Talend將這些數據從MYSQL遷移到PostgreSQL。
使用Talend可以實現這種數據遷移嗎?
或
我們應該繼續使用傳統的PHP腳本編寫方式嗎?
或
遷移此類數據的最佳方法是什麼?
謝謝
它是如何加密?您顯示的示例至少未以任何方式加密。 –
@SamiKuhmonen在Talend中是否有條款反序列化和遷移? –
不幸的是,在此之前我從來沒有聽說過Talend,所以不能說它能做什麼。 –