Tag Info

New answers tagged

0

Mr. jynus said correct the general_log should not be enabled on production server,because it logged all the operations which is occuring into the MySQL database due to that it required a more device space so follow the instructions which is provided by the Mr.jynus your problem will be short it out.


1

The general log should never be enabled on a production server (under normal circumstances), as it logs absolutely all queries (reads and writes) performed on the server, taking a lot of disk space and query performance with it. The general log is only useful for debugging issues on the server. You should turn it off on a live server by executing: SET ...


1

All statements that hit the server are stored inside the general log. So general log is duplicating your dump. The general log should be used only for debugging only, and it should be activated for the time required to spot a problem. Try to disactivate general log.


0

In the end I coded a Python function import_csv_to_dynamodb(table_name, csv_file_name, colunm_names, column_types) that imports a CSV into a DynamoDB table. Column names and column must be specified. It uses boto, and takes a lot of inspiration from this gist. Below is the function as well as a demo (main()) and the CSV file used. Tested on Windows 7 x64 ...



Top 50 recent answers are included