摘要: 工作之余整理了一些文档,会陆续列出来...1.SQL OptimizationTips这篇文档其实算是对《海量数据库解决方案》的一个读书笔记吧。这本书中心思想还是阐述SQL优化方面的东西,因此把这篇文档叫"SQL Optimization Tips"。因为看的是中文版的书,而笔记却是用我的蹩脚英文"... 阅读全文
posted @ 2011-06-02 23:26 FangwenYu 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 前两天无意中看到中国基金业协会发布的报告《公募基金市场数据(2019年5月)》,数据显示(见下表)截至2019年5月31日市场上的公募基金个数达到了5932,逼近6000大关! 数据来源:中国基金业协会 是不是很意外?!毕竟现在沪深两市股票加起来一共才3600多只! 我想很多人买基金而不买股票的一个 阅读全文
posted @ 2019-10-18 18:04 FangwenYu 阅读(374) 评论(0) 推荐(0) 编辑
摘要: ​ 经常有一些同事让我推荐几本关于数据分析入门的书籍。虽然数据分析方面的书我前前后后也看了好几本,从Excel图表制作到机器学习,但是现在回头看真正对于做好数据分析有帮助的“好书”并不多。 真正做过数据分析的人应该都会明白,做好数据分析的关键不在于采用的数据挖掘技术或者数据模型有多复杂和高深,而在于 阅读全文
posted @ 2019-10-14 21:25 FangwenYu 阅读(2761) 评论(0) 推荐(0) 编辑
摘要: 最近工作内容有点变化,做了一年的数据分析现在又要向新的方向进发,正是应了那句话“工作中永远不变的是变化”。 前前后后也做了一些分数据分析报告,也慢慢地总结了一些写报告的原则和方法。当然不一定是正确或者完备的,但是我个人认为按照这些原则来走,至少不会被老板或者客户骂得太惨。 可能会有人问,作为一名数据 阅读全文
posted @ 2019-10-13 11:43 FangwenYu 阅读(1216) 评论(0) 推荐(0) 编辑
摘要: 题图:Alfred Sisley 最近这段时间开始尝试基金定投,感觉这个很适合理财小白,也很适合懒人,就像我一样。因为无需关注大盘的波动,二傻子一样按照设定好的定投周期固定买入基金(在蚂蚁聚宝上设置好买入计划就可以了,到时候会自动扣款买入),只需要管什么时候卖出就好了。 这看似很美好,是吧?但是还是 阅读全文
posted @ 2016-11-27 11:37 FangwenYu 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 开始DIY聊天机器人吧 阅读全文
posted @ 2016-11-22 22:34 FangwenYu 阅读(1659) 评论(0) 推荐(0) 编辑
摘要: What is e? 阅读全文
posted @ 2015-02-12 12:02 FangwenYu 阅读(995) 评论(0) 推荐(0) 编辑
摘要: Pandas for regression 阅读全文
posted @ 2015-02-10 18:07 FangwenYu 阅读(2845) 评论(0) 推荐(0) 编辑
摘要: Time-Series Analysis 阅读全文
posted @ 2015-02-01 21:10 FangwenYu 阅读(3689) 评论(0) 推荐(0) 编辑
摘要: 多元回归简介 阅读全文
posted @ 2015-01-17 18:03 FangwenYu 阅读(9277) 评论(0) 推荐(0) 编辑
摘要: Regression Analysis Using Excel 阅读全文
posted @ 2015-01-11 22:15 FangwenYu 阅读(551) 评论(0) 推荐(0) 编辑
摘要: Correlation and Regression 阅读全文
posted @ 2015-01-11 17:46 FangwenYu 阅读(2318) 评论(0) 推荐(0) 编辑
摘要: Hypothesis Testing 阅读全文
posted @ 2015-01-07 11:40 FangwenYu 阅读(6113) 评论(0) 推荐(0) 编辑
摘要: Sampling and Estimation 阅读全文
posted @ 2015-01-04 13:24 FangwenYu 阅读(869) 评论(0) 推荐(0) 编辑
摘要: Common probability distribution, like normal distribution. 阅读全文
posted @ 2015-01-03 16:57 FangwenYu 阅读(1746) 评论(0) 推荐(0) 编辑
摘要: Get a copy of the blog archive. 阅读全文
posted @ 2014-12-29 15:12 FangwenYu 阅读(495) 评论(0) 推荐(0) 编辑
摘要: Probability Concepts 阅读全文
posted @ 2014-12-28 20:21 FangwenYu 阅读(499) 评论(0) 推荐(0) 编辑
摘要: Basic Statistics Concepts 阅读全文
posted @ 2014-12-28 15:20 FangwenYu 阅读(916) 评论(0) 推荐(0) 编辑
摘要: What does **runserver** do? 阅读全文
posted @ 2014-12-17 22:38 FangwenYu 阅读(647) 评论(2) 推荐(0) 编辑
摘要: Try markdown editor 阅读全文
posted @ 2014-12-08 12:13 FangwenYu 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Python WSGI PEP 333 阅读全文
posted @ 2014-12-08 12:13 FangwenYu 阅读(630) 评论(0) 推荐(0) 编辑
摘要: It's quite simple to run django on nginx on windows. Here are some key steps to follow -1. Download nginx/windows fromhttp://nginx.org/en/download.htm... 阅读全文
posted @ 2014-07-09 14:33 FangwenYu 阅读(6126) 评论(0) 推荐(1) 编辑
摘要: Celery and RabbitMQ 阅读全文
posted @ 2014-07-09 14:20 FangwenYu 阅读(6331) 评论(2) 推荐(1) 编辑
摘要: ALL in Onehttps://github.com/kirang89/pycrumbs/blob/master/pycrumbs.mdhttp://www.pythontutor.com/Part 1: LanguageCode Like a PythonistaPython Decorato... 阅读全文
posted @ 2013-11-20 13:17 FangwenYu 阅读(313) 评论(0) 推荐(0) 编辑
摘要: About Oracle Hint - CONNECT_BY_FILTERING 阅读全文
posted @ 2013-11-19 21:09 FangwenYu 阅读(1105) 评论(0) 推荐(0) 编辑
摘要: DISTINCT 可能造成执行计划很大的改变。 阅读全文
posted @ 2013-11-14 18:35 FangwenYu 阅读(363) 评论(0) 推荐(0) 编辑
摘要: UNION or UNION ALL? 阅读全文
posted @ 2013-10-26 21:39 FangwenYu 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 1. Configure Configuration Server.1.1. Create a directory: e.g.C:\data\dbs\config1.2. Start config server mongod --dbpath c:\data\dbs\config --port ... 阅读全文
posted @ 2013-09-11 10:40 FangwenYu 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 经常会在执行计划中看到很奇怪的"FILTER"操作,然后看对应的执行信息是"filter(NULL IS NOT NULL)". 其实这是优化器非常聪明的“短路”操作。比如下面的这个执行计划,(尤其是从统计信息中可以看到logical/physical reads都是0)(注:在Ask Tom: On Constraints, Metadata, and Truth (http://www.oracle.com/technetwork/issue-archive/2011/11-mar/o21asktom-312223.html) 有提到)Executi 阅读全文
posted @ 2013-09-06 16:41 FangwenYu 阅读(2760) 评论(0) 推荐(0) 编辑
摘要: 在 “http://www.cnblogs.com/fangwenyu/p/3260907.html” 中提到通过打了一个数据库的补丁来解决"row cache objects"的问题。但是结果很不幸,问题并没有解决!后来通过仔细观察,发现压力测试中随着 vuser的数量增加,DB服务器的usage一直在上升,但是一旦达到或接近100%的时候,发现这个时候就会出现row cache objects 的争用问题了。后来还是老老实实对有问题的SQL进行优化(虽然有些已经很难改动了),然后对一些sequence的cache size进行增加(这个在有个report中反映明显,因为 阅读全文
posted @ 2013-09-06 13:52 FangwenYu 阅读(162) 评论(0) 推荐(0) 编辑
摘要: About one Oracle wait event ~ latch:row cache objects. 阅读全文
posted @ 2013-08-15 21:28 FangwenYu 阅读(2205) 评论(0) 推荐(0) 编辑
摘要: JPDA and Java Remote Debugging in Tomcat 阅读全文
posted @ 2013-08-15 21:06 FangwenYu 阅读(420) 评论(0) 推荐(0) 编辑
摘要: By default, Oracle will run some maintance jobs every night. If you don't want to run those jobs, you can just disable them.Query the automatic jobs using the SQL statement below,select * from DBA_AUTOTASK_CLIENTYou would normally see the following 3 jobs:(1)auto optimizer stats collection(2)aut 阅读全文
posted @ 2013-08-10 17:52 FangwenYu 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 总是忘记相关的语法,记录下以备查询.private String genSql = "{call PACK_XXX_MGMT.INSERT_USER_TOKEN(?, ?)}"; // procedureprivate String selSql = "{? = call PACK_XXX.GET_USER_ID_BY_TOKEN(?)}"; // functionpublic String someFunction(final String token) { String userId = null; try{ userId = jdbcTemplat 阅读全文
posted @ 2013-05-08 18:27 FangwenYu 阅读(2710) 评论(0) 推荐(0) 编辑
摘要: 诡异的 "Error 45 initializing SQL*Plus - Internal error" 阅读全文
posted @ 2013-01-18 20:49 FangwenYu 阅读(6582) 评论(0) 推荐(0) 编辑
摘要: 原文地址:贝叶斯推断及其互联网应用(一):定理简介http://www.ruanyifeng.com/blog/2011/08/bayesian_inference_part_one.html贝叶斯推断及其互联网应用(二):过滤垃圾邮件http://www.ruanyifeng.com/blog/2011/08/bayesian_inference_part_two.html 阅读全文
posted @ 2012-12-09 11:58 FangwenYu 阅读(248) 评论(0) 推荐(0) 编辑
摘要: The following notes are based on the article "Mastering Spring MVC", which is, though, a little bit old, but very helpful for beginners, like me.The MVC Framework landscapeBesides Spring MVC, there are also some other frameworks, like Structs, Wicket, JavaSerer Faces(JSF), Seam, etc.A brei 阅读全文
posted @ 2012-10-11 20:12 FangwenYu 阅读(337) 评论(0) 推荐(0) 编辑
摘要: Excerpted from <<Pro Spring 3.0>> Chapter 17Introducing MVCFigure 17-1 illustrates a commonly used web application pattern, which can be treated as an enhancement to the traditional MVC pattern. A normal view request is handled as follows: 1. Request: A request is submitted to the server 阅读全文
posted @ 2012-10-11 20:11 FangwenYu 阅读(2633) 评论(0) 推荐(0) 编辑
摘要: NULL值在predicate和constraint中的不同处理方式 阅读全文
posted @ 2012-09-07 10:41 FangwenYu 阅读(221) 评论(0) 推荐(0) 编辑
摘要: rowid paging benefit from 11g new feature 阅读全文
posted @ 2012-09-03 21:16 FangwenYu 阅读(339) 评论(0) 推荐(0) 编辑
摘要: A simple example to create java stored procedure in oracle 阅读全文
posted @ 2012-09-03 20:57 FangwenYu 阅读(874) 评论(0) 推荐(0) 编辑