Updated FAQ (markdown)

wenshao
2013-03-01 19:55:15 -08:00
parent 1635d0cc56
commit b93adc6f18
+14 -14
@@ -1,4 +1,4 @@
English | [中文](https://github.com/AlibabaTech/druid/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
English | [中文](https://github.com/alibaba/druid/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
Welcome everyone to use Druid, FAQ answers here, we want to help.
@@ -7,7 +7,7 @@ Druid is the best database connection pool in JAVA. Druid provides powerful moni
# 2. Where to download?
* released version download:<br/>
github downloads : https://github.com/AlibabaTech/druid/downloads <br/>
github downloads : https://github.com/alibaba/druid/downloads <br/>
maven central repository: http://central.maven.org/maven2/com/alibaba/druid/ <br/>
Alibaba open source repository: http://code.alibabatech.com/mvn/releases/com/alibaba/druid/ <br/>
@@ -15,7 +15,7 @@ Alibaba open source repository: http://code.alibabatech.com/mvn/releases/com/ali
http://code.alibabatech.com/mvn/snapshots/com/alibaba/druid/
# 3. how to get the source code
Driud is an open source project, hosting on github, source code repository: https://github.com/AlibabaTech/druid
Driud is an open source project, hosting on github, source code repository: https://github.com/alibaba/druid
# 4. maven config
since 0.1.18, druid deploy to maven central repository, so you only need to add the dependency to the pom.xml, such as:
@@ -27,30 +27,30 @@ since 0.1.18, druid deploy to maven central repository, so you only need to add
</dependency>
# 5. how to use Druid's monitoring feature?
Druid monitoring feature is implementation by filter-chain, if you want turn on, config StatFilter, look here : https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE_StatFilter
Druid monitoring feature is implementation by filter-chain, if you want turn on, config StatFilter, look here : https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE_StatFilter
# 6. how to use Druid buit-in monitoring page
built-in monitoring page is a Servlet, configuration see here : https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE_StatViewServlet%E9%85%8D%E7%BD%AE
built-in monitoring page is a Servlet, configuration see here : https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE_StatViewServlet%E9%85%8D%E7%BD%AE
# 7. how to configure Web and Spring related monitoring?
* Web related monitoring config <br/>
https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE_%E9%85%8D%E7%BD%AEWebStatFilter
https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE_%E9%85%8D%E7%BD%AEWebStatFilter
* Spring related monitoring config <br/>
https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE_Druid%E5%92%8CSpring%E5%85%B3%E8%81%94%E7%9B%91%E6%8E%A7%E9%85%8D%E7%BD%AE
https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE_Druid%E5%92%8CSpring%E5%85%B3%E8%81%94%E7%9B%91%E6%8E%A7%E9%85%8D%E7%BD%AE
# 8. how to configure the defense against SQL injection attacks
Druid provides WallFilter, it is based on the SQL semantic analysis to defense SQL injection attacks, see here : https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE-wallfilter
Druid provides WallFilter, it is based on the SQL semantic analysis to defense SQL injection attacks, see here : https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE-wallfilter
# 9. DruidDataSource reference configuration
different needs of different business scenarios, you can use our reference configuration, but it recommended that you carefully read the documentation to understand clearly do custom configuration.
https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE_DruidDataSource%E5%8F%82%E8%80%83%E9%85%8D%E7%BD%AE
https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE_DruidDataSource%E5%8F%82%E8%80%83%E9%85%8D%E7%BD%AE
# 10. I would like to logging SQL execution, how to config?
Druid provides Log4jFilter/CommonsLogFilter/Slf4jFilter, see here : https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE_LogFilter
Druid provides Log4jFilter/CommonsLogFilter/Slf4jFilter, see here : https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE_LogFilter
# 11. my program may be have connection leaks, how to do?
Druid offers a variety of means to monitoring connection leaks, see here : https://github.com/AlibabaTech/druid/wiki/%E8%BF%9E%E6%8E%A5%E6%B3%84%E6%BC%8F%E7%9B%91%E6%B5%8B
Druid offers a variety of means to monitoring connection leaks, see here : https://github.com/alibaba/druid/wiki/%E8%BF%9E%E6%8E%A5%E6%B3%84%E6%BC%8F%E7%9B%91%E6%B5%8B
# 12. Solve the problem of excessive memory footprint Oracle PSCache
Connect to an Oracle database, other connection pool will exist the problem of excessive memory usage, Druid is the only connection pool to solve this problem. see here : http://code.alibabatech.com/wiki/pages/viewpage.action?pageId=6951277
@@ -86,10 +86,10 @@ In this usage, making Druid can be used in existing applications such as sonar,
see here : http://code.alibabatech.com/mvn/snapshots/com/alibaba/druid/
# 20. Some SQL execution is very slow, and I hope that a log record, how to do?
In StatFilter slow SQL execution logging configuration, see here : https://github.com/AlibabaTech/druid/wiki/%E9%85%8D%E7%BD%AE_StatFilter
In StatFilter slow SQL execution logging configuration, see here : https://github.com/alibaba/druid/wiki/%E9%85%8D%E7%BD%AE_StatFilter
# 21. I want to encrypt the database password, how to do?
DBA does not want to directly write the password in the config file, Druid provide the features that encrypted database password. see here : https://github.com/AlibabaTech/druid/wiki/%E4%BD%BF%E7%94%A8ConfigFilter
DBA does not want to directly write the password in the config file, Druid provide the features that encrypted database password. see here : https://github.com/alibaba/druid/wiki/%E4%BD%BF%E7%94%A8ConfigFilter
# 22. How to participate in the development of Druid?
Druid is an open source project, hosted on github.com, you can "pull request". see here : https://github.com/AlibabaTech/druid/wiki/%E5%A6%82%E4%BD%95%E5%8F%82%E4%B8%8E
Druid is an open source project, hosted on github.com, you can "pull request". see here : https://github.com/alibaba/druid/wiki/%E5%A6%82%E4%BD%95%E5%8F%82%E4%B8%8E