MonetDB用户指南3——Readonly database只读数据库
来源:互联网 发布:mac 修改系统版本号 编辑:程序博客网 时间:2024/05/22 14:32
来源:http://www.monetdb.org/Documentation/readonly-database
When working in a regular mode, the query processing spans the basic column storage and the data changed by transactions (inserts, updates, and deletes). For instance, the inserted data, kept in a separate delta structure, are added to the column before other operations in the plan. In a 'read-only mode' modifying transactions are not allowed and the query processing spans only over the basic column storage. One of the consequences is that query execution may become faster.
The readonly mode is administered with a boolean variable, which can be set by the system administrator using themonetdb tool:
shell> monetdb set readonly=yes <mydatabasename>
It ensures that all tables are accessed in read only mode. Moreover, the database is protected against any catalog change, the user can not even create a temporary table for keeping an intermediate result around.
The alternative route is to deploy SQL schemas in combination with user authentication and access control grants to selectively allow users access to the database. See the corresponding description in theSQL manual.
在普通模式下工作时,查询处理事务跨越基本列存储和数据改变(插入,更新,删除)。例如,插入的数据,保存在一个单独的delta结构。在一个只读模式修改交易是不允许,查询处理的跨度仅在基本列存储。后果之一是,查询的执行可能会变得更快。
在只读模式是使用一个布尔变量,可以通过设置使用MonetDB工具系统管理员:
shell> monetdb set readonly=yes <mydatabasename>
shell> monetdb set readonly=yes <mydatabasename>
它确保所有的表都是以只读方式访问。此外,该数据库是防止任何(数据库元数据catalog)目录的变化,用户甚至不能用临时表保存中间结果。
的另一种途径是在与用户的身份认证和访问控制授权选择性地允许用户访问数据库结合SQL架构部署。看在SQL手册相应的描述。
- MonetDB用户指南3——Readonly database只读数据库
- MonetDB用户指南1——初始化
- MonetDB用户指南2——MonetDBServer
- MonetDB用户指南4——(资源)压缩
- MonetDB用户指南4——(资源)磁盘空间
- MonetDB用户指南4——(资源)内存使用Memory footprint
- MonetDB用户指南4——(资源)OOM killer
- MonetDB用户指南4——(资源)Dump and restore
- MonetDB用户指南5——自动加载脚本
- C#中的只读字段——readonly
- MonetDB用户指南0——Reader's guide文档阅读指导
- MonetDB——集群
- springmvc修改时报数据库为只读readOnly = true
- MonetDB源代码——数据结构GDK
- MonetDB源代码——sql_catalog.h
- MonetDB源代码——sql_mvc.h
- Monetdb源代码——mal_client.h
- 一个 只读 readonly 示例
- “在CMD下面执行命令需要加上exe后缀才能执行“的解决方案
- 半同步/半异步进程池实现服务端程序
- sicily 1063.Who's the boss
- jsp操作mysql样例
- mysql中关于时间点的判断
- MonetDB用户指南3——Readonly database只读数据库
- 用邻接链表数据结构存储图 并实现Dijkstra算法
- 【android开发】自定义TabHost
- AS3 Embed资源错误Unable to transcode asset处理
- 不可不知道的SEO与SEM术语大全
- C/C++变量在内存中的分布
- sicily 1156.先序遍历二叉树
- CodeForces 275C k-Multiple Free Set(二分)
- 数据结构之复数的四则运算