d********r 发帖数: 199 | 1 我的表都是 InnoDB的,因为需 要 transaction.
可是InnoDB的表不支持 full text index.
有什么办法吗?
难道把需要full text index的几个字段单独抽取出来做成 MyISAM 表?
这是一个好主意吗? |
|
b****r 发帖数: 113 | 2 mysql version 4.0.20a, on winxp. Innodb type table.
I use "alter table tbl_name drop col_name" to drop a column,
but it failed twice.
From the dos window on XP, the comman "alter table" hang on there for ever.
After reboot the machine, the column is still there,
and data in this column are still fine.
The table has about 20 million rolls. Is the size a prolbem?
Thanks for any help. |
|
m***b 发帖数: 265 | 3 mysql innodb : 目前 datafiles 是在一个文件里( ibdata1) ,如何将目
前的表转换为 one file per table 的文件格式 ? |
|
c**t 发帖数: 2744 | 4 [OK] Currently running supported MySQL version 5.6.30
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -----------------------------------------
------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM
+MyISAM +PERFORMANCE_SCHEMA
[--] Data in MyISAM tables: 170K (Tables: 17)
[--] Data in InnoDB tables: 28M (Tables: 107)
[!!] Total fragmented tables: 5
-------- Security Recommendations ------------------------------------------
... 阅读全帖 |
|
b**********7 发帖数: 389 | 5 按着mysql.com里的方法在my.ini文件中的[mysqld]下边加了innodb=ON,保存文件,重
启服务器, MySQL还是不能启动,同样错误。
直觉MySQL现在因为那里出了问题,所以innodb总是自动在启动时被禁用了,但是数据
库里的很多table都是innodb类型的,所以程序无法辨认,最后报错退出。 |
|
y*****g 发帖数: 677 | 6 你不是说的是Monte 吧,我不看好他;搞了myisam, 做嫁衣;现在绝大部分缺省是
INNODB,其他的还真是辅助。
还有mariaDB, 有了INNODB, 其它类似的就不需要了。oracle 很有眼光,在收购MySQL
之前,就收买了INNODB。 |
|
j****g 发帖数: 17 | 7 7月底阿里巴巴集团CTO Jianfeng Zhang会带领技术团队奔赴美国西雅图和硅谷做技术
分享和招聘,欢迎各位同胞们联系我
以下职位期望Master 毕业5年,PhD毕业3年以及以上,具体情况可以case by case!
工程业务团队 资深岗位 关键词
会员平台 资深产品专家 海外经历、用户产品
技术质量 资深测试架构师 技术质量、软件测试、测试框架
技术质量 资深工程效能专家 工程效能、内部协同、效率提升
创新业务&评价 资深技术专家 信用评价、业务架构
数据服务 资深算法专家 推荐系统、广告系统、机器学习,VR等
数据服务 资深数据科学家 NLP、知识图谱等
数据服务 资深数据产品专家 大数据、国际化
营销平台 资深营销交易产品专家 全球化、产品规划
营销平台 资深架构师 电商架构、分布式业务架构
结算&支付平台 资深支付域... 阅读全帖 |
|
D*******I 发帖数: 29 | 8 do you need to perform full text search? if so ... you can only use myisam
storage engine, but this is not as good as innoDB (which does not support full
text search ) .
I think maybe, you can use innodb to do storage , but use another third party
package to do the full text search. |
|
j**n 发帖数: 54 | 9 thanks. I am using InnoDB right now, because of this, seems I need to change
to MyiSam.
The index file is the same as data file, for MyiSam, rebuild the index or
optimize the table both shrink the files a lot, but no effect on InnoDB
files. |
|
M*****r 发帖数: 1536 | 10 My 2 cents:
SQL Server: Windows only, Windows only, and Windows only
For mysql, the architecture is different. You can plug-in different database
engine to it.
Usually, people are talking about innodb or myisam databases engines.
selling points are: fast/compact/cross-platform/easy to manage (??)/plug-in
architecture.
The replication and database clustering are really easy to setup (but with
major limitations...).
innodb's design is heavliy influenced by Oracle, and it has been bought by
Oracle. |
|
M*****r 发帖数: 1536 | 11 我也记得PostgreSQL 一直有MVCC for ACID的
另外,MySQL本质上只是个中间件,后面可以plugin各种database engine,它的ACID的
实现也依赖于后面的database engine.当年起家是靠MyISAM,没有transaction的。
InnoDB is owned by Oracle since 2005
http://www.innodb.com/company/ |
|
I******e 发帖数: 101 | 12 Good answer :)
Why did Oracle spend 10M on InnoDB in 2005? Why did Mysql try to bid with
Oracle and failed later? Why Mysql started falcon and is going nowhere?
I can list top world sites running InnoDB: Google, Wikipedia, Ticketmaster,
almost all startups(facebook, linkin) ...
I once talked with Postgres people and remember their replication under MVCC
totally does not work in 2007. Maybe it is just one version of Postgres :) |
|
v***e 发帖数: 2108 | 13 this does not make sense to me. Now mysql/innodb belongs to Oracle,
it could be a weapon against mssql much more powerful than
any existent Oracle products, isn't enough to keep it?
the business decision is not as simple as you thought.
if your logic holds, the innoDB would have been killed long time ago. |
|
x*******6 发帖数: 262 | 14 应该是innodb,不过这和查询有关么?innodb是支持外键和rollback吧?昨天把field
设了个index,但是没有明显加速。两个可能都有cache,开机第一次查询都耗时比较久
,之后就快多了 |
|
b**********7 发帖数: 389 | 15 今天早上我在公司里的一台服务器运行MATLAB的程序和MySQL的程序,IT里的一个白痴
在服务器上装了个程序,不管其他人还在用着,直接就把服务器重启了。等我重新登录
进我的账户后,再运行MYSQL,就怎么也启动不了。 错误消息是: Can not connect
to the MySQL server 'localhost'(10061)
查了一下windows的service发现MySQL没有启动,我试着手动去启动它,总是错误消息
:Can not start the MySQL service on local computer. Error 1067 The service
terminated unexpectedly.
我看了下MySQL的错误日记,发现两个plugin被禁用了。
100812 14:14:52 [Note] Plugin 'InnoDB' is disabled.
100812 14:14:52 [Note] Plugin 'FEDERATED' is disabled.
100812 14:14:52 [ERROR] Unknown/unsupporte |
|
r*******3 发帖数: 35 | 16 Ask.com, Oakland, CA
Test and Quality Engineer
Summary
Ask.com is looking for a Test and Quality Engineer who is technically
skilled and passionate about testing. The candidate will work side-by-side
with the Development and Release Engineering teams in a fast-paced, Agile/
SCRUM environment. This position must use their knowledge of QA best
practices and methods along with their scripting experience to ensure
quality throughout the site and maintain and extend Ask’s testing framework
including... 阅读全帖 |
|
f***s 发帖数: 112 | 17 对于跨region丢包的问题的确是不可逾越的瓶颈,除了不断retry还真没啥主意。
http://www.quora.com/Dropbox/What-is-Dropboxs-architecture
其实设计方案也不是我的,从drobpox的talk上面抄来改了下,把后台从mysql
horizontal partition 改成了key value系统,仅仅把mysql 底层的innodb 做文件系
统(Facebook抄过来)用primary key和consistent hashing分区和ring management(
从dynamo抄过来)来处理scalability,当不同region出现conflict,用google
spanner处理.
需要解释的是文件业务系统当然是欧洲和美国分开的,但是meta server还是要同步的
,能想到的就是amazon s3中的dual head link list,每一个在欧洲的文件有一个指向
美国本地的pointer,后台有event机制推送同步,当然是eventual consistency. |
|
发帖数: 1 | 18 【 以下文字转载自 Returnee 讨论区 】
发信人: jason2016 (), 信区: Returnee
标 题: [转]腾讯云计算全球华人求贤
发信站: BBS 未名空间站 (Mon Jul 25 03:11:38 2016, 美东)
以下为重要紧急职位期望Master 毕业5年,PhD毕业3年以及以上,具体情况可以case
by case!
资深岗位 关键词
分布式存储研发专家 块存储、冷数据存储、数据库存储,集群存储
虚拟网络研发专家 Linux下的网络、SDN、Overlay网络设计
云业务系统运维专家 虚拟化、云计算容器,微服务(mangodb/redis/cassandra)
nosql存储
网络运维专家 机房网络、VPC、负载均衡、trouble shooting
资深研发架构师 网络安全、存储系统开发、虚拟化技术、移动应用等技
术经验优先
资深数据库专家 Mysql/MongoDB/PostgreSql/I... 阅读全帖 |
|
发帖数: 1 | 19 【 以下文字转载自 Returnee 讨论区 】
发信人: jason2016 (), 信区: Returnee
标 题: [转]Alibaba全球招华人技术牛人!!!
发信站: BBS 未名空间站 (Mon Jul 25 03:10:51 2016, 美东)
7月底阿里巴巴集团CTO Jianfeng Zhang会带领技术团队奔赴美国西雅图和硅谷做技术
分享和招聘,欢迎各位同胞们联系我
以下为重要紧急职位期望Master 毕业5年,PhD毕业3年以及以上,具体情况可以case
by case!
工程业务团队 资深岗位 关键词
会员平台 资深产品专家 海外经历、用户产品
技术质量 资深测试架构师 技术质量、软件测试、测试
框架
技术质量 资深工程效能专家 工程效能、内部协同、效率提升
创新业务&评价 资深技术专家 信用评... 阅读全帖 |
|
k******a 发帖数: 44 | 20 这个要求是一个大量读,很少写的案例。
对于并发这么高的要求,10000 qps + 10ms latency, 那么一定得上partition/shard。
我觉得按照dynamo的思路,用consistent hashing做key的partition, 每个node用
Redis + Mysql Engine.
然后可以开始扯consistent hashing, gossip, redis, innodb.
对于key, 根据consistent hashing选择对应node, 再node内,查redis或mysql engine
。redis本身很快,10K qps也可以,但是如果不在redis,mysql engine不会很快。假
定每个shard支持1K qps, 那么需要10个shard. 每个shard有3个node, 每个node支持
333 qps。利用virtual node, 分布30个node到10台服务器。
利用gossip广播membership状态和key space分布。 |
|
N*****8 发帖数: 253 | 21 【 以下文字转载自 Returnee 讨论区 】
发信人: Nicam08 (Nicam), 信区: Returnee
标 题: [转] 阿里巴巴招聘
发信站: BBS 未名空间站 (Wed Nov 23 13:57:21 2016, 美东)
Alibaba全球找华人技术牛人!!!
11月底阿里巴巴集团基础架构事业群VP会带领技术团队奔赴美国硅谷做技术招聘,欢迎
各位同胞们联系我
以下重要紧急职位必要要求:PHD毕业至少3年,Master毕业至少五年以上工作经验,年
龄在70-85年出生为佳
我的联系邮a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="aa4e09109b929c9b9c9899999b9c99ea9b9c9984c9c5c7">[email protected]/* */ 微信:18616233163 QQ:2095226802
Base:杭州/硅谷圣马特奥职位
基础架构事业群-资深专家-kernel OS kernel,filesys... 阅读全帖 |
|
发帖数: 1 | 22 Alibaba全球找华人技术牛人!!!
11月底阿里巴巴集团基础架构事业群VP会带领技术团队奔赴美国硅谷做技术招聘,欢迎
各位同胞们联系我
以下重要紧急职位必要要求:PHD毕业至少3年,Master毕业至少五年以上工作经验,年
龄在70-85年出生为佳
我的联系邮a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="92763128a3aaa4a3a4a0a1a1a3a4a1d2a3a4a1bcf1fdff">[email protected]/* */ 微信:18616233163 QQ:2095226802
Base:杭州/硅谷圣马特奥职位(越资深越好)
基础架构事业群-资深网络研发专家 网络研发,网络管理,网络工具,系统
软件开发,分布式系统, SDN
基础架构事业群-Machine Learning资深专家 IDC智能运维、Data Scientist、
Machine Learning、PUE
基础架构事业群-资深平台业务架构师 IDC智... 阅读全帖 |
|
j****g 发帖数: 17 | 23 职位期望Master 毕业5年,PhD毕业3年以及以上,具体情况可以case by case!
资深岗位 关键词
分布式存储研发专家 块存储、冷数据存储、数据库存储,集群存储
虚拟网络研发专家 Linux下的网络、SDN、Overlay网络设计
云业务系统运维专家 虚拟化、云计算容器,微服务(mangodb/redis/cassandra)
nosql存储
网络运维专家 机房网络、VPC、负载均衡、trouble shooting
资深研发架构师 网络安全、存储系统开发、虚拟化技术、移动应用等技
术经验优先
资深数据库专家 Mysql/MongoDB/PostgreSql/InnoDB/NoSql/DynamoDB/
AWS-S3
资深分布式存储专家 MangoDB/Redis/Cassandra等nosql存储
资深大数据工程专家 Spark/Flink/Hadoop/Yarn/Hive/Storm、开源、实时... 阅读全帖 |
|
发帖数: 1 | 24 7月底阿里巴巴集团CTO Jianfeng Zhang会带领技术团队奔赴美国西雅图和硅谷做技术
分享和招聘,欢迎各位同胞们联系我
以下为重要紧急职位期望Master 毕业5年,PhD毕业3年以及以上,具体情况可以case
by case!
工程业务团队 资深岗位 关键词
会员平台 资深产品专家 海外经历、用户产品
技术质量 资深测试架构师 技术质量、软件测试、测试
框架
技术质量 资深工程效能专家 工程效能、内部协同、效率提升
创新业务&评价 资深技术专家 信用评价、业务架构
数据服务 资深算法专家 推荐系统、广告系统、机
器学习,VR等
数据服务 资深数据科学家 NLP、知识图谱等
数据服务 ... 阅读全帖 |
|
发帖数: 1 | 25 以下为重要紧急职位期望Master 毕业5年,PhD毕业3年以及以上,具体情况可以case
by case!
资深岗位 关键词
分布式存储研发专家 块存储、冷数据存储、数据库存储,集群存储
虚拟网络研发专家 Linux下的网络、SDN、Overlay网络设计
云业务系统运维专家 虚拟化、云计算容器,微服务(mangodb/redis/cassandra)
nosql存储
网络运维专家 机房网络、VPC、负载均衡、trouble shooting
资深研发架构师 网络安全、存储系统开发、虚拟化技术、移动应用等技
术经验优先
资深数据库专家 Mysql/MongoDB/PostgreSql/InnoDB/NoSql/DynamoDB/
AWS-S3
资深分布式存储专家 MangoDB/Redis/Cassandra等nosql存储
资深大数据工程专家 Spark/Flink/Hadoop/Yarn/Hive/Stor... 阅读全帖 |
|
b**********7 发帖数: 389 | 26 今天早上我在公司里的一台服务器运行MATLAB的程序和MySQL的程序,IT里的一个白痴
在服务器上装了个程序,不管其他人还在用着,直接就把服务器重启了。等我重新登录
进我的账户后,再运行MYSQL,就怎么也启动不了。 错误消息是: Can not connect
to the MySQL server 'localhost'(10061)
查了一下windows的service发现MySQL没有启动,我试着手动去启动它,总是错误消息
:Can not start the MySQL service on local computer. Error 1067 The service
terminated unexpectedly.
我看了下MySQL的错误日记,发现两个plugin被禁用了。
100812 14:14:52 [Note] Plugin 'InnoDB' is disabled.
100812 14:14:52 [Note] Plugin 'FEDERATED' is disabled.
100812 14:14:52 [ERROR] Unknown/unsupporte |
|
|
d*2 发帖数: 2053 | 28 innodb和oracle比较接近(一直是oracle在做),但是作为专门的dba,各个RDBMS的差别
还是非常大的。 |
|
d********g 发帖数: 10550 | 29 小菜一碟。nginx/cherokee + django都行
mysql关innodb会比较快 |
|
d********g 发帖数: 10550 | 30 不刷就是靠optware吧,限制比较大,kernel也比较老
跑wp肯定没有问题。之前神座我不是还跑过discuz的吗
apache和mysql都是吃内存的。apache换nginx或者cherokee,挂php-fpm来跑,同时
mysql关掉innodb,这样就没问题。swap要开。肯定是比服务器慢些,简单用用够了 |
|
n********a 发帖数: 68 | 31 As of MySQL4.0, InnoDB supports transaction.
job. |
|
s***e 发帖数: 284 | 32 try a small table first. if it works, it's size problem |
|
b****r 发帖数: 113 | 33 I create a new table to test it, and the command "alter table .. drop column"
works.
So this is a size problem.
Any idea about how to deal with this?
ever. |
|
b****r 发帖数: 113 | 34 I create a new table to test it, and the command "alter table .. drop column"
works.
So this is a size problem.
Any idea about how to deal with this?
ever. |
|
s***e 发帖数: 284 | 35 create a new table without the column you try to delete
then copy all data to new table and delete the old table |
|
D*******I 发帖数: 29 | 36
this is a very big fourm :D
this is maybe, depend on design
速度可定是linux快
most of the times
innodb table, that is what slashdot used, your 20,000 user can't even match
their 10%
the draw back about mysql is:
1. database administrator tools is too light, talking about backup and DR
plans.
2. index, is poor, during a select only ONE index will be used
3. fulltext search in some storage engine is a problem |
|
I******e 发帖数: 101 | 37 Almost that. Are you using InnoDB or MyISAM? A simple way is to use
mysqldump to dump everything a file and re-load the database. MySQL does
not have online re-organization ability.
BTW, do you have a lot of indexes? |
|
I******e 发帖数: 101 | 38 In general, InnoDB is much better than MyISAM. If you can tolerate the
downtime, you can do the process periodically.
How large is your data now? |
|
I******e 发帖数: 101 | 39 Create an InnoDB table with your ID as the primary key. Then, you do not
need another index. Is this what you want? |
|
ET 发帖数: 10701 | 40 CREATE TABLE model_by_res (
res_id SMALLINT UNSIGNED NOT NULL,
model_id TINYINT UNSIGNED NOT NULL,
PRIMARY KEY (res_id, model_id),
CONSTRAINT fk_model_by_res_res FOREIGN KEY (res_id) REFERENCES resistor (
res_id) ON DELETE RESTRICT ON UPDATE CASCADE,
CONSTRAINT fk_model_by_res_model FOREIGN KEY (model_id) REFERENCES res_
model (model_id) ON DELETE RESTRICT ON UPDATE CASCADE
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
dont' know why yah? |
|
I******e 发帖数: 101 | 41 Any reason not using InnoDB tables? |
|
I******e 发帖数: 101 | 42 You can goto mysql documentation for new features in each release. New
features in mysql does not seem to be stable.
Row level locking is available in mysql-4 innodb engine, and it is rocking
solid. |
|
I******e 发帖数: 101 | 43 The key is InnoDB. It is a multi-versioned transaction engine. In
performance and reliability for < 4 core
machines, it is almost the same Oracle's transaction system.
PostgresSQL is only adding multi-versioning very recently and is still not
in good shape.
by- |
|
I******e 发帖数: 101 | 44 If you want to meet geeks around MySQL, you should study InnoDB code and
then you know whom you should talk to :) |
|
v***e 发帖数: 2108 | 45 I really doubt it would happen. MySQL does not compete directly with Oracle
RDBMS in some sense, it competes more with MS SQL.
After mysql's reunion with InnoDB in Oracle,
it could be a better weapon against mssql. |
|
|
b**********7 发帖数: 389 | 47 今天早上我在公司里的一台服务器运行MATLAB的程序和MySQL的程序,IT里的一个白痴
在服务器上装了个程序,不管其他人还在用着,直接就把服务器重启了。等我重新登录
进我的账户后,再运行MYSQL,就怎么也启动不了。 错误消息是: Can not connect
to the MySQL server 'localhost'(10061)
查了一下windows的service发现MySQL没有启动,我试着手动去启动它,总是错误消息
:Can not start the MySQL service on local computer. Error 1067 The service
terminated unexpectedly.
我看了下MySQL的错误日记,发现两个plugin被禁用了。
100812 14:14:52 [Note] Plugin 'InnoDB' is disabled.
100812 14:14:52 [Note] Plugin 'FEDERATED' is disabled.
100812 14:14:52 [ERROR] Unknown/unsupporte |
|
v****s 发帖数: 1112 | 48 谢谢各位!这是create table statement, 请帮忙看看如何提高select 的速度。
我只用这个语句:
select * from shortest where ((p1=x and p2=y) or (p1=y and p2=y))
delimiter $$
CREATE TABLE `shortest` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`p1` varchar(45) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT
'',
`p2` varchar(45) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT
'',
`dist` varchar(45) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL
DEFAULT '',
PRIMARY KEY (`id`),
KEY `p1p2` (`p1`,`p... 阅读全帖 |
|
v****s 发帖数: 1112 | 49 I've modified the index stuff today, here is the new one, which takes 3 sec
for count(*) ...
delimiter $$
CREATE TABLE `shortest` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`p1` varchar(45) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT
'',
`p2` varchar(45) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT
'',
`dist` varchar(45) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL
DEFAULT '',
PRIMARY KEY (`id`),
KEY `p1` (`p1`) USING BTREE,
KEY `p2` (`p2`) USING ... 阅读全帖 |
|
B*****g 发帖数: 34098 | 50 【 以下文字转载自 JobHunting 讨论区 】
发信人: ricky8413 (上善若水), 信区: JobHunting
标 题: job openning-Test and Quality Engineer,MySQL Database Administrator
发信站: BBS 未名空间站 (Fri Jan 13 18:21:20 2012, 美东)
Ask.com, Oakland, CA
Test and Quality Engineer
Summary
Ask.com is looking for a Test and Quality Engineer who is technically
skilled and passionate about testing. The candidate will work side-by-side
with the Development and Release Engineering teams in a fast-paced, Agile/
SCRUM environment. This position must u... 阅读全帖 |
|