I have a Amazon Redshift table which runs on PostgreSQL.This table is updated everyday with user data in large numbers.
I have to run a CRON process to import some of the needed data from the table everyday into a different MySQL database . I work in PHP.Please assist me how I could achieve this programatically.
mastaBlasta :
You should export from Redshift to an S3 bucket using the UNLOAD command, then load that file (CSV is a good choice) into MySQL. This can all be done from a cron job. It is by far the fastest and safest way of doing it.\n\nhttp://docs.aws.amazon.com/redshift/latest/dg/r_UNLOAD.html\n\nP.S.\nRedshift does not really \"run on PostgresSQL\". Sure, Redshift was a fork of Postgres, but the two are completely different beasts. ",
2015-09-15T14:36:44