E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
PGSQL
对PostgreSQL cmin和cmax的理解
看例子: 开两个终端来对比: 在终端A: [
pgsql
@localhost bin]$ .
·
2015-10-27 15:20
PostgreSQL
我对 PostgreSQL tidscan的理解
当我在使用cursor的时候,会用到此种scan: [postgres@lex
pgsql
]$ cat .
·
2015-10-27 15:07
PostgreSQL
PostgreSQL 的 pl/
pgsql
的 cannot begin/end transactions in PL/
pgSQL
错误
postgres=# select FindCourse('aaaa'); ERROR: cannot begin/end transactions in PL/
pgSQL
HINT: Use
·
2015-10-27 15:06
transaction
主要关系型数据库系统对比
http://www.
pgsql
db.org/mwiki/index.php/主è¦å ³ç³
·
2015-10-27 14:28
数据库
使用PHP连接POSTGRES数据库
1找到php.ini文件中,把extension=php_
pgsql
.dll这句的注释去掉。 2 检索找到php_
pgsql
.dll文件所在目录(在***/php/ext)。
·
2015-10-27 14:54
postgres
PostgreSQL数据库 OLTP高并发请求性能优化
PostgreSQL数据库OLTP高并发请求性能优化 2015-10-1411:00:00| 作者:德哥:分类:
PgSQL
PerfTuning|2015年度PG大象会报名地址:http://postgres2015
qiuwenhuifx
·
2015-10-27 09:11
PostgreSQL数据库
PostgreSQL数据库 OLTP高并发请求性能优化
PostgreSQL数据库OLTP高并发请求性能优化 2015-10-1411:00:00| 作者:德哥:分类:
PgSQL
PerfTuning|2015年度PG大象会报名地址:http://postgres2015
qiuwenhuifx
·
2015-10-27 09:11
PostgreSQL数据库
PostgreSQL数据库 OLTP高并发请求性能优化
PostgreSQL数据库OLTP高并发请求性能优化2015-10-1411:00:00|作者:德哥:分类:
PgSQL
PerfTuning|2015年度PG大象会报名地址:http://postgres2015
qiuwenhuifx
·
2015-10-27 09:11
PostgreSQL数据库
PostgreSQL学习手册(PL/
pgSQL
过程语言)
一、概述: PL/
pgSQL
函数在第一次被调用时,其函数内的源代码(文本)将被解析为二进制指令树,但是函数内的表达式和SQL命令只有在首次用到它们的时候,PL/
pgSQL
·
2015-10-24 09:39
PostgreSQL
安装postgreSQL出现configure: error: zlib library not found解决方法
/configure --prefix=/usr/local/
pgsql
.....
·
2015-10-23 09:20
PostgreSQL
PL/
pgSQL
的RETURN QUERY例子
我的例子: 数据准备: create table custinfo(custid integer,callingcnt integer); insert into custoinfo valuse(1,10),(2,6),(3,8); 函数生成: CREATE OR REPLACE FUNCTION get_callingcnt(custid int) RETURNS TAB
·
2015-10-23 08:04
return
PL/
pgSQL
的 RETURN NEXT例子
从网上找到例子: 可以说,RETURN NEXT要用在循环中: 例子一: 数据准备: CREATE TABLE foo (fooid INT, foosubid INT, fooname TEXT); INSERT INTO foo VALUES (1, 2, 'three'); INSERT INTO foo VALUES (4, 5, 'six'); 生成函数: CREA
·
2015-10-23 08:03
return
PostgreSQL的 initdb 源代码分析之二十五
cmd是:/home/
pgsql
/project/bin/postgres" --single -F -O -c search_path=pg_catalog -c exit_on_error
·
2015-10-23 08:02
PostgreSQL
PL/
pgSQL
学习笔记之一
开始 资料来源:http://www.postgresql.org/docs/9.1/static/pl
pgsql
-overview.html 39.1 概要: PL/
pgSQL
是一种可载入的过程语言
·
2015-10-23 08:02
学习笔记
PL/
pgSQL
学习笔记之二
39.1.1 使用 PL/
pgSQL
的好处 SQL是 PostgreSQL和其他大多数关系型数据库作为查询语言而使用的语言。它可移植,并容易学习。但是SQL语句必须被数据库服务器逐条地执行。
·
2015-10-23 08:02
学习笔记
PostgreSQL的 initdb 源代码分析之二十三
继续分析: vacuum_db(); 展开: cmd是:/home/
pgsql
/project/bin/postgres" --single -F -O -c search_path
·
2015-10-23 08:01
PostgreSQL
PostgreSQL的 initdb 源代码分析之二十二
继续分析 load_pl
pgsql
(); 展开: 就是让postgres 执行 create extension pl
pgsql
cmd是: "/home/
pgsql
·
2015-10-23 08:01
PostgreSQL
PostgreSQL的 initdb 源代码分析之二十一
cmd 是: "/home/
pgsql
/project/bin/postgres" --single -F -O -c search_path=pg_catalog -c exit_on_error
·
2015-10-23 08:01
PostgreSQL
PostgreSQL的 initdb 源代码分析之十八
继续分析: setup_conversion(); 展开: 其实质是: 运行命令:"/home/
pgsql
/project/bin/postgres" --single
·
2015-10-23 08:00
PostgreSQL
PostgreSQL的 initdb 源代码分析之十九
继续分析: setup_dictionary(); 展开: 其中: cmd 是:"/home/
pgsql
/project/bin/postgres" --single
·
2015-10-23 08:00
PostgreSQL
PostgreSQL的 initdb 源代码分析之二十
其cmd是:"/home/
pgsql
/project/bin/postgres" --single -F -O -c search_path=pg_catalog -c exit_on_error
·
2015-10-23 08:00
PostgreSQL
PostgreSQL的 initdb 源代码分析之十五
接下来: setup_depend(); 展开: 就是一组sql问,送给 postgres 执行: cmd的值是: "/home/
pgsql
/project
·
2015-10-23 08:59
PostgreSQL
PostgreSQL的 initdb 源代码分析之十三
继续分析: /* Bootstrap template1 */ bootstrap_template1(); 展开: 我这里读入的文件是:/home/
pgsql
/project
·
2015-10-23 08:58
PostgreSQL
PostgreSQL的 initdb 源代码分析之十四
[
pgsql
@loc
·
2015-10-23 08:58
PostgreSQL
PostgreSQL的 initdb 源代码分析之十一
bootstrapper, so make it first */ write_version_file(NULL); 就是建立了一个 PG_VERSION的文件 在我系统里,可以看到: [
pgsql
·
2015-10-23 08:56
PostgreSQL
C语言signal处理的小例子
[
pgsql
@localhost tst]$ cat sig01.c #include <stdio.h> #include <signal.h> static void
·
2015-10-23 08:55
Signal
PostgreSQL建表动作分析
首先,建立表:
pgsql
=# create table tab10(id integer); CREATE TABLE
pgsql
=# select 147525::regclass; regclass
·
2015-10-23 08:51
PostgreSQL
PostgreSQL中,database,schema,table之间关系
首先,在postgres数据库下建立表(相当于建立在public schema下): [
pgsql
@localhost bin]$ .
·
2015-10-23 08:51
PostgreSQL
PostgreSQL的schema信息,存储于何处
查看schema信息: [
pgsql
@localhost bin]$ ./psql psql (9.1.2) Type "help" for help.
·
2015-10-23 08:51
PostgreSQL
对PostgreSQL中tablespace 与 database, table的理解
开始: 当前的tablesapce信息
pgsql
=# select * from pg_tablespace; spcname | spcowner | spclocation
·
2015-10-23 08:50
PostgreSQL
PostgreSQL中如何查询在当前的哪个数据库中
[
pgsql
@localhost bin]$ ./psql -d tester psql (9.1.2) Type "help" for help.
·
2015-10-23 08:49
PostgreSQL
PostgreSQL中如何查看一个表所对应的文件
[
pgsql
@localhost bin]$ ./psql -d postgres psql (9.1.2) Type "help" for help.
·
2015-10-23 08:49
PostgreSQL
如何知道PostgreSQL数据库下每个数据库所对应的目录
查询如下:先看数据库列表 [
pgsql
@localhost bin]$ ./psql psql (9.1.2) Type "help" for help.
·
2015-10-23 08:49
PostgreSQL
postgresql数据库连接池pgbouncer的搭建
PgBouncer相关的基本文档
pgsql
db中文站已经有不少文档,这里我就不再作过多的说明,我将集中对其中的几个要点和我实践中遇到的问题和大家分享一下。
·
2015-10-23 08:57
PostgreSQL
windows下postgresql的使用注意问题
postgresql的使用注意问题(1).下载bin的解压版本(2).解压为:D:\demo\PostgreSQL\(3).创建非管理员用户,如:postgresql,并将目录:D:\demo\PostgreSQL\
pgsql
can_do
·
2015-10-21 13:00
postgresql
windows
windows下postgresql的使用注意问题
postgresql的使用注意问题(1).下载bin的解压版本(2).解压为:D:\demo\PostgreSQL\(3).创建非管理员用户,如:postgresql,并将目录:D:\demo\PostgreSQL\
pgsql
can_do
·
2015-10-21 13:00
windows
PostgreSQL
windows下postgresql的使用注意问题
postgresql的使用注意问题(1).下载bin的解压版本(2).解压为:D:\demo\PostgreSQL\(3).创建非管理员用户,如:postgresql,并将目录:D:\demo\PostgreSQL\
pgsql
can_do
·
2015-10-21 13:00
postgresql
windows
PostgreSQL remote connection
open /usr/local/
pgsql
/data/postgresql.conf ensure listen_addresses = '*
·
2015-10-21 13:08
PostgreSQL
PostgreSQL学习手册(PL/
pgSQL
过程语言)
一、概述: PL/
pgSQL
函数在第一次被调用时,其函数内的源代码(文本)将被解析为二进制指令树,但是函数内的表达式和SQL命令只有在首次用到它们的时候,PL/
pgSQL
·
2015-10-21 13:18
PostgreSQL
PgSQL
负载、群集和连接池的对比
Replication, Clustering, and Connection Pooling Introduction There are many approaches available to scale PostgreSQL beyond running on a single server. An outline of the terminology and bas
·
2015-10-21 12:17
sql
postgresql数据库连接池pgbouncer的搭建
PgBouncer相关的基本文档
pgsql
db中文站已经有不少文档,这里我就不再作过多的说明,我将集中对其中的几个要点和我实践中遇到的问题和大家分享一下。
·
2015-10-21 12:16
PostgreSQL
pgsql
中层次查询方法-例子
求序列和PostgreSQL 官方文档用求序列和的例子,演示了 WITH RECURSIVE 的用法: postgres=# WITH RECURSIVE t(n) AS (VALUES (1)UNION ALLSELECT n+1 FROM t WHERE n < 100)SELECT sum(n) FROM t;sum------5050(1 row) 公交换乘问题实际的,工业强
·
2015-10-21 12:10
sql
pgsql
中层次查询方法
与Oracle中的start with ... connect by..非常相似的功能,查询后显示目录层次结构的方法: 当然在SQL Server 2005之后有with的功能。 测试代码: DROP TABLE IF EXISTS t1;CREATE TABLE t1(id integer primary key, name varchar
·
2015-10-21 12:08
sql
Entity Framework - PostgresQL CodeFirst
首先要安装必要的库 直接在VS的程序包管理控制台里执行 Install-Package N
pgsql
.EntityFramework 或者右键点引用到 nuget的管
·
2015-10-21 12:14
PostgreSQL
PG SQL数据库读写分离的思路
PGSQL
可以设置一台主多个SLAVE,这样我们需要一个办法能在程序里做到读写分离,查询了互联网,找到了下面的解决思路,请周枫在后继开发中测试下面的思路方案: 在应用层通过spring特性解决数据库读写分离
·
2015-10-21 12:28
读写分离
PL/
pgSQL
学习笔记之十一
http://www.postgresql.org/docs/9.1/static/pl
pgsql
-declarations.html 39.3.4.
·
2015-10-21 12:30
学习笔记
PL/
pgSQL
学习笔记之九
http://www.postgresql.org/docs/9.1/static/pl
pgsql
-declarations.html 39.3.2.
·
2015-10-21 12:29
学习笔记
PL/
pgSQL
学习笔记之十
http://www.postgresql.org/docs/9.1/static/pl
pgsql
-declarations.html 39.3.3.
·
2015-10-21 12:29
学习笔记
PostgreSQL中的AnyEnum例子
REPLACE FUNCTION enumtest(anyenum) RETURNS text AS $$ SELECT $1::text; $$ LANGUAGE SQL; 建立enum:
pgsql
·
2015-10-21 12:28
PostgreSQL
PostgreSQL中使用枚举类型
https://wiki.postgresql.org/wiki/Enum 建立enum:
pgsql
=# CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy
·
2015-10-21 12:27
PostgreSQL
上一页
35
36
37
38
39
40
41
42
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他