用于将csv文件时间测量到MySQL的工具

时间:2016-12-27 12:22:40

标签: python mysql performance csv time

我编写了一个python脚本,可以在MySQL db中导入CSV文件。我需要检查读/写MySQL的速度,因为我需要优化速度和时间。我搜索并找到这个命令

time ./royshah.py

给出这样的结果

real    0m2.579s
user    0m0.448s
sys     0m0.192s

我的文件大小为86 kb,它包含1200行,列数为9.我的问题是

is there any other command or useful profiling tool for python and MySQL
to measure more precisely speed  time other than
this command "time ./file-name" ?

我尽力找到一个却无法找到。 thanx的帮助。

0 个答案:

没有答案
相关问题