I am about to start a PostgreSQL project for a client. They want to create a huge professional database with many complex joins, so after reviewing I decided to go with PostgreSQL via MySQL .
An important consideration is how to effectively interact with the database with scripts. Currently, the client uses about a million scripts to import and convert data to their needs, but does not use a database (if you do not consider CSV files as a database). With the advent of the database structure with queries and views, the need for scripts will be less, but import will still have to be done often, as well as export / reporting. For me, the ideal end result is a series of standardized scripts, preferably with a web interface, so that the client can perform normal tasks quickly and without errors with the click of a button.
My question is which scenario approach would be most appropriate. Any scripting language with Postgres or the ODBC plugin will probably suffice, but I want to make a reasonable choice in the long run. Does anyone have any experience with this? Does Postgres offer an internal scripting language, and is it easy to create a graphical interface for this? Are there any standard tools for import / export and can they be customized so that the standardization of tasks reaches the click level? What about PHP or perl?
Thanks in advance. Any advice, resources, puzzled looks, or miserable gestures will be truly appreciated; -)
sql database scripting import postgresql
thomaspaulb
source share