我们使用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,所以不能说它能做什么。 –