Why was $ replaced with @0029? (1 reply)
Hello, Trying to find the root cause of a problem. We run roughly 20 MySQL databases on Amazon S3 service. The instance was removed accidentally yesterday but the admin went back to a previous backup...
View ArticleAbout table schema design while using innodb (no replies)
hello everyone, I encounter a problem when I was designing the table schema for our system. Here is the situation: 1. our system has a lot of items ( more than 20 millions ), ecah item has an unique...
View ArticleHow InnoDB engine maintains pages? (1 reply)
Hello, I recently read about InnoDB internals but I can't figure out some questions. 1. When InnoDB update small record (16KB page) all page with header is rewritten - is there another header whitch...
View ArticleInnodb pending I/O formula (1 reply)
Hi, is there a calculation to obtain de pending I/O innodb, what variables are related? The thing is that i want to execute that calculation every hour. I want to know if i have to add more memory to...
View ArticleIncorrect key file problem (1 reply)
Ok...... I'm running a query on MySQL as below.. SELECT posts.id, posts.post_title FROM rss_posts AS posts INNER JOIN rss_feeds AS feeds ON posts.blog_id=feeds.id WHERE feeds.blog_language=1 ORDER BY...
View ArticleTable limit in a single database (2 replies)
I'm working on a project where 7 tables get generated for creating a new management area. The problem is that many people can create management areas so we're expecting to easily reach over 100 tables...
View ArticleMultiple auto increments in one column (1 reply)
Is it possible or is there a technique which will allow me to have multiple auto increments in one column? For example I have a table CREATE TABLE testtable { GUID INT UNSIGNED NOT NULL...
View Article#1064 - You have an error in your SQL syntax; check the manual that...
Can anyone tell me why I get this error? <?php $host="localhost"; $username="a1116279_vote"; $password="bat1234"; $db_name="a1116279_vote"; $link = mysql_connect("$host", "$username",...
View ArticleInnoDB data corrupted (no replies)
Hi, The following problem is happening in a Ubuntu Hardy 8.04 Server installed as a virtual machine on VMware. MySQL v5.0.51a. After a power failure and the backup power supply exhausted, the host...
View ArticleIs deletion of 200k records too expensive? (1 reply)
DB version: MYSQL 5.1.49-community. We have a INNODB table with only 1 index on created_ts column. Here is the traffic of the table: 1. There is incoming write constantly. Every 4 hours, we can have...
View Articlepartitioned table is slower (huh???) (1 reply)
Hi, I’ve got a table that had this structure: CREATE TABLE `quotes` ( `DBDate` int(11) unsigned NOT NULL, `TickerID` int(11) unsigned NOT NULL, `Open` double(12,4) NOT NULL, `High` double(12,4)...
View Articledownload of mysql-max-4.1.9 package (1 reply)
hi I want to know from where can I download mysql-max-4.1.9 package . and is mysql clustering possible with mysql community server.Sorry if I posted this qst in wrong forum. Thanks in advance
View Article#1452 - Cannot add or update a child row: a foreign key constraint fails? (3...
Hi folks, i use MySQL 5.1.35-community-log vie TCP/IP and I'm stuck with the following FOREIGN KEY problem: CREATE TABLE record ( pk1 TIMESTAMP NOT NULL, pk2 CHAR(23) NOT NULL, PRIMARY KEY (pk1,pk2),...
View ArticleError (no replies)
Hi, Every now and then my DB servers hangs and the only error i can find in the mysql.err file is the following. The storage engine is INNODB and the datafile is about 500G. Can any one suggest...
View Articlesome data lost after restart (2 replies)
Hi, yesterday I restarted my mysql server, but all of a sudden, some data was gone (fortunately I did have a backup to restore everything). As far as I can tell, the problem only happened with INNODB...
View ArticleError (1 reply)
I have got the following error #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOURs) While executing...
View ArticleChaning database dir to another hard drive (4 replies)
Hi, I have mysql installed on windows in c:\ drive I just installed a much faster hard drive d:\ and I want to move all the mysql databases to this a new directory d:\newmysqldata I've been searching...
View ArticleWhat is most efficient way to index innodb so can select on either of two...
Hi, Newbie question. I have an innodb with 2 columns in the table, szEmailAddress and szCustomerID. I need to select either by szEmailAddress or szCustomerID efficiently as the DB will be quite large....
View ArticleSQL Error: 1033, SQLState: HY000 Incorrect information in file (1 reply)
Hello, This is my first post on this forum and I hope I'll get some help. I'm having a production server using MySQL 5.0 and hosting two MyISAM databases. I recently added a third database that uses...
View Articleis it possible to recover InnoDB tables without ibdata1? (1 reply)
Hi, I have a MySql server working in two different disk. One has *.frm,ib_logfile0 and ib_logfile0 files and the other one had the ibdata1 file. The second disk has failed and there is no way to...
View Article