Re: Segfault -- RH8

2002-12-15 Thread johnny
Both versions, 4.0.4b and 4.0.5a are from mysql.com. RPM doesn't seem to have a way to get a description of a package (that i can find) or i would paste the information (maybe author or whatever) of the packages i'm using.. to make sure they really are MySQL AB's. -johnny Quotin

Segfault -- RH8

2002-12-15 Thread johnny
s implimentation of mysql_connect (on the tcp/ip side)? Or myabe it's something wrong with the MySQL library? Comments? -Johnny Withers [EMAIL PROTECTED] - Before posting, please check: http://www.mysql.com/manual.php (

Compare DATETIME to DATE

2008-12-31 Thread Johnny Withers
r.created_dt BETWEEN '2008-12-30 00:00:00' AND '2008-12-30 23:59:59' That works on both servers, but I really don't want to have to put the time in there (unless that's the way you are supposed to do this). I've though about using DATE_FORMAT... not sure about that either. - Johnny Withers 601.209.4985 joh...@pixelated.net

Query Optimization

2009-01-12 Thread Johnny Withers
he query to select from the customer_id table first, if a row is found.. just return the matching customer_id from the customer table.. but I wanted to see if maybe i'm going about this the wrong way before I "engineer" some way around this. Thanks in advance, - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Query Optimization

2009-01-14 Thread Johnny Withers
ctoin system (RHEL 64-Bit 16GB ram, Dual Xeon 2Ghz).. the search in the test system is almost instant as compared to the production system its taking 4 to 6 seconds. There's not much traffic today on it. I'm going to put the UNION into production and see how it goes. Thanks for the replies.

Re: Separate customer databases vs all in one

2009-03-18 Thread Johnny Withers
27;s data is who's). It also >> feels like it could leak data if a malformed query were to get through, >> although I'm not terribly worried about this as we do some heavy UAT >> before pushing from DEV to TEST to PROD. >> >> Performance is a major factor c

Re: Re: Separate customer databases vs all in one

2009-03-18 Thread Johnny Withers
could leak data if a malformed query were to get through, > >> although I'm not terribly worried about this as we do some heavy UAT > >> before pushing from DEV to TEST to PROD. > >> > >> Performance is a major factor concern here given our huge d

Re: Re: Separate customer databases vs all in one

2009-03-18 Thread Johnny Withers
, Wm Mussatto wrote: > On Wed, March 18, 2009 06:29, Johnny Withers wrote: > > Everytime we make a schema change in development we save an SQL script > > into > > a directory named in MMDD format. The scripts are named in > > MMDD_NNN_DESCRIPTION.SQL format, where

Re: Replication Issues

2009-03-26 Thread Johnny Withers
st > log >> file name in binary log index file' from master when reading data from >> binary log >> >> >> >> I'm sure that I've overlooked something, well, stupid, but have >> struggled with it the last few days to no avail. All servers are u

Re: LAST_INSERT_ID and CRC32

2009-05-03 Thread Johnny Withers
e` ( > `id` , `id-crc` > ) > VALUES ( > NULL , LAST_INSERT_ID() > ); > > But LAST_INSERT_ID() is 0 How can I make that, that he use the actual > INSERT-ID? > > Best regards > > Thunder > > > > > > > > > > > -- > MySQL General

Re: LAST_INSERT_ID and CRC32

2009-05-03 Thread Johnny Withers
On Sunday, May 3, 2009, thun...@isfahan.at wrote: > Hi Johnny, > > I need the CRC32 for a unique URL-ID... > > I think it isn't to slow when I make a SELECT later in this form: > > Rows in Table: 825,984 > > Search for id: 2532552 (CRC32: 46316330) > > SELECT i

Re: LAST_INSERT_ID and CRC32

2009-05-05 Thread Johnny Withers
Yes, Triggers... I so rarely use them I forget they exist. On Tue, May 5, 2009 at 10:22 AM, Thomas Pundt wrote: > Johnny Withers schrieb: > >> Well, I think an update after insert is the only way. Other than >> perpopulating another table with possibe crc values then usinga

Problems After MySql 5.1.34

2009-05-06 Thread Johnny Stork
lclient.so.16.0.0 -rwxr-xr-x 1 root root 2044464 Mar 31 22:48 /usr/lib/libmysqlclient.so.16.0.0 -- _ Johnny Stork Open Enterprise Solutions "Empowering Business With Open Solutions" http://www.openenterprise.ca Mountain Hosting "Secure Hosting Solutions for Business" http://www.mountainhosting.ca

Re: Problems After MySql 5.1.34

2009-05-06 Thread Johnny Stork
Typo, moved from 5.0.67 to 5.1.34 Johnny Stork wrote: I recently upgraded an asterisk/trixbox server to mysql 5.1.34 from 5.64. Access to the db seesm fine from the shell, phpmyadmin or even the Trixbox/FreePBX tool, but trying to apply Trixbox changes, or running a "pear update" pr

Re: Problems After MySql 5.1.34 - THANKS

2009-05-09 Thread Johnny Stork
tp://lists.mysql.com/mysql?unsub=g...@primeexalia.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=li...@openenterprise.ca -- _ Johnny Stork Open Enter

Merging Databases

2009-05-11 Thread Johnny Withers
le1 in A's data? Could we then export (SELECT INTO OUTFILE) from A's data and import (LOAD DATA) into B's data? Has anyone done something like this before? Did you have problems? -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Merging Databases

2009-05-11 Thread Johnny Withers
e the ID column in table1, then add the same # to the table1_id columns in any other table. After we do this, we could do the select from.. insert into method I suppose. -jw On Mon, May 11, 2009 at 2:49 PM, Weston, Craig (OFT) < craig.wes...@oft.state.ny.us> wrote: > > > -Origin

Re: MySQL: large_page_size

2009-05-21 Thread Johnny Withers
l > server. Is there anybody using on productions. > > Thanks, > Prajapati > > Krishna Chandra Prajapati > Email-id: prajapat...@gmail.com > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing List For list arc

Re: Why doesn't mySQL stop a query when the browser tab is closedL

2009-06-03 Thread Johnny Withers
see it continuing to write to this file until the loop is complete. You can assume what you like about PHP, but that doesn't make it true. -johnny On Wed, Jun 3, 2009 at 2:03 PM, Daevid Vincent wrote: > We have a "NOC" that displays this sort of thing and shows myTop in six

Re: high performance test data/test query generator

2009-06-04 Thread Johnny Withers
). >>>> >>>> Does such a tool exists? No problem if it is mysql only. If not, I think >>>> I >>>> will write one. >>>> >>>> Peter Boros >>>> >>> >>> It is by no means the only such tool, but I have often use JMeter as >>> an all-purpose load-generation tool. It has good support for database >>> testing among other things.. >>> >>> http://jakarta.apache.org/jmeter/usermanual/build-db-test-plan.html >>> >>> >> > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Half Hour Sub-query in MySQL vs. 5 Seconds in VFP?

2009-06-18 Thread Johnny Withers
low 10, 50 and 100 mile radi for example) > > Any ideas? > > Thanks in advance! > > Matt > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: how to efficiently query for the next in MySQL Community Edition 5.1.34?

2009-06-20 Thread Johnny Withers
- > > > No virus found in this incoming message. > Checked by AVG - www.avg.com <http://www.avg.com> Version: 8.5.364 / Virus > Database: 270.12.80/2187 - Release Date: 06/19/09 06:53:00 > > > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: LOAD DATA INFILE Syntax error

2009-06-29 Thread Johnny Withers
version = 5.0.32-Debian_7etch8-log > > TIA, > Ralph > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: mysql select query

2009-07-13 Thread Johnny Withers
? > > >> >> > > > >> >> > thanks, > > >> >> > > > >> >> > -- > > >> >> > Tianjing > > >> >> > > > >> >> > > >> >> > > >> >> > > >> >> -- > > >> >> A: It reverses the normal flow of conversation. > > >> >> Q: What's wrong with top-posting? > > >> >> A: Top-posting. > > >> >> Q: What's the biggest scourge on plain text email discussions? > > >> > > > >> > > > >> > > > >> > -- > > >> > > >> > > >> -- > > >> A: It reverses the normal flow of conversation. > > >> Q: What's wrong with top-posting? > > >> A: Top-posting. > > >> Q: What's the biggest scourge on plain text email discussions? > > >> > > >> -- > > >> MySQL General Mailing List > > >> For list archives: http://lists.mysql.com/mysql > > >> To unsubscribe: > > >> http://lists.mysql.com/mysql?unsub=jingtian.seu...@gmail.com > > >> > > > > > > > > > > > > -- > > > Tianjing > > > > > > > > > > > > > > -- > > A: It reverses the normal flow of conversation. > > Q: What's wrong with top-posting? > > A: Top-posting. > > Q: What's the biggest scourge on plain text email discussions? > > > > > > -- > Tianjing > > Bioinformatics Center, > Beijing Genomics Institute,Shenzhen > Tel:+86-755-25273851 > MSN:tianjing...@hotmail.com < > msn%3atianjing...@hotmail.com > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: mysql select query

2009-07-13 Thread Johnny Withers
---+ > | 1 | SIMPLE | REF_SEQ | ALL | NULL | NULL | NULL| NULL > | 219728 | Using where | > > ++-+-+--+---+--+-+--++-+ > > > > > 2009/7/13 Johnny Withers > >>

Re: mysql select query

2009-07-13 Thread Johnny Withers
| index_ref_start | > 8 | NULL | 2408 | Using where | > > ++-+-+---+-+-+-+--+--+-+ > > in this sql,the index is on REF_ID and START_POSITION, the rows in the > output is more less than that i

Re: Copy 70GB ibdata, etc. and server won't start now

2009-07-14 Thread Johnny Withers
-- 1 mysql mysql 70038585344 2009-06-17 04:09 ibdata1 > -rw-rw 1 mysql mysql 5242880 2009-07-14 01:43 ib_logfile0 > -rw-rw 1 mysql mysql 5242880 2009-06-17 03:22 ib_logfile1 > drwxr-xr-x 2 mysql mysql4096 2009-07-14 00:36 mysql > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Logins, php, legacy, old password

2009-07-19 Thread Johnny Withers
; machine. > -- > Scott > Iphone says hello. > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Index selection problem

2009-07-21 Thread Johnny Withers
unt(*) from orders where item_id = 9602 and customer_id = 5531 -> > 1226 records > select count(*) from orders where item_id = 9602 and customer_id = 5531 and > status_id IN (1,2) -> 1174 records > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: PHP MYSQL Admin question

2009-07-23 Thread Johnny Withers
lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Index selection problem

2009-07-23 Thread Johnny Withers
Maybe I'm wrong :) On Tuesday, July 21, 2009, John Daisley wrote: > > > On Tue, 2009-07-21 at 19:42 +0200, Morten Primdahl wrote: > >> On Jul 21, 2009, at 3:27 PM, Johnny Withers wrote: >> >> > MySQL is unable to use your index when you use IN and/or OR on

Re: Why doesn't mySQL stop a query when the browser tab is closedL

2009-07-26 Thread Johnny Withers
uld do in the event of a > disconnect with the ignore_user_abort() function. See the connection > handling page for more details: > > http://us3.php.net/manual/en/features.connection-handling.php > > On Wed, Jun 3, 2009 at 2:54 PM, Johnny Withers wrote: >> It just seems odd to me t

Re: store timezone

2009-07-28 Thread Johnny Withers
y > > other approach available to achieve this in mysql. > > > > Looking for your help. > > > > Thanks, > > Manoj > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.my

Re: Problems with auto_increment updating when (i think) it shouldn't

2009-08-07 Thread Johnny Withers
t; > --- > INSERT IGNORE test.test_table (name) VALUES ('test') > > SHOW TABLE STATUS > Nametest_table > ... > Auto_increment 6 > > > > -- > --- > This is a signature. > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Mysql batch file help

2009-08-08 Thread Johnny Withers
s: http://lists.mysql.com/mysql > To unsubscribe:    http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Is there a way ?

2009-08-16 Thread Johnny Withers
QL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Query Question

2009-08-18 Thread Johnny Withers
ver, Sybase SQL > Anywhere, MySQL, InterBase, NexusDB and Firebird! > > Database questions? Check the forum: > http://www.databasedevelopmentforum.com > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Simple join very slow

2009-08-20 Thread Johnny Withers
sing where > > Can anyone tell me how to make it use the available indexes? Or do I > need to add some sort of multi-column index? I'm guessing not as I'm > doing OR's > > Thanks > > Simon > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: alternate in mysql

2009-08-20 Thread Johnny Withers
ect substr(t, instr(t, '/sr/db/'), instr(substr(t, instr(t, '/sr/db/'), > length(t)), chr(10))) from tmp; > /sr/db/ora/ora.ora > /sr/db/ora/ora.ora > where chr(10) ..represents "NEW LINE" in oracle > > How do i do the same in mysql. > > Thanks for all you help. > > regards > anandkl > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: alternate in mysql

2009-08-21 Thread Johnny Withers
. Maybe? On Fri, Aug 21, 2009 at 10:13 AM, Jerry Schwartz wrote: > >-Original Message- > >From: Ananda Kumar [mailto:anan...@gmail.com] > >Sent: Friday, August 21, 2009 2:55 AM > >To: Johnny Withers > >Cc: MySQL > >Subject: Re: alternate in mysql >

Re: Fail to change MySQL data directory on ubuntu

2009-08-25 Thread Johnny Withers
rt to look for the causes? > > Thanks. > > Jia > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:    http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Fail to change MySQL data directory on ubuntu

2009-08-26 Thread Johnny Withers
't connect > to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' > Aug 25 22:18:20 chenj-desktop /etc/init.d/mysql[11094]: Check that mysqld is > running and that the socket: '/var/run/mysqld/mysqld.sock' exists! > Aug 25 22:18:20 chenj

Re: Fail to change MySQL data directory on ubuntu

2009-08-26 Thread Johnny Withers
I'm at work now, this is the cmd I used: chcon -R -u system_u -r object_r -t mysql_db_t /data (my data lives in /data/mysqlXX -- were XX is the server version) On Wed, Aug 26, 2009 at 8:02 AM, Johnny Withers wrote: > Yes, error 13, permission denied. Check selinux setup. I had t

Re: Fail to change MySQL data directory on ubuntu

2009-08-28 Thread Johnny Withers
claudio.na...@gmail.com > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:    http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com > > > > > > > > > > > > -- > MySQL Genera

Re: METAPHON does not exist

2009-08-31 Thread Johnny Withers
mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Trouble joining 3 tables

2009-11-02 Thread Johnny Withers
ets). > > My brain is melting. What am I doing wrong? > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Trouble joining 3 tables

2009-11-02 Thread Johnny Withers
Yes, I don't see why that wouldn't work... On Mon, Nov 2, 2009 at 11:09 AM, Brian Dunning wrote: > Johnny - Your solution might actually help me solve my next step, which is > to also return a count of pets bought only within the last 7 days. Something > like this: >

Re: Temp file issues on Ubuntu 9.10

2009-11-09 Thread Johnny Withers
sorry I didn't catch it before sending the > mail. The ls output was copy-pasted from a terminal and there the ownerships > are correct. > > Regards, > Sebastiaan > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Finding users who haven't posted in a week

2009-11-10 Thread Johnny Withers
/lists.mysql.com/mysql > To unsubscribe:    http://lists.mysql.com/mysql?unsub=john.l.me...@gmail.com > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.425 / Virus Database: 270.14.52/2484 - Release Date: 11/08/09 > 07:37:00 > > >

Re: MySQL Plugin

2009-12-30 Thread Johnny Withers
03:12:22] mysql_real_connect failed: Access denied for > >> user 'root'@'localhost' (using password: NO) > >> [2009-12-21 03:12:22] read-function of plugin `mysql' failed. Will > >> suspend it for 10 seconds. > >> > >> I am not able to figure out why i get r...@localhost and not > >> nag...@localhost in the collectd.log file even after specifying it in > >> the collectd.conf file. > >> > >> Please suggest/guide. > >> > >> Thanks, > >> > >> Kaushal > >> > > > > Hi Again, > > > > Any updates to my earlier post to this Mailing List ? > > > > Thanks, > > > > Kaushal > > > > Hi Again, > > I have not got any reply for my query. Checking in again on this Mailing > List. > > Thanks, > > Kaushal > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: tmp tables

2010-01-11 Thread Johnny Withers
design for the shopping cart I just finished building and need to > get this up __n_o_w__, what would your advice be? > V > > > > > Regards, > > Baron > > > > -- > > Baron Schwartz > > Percona Inc: Services and Support for MySQL > > http://www.percona.com/ > > > > > > -- > The Logos has come to bear > http://logos.13gems.com/ > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: file per table performance

2010-01-12 Thread Johnny Withers
unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: tmp tables

2010-01-13 Thread Johnny Withers
n Wed, Jan 13, 2010 at 12:38 PM, Victor Subervi wrote: > On Mon, Jan 11, 2010 at 3:21 PM, mos wrote: > > > At 09:56 AM 1/11/2010, Johnny Withers wrote: > > > >> Victor, > >> > >> The temporary table solution is not a good one. Use a single table and

Re: Best way to synchronize two database schemas

2010-01-22 Thread Johnny Withers
gt; > necessary script > > > to apply to db_prod. > > > > > > Thanks, > > > Randall Price > > > > > > > > > > > > -- > > Bier met grenadyn > > Is als mosterd by den wyn > > Sy die't drinkt, is eene kwezel > > Hy die't drinkt, is ras een ezel > > > > > -- > > MySQL General Mailing List > > For list archives: http://lists.mysql.com/mysql > > To unsubscribe: > > http://lists.mysql.com/mysql?unsub=dae...@daevid.com > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=vegiv...@tuxera.be > > > > > > > -- > Bier met grenadyn > Is als mosterd by den wyn > Sy die't drinkt, is eene kwezel > Hy die't drinkt, is ras een ezel > > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: 50 things to know before migrating from Oracle to MySQL

2010-01-28 Thread Johnny Withers
colleagues. >> >> >> -- >> MySQL General Mailing List >> For list archives: http://lists.mysql.com/mysql >> To unsubscribe:http://lists.mysql.com/mysql?unsub=c...@etrak-plus.com >> >> >> > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Master/Slave - trucate master table

2010-03-05 Thread Johnny Withers
; MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Index not being used

2010-03-05 Thread Johnny Withers
g the sitefieldsort index? > > If I change the query to something that returns no rows, such as: > > SELECT * FROM form_fields_items WHERE siteid = 1 AND fieldid = 1 ORDER > BY sortorder > > An explain shows it using the correct index. > > Thanks for your time! > &

UDF - Sequence Numbers

2010-03-08 Thread Johnny Withers
(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `store_key` (`store_id`), KEY `store_seq_num_key` (`company_id`,`store_id`,`store_seq_num`), ) ENGINE=InnoDB AUTO_INCREMENT=3049363 DEFAULT CHARSET=latin1 ; -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: UDF - Sequence Numbers

2010-03-09 Thread Johnny Withers
t that's a small > price to pay for correctness. > > Regards, > Gavin Towey > > -Original Message- > From: Johnny Withers [mailto:joh...@pixelated.net] > Sent: Monday, March 08, 2010 1:31 PM > To: MySQL General List > Subject: UDF - Sequence Numbers

Re: SELECT and INSERT if no row is returned

2010-03-24 Thread Johnny Withers
o unsubscribe:    http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Populating dataset

2010-03-25 Thread Johnny Withers
> a example. For our query like SELECT check_in_date FROM bookings how would > I know to automatically insert a missing date like 2010-03-29 between the > date range I search ? > > Thanks, > Neil > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Speeding up inserts in InnoDB

2010-04-22 Thread Johnny Withers
make InnoDB faster. > > Any ideas? > > Chris W > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Where to index - over 15m records and growing

2010-05-07 Thread Johnny Withers
t; the last month. I.E. How many records are there where Dep and Des are >> the >> same during the last month. With some changes to the application that >> captures the data in the first place, I should be able to drop the need >> for >> this query completely. You have made me think

Re: Database Quotas

2010-05-21 Thread Johnny Withers
ttp://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Security issues

2010-05-22 Thread Johnny Withers
neral Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

InnoDB Tablespace

2010-08-02 Thread Johnny Withers
t add it to the end like so: innodb_data_file_path=ibdata1:1G;ibdata2:1G;ibdata3:1G;ibdata4:1G;ibdata5:1G;ibdata6:16G; *ibdata7:16G* Or will that cause MySQL to complain the file size isn't correct the next time it starts? Thanks for any help! -- ----- Johnny With

Re: InnoDB Tablespace

2010-08-03 Thread Johnny Withers
of storage left even though I > increased the table space by 8GB?" > > About the above - it is saying 6144 KB so it is 6.1 GB. > > > > On Tue, Aug 3, 2010 at 12:05 AM, Johnny Withers wrote: > >> I recently ran out of table space on a production server that ha

Re: Performance Tunning

2010-08-31 Thread Johnny Withers
So, it's not just me that is stuck in this infinite loop? I thought I had gone mad! -- - Johnny Withers 601.209.4985 joh...@pixelated.net On Tue, Aug 31, 2010 at 5:23 AM, Johan De Meersman wrote: > 1. Find out what is slow > 2. Fix it > 3. GOTO 1 >

Re: Performance problems on MySQL

2010-09-02 Thread Johnny Withers
writes/s, 40.73 fsyncs/s > - > INSERT BUFFER AND ADAPTIVE HASH INDEX > - > Ibuf: size 1, free list len 0, seg size 2, > 0 inserts, 0 merged recs, 0 merges > Hash table size 1452727, used cells 496505, node hea

Re: Performance problems on MySQL

2010-09-03 Thread Johnny Withers
Ok, so I'm stumped? What kind of hardware is behind this thing? -JW On Fri, Sep 3, 2010 at 4:44 AM, Alexandre Vieira wrote: > Hi Johnny, > > mysql> EXPLAIN SELECT * FROM clientinfo WHERE

Re: Performance problems on MySQL

2010-09-03 Thread Johnny Withers
> Makes total sense if you read: > http://peter-zaitsev.livejournal.com/9138.html > > Thanks in advance. > > BR > AJ > > > On Fri, Sep 3, 2010 at 2:31 PM, Johnny Withers wrote: > >> Ok, so I'm stumped? >> >> What kind of

Re: Performance problems on MySQL

2010-09-03 Thread Johnny Withers
Very confusing... Why is index_length zero ? On top of that, there's only 500K rows in the table with a data size of 41MB. Maybe InnoDB is flushing to disk too often? What's the output of iostat -dxk 60 ? (run for a minute+ to get 2 output girds) -----

Re: Performance problems on MySQL

2010-09-03 Thread Johnny Withers
disks? I'm not an iostat expert, use my research and recommendations with caution =) -- *Johnny Withers* jwith...@ecashsoftware.com 601.919.2275 x112 [image: eCash Software Systems] On Fri, Sep 3, 2010 at 10:37 AM, Alexandre Vieira wrote: > Hi, >

Re: Performance problems on MySQL

2010-09-03 Thread Johnny Withers
disk array than where your data is. If you have binary and query logging enabled, it's probably a good idea. ------ *Johnny Withers* jwith...@ecashsoftware.com 601.919.2275 x112 [image: eCash Software Systems] On Fri, Sep 3, 2010 at 12:45 PM, Alexandre Vieir

Re: hard disk crash: how to discover the db?

2010-09-10 Thread Johnny Withers
; > > Uwe Brauer > > > > > > -- > > > MySQL General Mailing List > > > For list archives: http://lists.mysql.com/mysql > > > To unsubscribe: > > > http://lists.mysql.com/mysql?unsub=george.g.lar...@gmail.com > > > > > > > > > > > -- > > Steve Staples > Web Application Developer > 519.258.2333 x8414 > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: hard disk crash: how to discover the db?

2010-09-10 Thread Johnny Withers
If you still have the mysqld binary and you _think_ it is version 5.3.something, you could try this: strings /usr/libexec/mysqld | grep "5.3.*" The version # should be somewhere near the top of the output. (Is on my copy anyway, of 5.0.x) ------ *John

Re: Replaying the mysqld.log file from production onto QA???

2010-09-10 Thread Johnny Withers
oduction over SSH and multithreaded them at the staging server, but SQL > stuff would be much more time-critical - can't select before the insert :-) > > > > -- > Bier met grenadyn > Is als mosterd by den wyn > Sy die't drinkt, is eene kwezel > Hy die't drinkt, is ras een ezel > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Unique ID's across multiple databases

2010-09-13 Thread Johnny Withers
>> > > >> >> >> offset + increment thingy is good if you know in advance that > you'll > >> >> have > >> >> >> a > >> >> >> limited number of servers. But if you have no idea that you will > have > >> 2, > >> >> >> 20, > >> >> >> or 200 servers in your array in the future, you just can't pick an > >> >> optimal > >> >> >> > >> >> > > >> >> > What benefit do you think you will reap from that many masters ? > Don't > >> >> > forget that every write still has to be done on every server, so > >> you're > >> >> not > >> >> > actually distributing that load; while for reads you only need > simple > >> >> > slaves. > >> >> > > >> >> > > >> >> > -- > >> >> > Bier met grenadyn > >> >> > Is als mosterd by den wyn > >> >> > Sy die't drinkt, is eene kwezel > >> >> > Hy die't drinkt, is ras een ezel > >> >> > > >> >> > >> > > >> > > >> > > >> >-- > >> >Bier met grenadyn > >> >Is als mosterd by den wyn > >> >Sy die't drinkt, is eene kwezel > >> >Hy die't drinkt, is ras een ezel > >> > >> > >> > >> > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Unique ID's across multiple databases

2010-09-14 Thread Johnny Withers
an De Meersman wrote: > > > On Mon, Sep 13, 2010 at 8:59 PM, Johnny Withers wrote: > >> >> This sounds like a good job for a 'NoSQL' system. Maybe? >> > > I can't help but blink at that. How exactly is NoSQL going to fix issues > that are related to

Re: document for mysql performance improvement

2010-09-22 Thread Johnny Withers
.42 4.49 3.40 > > 8.00 0.33 338.96 1.14 0.11 > > > > > > The db is still slow. Thanks for the future helps. > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Swap data in columns

2010-09-22 Thread Johnny Withers
-+-+ > | id | column1 | column2 | > ++-+-+ > | 1 | a | z | > | 2 | b | y | > | 3 | c | x | > | 4 | d | w | > | 5 | e | v | > ++-+-+ > > Can you achieve this with a simple query? > so for id 1 column1 = 'z' and column2 = 'a' and so on. > > Thanks guys, > Igor > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Swap data in columns

2010-09-22 Thread Johnny Withers
This is even better! JW On Wed, Sep 22, 2010 at 2:27 PM, Steve Staples wrote: > What about: > select `id`, `column1` as 'column2', `column2` as 'column1'; > > Steve > > > > On Wed, 2010-09-22 at 13:06 -0500, Johnny Withers wrote: > >

Re: document for mysql performance improvement

2010-09-23 Thread Johnny Withers
PM, Vokern wrote: > 2010/9/23 Johnny Withers > > > > Can you show us the output of: show status like '%innodb%' > > JW > > > > > Sure. > > mysql> show status like '%innodb%'; > +-

Re: Howto optimize Distinct query over 1.3mil rows?

2010-09-28 Thread Johnny Withers
--+ >1 row in set (0.00 sec) > > > > Would it make sense to split the Call_No data off into it's own table, and > put in a proper numeric ID, instead of the current VARCHAR(36) it uses? So > in Newspaper_Issues I'd just have a Call

Re: ORDER BY with field alias issue

2010-09-28 Thread Johnny Withers
gt; -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:    http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing

Re: How to get hanging 1:M table rows as single column in main query?

2010-09-29 Thread Johnny Withers
ATE TABLE `dim_seat` ( > `id_dim_seat` int(10) unsigned NOT NULL auto_increment, > `seat` varchar(4) default NULL, > PRIMARY KEY (`id_dim_seat`), > KEY `seat` (`seat`) > ) ENGINE=InnoDB > > id_dim_seat seat > --- -- > ... ... >888 35C <--- >889 35D <--- >890 35E <--- >891 35F >892 35G >... ... > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Can this be done with a single query?

2010-10-12 Thread Johnny Withers
2.168.%.%'; > > but, within that somewhere also check to see if src_ip exists in mappings. > If it does, do not return it. > > Is this possible? > > Thanks. > -- > Paul Halliday > Ideation | Individualization | Learner | Achiever | Analytical > http://www.pintumbler.org > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: How do I GRANT SELECT to mysql.time_zone_name for ANYONE?!

2010-10-15 Thread Johnny Withers
27; > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: a query not using index

2010-11-09 Thread Johnny Withers
k, you might try >>> and change the data type to DECIMAL to see if it helps (or BIGINT if your >>> numbers are not using any digits after the decimal since BIGINT and DOUBLE >>> both use 8 bytes for storage). >>> > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Records not being displayed

2010-12-19 Thread Johnny Withers
Your very first mysql_fetch_array consumes the first result. On Dec 19, 2010 8:19 AM, "Gary" wrote: I have an issue that the first record in a query is not being displayed. It seems that the first row in alphabetical order is not being brought to the screen. I have a MySQL DB that lists beers.

Re: odd problem with select as statement

2010-12-20 Thread Johnny Withers
ery. Then I iterate through the array again and check the > value in the field. 1 means the UID has an entry, 0 means it doesn't. I > thought doing 1 mysql call would be more efficient than lots of calls as I > iterate through the array. But since there will probably never be more than > 100 images in the table at any one time, it may not make any difference. > But now I'm just curious as to why this is happening. > > Thanks, > > Bob > > > > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Problem with WHERE .. IN

2010-12-20 Thread Johnny Withers
gt; whereas the results I want is > > +--+ > | id | > +--+ > |5 | > |7 | > | 11 | > +--+ > > Please tell me, where is wrong > > Thanks & Regards > -- > Muhammad Subair > +62 8176583311 > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Back-up Plan for Large Database

2010-12-27 Thread Johnny Withers
s.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Back-up Plan for Large Database

2010-12-27 Thread Johnny Withers
he slave matches the master 100%.* > * > * > Try it with *semi-synchronous* replication. > > Best regards. > -- > Wagner Bianchi > > > 2010/12/27 Johnny Withers > > Might want to check out LVM snapshots: >> >> >> http://www.mysqlperformanceblog.c

Re: I/O read performance

2011-01-13 Thread Johnny Withers
how to measure where the issue could > be would help as well. > > Steve > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: Incorrect key file for table

2011-01-14 Thread Johnny Withers
ms.ID'. When I fixed this, it > worked :) > > Thanx anyway. > > -- > Jørn Dahl-Stamnes > homepage: http://www.dahl-stamnes.net/dahls/ > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: High disk usage

2011-02-10 Thread Johnny Withers
ds=1 > > > > log-slow-queries = /var/log/mysql2-slow.log > > innodb_file_per_table > > query_cache_size = 128M > > join_buffer_size = 3M > > tmp_table_size = 256M > > max_heap_table_size = 256M > > thread_cache_size = 4 > > table_cache = 6608 > > inn

Re: Converting INNODB to file-per-table?

2011-02-11 Thread Johnny Withers
e of your contribution; not just the information that leads to > judgement in one particular direction or another. -- Richard P. Feynman > Jan Steinman, EcoReality Co-op > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: centos server's mysql version's problem

2011-02-27 Thread Johnny Withers
e php+mysql > > 2.the my.cnf should i configure or where i can find some information? > > thanks all ,hope receive responce > -- - Johnny Withers 601.209.4985 joh...@pixelated.net

Re: centos server's mysql version's problem

2011-02-27 Thread Johnny Withers
hit yet, but it performed well in testing. Our 5.0 installs are handling about 25gb of data and 1200qps during peak hours. On Feb 27, 2011 2:29 PM, "Yang Yang" wrote: thanks johnny what about 5.1,did it performance better than 5.0 on centos when it has large traffic? 5.1 is newe

  1   2   3   >