码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
Postgresql数据库autovacuum进程启动失败
最近线上Postgresql数据库中其中几台服务器更新时变得非常慢,经过排查和对比,发现时因为autovacuum未启动导致的。1、使用表pg_stat_all_tables查看autovacuum执行记录selectschemaname,relname,last_autovacuum,last_autoanalyzefrompg_stat_all_tables;如上图,发现所有的对..
分类:数据库   时间:2014-08-25 02:22:33    阅读次数:263
psycopg2 ImportError: DLL load failed
setup.py install 报错  error: command 'mt.exe' failed: No such file or directory  或者 Unable to find vcvarsall.bat 于是 用 setup.py insall build --compiler=mingw32 担心没装 mingw32,但是喜悦地发现以前装 ...
分类:其他好文   时间:2014-08-25 02:20:13    阅读次数:238
给tcpdump加点颜色看看
发布一个与tcpdump配合使用的Python脚本,可以为tcpdump的输出结果着色.红色是IP头。绿色是TCP头的定长部分,黄色是TCP头的可变长部分,即可选项。白色就是应用层socket数据。...
分类:其他好文   时间:2014-08-24 23:56:13    阅读次数:323
[leecode]Word Break II
Word Break IIGiven a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all...
分类:其他好文   时间:2014-08-24 23:46:03    阅读次数:244
Python基础篇(九)
Key Words:文件迭代器,标准输入,GUI工具包,数据库操作SQLlite, 文件迭代器>>> f= open("some.txt","r+")>>> while True:... line = f.readline()... if not line : break... else :.......
分类:编程语言   时间:2014-08-24 23:37:53    阅读次数:344
LeetCode: 4sum
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic...
分类:其他好文   时间:2014-08-24 23:37:03    阅读次数:278
[LeetCode] Combination Sum (bfs)
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeate...
分类:其他好文   时间:2014-08-24 23:34:33    阅读次数:259
[LeetCode] Combination Sum II (递归)
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb...
分类:其他好文   时间:2014-08-24 23:29:33    阅读次数:176
python 连 mongodb
这几天在学习Python Web开发,于是做准备做一个博客来练练手,当然,只是练手的,博客界有WordPress这样的好玩意儿,何必还自己造车呢?决定使用Tornado这个框架,然后数据库方面决定顺便熟悉一下MongoDB这样的非关系型数据库。Python让我觉得轻松,再和MongoDB搭配上,那感...
分类:数据库   时间:2014-08-24 23:29:03    阅读次数:436
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!