Re: Re: Issues with MySQL x86_64 crashing

2006-12-07 Thread Michael Bacarella
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- Michael Bacarella [EMAIL PROTECTED] 1-646-641-8662 (cell) 545 Eighth Avenue * Suite 401 New

ALTER TABLE on InnoDB -- behind the scenes?

2005-12-20 Thread Michael Bacarella
Confused about how ALTER TABLE foo ADD col2... operates. On an otherwise idle server, iostat 1 shows the disk being written to at a rate of 15MB/sec (its capacity is about 50MB/sec), but the ibdata-autoextend file only grows at a rate of 500kb/sec. 12GB table (w/ 1.5GB index) took 6

Re: strmov

2004-09-05 Thread Michael Bacarella
What is the definition of strmov in C? It seems to be a MYSQL library sprecific function in m_string.h and is used in some of the documentations examples. In MySQL 3.23.x, it's defined in strings/strmov.c #if !defined(MC68000) !defined(DS90) char *strmov(register char *dst, register const

Re: Can't create thread

2004-03-11 Thread Michael Bacarella
Does Red Hat have some kind of userland address space hack that we're not aware of? Do you have any special kernel config options that you did not use before? the thread stacks are 2MB apiece (bf601000-bf80 is 2093056 bytes, or 2044kB)! Yet: # mysql -e 'show variables' | grep

Can't create thread

2004-03-08 Thread Michael Bacarella
AB 3.23.58 binary around 245 threads, linux 2.4.23 custom kernel. (3GB of RAM, not that it matters) Are we missing a setting? Does Red Hat have some kind of userland address space hack that we're not aware of? -- Michael Bacarella24/7 phone: 1-646-641-8662 Netgraft Corporation

Re: Can't create thread

2004-03-08 Thread Michael Bacarella
bytes, or 2044kB)! Yet: # mysql -e 'show variables' | grep thread_stack thread_stack196608 It seems like the setting does nothing for us. We top out at exactly 256 threads. -- Michael Bacarella24/7 phone: 1-646-641-8662 Netgraft Corporation http

Re: MySQL 3.23.58 seg faults occasionally

2004-01-27 Thread Michael Bacarella
-variable = thread_stack=256k -- Michael Bacarella24/7 phone: 1-646-641-8662 Netgraft Corporation http://netgraft.com/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED

Re: MySQL 3.23.58 seg faults occasionally

2004-01-26 Thread Michael Bacarella
=800 set-variable = max_connections=415 set-variable = table_cache=256 set-variable = sort_buffer=4M set-variable = key_buffer=128M set-variable = thread_cache_size=415 set-variable = max_connect_errors=5 set-variable = thread_stack=256k -- Michael Bacarella24/7

Re: MySQL 3.23.58 seg faults occasionally

2004-01-16 Thread Michael Bacarella
= tmp_table_size=800 set-variable = max_connections=415 set-variable = table_cache=256 set-variable = sort_buffer=4M set-variable = key_buffer=128M set-variable = thread_cache_size=415 set-variable = max_connect_errors=5 set-variable = thread_stack=256k -- Michael Bacarella24/7 phone

MySQL 3.23.58 seg faults occasionally

2004-01-15 Thread Michael Bacarella
First we cut to the chase with a resolved stack trace from the most recent crash: 0x80c23d5 handle_segfault__Fi + 425 0x40022f54 _end + 935506260 0x822cdef btr_search_build_page_hash_index + 4771 0x82281c3 btr_search_info_update_slow + 919 0x8213f9e btr_cur_search_to_nth_level + 3154 0x81e9dce

Re: Bet the Business

2004-01-06 Thread Michael Bacarella
--ignoring marketing demands to achieve technical superiority. Regardless, it's to a great effect. I suspect all of the clever and hard work in the world won't get MS SQL Server to do the unconventional. Also, insert obligatory benefits of open source boilerplate here. -- Michael Bacarella

Weird bug in MySQL?

2003-12-19 Thread Michael Bacarella
are from our web servers. Wish I could've seen what killed off all of the threads. Nothing in the logs. So, anyone have any idea what the heck's going on? -- Michael Bacarella24/7 phone: 1-646-641-8662 Netgraft Corporation http://netgraft.com/ -- MySQL General

Loss of synchronization

2003-10-25 Thread Michael Bacarella
/reconnect not sync-safe? [1] The watchdog script checks to make sure the that a frequently updated table has a row with timestamp younger than 5 minutes on the slave. -- Michael Bacarella24/7 phone: 1-646-641-8662 Netgraft Corporation http://netgraft.com

Yet another server vendor inquiry

2003-09-08 Thread Michael Bacarella
Names of vendors who are happy to provide servers applicable for high load Linux/MySQL. Willing to do custom configurations. Anyone? -- Michael Bacarella24/7 phone: 1-646-641-8662 Netgraft Corporation http://netgraft.com/ Finger email address for public key

Re: processlist state = null

2003-08-14 Thread Michael Bacarella
does anyone know what it means when it says state = NULL doing the show processlist? The client is connected but not doing anything. It could be either preparing to send a query, between queries, or finished with its last query and hasn't disconnected yet. -M -- MySQL General Mailing List

gethostbyname_r() (un)bug in MySQL source build

2003-01-23 Thread Michael Bacarella
, (struct hostent **) 0, skr); ; return 0; } Solution? Tell the user there is no C++ compiler if there is no C++ compiler. -- Michael Bacarella 24/7 phone: 646 641-8662 Netgraft Corporation http://netgraft.com/ unique technologies to empower your

Re: mod_perl and mySql

2003-01-05 Thread Michael Bacarella
Are you sure it would help? MySQL is damn fast at taking connections. When we converted to mod_perl I made a mental note to switch to persistent connections. It turns out that it still ran fast enough even though every hit results in an RDBMS connection. And at this point we're doing 5M of them

How can we tell if we're maxing out MySQL/InnoDB capacity?

2003-01-02 Thread Michael Bacarella
= sort_buffer=4M set-variable = key_buffer=128M set-variable = thread_cache_size=350 set-variable = max_connect_errors=5 Could anyone suggest anything? -- Michael Bacarella | Netgraft Corp | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support

Re: How can we tell if we're maxing out MySQL/InnoDB capacity?

2003-01-02 Thread Michael Bacarella
. (That was your question right?) Anyway, checking out the sar logs, it looks like MySQL has to resort to reading disk more to serve its queries. Time to ditch the IDE RAID? How embarassing that I didn't catch that sooner. -- Michael Bacarella | Netgraft Corp | 545 Eighth

Re: Re: Can MySQL handle 120 million records?

2002-12-19 Thread Michael Bacarella
it after UPS hands you the box too, for reasons that should be obvious. -- Michael Bacarella | Netgraft Corp | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services | http://netgraft.com

Weird errors appearing in log..

2002-12-19 Thread Michael Bacarella
? How can I make them go away? :) -- Michael Bacarella | Netgraft Corp | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services | http://netgraft.com

Re: Can MySQL handle 120 million records?

2002-12-18 Thread Michael Bacarella
. If a database is reliable, things like that shouldn't happen. Comments like those in the MySQL manual scared me. We've never lost data. Our database server has crashed hard from OS failures and suffered plenty of unclean shutdowns. MySQL/InnoDB always recovers perfectly. -- Michael Bacarella | Netgraft

MySQL security flaws uncovered

2002-12-17 Thread Michael Bacarella
://zdnet.com.com/2100-1104-977958.html So why no mention on the MySQL.COM site? That rather bugs me. In contrast, sites for products like Apache or Bind are very clear about current/past security issues. Is MySQL.COM the wrong place? -- Michael Bacarella | Netgraft Corp | 545

Re: Storing 100 million images in the database

2002-09-26 Thread Michael Bacarella
nodes solved the problem, you're looking at $100,000 USD in hardware costs. Isn't that like what a typical Oracle support contract costs in a year? -- Michael Bacarella | Netgraft Corp | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946

Re: what is thread cache ?

2002-09-21 Thread Michael Bacarella
an expensive system call. The thread cache instructs MySQL to keep N threads around, even if they're not actively running queries, thereby eliminating thread creation overhead. Setting this value higher had a noticeable effect for me. Results may vary. -- Michael Bacarella | Netgraft Corp

Re: 3.23.52 hitting system loads of 25+?

2002-08-31 Thread Michael Bacarella
machines report a cannot connect error message. We went to 3.23.51 instead a little while ago and it seems to be working normally. Any ideas about what might be causing this? Is this a known issue? -- Michael Bacarella | Netgraft Corp | 545 Eighth Ave #401 Systems Analysis

Re: Displaying the real thread PIDs.

2002-08-18 Thread Michael Bacarella
of processing whether or not it has been killed, and if it has, to safely clean up. Forcibly terminating a thread where it has no choice will not allow cleanup routines to run, which could cause undefined behavior or at the very least resource leakage. These are just guesses though. -- Michael Bacarella

Re: Performance/Efficiency

2002-08-12 Thread Michael Bacarella
ORDER BY LogID LIMIT 100; -- Michael Bacarella | Netgraft Corp | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services | http://netgraft.com

Re: MySQL Futures and Near Futures

2002-08-12 Thread Michael Bacarella
coped up until now?) Are there other factors? -- Michael Bacarella | Netgraft Corp | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services | http://netgraft.com

Re: Lost connection to MySQL server during query

2002-07-09 Thread Michael Bacarella
Is there anything in the error log? See mysql/data/hostname.err -M On Tue, Jul 09, 2002 at 03:26:17PM -0500, Steve Mertz wrote: I keep getting Lost connection to MySQL server during query marcos:mysql-3.23.51 {117} mysqladmin version mysqladmin: connect to server at 'localhost' failed

Re: serwer MySQL 3.23.51 sometime acts as zombie on my linux 6.2 machine

2002-07-08 Thread Michael Bacarella
. If a child process terminates (on Linux these are threads), they are marked defunct/zombie until the parent process gets around to reaping them. Which is why they're absent from a second process listing. See fork(2) and wait(2), waitpid(2), etc. -- Michael Bacarella | Netgraft Corporation

Re: Load problems with 3.23.51

2002-06-24 Thread Michael Bacarella
, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services

Re: Load problems with 3.23.51

2002-06-24 Thread Michael Bacarella
thought it was my fault so I decided not to report it until I did some further research. What OS are you using? And did you use the pre-built binaries or build from source? Stock Red Hat 7.2. Pre-built mysql-max binaries. InnoDB tables. -- Michael Bacarella | Netgraft Corporation

Re: locking on row level ...

2002-06-21 Thread Michael Bacarella
contention issues. I can think of plenty of better workarounds, but I wanted to solicit input before implementing something that I may not have to. Suggestions? ;) -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018

Re: mysql binding to a port

2002-06-06 Thread Michael Bacarella
will block until innodb startup is complete, and in the meantime clients will keep trying other servers. Ick, I feel unclean just writing that. /me washes his hands. -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018

Re: HELP: MySQL Dynamic Structure

2002-05-31 Thread Michael Bacarella
. If you want to pitch it to management, just say XMLRPC! until their ears bleed. -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services | [EMAIL PROTECTED

MySQL/InnoDB questions from a MyISAM background

2002-05-16 Thread Michael Bacarella
and will not return until it's written to the log? Whereas setting: innodb_flush_log_at_trx_commit=0 will cause COMMIT to return immediately, and hit the disk much less frequently with the understanding that in a crash we would be out about a second's worth of data? My thanks in advance. -- Michael

Assertion failure with mysql-3.23.49a/InnoDB

2002-05-15 Thread Michael Bacarella
-constructors -fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' CXX=gcc -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services | [EMAIL PROTECTED

Re: WHERE ignored

2002-04-26 Thread Michael Bacarella
? For example: UPDATE foo SET flag = 0 WHERE foo_id = foo_id; foo_id = foo_id of course matches all. Not much room for that kind of error in this example, but perhaps in other scripts that deal with the table in question? -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave

Re: multiple mysql daemons in process

2002-04-22 Thread Michael Bacarella
: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- Michael Bacarella

Multilinguality

2002-04-12 Thread Michael Bacarella
useful. Is there a way to switch to a particular language only for this function or only for a specific session? Just want to make sure I'm not duplicating any effort. sql,table,query -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New

Re: InnoDB and lock wait timeout

2002-04-06 Thread Michael Bacarella
mysql server is not localhost.. -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services | [EMAIL PROTECTED

3.23.50?

2002-03-25 Thread Michael Bacarella
3.23.50 is referenced in the documentation but not available for download. Should it be there? Don't mean to nag, but I'm itching for that autoextend feature. PS. mysql,query,table -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New

MySQL Myths Debunked Revision 5

2002-03-25 Thread Michael Bacarella
. Seems like I wasn't the only one who needed it. The response to this article has been overall very positive. More MySQL success stories would be much appreciated. -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018

Re: The table 'SQL746e7_0' is full

2002-03-24 Thread Michael Bacarella
written to disk (I could check the amt of free disk space). Try adjusting tmp_table_size. This is a FAQ. -- Michael Bacarella | Netgraft Corporation | 545 Eighth Ave #401 Systems Analysis | New York, NY 10018 Technical Support | 212 946-1038 | 917 670-6982 Managed Services

Re: High Availability questions

2002-03-19 Thread Michael Bacarella
with it without too much of a hassle. We're years away from this, if ever, though. We keep expecting to hit a limit any day now, but MySQL has continued to perform beyond our expectations for years. We haven't even switched to InnoDB tables yet. -- Michael Bacarella | Netgraft Corporation

Re: CPU intensive query

2002-02-25 Thread Michael Bacarella
count(*) from aptcomplexes; +--+ | count(*) | +--+ |35395 | +--+ 1 row in set (0.00 sec) Any ideas what might be causing this? Here's the version: [root@s2 tauren]# mysql -V mysql Ver 11.15 Distrib 3.23.40, for pc-linux-gnu (i686) -- Michael Bacarella

Re: having trouble killing mysqld to restart and change root pass word

2002-02-12 Thread Michael Bacarella
, but killing them apparently does nothing because I am unable to load mysqld again so that I can restart it using the --skip-grant-tables option. Can someone help me understand which of the pid's is the actual one, and how I can kill it? -- Michael Bacarella | 545 Eighth Ave #401

Re: having trouble killing mysqld to restart and change root pass word

2002-02-06 Thread Michael Bacarella
, but killing them apparently does nothing because I am unable to load mysqld again so that I can restart it using the --skip-grant-tables option. Can someone help me understand which of the pid's is the actual one, and how I can kill it? -- Michael Bacarella | 545 Eighth Ave #401

Re: MySQL processor overload

2001-09-10 Thread Michael Bacarella
this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd

Re: command line open source ARRRGGGGGG!!!!!!

2001-09-06 Thread Michael Bacarella
and that it was running in an ugly degraded 'Safe Mode'. I poked around aimlessly for a few hours until I gave up and installed a more user friendly OS. I was amazed at how hard it was for me to install, considering that I can put together Linux systems completely from scratch. YMMV. --- Michael

Re: OT: Survey style question

2001-09-05 Thread Michael Bacarella
their current worth but any potential future worth. If they're enthusiastic, a lack of industry experience may become a non-issue after they've been working there for 3 months. But then again, based on the position they're applying for, this could be terrible advice. (database,table) -- Michael

Changes between 3.22 and 3.23

2001-08-23 Thread Michael Bacarella
off by default). Thanks. -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

Re: Changes between 3.22 and 3.23

2001-08-23 Thread Michael Bacarella
). -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive

Re: Downsides of MySQL?

2001-08-16 Thread Michael Bacarella
is to alleviate such misunderstandings of MySQL. I doubt all of the cluephone in the world wouldn't convince the person responsible for that quote, though. Here's to the best. -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd

Re: NuSphere final [sic] speaks out

2001-08-15 Thread Michael Bacarella
. -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

Re: MySQL or MS SQL?

2001-07-18 Thread Michael Bacarella
for UNIX. But judging by your question you don't seem to be stuck with UNIX for a platform. If you're going NT I'd be careful with Microsoft software. IIS and MS -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd

New version of MySQL Myths Debunked

2001-07-12 Thread Michael Bacarella
testimonials. Some questions rewritten. Copyright information and distribution terms. Yay. Hopefully, I've caught all of the spelling mistakes. If anyone has any FUD they'd like to see added, let me know. -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York

Re: Referential Integrity

2001-07-10 Thread Michael Bacarella
PROTECTED] | Sent: Tuesday, July 10, 2001 7:17 PM | Subject: Referential Integrity | MySQL does not support RI, anyone has good suggestion that do this in the | program ? | As this would be a nightmare if I have 50 detail tables to update | programmatically. -- Michael Bacarella [EMAIL

Re: What's the best os?

2001-05-31 Thread Michael Bacarella
better than the other when the choices are FreeBSD or Linux. Linux vs say, Solaris on the other hand is much different. Especially where MySQL or Apache are concerned. [Solaris being the bad choice on that hardware] -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New

Re: How many records can MySql handle?

2001-05-25 Thread Michael Bacarella
archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd

Re: Advice on Random Numbers

2001-05-23 Thread Michael Bacarella
force guess a valid one. At about 40,000,000, the chances become 1 in 100 that the INSERT will fail. At 400,000,000, they're 1 in 10. Also, it can't tell the difference between real error and a duplicate key error. A bail out scheme after say, 10 tries wouldn't be a bad idea. -- Michael

New revision of MySQL Myths Debunked

2001-04-25 Thread Michael Bacarella
. -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list

MySQL Myths Debunked..

2001-04-13 Thread Michael Bacarella
/~mbac/research/mysqlmyths.html -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

Re: Need examples of companies using mysql

2001-03-30 Thread Michael Bacarella
. [ PS. I don't own the site, I just implemented it ] -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd. - Before posting, please check: http://www.mysql.com/manual.php

Re: XML support under mySQL

2001-02-22 Thread Michael Bacarella
or trivial. Why would it be easier to write said layer if it was inside the DBMS instead of outside? -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / System Development, New York Connect.Net, Ltd. - Before posting

Re: TIPS for keeping MySQL on TCP/IP'd server from Apache?

2001-01-18 Thread Michael Bacarella
doing this? We use a seperate mysql database for one of our sites and we _DON'T_ use persistant connections. The overhead of connecting once at the start of each script never seemed that significant to us. YMMV. -- Michael Bacarella [EMAIL PROTECTED] Technical Staff / New York Connect.Net, Ltd