Re: InnoDB vs. MySQL performance Issue

2003-01-06 Thread Greg Matthews
select crap from blahblah where nobody_is_interested = 'Y' sql,query - Original Message - From: "Sameh Attia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 7:32 PM Subject: Re: InnoDB vs. MySQL performance Issue > Sam Przyswa wrote: > > >Sameh Attia ([EMAIL

Re: simple (I thought) delete question

2002-12-31 Thread Greg Matthews
'Air Force') - Original Message - From: "Greg Matthews" <[EMAIL PROTECTED]> To: "Richard Forgo" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 01, 2003 9:29 AM Subject: Re: simple (I thought) delete question > i

Re: simple (I thought) delete question

2002-12-31 Thread Greg Matthews
if you want to do it in one statement, you'll need to wait for subselects to be implemented in MySql. Apparently this is underway and was scheduled to appear in MySql 4.1 if subselects were supported, you'd do something like this: delete from tids where exists ( select 1 from tids_admin where tid

Re: JDBC driver / JBoss

2002-12-28 Thread Greg Matthews
lso fail, and yes, there is a directory called c:\mysql Any help much appreciated, Greg. PS. Using the standard IP-based connection (i.e. not named-pipes) seems to kick MS Sql Servers arse in terms of speed. - Original Message - From: "Mark Matthews" <[EMAIL PROTECTED]> To:

JDBC driver / JBoss

2002-12-28 Thread Greg Matthews
All, The documention on the JDBC driver (v0.87) shows that ampersands are used to delimit driver parameters. JBoss (www.jboss.org) stores datasource definitions in XML files, and so using & seems a bit problematic. Is there any way that the supported delimiters can be extended to use a semi-colo

Re: scanning for auto increment columns

2002-12-27 Thread Greg Matthews
ok, just answering my own question here. found it. "describe " contains "auto_increment" in the "extra" column, which gives me what I want. sql,query - Original Message - From: "Greg Matthews" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]&g

scanning for auto increment columns

2002-12-27 Thread Greg Matthews
All, I'd like to be able to query MySql using the JDBC driver to determine which tables have auto incremented columns. In MSSQL I can retrieve data from the syscolumns and sysobjects tables to find out which columns are IDENTITY columns, but have had no luck trying to do something similar in MySq

Re: Reference Integrity - MySQL 4

2002-11-12 Thread Greg Matthews
4.0 can be downloaded now and supports RI -- if your tables are InnoDB tables, and you create indexes on the fk columns. The online mysql manual has a lot of information on how to setup InnoDB tables -- chapter 7. Greg. - Original Message - From: "Hernan Seivane" <[EMAIL PROTECTED]> To:

Re: RE: MySql 4.1 Sub Selects and not stored procedures

2002-11-11 Thread Greg Matthews
the question was: > Do any MySql coders writing subselects in 4.1 know whether EXISTS will outperform an equivalent query written as a join. <= yes or no ? greg. - Original Message - From: "Arthur Fuller" <[EMAIL PROTECTED]> To: "Greg Matthews&qu

Re: RE: MySql 4.1 Sub Selects and not stored procedures

2002-11-11 Thread Greg Matthews
hey, can i hijack my message back?...this thread is about the performance of subselects, not stored procedures. go write your own message :-)... sothe original question is if someone would be nice enough to answer.. > Do any MySql coders writing subselects in 4.1 know whether EXISTS will

Re: MySql 4.1 Sub Selects

2002-11-10 Thread Greg Matthews
-- Original Message - From: "Michael T. Babcock" <[EMAIL PROTECTED]> To: "Greg Matthews" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 11:16 AM Subject: Re: MySql 4.1 Sub Selects > Greg Matthews wrote: > > >clause) in

Re: MySql 4.1 Sub Selects

2002-11-10 Thread Greg Matthews
d Fuchs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 10, 2002 11:16 PM Subject: Re: MySql 4.1 Sub Selects > In article <014701c288a4$1b1bb550$0100a8c0@dev>, > "Greg Matthews" <[EMAIL PROTECTED]> writes: > > > Your call.

Re: MySql 4.1 Sub Selects

2002-11-10 Thread Greg Matthews
eB where tableB.myCol = tableA.myCol ) or select from tableA where exists ( select 1 from tableB where tableB.myCol = tableA.myCol and tableB.someCol in ('A','B','C') ) Regards, Greg. - Original Message ----- From: "Jeremy Zawodny&quo

Re: MySql 4.1 Sub Selects

2002-11-09 Thread Greg Matthews
is in a semi-usable state. Greg. - Original Message - From: "Jeremy Zawodny" <[EMAIL PROTECTED]> To: "Greg Matthews" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, November 10, 2002 4:21 PM Subject: Re: MySql 4.1 Sub Selects >

MySql 4.1 Sub Selects

2002-11-09 Thread Greg Matthews
All, Anyone have any rough idea when 4.1 (with SubSelects) is due to be released? Thanks, Greg. sql,query - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (