bielidefeng
码龄17年
关注
提问 私信
  • 博客:180,304
    社区:846
    181,150
    总访问量
  • 41
    原创
  • 355,867
    排名
  • 10
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:北京市
  • 加入CSDN时间: 2008-07-06
博客简介:

bielidefeng的专栏

查看详细资料
个人成就
  • 获得7次点赞
  • 内容获得0次评论
  • 获得12次收藏
创作历程
  • 1篇
    2018年
  • 39篇
    2014年
  • 12篇
    2013年
  • 67篇
    2012年
  • 8篇
    2011年
成就勋章
TA的专栏
  • postgresql
    33篇
  • java
创作活动更多

超级创作者激励计划

万元现金补贴,高额收益分成,专属VIP内容创作者流量扶持,等你加入!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

java技巧

java如何将unicode的char转换为bytes即对应于C++中的charprivate boolean is_halfshaped(char uchar){ byte[] bytes = new byte[0]; try { bytes = String.valueOf(uchar).getBytes("GBK"); } catch (Unsupp...
原创
发布博客 2018.02.24 ·
307 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

java

------------查看eclipse或者myeclipse的话,鼠标放到想查看的类上,按F4。
转载
发布博客 2014.08.12 ·
618 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

pgfincore使用posix_fadvise缓存os cache

http://blog.163.com/digoal@126/blog/static/163877040201062944945126/
转载
发布博客 2014.06.09 ·
1753 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

gdb

http://blog.163.com/digoal@126/blog/static/16387704020121125113226736/调用gdb编译需要在cc后面加 -g参数再加-o;[root@redhat home]#gdb 调试文件:启动gdb(gdb) l :(字母l)从第一行开始列出源码(gdb) break n :在第n行处设置断点(gdb) brea
转载
发布博客 2014.06.06 ·
1602 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

pgsql_fdw

http://my.oschina.net/Kenyon/blog/214953
转载
发布博客 2014.06.06 ·
1142 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

gdb调试postgresql(待续)

http://blog.csdn.net/bhq2010/article/details/12200533http://wiki.postgresql.org/wiki/Pgsrcstructure
转载
发布博客 2014.06.06 ·
5398 阅读 ·
0 点赞 ·
0 评论 ·
4 收藏

执行计划

http://blog.csdn.net/tianlianchao1982/article/details/11557099
转载
发布博客 2014.05.30 ·
799 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ubuntu2

ubuntu追加空间http://blog.csdn.net/openme_openwrt/article/details/8099956-------------------播放视频avi等使用SMPLAYER播放器-----------终端目录的说明使用“/usr/.....”===>系统目录使用“~/桌面/...”===
原创
发布博客 2014.05.30 ·
1773 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

centos2

----------ps -ewf显示所有进程,ps -a|grep ss指的是显示ss关键字的所有进程。top是动态显示进程。---------cat直接将文件内容显示在终端上。---------查看linux系统版本信息cat /etc/*release。---------从一台Linux机子拷贝recovery.conf.sample到192.168.59.128
原创
发布博客 2014.05.30 ·
1204 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

recovery PITR 即时恢复

http://blog.163.com/digoal@126/blog/static/16387704020131410250983/http://www.cnblogs.com/gaojian/archive/2013/08/07/3243045.html
原创
发布博客 2014.05.30 ·
2257 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

tablefunc 行转列

http://www.postgresql.org/docs/9.3/static/tablefunc.html安装extension tablefunc  :digoal=# create extension tablefunc ;CREATE EXTENSIONnormal_rand: normal_rand(int numvals, float8 mean, float8 stddev) r
原创
发布博客 2014.05.30 ·
1564 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

create type/cast/ENUM

create type:http://www.postgresql.org/docs/9.3/static/sql-createtype.html enum:http://www.postgresql.org/docs/9.3/static/datatype-enum.html,http://www.postgresql.org/docs/9.3/static/functions-enum.htm
原创
发布博客 2014.05.30 ·
869 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

聚合

http://www.postgresql.org/docs/9.3/static/functions-aggregate.html array_agg: 聚合函数,返回一个array,相当于oracle的wm_concat:digoal=# select array_agg(fooid) from foo; array_agg ----------------- {4,5,7,6,1
原创
发布博客 2014.05.30 ·
704 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

return setof

setof: 返回多行结果集:digoal=# CREATE TYPE compfoo AS (f1 int, f2 text);CREATE TYPEdigoal=# CREATE FUNCTION textst() RETURNS SETOF compfoo AS $$digoal$# SELECT fooid, fooname FROM foodigoal$# $$ LANGUAGE
原创
发布博客 2014.05.30 ·
968 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

vacuum和vacuum full区别

1:vacuum full会lock table ,vacuum不会。2:vacuum只是将deadtuple的行的空间转换为能够使用的状态,vacuum full会将这些空间碎片后面的数据上移。http://www.postgresql.org/docs/9.2/static/routine-vacuuming.html#AUTOVACUUMhttp://www.cnblogs.com/dadu
原创
发布博客 2014.05.30 ·
5164 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

ALTER TABLE rewrites

alter一个表的列的时候会出现rewrites表: 比如添加一个有默认值的新列会rewrites重写表(即先vacuum full此表):http://my.oschina.net/Kenyon/blog/99757 ctid来查看有默认值的新列:digoal=# select ctid,* from foo; ctid | fooid | foosubi
原创
发布博客 2014.05.30 ·
690 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Row and Array Comparisons

http://www.postgresql.org/docs/9.3/static/functions-comparisons.html#AEN18448Row-wise Comparison: row的定义:http://www.postgresql.org/docs/9.3/static/sql-expressions.html#SQL-SYNTAX-ROW-CONSTRUCTORS row与
原创
发布博客 2014.05.30 ·
820 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

System Administration Functions

http://www.postgresql.org/docs/9.3/static/functions-admin.htmlGeneric File Access Functions: 普通文件的访问方法:digoal=# select pg_ls_dir('.'); pg_ls_dir ----------------- pg_multixact pg_notify postmast
原创
发布博客 2014.05.30 ·
868 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

继承

继承: http://www.postgresql.org/docs/9.3/static/ddl-inherit.html分区表: http://www.postgresql.org/docs/9.3/static/ddl-partitioning.html 分区表需要和trigger一起使用才可。CREATE TABLE measurement ( city_id int
原创
发布博客 2014.05.30 ·
620 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

postgres-xc

Postgres-XC:http://blog.csdn.net/huguangshanse00/article/details/9636621http://blog.163.com/digoal@126/blog/static/1638770402013332335933/http://blog.163.com/digoal@126/blog/static/1638770402013310018
转载
发布博客 2014.05.30 ·
4214 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏
加载更多