سؤال

I have a database with a structure, and I need to import the data from this database to other new database, but the new database has a completly different design. For example, the old database have just one table for users and new database have a customer and a webmaster tables that have FK with the user table.

To PHP, I'm looking for a pattern to write the import/mapping, I'm not sure even the name of it.

هل كانت مفيدة؟

المحلول

An ETL (extract-transform-load) tool is one solution. ETL is commonly used in data warehousing where you need to extract data from one source, transform it, and load it into a database.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top