何时在数据库上使用LDAP? [英] When to use LDAP over a database?

查看:137
本文介绍了何时在数据库上使用LDAP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该何时使用LDAP与数据库/键值存储/面向列的数据库/ etc?

When should I use LDAP vs. database/key-value-store/column-oriented-database/etc?

推荐答案

LDAP可以被认为是数据库。但我假设您的意思是SQL数据库。

LDAP数据存储用于与写入数量相比具有高数量读取的系统。而其他数据库(如SQL存储)是为事务性数据使用(高读写)设计的。

LDAP data stores are for systems with high number of reads compared to writes. While other databases such as SQL stores are designed for transactional data usage (high read and writes).

这就是为什么LDAP是目录协议的原因。

This is why LDAP is a directory protocol. It's well suited to directories where you read lots and write hardly.

此处


LDAP的特点是一次写入多次读取服务。那
就是说,通常存储在LDAP
服务中的数据类型不会在每次访问时改变。到
说明:LDAP不适合维护银行
交易记录,因为根据它们的性质,它们在每个
访问(事务)上改变。然而,LDAP将非常适合用于保持银行分行,开放时间,员工
等的细节的

LDAP is characterised as a 'write-once-read-many-times' service. That is to say, the type of data that would normally be stored in an LDAP service would not be expected to change on every access. To illustrate: LDAP would NOT be suitable for maintaining banking transaction records since, by their nature, they change on every access (transaction). LDAP would, however, be eminently suitable for maintaining details of the bank branches, hours of opening, employees etc..

这是另一个很好的介绍这里 - LDAP vs RDBMS

And this is another good intro here - LDAP vs RDBMS

这篇关于何时在数据库上使用LDAP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆