<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>ITPUB论坛 - MySQL及其它开源数据库</title>
    <link>http://www.itpub.net/forumdisplay.php?fid=73</link>
    <description>Latest 40 threads of MySQL及其它开源数据库</description>
    <copyright>Copyright(C) ITPUB论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 04 Jul 2009 11:47:24 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.itpub.net/images/logo.gif</url>
      <title>ITPUB论坛</title>
      <link>http://www.itpub.net/</link>
    </image>
    <item>
      <title>MySQL Sever 9.0?</title>
      <link>http://www.itpub.net/viewthread.php?tid=1186205</link>
      <description><![CDATA[search forge:  MySQL ForgeResources for the MySQL Community


&copy; 1995-2008 MySQL AB, 2008-2009 Sun Microsystems, Inc.]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>〇〇</author>
      <pubDate>Sat, 04 Jul 2009 08:15:57 +0000</pubDate>
    </item>
    <item>
      <title>对DOUBLEWRITE的疑问</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185956</link>
      <description><![CDATA[Doublewrite means that before writing pages to a data file, InnoDB first writes them to . Only after the write and the flush to the doublewrite buffer has completed does InnoDB write the pages to their proper positions in the data file. If the operat ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>kingsun555</author>
      <pubDate>Fri, 03 Jul 2009 08:03:24 +0000</pubDate>
    </item>
    <item>
      <title>linux下mysql 一主2从 多个数据库 复制配置成功数据don't'同步</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185924</link>
      <description><![CDATA[linux下mysql 一主2从 多个数据库 复制配置成功数据don't'同步
数据库, linux, mysql, don
linux下mysql   一主2从 同一个数据库 复制配置成功数据也能同步  
1现在的想法是   一主挂2个库（数据库ccxyaccount 数据库ccxydb ）  在my.cnf文件里配置这2个库   
主机器 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Fri, 03 Jul 2009 07:08:01 +0000</pubDate>
    </item>
    <item>
      <title>如何筛选数据</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185575</link>
      <description><![CDATA[id userid ranking ip 1 232 45 3434454 2 223 33 3434454 3 332 2 456664 4 4566 132 45467 5 3322 332 45467 6 5566 67 45467 我想要搜出 id userid ranking ip 1 232 33 3434454 3 332 2 456664 4 4566 67 45467 这样的结果应该如何操作？就是唯一IP上ranking高的显示出来]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>tomphp</author>
      <pubDate>Thu, 02 Jul 2009 14:40:31 +0000</pubDate>
    </item>
    <item>
      <title>mysql的索引能不能单独存储在不同的物理磁盘上啊？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185546</link>
      <description><![CDATA[索引能不能单独存储在不同的物理磁盘上啊？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>etu_sage</author>
      <pubDate>Thu, 02 Jul 2009 13:05:42 +0000</pubDate>
    </item>
    <item>
      <title>mysql集群</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185504</link>
      <description><![CDATA[mysql集群的表分段后 是怎么分别到各个数据节点的啊？有经验的帮帮忙，qq 305749668谢谢了]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>xiaolongnvo_cu</author>
      <pubDate>Thu, 02 Jul 2009 09:45:15 +0000</pubDate>
    </item>
    <item>
      <title>帮我看看这个查询为何缓慢！</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185466</link>
      <description><![CDATA[# Query_time: 8  Lock_time: 0  Rows_sent: 1  Rows_examined: 592

SELECT COUNT(*) 
FROM user_order use index (IDX_Fbuy_uid)   
WHERE 
Fbuy_uid='174526909'   AND Fcreate_time &gt;='20090201'   AND Fcreate_time]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>kingsun555</author>
      <pubDate>Thu, 02 Jul 2009 08:39:07 +0000</pubDate>
    </item>
    <item>
      <title>PostgreSQL 8.4 Released</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185089</link>
      <description><![CDATA[Posted on]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>iix</author>
      <pubDate>Wed, 01 Jul 2009 15:16:49 +0000</pubDate>
    </item>
    <item>
      <title>mysql  FK SQL statement</title>
      <link>http://www.itpub.net/viewthread.php?tid=1185015</link>
      <description><![CDATA[alter table OrderInfo
        add constraint FK3C0469F99FC6869
        foreign key (userID)
        references UserInfo;
FK3C0469F99FC6869 这个是外键]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Wed, 01 Jul 2009 11:59:24 +0000</pubDate>
    </item>
    <item>
      <title>mysql集群</title>
      <link>http://www.itpub.net/viewthread.php?tid=1184948</link>
      <description><![CDATA[要用mysql集群做个项目，哪位高手有经验啊？一起讨论讨论，帮帮忙qq 305749668]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>xiaolongnvoa</author>
      <pubDate>Wed, 01 Jul 2009 09:05:18 +0000</pubDate>
    </item>
    <item>
      <title>mysql 缓存问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1184666</link>
      <description><![CDATA[我有一SQL语句，重复执行两次才会被 缓存，这是什么原因引起的？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>lucash</author>
      <pubDate>Wed, 01 Jul 2009 02:08:35 +0000</pubDate>
    </item>
    <item>
      <title>查询及删除重复记录的方法</title>
      <link>http://www.itpub.net/viewthread.php?tid=1184244</link>
      <description><![CDATA[查询及删除重复记录的方法
(一)
1、查找表中多余的重复记录，重复记录是根据单个字段（peopleId）来判断
select * from people
where peopleId in (select  peopleId  from  people  group  by  peopleId  having  count(peopleId) &gt; 1)

2、删除表中多余的重复记 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Tue, 30 Jun 2009 05:58:58 +0000</pubDate>
    </item>
    <item>
      <title>怎么查看自增列的当前值？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1184147</link>
      <description><![CDATA[在Oracle的序列中通过select sequencename.currval from dual查看序列的当前值
类似的如何通过命令查看mysql表一个auto_increment column的当前值？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>xfyan</author>
      <pubDate>Tue, 30 Jun 2009 03:11:19 +0000</pubDate>
    </item>
    <item>
      <title>Mysql的读写分离真的能提高性能吗？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1184103</link>
      <description><![CDATA[在网上经常看到这样的文章，某某论坛压力太大，于是在后台把mysql服务器分离成两台A、B，A专门做写操作，再通过数据复制把数据写到B，读取数据都来自B

很疑惑，除了机器的性能强大和IO能获得一些好处（一台机变两台机）以外，真的能改进性能吗？B机器还照样要写（复制 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>tigerfish</author>
      <pubDate>Tue, 30 Jun 2009 02:12:56 +0000</pubDate>
    </item>
    <item>
      <title>多表更新</title>
      <link>http://www.itpub.net/viewthread.php?tid=1183813</link>
      <description><![CDATA[发现还其实可以直接就可以对多表更新
UPDATE a
SET a.t2 = b.t2
FROM x1 a, x2 b
WHERE a.t1 = b.t1

作一些试验：
x1表：
    t1    t2    f_id
    a    1
    b    2
    c    3
    a    4
    b    5
    c    6
x2表
    t1    t2    f_id
    a ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Mon, 29 Jun 2009 09:17:04 +0000</pubDate>
    </item>
    <item>
      <title>问个菜问题: 什么命令查看当前连接的用户名?</title>
      <link>http://www.itpub.net/viewthread.php?tid=1183306</link>
      <description><![CDATA[刚开始用mysql,以前用oracle,有很多东西都不懂, 查了半天居然没找到这个命令.
 就是类似 oracle 下 show user; 显示当前连接的用户名称.

  谢谢了!

  以后要常来这里讨教了!感谢大家先!
:rose: :rose: :rose:]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>david2000</author>
      <pubDate>Sun, 28 Jun 2009 04:36:51 +0000</pubDate>
    </item>
    <item>
      <title>一个库能被本地和b机器访问， 但a机器的其他库还是能被其他机器正常访问</title>
      <link>http://www.itpub.net/viewthread.php?tid=1182736</link>
      <description><![CDATA[当前应用如下 ： 
a 机器（mysql有很多的库，其中哦一个库oddsdb 
目前java应用要求只能库oddsdb被 本地和b机器访问， 但a机器的其他库还是能被其他机器正常访问） 
如何做才能限制oddssdb访问，其它库还是需要能够连接的。（什么命令）]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Fri, 26 Jun 2009 07:23:54 +0000</pubDate>
    </item>
    <item>
      <title>3台机器mysql数据同步失败</title>
      <link>http://www.itpub.net/viewthread.php?tid=1182283</link>
      <description><![CDATA[已经成功2台mysql 复制（双向同步）。 现在马上搞3台机器 
基本想法如下 
a （2个库ccxyaccount,ccxydb） 
b（1个库  ccxyaccount） 
c  （1个库 ccxydb） 
为了简化难度，现在仅仅要求a b之间数据同步，  c只要求实实时去取a更新的数据就可以拉 
a的my.cnf如下   ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Thu, 25 Jun 2009 12:14:45 +0000</pubDate>
    </item>
    <item>
      <title>在存储过程中查某个表是否存在怎么会错误呢</title>
      <link>http://www.itpub.net/viewthread.php?tid=1182068</link>
      <description><![CDATA[。。。。。。。
      select @vs_tab_temp; 
      select count(1) into @vi_count 
        from information_schema.tables
        WHERE table_schema = 'stat'
	  and table_name = @vs_tab_temp; 
      select @vi_count;
   。。。。。。。。。。。。 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>prt</author>
      <pubDate>Thu, 25 Jun 2009 06:01:11 +0000</pubDate>
    </item>
    <item>
      <title>mysql  查询一个字段不是数字开头 如何写</title>
      <link>http://www.itpub.net/viewthread.php?tid=1182058</link>
      <description><![CDATA[我写的正则表达式 失败
select  * from a  where a like '%'
只能得到空记录 
不能把字符开头的记录选择出来]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Thu, 25 Jun 2009 05:50:23 +0000</pubDate>
    </item>
    <item>
      <title>为什么mysql装完后 一定要初始化</title>
      <link>http://www.itpub.net/viewthread.php?tid=1181898</link>
      <description><![CDATA[为什么mysql装完后 一定要初始化
2／etc/init.d/mysqld restart
这个命令可以被其他命令替换？  ／etc/rc.d/init.d/mysqld restart （他和／etc/init.d/mysqld restart 有什么区别）
另外service mysql restart 和他们又有什么区别拉？

(
configure the etc/init ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Thu, 25 Jun 2009 01:27:30 +0000</pubDate>
    </item>
    <item>
      <title>如何在mysql加上一个约束</title>
      <link>http://www.itpub.net/viewthread.php?tid=1181716</link>
      <description><![CDATA[现在有一个表
id         pid
1         1
2          1
3         null
4         2
。。。。。。
这里pid只能是id的值或者为空

如何在mysql用约束实现   （oracle sqlserver 是比较简单实现的 ）]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Wed, 24 Jun 2009 11:02:12 +0000</pubDate>
    </item>
    <item>
      <title>date的值加上2小时，  这个语句不知道如何写</title>
      <link>http://www.itpub.net/viewthread.php?tid=1181699</link>
      <description><![CDATA[表结构a 
id int 
startdate datetime 
endtdate  datetime 

如何在当新修改的startdate 大于  老的enddate的时候， 
让enddate的值加上2小时，  这个语句不知道如何写 
？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Wed, 24 Jun 2009 09:44:00 +0000</pubDate>
    </item>
    <item>
      <title>极度不解mysql触发器问题？？？？？？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1181559</link>
      <description><![CDATA[触发器在oracle下没有任何问题，现在改为mysql的，发现2个非常古怪的问题：
1. 查表居然4个字段查不出来值，其它没有问题
2.insert另外一张表，指定了值居然也插入不了，还是那4个字段。
付上触发器代码：红色为问题地方
CREATE TRIGGER `Trig_WorkItem_AfterInsert ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>shuayang</author>
      <pubDate>Wed, 24 Jun 2009 06:40:16 +0000</pubDate>
    </item>
    <item>
      <title>安装是不成功的  如何解决这个问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180780</link>
      <description><![CDATA[集群（版本为 mysql cluster7）安装了

MySQL-Cluster-gpl-tools-7.0.5-0.rhel5.i386.rpm
MySQL-Cluster-gpl-server-7.0.5-0.rhel5.i386.rpm
。。。。。

现在要卸载所有mysql ， 重新安装mysql5.0.45版本
我用了yum 等删除方法 但是现在安装mysql5.0.45总感到有 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Tue, 23 Jun 2009 11:14:02 +0000</pubDate>
    </item>
    <item>
      <title>如何理解MYSQL5.1文档中的一句话（索引）</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180758</link>
      <description><![CDATA[15.2.13    在INNODB中，非集束索引里的记录（也称第二索引）包含对行的主键值。
 非集束索引及数据到底是怎么保存的，不都是B树么？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>dimen007</author>
      <pubDate>Tue, 23 Jun 2009 09:58:14 +0000</pubDate>
    </item>
    <item>
      <title>关于show master status</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180735</link>
      <description><![CDATA[在mysql的主从复制中 ，通过命令show  master status，可以查看master数据库当前正在使用的二进制日志及当前执行二进制日志位置

请教下各位，show master status命令给出的信息在数据库的什么地方存放呢？应该是在information_schema中存储吧，可是找了一通也没有找到 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>feiyuzhuanshen</author>
      <pubDate>Tue, 23 Jun 2009 09:26:55 +0000</pubDate>
    </item>
    <item>
      <title>安装myslq5.0.45 选择哪一个</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180635</link>
      <description><![CDATA[安装mysql 的rpm版本 我印象较深，应该安装服务器版本呢和客户端版本同时的。
但是系统管理员仅仅提供如下安装包选择，
不知道究竟选择哪一个才好？
mysql-5.0.45-7.el5.i386.rpm 14-Jun-2008 23:36  4.1M 
 mysql-bench-5.0.45-7.el5.i386.rpm 14-Jun-2008 23:36   ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Tue, 23 Jun 2009 06:40:40 +0000</pubDate>
    </item>
    <item>
      <title>mysql 触发器里加入限制条件</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180571</link>
      <description><![CDATA[现在想加入一个判断条件，
判断一个数据库a.a是否存在（本触发器是跨库操作）
不知道如何写。

create trigger...

if ??

end ;]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Tue, 23 Jun 2009 05:05:16 +0000</pubDate>
    </item>
    <item>
      <title>mysql udf的问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180440</link>
      <description><![CDATA[在Windows上安装的mysql二进制版本，现在要开发一个自己的函数在mysql里面使用，因此下载了mysql的源码编译得到了一个dll，在mysql数据库里面使用create function命令创建一个新的函数，但是总是报错找不到我得到的dll。看了网上的一些帖子，我把这个dll放在C:\windows\ ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>wangfugen</author>
      <pubDate>Tue, 23 Jun 2009 01:42:00 +0000</pubDate>
    </item>
    <item>
      <title>Mysql同步，从库出现的SQL不完整错误</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180334</link>
      <description><![CDATA[一个主库，两个从库，其中一个从库出现这样一个错误，'delete from user where uid = 56345345 and linkd_' ，这条SQL语句不完整，但是另一台从库就没有出现这个问题，在主库中查询日志，找出这条SQL语句的完整语句是：delete from user where uid = 56345345 and linkd ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>weather_ok</author>
      <pubDate>Mon, 22 Jun 2009 16:11:32 +0000</pubDate>
    </item>
    <item>
      <title>做Linux下My SQL DBA的人多吗？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180206</link>
      <description><![CDATA[据说My SQL 是最近五年发展最快的数据库，不知道是这样吗？
如果有朋友是在做My SQL 数据库管理员，熟悉Linux操作系统，有两三年工作经验的请和我联系， 我有家客户最近在招My SQL 管理员的职位，公司在上海市人民广场，办公环境好，公司发展前景好，有升迁机会。
有合 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>careercon</author>
      <pubDate>Mon, 22 Jun 2009 09:16:46 +0000</pubDate>
    </item>
    <item>
      <title>一条复杂sql语句的书写</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180185</link>
      <description><![CDATA[mysql&gt; select * from test;
+------+------+------+---------------------+
| a    | b    | c    | d                   |
+------+------+------+---------------------+
|    1 |    1 |    1 | 2009-06-22 15:04:55 |
|    1 |    1 |    2 | 2009-06-22 15:0 .]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>carcase</author>
      <pubDate>Mon, 22 Jun 2009 08:42:36 +0000</pubDate>
    </item>
    <item>
      <title>关于mysql游标问题，急急急！！！</title>
      <link>http://www.itpub.net/viewthread.php?tid=1180101</link>
      <description><![CDATA[我写了一个存储过程，发现查询出的数据和插入的数据不一致，查询出2条记录，但是插入了36条记录，应该插入24条记录才对，请高手给解答一下，那里写错了。谢谢了！！

BEGIN

  DECLARE notFoundRecord int default 0;  
  -- ID 
  DECLARE p_id CHAR(32);  
  - ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>zgl81929</author>
      <pubDate>Mon, 22 Jun 2009 06:55:26 +0000</pubDate>
    </item>
    <item>
      <title>Grow that DBA Career一文 读后感</title>
      <link>http://www.itpub.net/viewthread.php?tid=1179882</link>
      <description><![CDATA[原文地址:]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>yangward</author>
      <pubDate>Sun, 21 Jun 2009 18:22:03 +0000</pubDate>
    </item>
    <item>
      <title>提供PostgreSQL的实现原理与源代码结构的高级培训</title>
      <link>http://www.itpub.net/viewthread.php?tid=1179550</link>
      <description><![CDATA[培训内容

    全面系统地阐述PostgreSQL的实现原理与源代码结构，包括词法分析、语法分析、物理存储、并发控制、恢复等特性。同时介绍如何修改数据库的代码，在数据库中添加新的特性，如何使用PostgreSQL的自动测试功能来测试新添加的特性。

    学完本课程，学员 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>snail_aaa</author>
      <pubDate>Sat, 20 Jun 2009 02:56:53 +0000</pubDate>
    </item>
    <item>
      <title>单表4000W记录创建索引</title>
      <link>http://www.itpub.net/viewthread.php?tid=1179531</link>
      <description><![CDATA[我现在有一个表，4000W条记录，存储引擎是MyISAM文件大小1.5G，现在要对这个表创建一个索引，在系统最闲的时候操作，但是这时候仍然有30W用户在线，要怎么做才能降低对用户的影响，并且更快创建完？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>weather_ok</author>
      <pubDate>Sat, 20 Jun 2009 01:15:39 +0000</pubDate>
    </item>
    <item>
      <title>MYsql  不能跨数据库</title>
      <link>http://www.itpub.net/viewthread.php?tid=1179281</link>
      <description><![CDATA[现有同台机器两个mysql数据库 test 和content。
在test数据库的2个表做触发器是正常的哦。但是现在要求
做到对test数据库的a表插入数据， content数据库对应的a表也应该 插入对应数据。
我的触发器如下：
create trigger tr_tt  before insert on a
for each row  ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liyihongcug</author>
      <pubDate>Fri, 19 Jun 2009 05:15:53 +0000</pubDate>
    </item>
    <item>
      <title>（讨论）有关临时授权的问题。</title>
      <link>http://www.itpub.net/viewthread.php?tid=1179140</link>
      <description><![CDATA[现在遇到了如下的问题：
      在设计权限的时候，遇到了用户可以临时授予某人一些权限，例如一本书的编辑，可以创建者A可以进行编辑，但是A也可以临时授权给别人B编辑，而且每个人都有不同的编辑权限，而且每当B点击完成编辑的时候，权限删除，B就不能再对这本书进行编 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>dimen007</author>
      <pubDate>Fri, 19 Jun 2009 01:58:56 +0000</pubDate>
    </item>
    <item>
      <title>mysql 如何察看数据库空间及日志空间使用情况</title>
      <link>http://www.itpub.net/viewthread.php?tid=1178841</link>
      <description><![CDATA[如题，谢谢]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>zxyding</author>
      <pubDate>Thu, 18 Jun 2009 08:36:10 +0000</pubDate>
    </item>
  </channel>
</rss>