您的位置:首页 > 其它

Firebird 3.0 新功能

2015-11-17 21:53 218 查看
原文:http://web.firebirdsql.org/download/prerelease/rlsnotes/Firebird-3.0.0_RC1-ReleaseNotes.pdf

(英语及专业水平所限,敬请包涵。bqcui 20151118)

完成了firebird执行程序的统一

完成超级服务器模式(Superserver)对真SMP的支持完成,Firebird的核心现在是一个统一的库,支持一个单一ODS,可以以一个嵌入引擎方式加载,也可以”网络监听器“方式运行。服务器模式的选择,取决于一个新的设置参数:ServerMode,定义锁定及缓存模式。这可以在全局水平(在 firebird.conf 文件)或者 ”单一数据库(per database)“(在 databases.conf文件)中定义。

默认情况下,ServerMode = Super (alias ThreadedDedicated), 即,超级服务器模式。

注意:

以前的 aliases.conf 文件被 databases.conf 文件取代,现在包含的不只是数据库别名,还有(可选)设置参数,使之能设置数据库和/或单独改变本地数据库安全设置。

超级服务器模式支持 True SMP

超级服务器模式下,引擎现在可使用多CPU和多内核。

新特性,面向对象的C++ API。

面向对象的C++ API,使外部插件可以在Firebird引擎内部安全运行。包含但不限于:

• 数据加密

• 用户审计,包括密钥修改

• 为存储过程、触发器和函数提供插件支持,这些插件可以用 Java, C++, Object-Pascal来写。

“Per-Database” 配置

通过对 databases.conf 文件进行修改,达到在数据库层面进行配置(以前是 aliases.conf文件)。

在多个方面增大了以前限制的最大值

Transaction 编号, attachment 编号, statement 编号的最大值增加了。为64位服务器增加了页面缓存。最大数据库体积增大。

多安全数据库

Firebird 现在支持在服务器端通过多个安全数据库进行用户存取控制。使用 databases.conf 中配置的参数安全数据库,使用一个指定数据库,而不是默认的 security3.fdb, 可以对每个数据库进行设置。可以在用户数据库中对用户结构进行定义。

注意

监控表 MON$DATABASE 中增加了 MON$SEC_DATABASE 字段,用来确定使用了何种类型的安全数据库——Default, Self 还是Other。

几个新的sql命令,用来管理用户和进行数据存取

Changes in architecture, stiffening of rules for security and data integrity, along with feature requests, have

given rise to a raft of new SQL commands for managing users and their access to objects.

用户审计信息中可以使用国际化字符

Provided the new authentication provisions are used, the system can accept user names and passwords con-

taining non-ASCII characters. See International Character Sets for User Accounts in the Security chapter.

支持新的数据类型

A true BOOLEAN type (True/False/Unknown), complete with support for logical predicates, e.g.,

UPDATE ATABLE

SET MYBOOL = (COLUMN1 IS DISTINCT FROM COLUMN2)

IDENTITY type, spawning unique identifiers for the defined column from an internal generator. For details,

see IDENTITY-Style Column.

支持SQL包

DDL 触发器

Now, triggers can be written to execute when database objects are modified or deleted. A typical use is to

block unauthorised users from performing these tasks.

For details, refer to DDL Triggers.

数据定义语言中使用window函数

A whole new series of analytical functions to work with multiple subsets in DML. See Window (Analytical)

Functions.

统计函数

A suite of statistical functions returning values for a variety of variance, standard deviation and linear re-

gression formulae. See Statistical Functions.

可滚动游标

The query engine now supports bi-directional (“scrollable”) cursors, enabling both forward and backward

navigation in PSQL and in DSQL with support from the API. See Scrollable (Bi-directional) Cursor Support.

兼容SQL2008 中OFFSET 和 FETCH 规范

Support implemented for SQL-2008-compliant OFFSET and FETCH clauses as an alternative for {FIRST

and SKIP} or {ROWS and TO} clauses. See SQL:2008-Compliant OFFSET and FETCH Clauses.

支持IPv6

Firebird 3 can use IPv6 connections on both client and server sides. See the notes for the new configuration

parameter IPv6V6Only.

在线校验

On-line validation, first implemented in Firebird 2.5.4, has been ported forward to Firebird 3.0. See Perform

Some Validation Services On-line.

使用gbak进行运行时统计

Verbose output from gbak can now include run-time statistics, reporting times elapsed, page reads and page

writes. Also supported in the Services API.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: