分享
 
 
 

MySQL 5.0.1 Alpha 发布

王朝mysql·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

昨天,MySQL 5.0.1 Alpha 发布,包含很多新特性,详情请看 Changelog 。

下载:http://dev.mysql.com/downloads/mysql/5.0.1-snapshot.html

News from the ChangeLog:

Functionality added or changed:

* Added support of read only and updateable VIEWs based on single

table or other updateable VIEWs.

* Implemented a new ``greedy search'' optimizer that can

significantly reduce the time spent on optimizing the query in

some many-table joins. (You are affected if not only some

particular SELECT is slow, but even using EXPLAIN for it takes a

noticeable amount of time.) Two new system variables,

optimizer_search_depth and optimizer_prune_level, can be used to

fine-tune optimizer behavior.

* Warning: Incompatible change! C API change: mysql_shutdown() now

requires a second argument. This is a source-level incompatibility

that affects how you compile client programs; it does not affect

the ability of compiled clients to communicate with older servers.

See section "mysql_shutdown()" in the manual.

* A stored procedure is no longer "global" - i.e. it now belongs to a

specific database:

* When a database is dropped, all routines belonging to that

database are also dropped.

* Procedure names may be qualified, e.g. `db.p()'

* When executed from another database an implicit "use db" is

in effect.

* Explicit "use db" is no longer allowed in a stored procedure.

* Fixed SHOW TABLES output field name and values according to

standard. Field name changed from Type to table_type, values are

BASE TABLE, VIEW and ERROR. (Bug #4603)

* Added sql_updatable_view_key system variable.

* Added --replicate-same-server-id server option.

* Added Last_query_cost status variable that reports optimizer cost

for last compiled query.

* Added option --to-last-log to mysqlbinlog, for use in conjunction

with --read-from-remote-server.

* Added --innodb-safe-binlog server option, which adds consistency

guarantees between the content of InnoDB tables and the binary

log. See section "The Binary Log" in the manual.

* OPTIMIZE TABLE for InnoDB tables is now mapped to ALTER TABLE

instead of ANALYZE TABLE.

* sync_frm is now a settable global variable (not only a startup

option).

* For replication of MEMORY (HEAP) tables: Made the master

automatically write a DELETE FROM statement to its binary log when

a MEMORY table is opened for the first time since master's

startup. This is for the case where the slave has replicated a

non-empty MEMORY table, then the master is shut down and

restarted: the table is now empty on master; the DELETE FROM

empties it on slave too. Note that even with this fix, between the

master's restart and the first use of the table on master, the

slave still has out-of-date data in the table. But if you use the

--init-file option to populate the MEMORY table on the master at

startup, it ensures that the failing time interval is zero. (Bug

#2477)

* When a session having open temporary tables terminates, the

statement automatically written to the binary log is now DROP

TEMPORARY TABLE IF EXISTS instead of DROP TEMPORARY TABLE, for

more robustness.

* The MySQL server now returns an error if SET SQL_LOG_BIN is issued

by a user without the SUPER privilege (in previous versions it

just silently ignored the statement in this case).

* Changed that when the MySQL server has binary logging disabled

(that is, no log-bin option was used) then no transaction binlog

cache is allocated for connections (this should save

binlog_cache_size bytes of memory (32 kilobytes by default) for

every connection).

* Added the sync_binlog=N global variable and startup option, which

makes the MySQL server synchronize its binary log to disk

(fdatasync()) after every Nth write to the binary log.

* Changed the slave SQL thread to print less useless error messages

(no more message duplication; no more message when an error is

skipped (because of slave-skip-errors).

* DROP DATABASE IF EXISTS, DROP TABLE IF EXISTS, single-table DELETE

and single-table UPDATE are now written to the binary log even if

they changed nothing on the master (for example, even if the

DELETE matched no row). The old behavior sometimes caused bad

surprises in replication setups.

* Replication and mysqlbinlog now have better support for the case

that the session character set and collation variables are changed

within a given session. See section "Replication Features and Known

Problems" in the manual.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有