按类别查询搜索结果
关于关键词 的检测结果,共 22
【Mysql/postgreSQL】 PostgreSql中使用python
轨迹16 | 2019-01-23 18:34:47 | 阅读(3860) | 评论(0)
windows的环境搭建安装python,如果是源码安装需要制定 --enable-shared配置Linux下的python环境变量,如:select py_max(10, 20);=> 20使用python做存储过程的优势...【阅读全文】
mingfei10 | 2018-07-11 15:32:02 | 阅读(1430) | 评论(0)
转自:https://www.cnblogs.com/pyspark/p/7763241.html前言      本篇博客将在上一篇的基础上,继续为大家梳理约束相关的知识,前面我们学习了Primary key和unique key方面的知识,本节我们专注于解决使用外键来定义表和表之间的三种关系:多对一,多对多,一对一。本次博客的内容比较重要,希望大家好好...【阅读全文】
Oliver_L_Oliver | 2016-12-24 23:41:23 | 阅读(2250) | 评论(0)
我的Python 版本D:\>pythonPython 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul  5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32然后我想装个操作MySQL的模块,于是我就百度啊,百度到一个命令:pip install mysql-python ,于是我就运行,于是我就掉坑里了。。。。。。。因为一直出问题,然后就...【阅读全文】
lolizeppelin | 2016-01-21 00:18:48 | 阅读(3860) | 评论(0)
python执行sql文件 正则水平不足,将就用了点击(此处)折叠或打开#!/usr/bin/python# -*- coding: UTF-8 -*-__author__ = 'loliz_000'import reimport osimport sysfrom codecs import BOM_UTF8 as BOM_HEAD...【阅读全文】
lll890717 | 2015-12-25 09:58:33 | 阅读(870) | 评论(0)
在数据库的运维工作中,如果有一种运筹帷幄的感觉,那么其中一种方式就是看报表,比如喝着咖啡缓缓打开电脑,几十台,上百台的机器的负载明细都在眼底。如果某个地方出现了异常或者明显的抖动,在报表中也能够很清晰的显示出来。目前这种情况还是很难实现,但是我们可以创造,之前的博文中也分析过了zabbix+orabbix的监...【阅读全文】
五岳之巅 | 2015-09-02 17:20:15 | 阅读(10810) | 评论(0)
<br /><span style="color:#000000;"></span><span style="color:#000000;">1、前言</span><br /><span style="color:#000000;">&nbsp; &nbsp; &nbsp; 前两天开了两个进程,把Python抓回的数据链接并发写入Mysql中,结果显示出错。后来一查才知道需要自己设置锁,好生麻烦。这时PostgreSQL进入了我的视野,因为这家伙原生...【阅读全文】
jane_fun_hua | 2015-02-12 14:35:24 | 阅读(840) | 评论(0)
#!/usr/bin/env python#coding=utf-8""" 以不同方式获取mysql中的tps,qps,并做对比 """import timeimport sysimport osimport MySQLdbimport dbconndef main() :    try:       conn = MySQLdb.connect(host=...【阅读全文】
hgh411 | 2014-04-11 15:22:24 | 阅读(1230) | 评论(0)
controltable | 2014-01-23 18:14:00 | 阅读(0) | 评论(0)
1. Install memcached sudo apt-get install memcached2. Install python-memcachedsudo apt-get install python-memcached3. start the memcache processmemcached -d -m 64 -p 11211 -u rootDemo:Here is an example showing the storage and retrieval of information to a memcache instance...【阅读全文】
lshdcr | 2013-09-03 16:24:21 | 阅读(1270) | 评论(0)
【Mysql/postgreSQL】 python 多维字典
snowtty | 2013-04-25 01:27:43 | 阅读(5690) | 评论(0)
#!/usr/bin/python# -*- coding: utf-8 -*-import osimport reimport statimport os.pathimport timemr = re.compile(r'CMM_FETCH_MAIL')pat = re.compile(r'\]\[(\d\d:\d\d):\d\d\.\d+\].*?CMM_FETCH_MAIL.*?mail_size=(\d+)\| queue_up_time=(\d+)\| fetch_mail_time=(\d+)\|.*? time=(\d+)\|')hashmailsiz...【阅读全文】
【Mysql/postgreSQL】 The small python laugh the density
s8upr6au0k | 2013-01-11 14:37:29 | 阅读(622) | 评论(0)
The small python laughed: what http://www.321action.com.cn/shequ/Blog.asp?BlogUserName=noDr6thGface the hands of the sand bucket laughed: non-payment of the expectations, after a full 58 days and aura inside the density is three times that of the previous matrix method.   The Cheap Nike hi t【阅读全文】
【Mysql/postgreSQL】 Python, MySQLdb and UTF-8
laoliulaoliu | 2012-08-27 17:49:37 | 阅读(1337) | 评论(0)
909413335 | 2012-06-05 09:49:47 | 阅读(4308) | 评论(0)
【Mysql/postgreSQL】 mysql+python
深蓝苹果 | 2012-04-12 13:27:45 | 阅读(1097) | 评论(5)
oychw | 2012-02-27 18:59:51 | 阅读(460143) | 评论(1)
yaofang123 | 2011-10-27 09:42:27 | 阅读(12288) | 评论(0)
xyaxlz | 2011-07-27 02:13:41 | 阅读(2190) | 评论(0)
mengl_2011 | 2011-02-26 11:13:30 | 阅读(2483) | 评论(0)
frymgump | 2011-02-20 17:52:46 | 阅读(3337) | 评论(0)