Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: core dump in mysql_bind_param (versions 4.1.1-alpha, 5.0.0-al pha, 4.1.: msg#00011

db.mysql.bugs

Subject: Re: core dump in mysql_bind_param (versions 4.1.1-alpha, 5.0.0-al pha, 4.1.2-alpha-nightly)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin,

> Why are pre-compiled queries 50% slower to execute than parsed
> queries?

> Based on the following
> "INSERT INTO ssa_keys(urn,key_address,addr_part1,addr_part2,postcode)
> Values(1,'8charstr','Part 1 of an address','part 2 of an
> address','postcode')"
> and
> "INSERT INTO ssa_keys
> (urn,key_address,addr_part1,addr_part2,postcode) Values(?,?,?,?,?)"
> and inserting 24000 rows
>
> The parsed query executes in 7 secs with a mean insert time of 277uS
> whilst the compiled query (just the execute time - not including the
> prepare/bind times) executes in 12 secs with a mean insert time of
> 455uS.

Are you seeing this against a recent snapshot of 4.1.2? There were some
issues in earlier versions that would have caused this, but these should
be corrected now.

I will run some tests against the current sources, but of course this
type of performance anomaly should not be occuring.

Best regards,
- --
Dean Ellis, Support Engineer & Software Developer
MySQL AB, www.mysql.com

Are you MySQL certified? http://www.mysql.com/certification
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAm7MPAebV/bGJ5NERAiRQAKCcJRbiejw8iVSKdMI/0X2DkE+edgCeKSs3
7ZH8RPX7Rn8Nx+wb1IsO2rE=
=GMp1
-----END PGP SIGNATURE-----

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation