摘要:
PHP: Thread-Safe Resource Manager - Manual http://php.net/manual/en/internals2.memory.tsrm.php PHP 进阶之路 - 揭开 PHP 线程安全的神秘面纱 - 周梦康 - SegmentFault 思否 htt 阅读全文
posted @ 2018-12-18 20:33
papering
阅读(277)
评论(0)
推荐(0)
摘要:
批提交mysql 单线程的批提交 nohup python fromRedisoToMysqlSingleThreadOneConnBatchInsert.py 100 10.24.192.192 > 100-Single.3434.nohup [QPS] 平均每秒SQL语句执行次数 [QPS] 平 阅读全文
posted @ 2018-12-18 16:32
papering
阅读(486)
评论(0)
推荐(0)
摘要:
Cursor Objects — PyMySQL 0.7.2 documentation https://pymysql.readthedocs.io/en/latest/modules/cursors.html#pymysql.cursors.Cursor.executemany executem 阅读全文
posted @ 2018-12-18 15:10
papering
阅读(1450)
评论(0)
推荐(0)
摘要:
field_q_insert = 'id, title, number, created,content'sql_q = 'INSERT INTO testquestion ({}) VALUES ({})'.format(field_q_insert,'{}')print(sql_q)print(sql_q.format('1212'))ddd=9 阅读全文
posted @ 2018-12-18 14:41
papering
阅读(232)
评论(0)
推荐(0)
摘要:
from ProjectUtil.usingModuleTOMODIFY import getNow from pymongo import MongoClient # mongo key host, username, password = '10.14.14.12', 'ain', 'ad' uri = "mongodb://%s:%s@%s" % (username, passwor... 阅读全文
posted @ 2018-12-18 09:59
papering
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号