免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: jayli426
打印 上一主题 下一主题

[ldap] ldap怎么又扯上拉数据库拉? [复制链接]

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
11 [报告]
发表于 2005-10-26 16:32 |只看该作者

ldap怎么又扯上拉数据库拉?

BerkeleyDB
可以做个测试,用关系型数据库做back-end会比用BerkeleyDB慢上至少几倍,oracle也一样.在数据量大的时候LDAP+BerkeleyDB能比oracle快上一个数量级,但用oracle做后端就体现不出来了

论坛徽章:
0
12 [报告]
发表于 2005-10-26 17:00 |只看该作者

ldap怎么又扯上拉数据库拉?

BerkeleyDB也属于关系型数据库吗?

现在比较火的大型关系型数据库是postgresql,据说性能可以抵的上ORACLE。

BerkeleyDB还是第一次听说。

论坛徽章:
0
13 [报告]
发表于 2005-10-26 20:16 |只看该作者

ldap怎么又扯上拉数据库拉?

如果我门后台使用关系型数据库.那么我们是否也能发挥关系型数据库的好的些性能与事务处理的优势呢?
但是"
I say that LDAP doesn't have support for transactions and other features of databases, I mean that the protocol doesn't have the messages that you would need to take advantage of these features (remember, it's lightweight) and doesn't require that the backend data store provide these features.
"
from<<LDAP System Administration - OReilly By E.T.>;>;
它意思就是说后端的(数据库)优势,ldap这个前端怎么也沾不上光?
只是因为它是"lightweight"
这个轻量到是真是别有韵味啊?我是有些糊涂拉
这个轻量好像真的是"丢盔弃甲啊"(比喻不好 )不要笑我
我们后端用(关系)数据库,总是为了发挥他优势把,前面说那个berkley的 DB是
二进制的,我也不知它是否是关系型,总而言之,它总是能提高效率
那么关系型数据库的后端呢?他的优势在哪里呢?
难道一用上关系型数据库的优势,ldap就重起来拉吗?
这就是机制决定的吗?

论坛徽章:
0
14 [报告]
发表于 2005-10-26 21:44 |只看该作者

ldap怎么又扯上拉数据库拉?

LDAP is a protocol.
LDAP server using database as the backend storage method.
Different vendors may use different kind of backend database to store data.

Vendors have to follow LDAP protocol at front-end, but have total freedom of implementation at backend.

The database used by LDAP should be accessed using LDAP protocol (like ldapsearch, ldapmodify, ...). Someone may write an interface to allow SQL query to LDAP database, but that is another story.

SUN/iPlanet LDAP server using "sleepycat" as its backend database.
What is special of "Sleepycat" is that it is an embedded database.
That is why when you run iPlanet LDAP server you can't see a process directly related to "Sleepycat".
LDAP server implementation does not have to use "Sleepycat", and "Sleepycat" is not only used in LDAP, but also used in other applications.

To get good performance from LDAP server, you do need have general knowledge in database (such as indexing, partition, query optimization...).
Part of work for LDAP Admin is just like a DBA.

idif file is a dump from LDAP database.

Relational database accessed by SQL (Oracle, Sybase, ...) is just one of several kinds of database.

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
15 [报告]
发表于 2005-10-27 09:30 |只看该作者

ldap怎么又扯上拉数据库拉?

这段怎么这么眼熟啊,呵呵,大家看的书都差不多

论坛徽章:
0
16 [报告]
发表于 2005-11-14 21:40 |只看该作者
我的理解:
LDAP只是描述信息存储的方法的协议,真正的信息仍然是存储在数据库中的。
idif只是信息的定义文件,并不能直接使用,必须将它导入数据库中才能供查询用。
比如ldapcat就可以将数据库中的信息导出。ldapadd就可以将这些信息导入数据库中。

论坛徽章:
0
17 [报告]
发表于 2007-01-16 15:45 |只看该作者
原帖由 py 于 2005-10-27 09:30 发表
这段怎么这么眼熟啊,呵呵,大家看的书都差不多


请问py看的是哪一本书?谢谢!

论坛徽章:
0
18 [报告]
发表于 2007-01-17 17:54 |只看该作者
an embedded database是否是关系数据库??或者这样问就是错误的
那一般商用,例如oracle 和某个an embedded database区别在哪里??

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
19 [报告]
发表于 2007-01-17 22:01 |只看该作者
bdb应该算是平面数据库吧,二维的,id2entry

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
20 [报告]
发表于 2007-01-17 22:02 |只看该作者
原帖由 antimatter 于 2007-1-16 15:45 发表


请问py看的是哪一本书?谢谢!

。。。。两年了,我已经不记得那段话是哪本书上的了。我看的书比较杂
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP