greenplum是基于postgresql开发的分布式数据库,里面大部分的数据字典是一样的。我们在维护gp的时候对gp的数据字典比较熟悉,特此分享给大家。在这里不会详细介绍每个字典的内容,只会介绍常见的应用以及一些已经封装好了的函数。具体的介绍大家可以去看postgresql的中文文档(附件),里...
分类:
数据库 时间:
2014-05-17 13:02:17
阅读次数:
697
在任务管理器中看到sql server 2000进程的内存占用,而在sql server
2005中,不能在任务管理器中查看sql server 2005进程的内存占用,要用以下语句查看sql server 的实际内存占用:select * from
sysperfinfo where counte...
分类:
其他好文 时间:
2014-05-16 05:09:07
阅读次数:
258
MySQL 以及Python 实现排名窗口函数一例。...
分类:
数据库 时间:
2014-05-15 05:18:57
阅读次数:
381
按要求装了postgreSQL 9.3,之前装个9.2.数据库出错了,选择了9.3版本。然后通过Application stack bulider装了 postgis 2.1。装的时候选择了创建一个空的数据库,但屡屡安装失败,取消之后安装成功。
配置了数据库的参数后,选择要导入的.shp文件,更改SRID,这里其实SRID我不太了解,因为每个SRID对应的都对应EPGS编码,打开prj文...
分类:
数据库 时间:
2014-05-14 14:23:55
阅读次数:
1219
mysql5.6.14配置my.cnf多实例,mysql_install_db初始化不读取my.cnf配置文件
[ERROR] InnoDB: auto-extending data file ./ibdata1 is of a differentsize 768 pages (rounded down to MB) than specified in the .cnf file: initial65536 pages, max 0 (relevant if non-zero) pages!
2014-0...
分类:
数据库 时间:
2014-05-14 14:20:48
阅读次数:
412
.left .left_down
li.a.left-down-pic{display:block;width:50px;height:50px;background:url(images/app_icons_50_6.jpg)
-400px 0px no-repeat;//关键是这句话}
分类:
Web程序 时间:
2014-05-14 11:36:25
阅读次数:
419
运行android程序报错The connection to adb is down, and a
severe error has occured。原因是adb.exe无法运行。在命令行中输入adb.exe kill-serveradb
start-server重启eclipse,即可解决问题。
分类:
数据库 时间:
2014-05-14 02:04:53
阅读次数:
377
在PostgreSQL里,所有的存储函数需求都可以用PLPGSQL来实现。同时也支持用第三方语言来编写,这个就得看自己哪个方面熟练了。不过要注意的一点是PLPGSQL的效率怎么着都比其他第三方语言来的高效。比如,简单的插入表的存储函数:CREATEORREPLACEFUNCTIONytt.insert_plpgsql(f_n..
分类:
数据库 时间:
2014-05-13 12:26:06
阅读次数:
416
用第三方语言编写PostgreSQL的具体用例。...
分类:
数据库 时间:
2014-05-13 06:47:08
阅读次数:
370
Card Trick
时间限制:1000 ms | 内存限制:65535 KB
难度:3
描述
The magician shuffles a small pack of cards, holds it face down and performs the following procedure:
The top card is moved to the bottom of ...
分类:
其他好文 时间:
2014-05-13 05:17:49
阅读次数:
249