MySQL
共 7 篇文章
Web开发必知的八种隔离级别
ACID性质是数据库理论中的奠基石,它定义了一个理论上可靠数据库所必须具备的四个性质:原子性,一致性,隔离性和持久性。虽然这四个性质都很重 要,但是隔离性最为灵活。大部分数据库都提供了一些可供选择的隔离级别,且现在许多库都增加了附加层来创建颗粒度更细的隔离。隔离级别应用范围如此之广主 要是因为放宽隔离约束往往会使得可扩展性和性能提高几个数量级。 相关厂商 内容 使用发布管理器追踪应用 淘宝启动免费Hosting服务(附Hosting部署帮助文档) 淘宝开放平台开发者聚会——广州、深圳站开始报名 Taobao Open Platform“兵器谱”:TOP架构组件体系介绍 案例:电子商务时代的开…
2009-11-18 09:23 · MySQL · 应用服务器 · 浏览器 · 电子商务 · 编程 · Web
MYSQL INNODB 数据库恢复
昨天遇到个很郁闷的问题,mysql莫名其妙崩溃了。 启动的时候报错,然后就time out了。 把里面的数据表格都拷贝出来,然后拷贝ibdata1,再把数据库export出来。 //============================================================= MySQL的数据库文件直接复制便可以使用,但是那是指“MyISAM”类型的表。 而使用MySQL-Front直接创建表,默认是“InnoDB”类型,这种类型的一个表在磁盘上只对应一个“*.frm”文件,不像MyISAM那样还“*.MYD,*.MYI”文件。 MyISAM类型的表直接拷到另一个…
2009-10-31 14:01 · MySQL · Windows · MySQL · Access
数据库表格的命名方式
无聊了,说个无聊的问题: 数据库的表格名该命名为TheDatabaseName还是the_database_name的方式呢? 按照java的惯例,一般都是首字母大写,这在windows的环境下是没有问题的,但是mysql在linux环境下,mysqldump出来的ddl都是小写的,此时再倒入数据库中,一些大写的表就不认了,所以最好还是采用第二种的命名方式。
2009-02-18 10:17 · MySQL · Windows · MySQL · Linux
Mysql Monitor Agent setup
2.4.4. Installing the Monitor Agent on Unix As a prerequisite for installing the MySQL Enterprise Monitor Agent on Linux systems you must have the Linux Standards Base (LSB) initialization functions installed. To install the agent navigate to the directory that contains the file, mysqlmonitoragent-…
2009-02-10 13:37 · MySQL · Socket · Unix · MySQL · Tomcat · Linux
Mysql Service Manager setup on linux
2.2.4. Service Manager Installation on Unix To install the Service Manager find the file named mysqlmonitor- version -installer.bin (where version indicates the version number, the OS, and the architecture ). Ensure that this file is executable by typing: shell> chmod +x mysqlmonitor- version -inst…
2009-02-10 12:53 · MySQL · OS · Unix · MySQL · Tomcat · Linux
MySQL监控方法
https://enterprise.mysql.com/monitoring/download.php Getting Started Here's how to get started if you have not previously installed the MySQL Enterprise Monitor: 1. Download and read the README, Getting Started Guide, and product Documentation using the links on the left. 2. Download and install a …
2009-02-04 11:12 · MySQL · Socket · PHP · Unix · MySQL · Access
Mysql autoReconnect 的问题
MySQL官方不推荐使用autoReconnect=true,参见 http://bugs.mysql.com/bug.php?id=5020 需要另外找别的办法来解决超过8小时,链接断开的问题。 由于问题产生的根本原因在于服务到数据库的连接长时间没活动,既然重新连接的办法无效,就可以尝试另外一种办法,就是反空闲。 自己写一个线程来反空闲的话,比较麻烦。 最后在网上找到一个办法。为hibernate配置连接池,推荐用c3p0,然后配置c3p0的反空闲设置idle_test_period,只要小于MySQL的wait timeout即可。 在hibernate.cfg.xml中增加下面几项: …
2009-02-02 11:01 · MySQL · SQL Server · PHP · JDBC · MySQL · Hibernate