Actually the first query is returning correct data and the second query
is missing out some records. When the execute the same queries from the
sql prompt , I get the data correctly.
I have not taken any ISAM dump, but creating data in the INNODB tables
directly.
Actually this is a performance testing I am doing, where I have 10
threads running concurrently inserting 10K rows each and a cron that
triggers every five minutes that reads the data and does certain
operations.
Do you feel I should check some INNODB configurations for such stress
conditions ?
-----Original Message-----
From: Christopher G. Stach II [mailto:[email protected]]
Sent: Wednesday, June 14, 2006 9:14 AM
To: Prasad Ramisetti (WT01 - Broadband Networks)
Cc: [email protected]
Subject: Re: Problems faced onm igration from myISAM to INNODB
[email protected] wrote:
> Hi,
>
> Thanks for your response. Actually I am using JDBC to communicate with
> the DB , that's the reason why I posted this query in the java list.
>
> This does not seem to be a phantom read, as the first query is
> returning me more number of rows than the second one and I am not
> doing any deletes.
>
> Regards
> Prasad
Turn on query logging in the server. Execute the exact same queries
manually. If you get the same results, it has nothing to do with JDBC.
Are you getting double or triple the number of rows? Is the data
valid? Is the data you imported valid? Is the DB dump from MyISAM
valid?
What does changing MySQL engine types have to do with Java?
--
Christopher G. Stach II
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.