免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5494 | 回复: 3
打印 上一主题 下一主题

请教关于PostgreSQL的数据文件和速度问题 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2004-06-30 15:10 |显示全部楼层

请教关于PostgreSQL的数据文件和速度问题

1,pgsql 是支持TB级的应该.不可能用一个文件来存数据库.32位系统上单个分区不能大于2TB.而pgsql 支持32TB自己想想为什么他什么这么设计

2,我不想回答,等你自己用过一段时间,你就知了..

论坛徽章:
0
2 [报告]
发表于 2004-06-30 18:18 |显示全部楼层

请教关于PostgreSQL的数据文件和速度问题

1,pg 就是分为若干文件实现。。所以你会到的是一些文件。。而不mysql那些规则文件,我说的是2T,不是4G NTFS支持2T。这个不说了

选择那个数据,要看你的应用,是做什么??
是否涉及view,解发器,过程,游标,主/外键,OLTP。。。
如果是我建议你用PostgreSQL
目前我的朋友们。用PostgreSQL做MIS,ERP,电子商务很不多。
我有一个朋友他们用PostgreSQL做工厂生产应用。他们在IBM AS/400用PGSQL

论坛徽章:
0
3 [报告]
发表于 2004-07-02 09:25 |显示全部楼层

请教关于PostgreSQL的数据文件和速度问题



你想“改进”什么???

论坛徽章:
0
4 [报告]
发表于 2004-07-05 17:19 |显示全部楼层

请教关于PostgreSQL的数据文件和速度问题

;(

裸设备,我从来没用过?我不知pgsql能不能用..

但pgsql创建数据库没有裸设备的选项
-D, --location=PATH       alternative place to store the database
只有一个-d=path
可是没有 如果-d = raw 一类的东东.

[root@linux root]# createdb
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
createdb: database creation failed
[root@linux root]# createdb  --help
createdb creates a PostgreSQL database.

Usage:
  createdb [OPTION]... [DBNAME] [DESCRIPTION]

Options:
  -D, --location=PATH       alternative place to store the database
  -E, --encoding=ENCODING   encoding for the database
  -O, --owner=OWNER         database user to own the new database
  -T, --template=TEMPLATE   template database to copy
  -e, --echo                show the query being sent to the backend
  -q, --quiet               don't write any messages
  --help                    show this help, then exit

Connection options:
  -h, --host=HOSTNAME       database server host
  -p, --port=PORT           database server port
  -U, --username=USERNAME   user name to connect as
  -W, --password            prompt for password

By default, a database with the same name as the current user is created.

Report bugs to <pgsql-bugs@postgresql.org>;.
[root@linux root]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP