首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
PooledDB 数据库连接池怎么关闭的?
wjx1993
·
2018 年 6 月 26 日
· 3241 次点击
这是一个创建于 2758 天前的主题,其中的信息可能已经有所发展或是发生改变。
close()关不掉
pooleddb
close
数据库
关闭
4 条回复
•
2018-06-26 11:58:39 +08:00
1
wibile
2018 年 6 月 26 日
close 只是关掉一个 connection 吧,连接池还在。建议用 sqlalchemy 的 pool,测试过,比 poolDB 性能更好并发更高
2
wjx1993
OP
2018 年 6 月 26 日
sqlalchemy 的 pool 怎么用的?可以发个 demo 吗
3
whx20202
2018 年 6 月 26 日
@
wjx1993
#2 你自己去找个文档看看吧 sqlalchemy 的 pool 基本上什么都不做就行了,只需要很简单的配置
4
wzw
2018 年 6 月 26 日 via iPhone
Pool 还需要管吗?
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
Solana
·
5189 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 09:20
·
PVG 17:20
·
LAX 01:20
·
JFK 04:20
♥ Do have faith in what you're doing.
❯