From SQL Server: Jobs

2004-03-30 Thread Matt Chatterley
and suggestions as to this implementation - particularly if there are any fatal flaws in my theory, or if it has already been done - Wheel reinvention is not one of my favourite pastimes!! Many thanks, Matt. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

RE: How to get around lack of views?

2004-03-30 Thread Matt Chatterley
. Leaves a lot to be desired though, since data consistency (and age) can become issues if updates are frequent... If the data is relatively static, it's just a bit messy. Regards, Matt -Original Message- From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED] Sent: 29 March 2004 21:58

RE: INSERT ... SELECT question

2004-03-29 Thread Matt Chatterley
, col2, col3: INSERT INTO table (col2, col3) SELECT col2, col3 FROM table2 WHERE id_col=1; Regards, Matt -Original Message- From: Eric J. Janus [mailto:[EMAIL PROTECTED] Sent: 29 March 2004 19:37 To: MySQL Subject: INSERT ... SELECT question I have a table with just about 100 columns

RE: INSERT ... SELECT question

2004-03-29 Thread Matt Chatterley
the temporary table back into the original. I don't like that at all, though. It seems messy. Hopefully someone here can come up with a better idea! Cheers, Matt -Original Message- From: Eric J. Janus [mailto:[EMAIL PROTECTED] Sent: 29 March 2004 20:12 To: Matt Chatterley; 'MySQL' Subject: RE

Re: ORDER DESC vs. ORDER ASC exec time

2004-03-29 Thread Matt W
. Better check with SHOW INDEX FROM PhoneCalls. That leaves the DISTINCT clause as the suspect. The EXPLAINs look the same with ASC/DESC on an equivalent query I just tried. So maybe something is making DISTINCT + reverse index scan slow even if it's not packed... Matt - Original Message

Re: mysqld keeps crashing

2004-03-29 Thread Matt W
Hi Joshua, First thing I'd try is upgrading to 4.1.1! And/or 4.1.2 when it's released in a couple weeks. Matt - Original Message - From: Joshua Thomas Sent: Monday, March 29, 2004 10:51 AM Subject: mysqld keeps crashing Hello all, I'm running mysql 4.1.0-alpha-log on FreeBSD 5.1

RE: Speeding up MySQL server

2004-03-25 Thread Matt Chatterley
that although slightly outdated information may be read, no updates would be delayed? Depends on what you're doing, and what you're trying to achieve, really! Thanks, Matt. -Original Message- From: Jim Richardson [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 03:17 To: [EMAIL PROTECTED] Subject

Re: mysql as cluster service, failover causes broken replication

2004-03-25 Thread Matt Sturtz
Yes, the clients (appearently) read to the end of the previous file, and then sit there, while the server is writing to a new file. I was thinking this had to do with the unclean shutdown of MySQL-- perhapps it's something else. -Matt- Matt Sturtz wrote: Hello-- We're using Red Hat's

RE: SQL statement

2004-03-24 Thread Matt Chatterley
an expression or similar, calculating the value from data already in oldtable. Is this what you meant? If not, what exactly are you trying to do? Thanks, Matt -Original Message- From: Vinay [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 18:09 To: [EMAIL PROTECTED] Subject: SQL statement

mysql as cluster service, failover causes broken replication

2004-03-22 Thread Matt Sturtz
, but the slaves keep reading from the old file, db-bin.001). The only fix seems to be CHANGE MASTER TO..., which seems somewhat error prone. Anybody else running MySQL in this type of environment have any words of wisdom? Thanks in advance for any info... -Matt Sturtz- -- MySQL General Mailing List

RE: multiple databases: design question

2004-03-21 Thread Matt Chatterley
) and scalability pov too, to split it up into multiple databases. Thanks, Matt -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of TO Sent: 21 March 2004 15:14 To: [EMAIL PROTECTED] Subject: multiple databases: design question What are the advantages and disadvantages

RE: Newbie Can't Add a User to MySQL

2004-03-21 Thread Matt Chatterley
(mysql_error()); As to the connection problem, you are putting the password into a variable called '$dbpassword' and passing a different (presumably null) variable '$dbpasswd' into mysql_connect. Thanks, Matt -Original Message- From: Lee Zelyck [mailto:[EMAIL PROTECTED] Sent: 21 March 2004 18

RE: retrieving last record for all distinct users

2004-03-20 Thread Matt Chatterley
GROUP BYLogin ) Latest ON Latest.Login = S.Login Or something very similar - using a subquery (and joining to it), to ensure you only look at the latest records. I've made the assumption that 'Login' is your way to uniquely identify a user! Thanks, Matt -Original

RE: retrieving last record for all distinct users

2004-03-20 Thread Matt Chatterley
Had my brain been in gear, I would have typed the 'AND Latest.TimeStamp = S.TimeStamp' which you will also need on that join.. Cheers, Matt -Original Message- From: Matt Chatterley [mailto:[EMAIL PROTECTED] Sent: 20 March 2004 19:51 To: 'motorpsychkill'; 'mysql' Subject: RE

Re: String Concatenation Operator?

2004-03-20 Thread Matt W
isn't in ANSI mode (specifically, the PIPES_AS_CONCAT part), which is typical since it's not enabled by default, || is logical OR. :-( Matt - Original Message - From: Jim McAtee Sent: Thursday, March 18, 2004 4:29 PM Subject: String Concatenation Operator? Does MySQL have a string

Re: Stored Procs and Commit/Rollback Transactions

2004-03-20 Thread Matt W
(most common) and BDB table types. MyISAM doesn't. Hope that helps. Matt - Original Message - From: Laphan Sent: Thursday, March 18, 2004 5:19 PM Subject: Stored Procs and Commit/Rollback Transactions Hi All OK I admit it I'm a complete MSV (MySQL Virgin), so I might be asking

RE: Stored Procs and Commit/Rollback Transactions

2004-03-20 Thread Matt Chatterley
be called), but this is fine - it's the first alpha, after all! Now all I need to be truly content is views Cheers, Matt -Original Message- From: Matt W [mailto:[EMAIL PROTECTED] Sent: 20 March 2004 22:57 To: Laphan; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Stored Procs

RE: Guru's advice needed ........[Security: SQL injection]

2004-03-19 Thread Matt Chatterley
has already tried this... Thanks, Matt -Original Message- From: Tariq Murtaza [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 18:41 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Guru's advice needed [Security: SQL injection] *Dear Friends!* Can someone shed some light on how

Re: BETWEEN

2004-03-17 Thread Matt W
Hi Michael, - Original Message - From: Michael Stassen Sent: Tuesday, March 16, 2004 9:45 AM Subject: Re: BETWEEN Matt W wrote: The query using 2 BETWEENs with OR is exactly how it should be. It will be fast even in MySQL 3.23. OR is not a problem when the OR parts involve

Re: BETWEEN

2004-03-17 Thread Matt W
could remove the range values that won't be found because they conflict, but it only does that type of thing with constants, not ranges; at least not yet. Compare the EXPLAINs for these 2 WHEREs: ... WHERE col=123 AND col 123; ... WHERE col IN (123) and col NOT IN (123); Matt -- MySQL General

LDAP Athenticaiton for MySQL

2004-03-16 Thread Matt Silva
Hello Is there a way I can get a MySQL database to authenticate users against an LDAP database without any 3rd party coding? I want to store mysql usernames and passwords in ldap. Thanks Matt -- Matt Silva Empower Software Technologies, LLC 27851 Bradley Rd. Suite 120 Sun City, CA 92586 PH: (909

Re: BETWEEN

2004-03-13 Thread Matt W
Hi Michael, - Original Message - From: Michael Stassen Sent: Saturday, March 13, 2004 10:48 AM Subject: Re: BETWEEN Keith wrote: g'day, i'm looking for a way to do two BETWEEN ranges. Currently I have sys.sectorID BETWEEN 1 AND 20 but I want it so that I can search between

Re: query question using REGEXP

2004-03-13 Thread Matt W
Hi Anthony, You don't need REGEXP for this; LIKE will do. Try something like this: ... WHERE CONCAT(',', Column, ',') LIKE '%,2,%' to search for rows that contain 2. Hope that helps. Matt - Original Message - From: award Sent: Saturday, March 13, 2004 2:16 PM Subject: query

Re: query question using REGEXP

2004-03-13 Thread Matt W
, then the query I gave will work fine for that because it adds a comma to the beginning and end of the column (with CONCAT()) before doing the LIKE comparison. Matt - Original Message - From: award Sent: Saturday, March 13, 2004 5:10 PM Subject: RE: query question using REGEXP Hi thanks

Re: 3 000 000 requests for last 14 days...

2004-03-10 Thread Matt W
Hi Patrick, No, you can't get per database statistics in MySQL. :-( Matt - Original Message - From: Patrick Gelin Sent: Wednesday, March 10, 2004 1:45 AM Subject: 3 000 000 requests for last 14 days... Hi, I've got very astonished to see with phpMyAdmin my MySQL database has

Re: mysqladmin processlist and pid

2004-03-09 Thread Matt W
Hi Tom, You can't. MySQL's own thread ids are sequential. The OS pids are random. There's no connection between them. Besides, mysqld is really only running in a single real process, it's just that LinuxThreads shows each thread as a process. Matt - Original Message - From: Tom

Re: Join Definitions

2004-03-06 Thread Matt W
Yeah, and MySQL doesn't yet support FULL OUTER JOIN. :-( It's listed on the TODO under Features Planned for the Mid-Term Future: http://www.mysql.com/doc/en/TODO_sometime.html And it's listed for version 5.1 on the Development Roadmap: http://www.mysql.com/doc/en/Roadmap.html Matt -- MySQL

Re: Corrupt full text index

2004-03-04 Thread Matt W
: http://bugs.mysql.com/2033 http://bugs.mysql.com/2065 Hopefully any problems are ironed out in 4.1.2! :-) Matt -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Building MySQL with Visual Studio .NET 2003

2004-03-02 Thread Matt Solnit
apologies if this message should only have gone to the Win32 list. Sincerely, Matt Solnit [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Valid Ports in Windows

2004-02-26 Thread Matt P. Fuller
Hi, I was just wondering what the valid range for ports is for the MySQL server in a Windows environment. Obviously, the server won't connect to a port already in use, but I know some programs disallow ports under 1024. Thanks, Matt -- MySQL General Mailing List For list archives: http

Re: HOWTO add Primary Key to Existing Table

2004-02-26 Thread Matt W
Hi Paul, ALTER TABLE table_name ADD id_column_name INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST; The FIRST word at the end just makes it the first column in the table if that's what you want. Hope that helps. Matt - Original Message - From: Paul Maine Sent: Thursday

Re: fulltext search always returns no results

2004-02-25 Thread Matt W
. :-) Also, key_len of 0 in EXPLAIN is normal. It sounded like you are getting some kind of error in your first message? If so, what is it? Are you SURE that the EXACT word you're searching for is present in the table (for example, with a space, etc. on either side of it)? Matt - Original Message

MySQL Administrator - Startup Variables

2004-02-23 Thread Matt Silva
in the Administrator program? Thanks Matt -- Matt Silva Empower Software Technologies, LLC 27851 Bradley Rd. Suite 120 Sun City, CA 92586 PH: (909) 672-6257 WB: www.storagecommander.com EM: [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: MySQL Administrator - Startup Variables

2004-02-23 Thread Matt Silva
Oh we are using Red Hat Enterprise Linux WS ver 3.0 Thanks Matt Thomas Taylor wrote: what platform are you on? On Feb 23, 2004, at 4:27 PM, Matt Silva wrote: I am using the ~new~ MySQL Administrator and i'm trying to load the Startup Variables and i'm receiving a Could not find my.cnf error

Re: run query second time

2004-02-23 Thread Matt W
time it took a couple of seconds before printing the results. Why is that? Because data still in the RAM? Thanks Yep, that's usually why. :-) Matt -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: HEAP tables vs MYISAM on ramdisk

2004-02-23 Thread Matt W
in production. :-) Here's the 4.1.1 full-text bugs I know of: http://bugs.mysql.com/1977 http://bugs.mysql.com/2190 http://bugs.mysql.com/2417 And with multi-byte character sets: http://bugs.mysql.com/2033 http://bugs.mysql.com/2065 Matt -- MySQL General Mailing List For list archives: http

Re: Encryption Issue

2004-02-22 Thread Matt W
? You're absolutely right. :-) Query contents can be seen in logs. That's why I do any encryption in the client code and only use the finished result in queries. Not sure how possible it is if you want to use AES encrytion, though. Matt -- MySQL General Mailing List For list archives: http

Re: Indexed searching with OR ?

2004-02-20 Thread Matt W
Chris, The good news is that MySQL 5.0 can finally use multiple indexes per table. I just noticed this page in the manual a few days ago: http://www.mysql.com/doc/en/OR_optimizations.html :-) Matt - Original Message - From: Chris Nolan Sent: Monday, February 16, 2004 7:13 AM Subject

Re: Transferring comma-delimited list imto mysql table

2004-02-20 Thread Matt W
Hi Eve, That error is because the LOCAL part of LOAD DATA is disabled. See here: http://www.mysql.com/doc/en/LOAD_DATA_LOCAL.html Since your file is probably on the same system as the MySQL server, it should work if you remove the LOCAL word. Hope that helps. Matt - Original Message

Improving seek/access times -- does RAID help?

2004-02-20 Thread Matt W
the situation, any other ideas if the sub-6ms access times of the fastest 15K SCSI drives isn't fast enough? :-) Thanks, Matt

Re: Improving seek/access times -- does RAID help?

2004-02-20 Thread Matt W
on millions of rows, while possibly reading 10s of thousands of data rows. It takes a lot more time when those rows aren't cached. The only thing I've thought of so far is symlinking the data file on a separate drive, but I'm not sure how much that will actually help. Matt - Original Message

Setting variables on update

2004-02-20 Thread Matt Fagan
if this is something MySQL can do, and if so, what is the correct syntax? Note that I can't use an autoincrement column because the IDs aren't being put into a database. I've searched through MySQL docs and mailing lists but couldn't find any mention of this. Any help would be appreciated. Matt Fagan [EMAIL

Reporting Engines for MySQL

2004-02-19 Thread Matt Silva
anything? Thanks Matt -- Matt Silva Empower Software Technologies, LLC 27851 Bradley Rd. Suite 120 Sun City, CA 92586 PH: (909) 672-6257 WB: www.storagecommander.com EM: [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Re: Massive memory utiliazation

2004-02-19 Thread Matt W
Hi James, Your key_buffer is using tons of memory at 1.5 GB! table_cache is probably too big, too. Matt - Original Message - From: James Kelty Sent: Saturday, February 14, 2004 3:03 AM Subject: Massive memory utiliazation Hello, We have currently tuned MySQL for a high rate

Re: mysqldump via tcp/ip memory problem

2004-02-19 Thread Matt W
. Matt - Original Message - From: [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 1:23 PM Subject: mysqldump via tcp/ip memory problem I've dumped alot of databases before using mysqldump, and am trying to dump a larger database than normal, about 2.2GB in size.. The largest table

Re: Installation Confusion in Linux

2004-02-17 Thread Matt Silva
This will list all the files in the package and where they are located. rpm -qpl package_name.rpm or from the rpm database rpm -ql pachage_name Matt Ross O wrote: I was able to successfully install MySQL server 4 under windows, but am a little confused about doing it through linux. My

Re: Collation and LONGBLOB fields

2004-02-11 Thread Matt Mastrangelo
*** Table: test Create Table: CREATE TABLE `test` ( `myblob` longtext character set latin1 collate latin1_general_cs ) ENGINE=MyISAM DEFAULT CHARSET=latin1 1 row in set (0.00 sec) Thanks. Victoria Reznichenko wrote: Matt Mastrangelo [EMAIL PROTECTED] wrote: I'm using mySQL 4.1.1a-alpha on XP

Replication causes high system load

2004-02-10 Thread Matt Sturtz
if the slave is a few (or even more) minutes behind, so I'm willing to sacrafice replication speed for performance. Any way to throttle updates so that, say, the SQL thread will only do a certain number of inserts/updates per second? or maybe any other ideas? -Matt- -- MySQL General Mailing

Collation and LONGBLOB fields

2004-02-10 Thread Matt Mastrangelo
be circumvented by setting a default collation at the database level, in the CREATE DATABASE statement. Thanks, Matt -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: Advice

2004-02-09 Thread Matt Lynch
shell (in Linux) 2. type mysql and press enter. Regards, Matt -Original Message- From: Alexander Pfingstl [mailto:[EMAIL PROTECTED] Sent: Saturday, February 07, 2004 4:29 AM To: [EMAIL PROTECTED] Subject: Advice Hi, I am a blind user and for me it would be very helpful if I could use

RE: MySQL and Coldfusion

2004-02-09 Thread Matt Lynch
Hi Ian, What is the problem you are hitting? I have been successfully using MX with MySQL. Matt -Original Message- From: Ian O'Rourke [mailto:[EMAIL PROTECTED] Sent: Sunday, February 08, 2004 10:52 AM To: [EMAIL PROTECTED] Subject: MySQL and Coldfusion Is anyone on the list using

Re: Automatic conversion from `char` TO `varchar`

2004-02-09 Thread Matt Fagan
is that joins between static tables are faster than joins between dynamic tables (by about 20% for the int column join). I guess this is what the MySQL manual is talking about (and other people who posted the same thing to this thread). Matt Fagan [EMAIL PROTECTED] http://greetings.yahoo.com.au

Re: Automatic conversion from `char` TO `varchar`

2004-02-08 Thread Matt Fagan
only. ... Matt Fagan http://greetings.yahoo.com.au - Yahoo! Greetings Send your love online with Yahoo! Greetings - FREE! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Automatic conversion from `char` TO `varchar`

2004-02-08 Thread Matt Fagan
difference between fixed/variable length rows, as oppposed to the relative efficiency of CHAR vs. VARCHAR. Michael Matt Fagan wrote: I'm having the same problem. I did a performance test, and CHAR columns are significantly faster than VARCHAR (at least on my platform - MySQL 4.1.1a

Re: key_reads key_read_requests

2004-02-07 Thread Matt W
Hi, You're probably right. All the status variables seem to start over after hitting 4,294,967,295. :-( I don't get why they're only using 32 bit integers for the variables that they know can go WAY over that amount. :-/ Matt - Original Message - From: Mikhail Entaltsev Sent: Friday

Re: query the data of a fulltext index directly from index?

2004-02-04 Thread Matt W
Hi Sergei! Great news. Thanks very much! :-) Matt - Original Message - From: Sergei Golubchik Sent: Tuesday, February 03, 2004 1:54 PM Subject: Re: query the data of a fulltext index directly from index? Hi! On Feb 02, Matt W wrote: Sergei, Any chance of getting a ft_dump

Re: Server Behavior.

2004-02-04 Thread Matt W
the minimum mysqld threads running (they appear as processes with LinuxThreads). You'd probably see the same thing right after starting the server. :-) BTW, the size of the whole process is 12M in your case; NOT 12M for each thread. Hope that helps. Matt -- MySQL General Mailing List For list archives

Re: mySQL autogenerate, update table

2004-02-04 Thread Matt W
Also sending this to the General list since it isn't a Windows specific question. :-) Matt - Original Message - From: tooptoosh Sent: Wednesday, February 04, 2004 1:54 PM Subject: mySQL autogenerate, update table Hi all, I have a mySQL table with 75,000 records in it, but the table

Re: query the data of a fulltext index directly from index?

2004-02-04 Thread Matt W
Sergei, Any chance of getting a ft_dump Windows binary in the distribution? :-) Regards, Matt - Original Message - From: Sergei Golubchik Sent: Monday, February 02, 2004 11:33 AM Subject: Re: query the data of a fulltext index directly from index? Hi! On Feb 02, Alexander Bauer

Re: A fun one

2004-01-24 Thread Matt W
) columns, which won't hold the addresses either. :-D So what do you think about the situation? If we want to stick with INT-based columns and handle IPv6, I guess we could use 2 BIGINT columns. :-/ I just don't know when we're going to *need to* handle IPv6... Matt -- MySQL General Mailing List

RE: Odd Rounding?

2004-01-23 Thread Matt Lynch
with monetary data. When declaring a column of one of these types the precision and scale can be (and usually is) specified; for example: salary DECIMAL(5,2) Regards, Matt -- That's

RE: Slow query times

2004-01-20 Thread Matt Griffin
the index. What is the runtime without the index? Matt -Original Message- From: Balazs Rauznitz [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 12:53 PM To: [EMAIL PROTECTED] Subject: Slow query times While doing some benchmarks the other day, I saw surprisingly slow query

RE: Slow query times

2004-01-20 Thread Matt Griffin
table. MySQL usually detects this and ignores the index, especially if another index was already used to break down the number of rows. Matt -Original Message- From: Balazs Rauznitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 2:46 PM To: Matt Griffin Cc: [EMAIL PROTECTED

RE: Slow query times

2004-01-20 Thread Matt Griffin
Ignore that silly equation. I tried to simplify and ended up with something mathematically ridiculous. I'm sure someone can come up with a more accurate simplification. Matt -Original Message- From: Matt Griffin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 3:46 PM

Re: Slow query times

2004-01-20 Thread Matt W
/doc/en/News-4.0.17.html Fixed optimizer bug, introduced in 4.0.16, when REF access plan was preferred to more efficient RANGE on another column. If that's the problem, upgrading will fix it. :-) Matt - Original Message - From: Balazs Rauznitz Sent: Monday, January 19, 2004 9:39 AM

Re: Slow query times

2004-01-20 Thread Matt W
- Original Message - From: Peter J Milanese Sent: Tuesday, January 20, 2004 1:37 PM Subject: RE: Slow query times You may also want to try : count(1) instead of count(*) count(*) pulls back the data while count(1) does not. Completely untrue... Matt -- MySQL

Re: How does key buffer work ?

2004-01-16 Thread Matt W
Hi John, - Original Message - From: [EMAIL PROTECTED] Sent: Thursday, January 15, 2004 2:28 AM Subject: Re: How does key buffer work ? Matt, One last question and then I promise to drop the topic ... what would be the best way to force a complete load of an index into the key buffer

Re: How does key buffer work ?

2004-01-14 Thread Matt W
be fetched from the query cache. :-) Thanks and Regards, John Everitt PGN MSS Philips C/IT. Hope that helps. Matt -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: How does key buffer work ?

2004-01-14 Thread Matt W
Hi John, - Original Message - From: [EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 6:37 AM Subject: Re: How does key buffer work ? Matt, Many thanks for the answer. It has helped enormously. First, I have been getting the odd index corruption that has proved to be very

RE: hierarchical records, I need some help!! ;(

2004-01-13 Thread Matt Griffin
more on nested set models. Cheers, Matt -Original Message- From: Steve Folly [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 1:59 PM To: MySQL MySQL Subject: Re: hierarchical records, I need some help!! ;( On 13 Jan 2004, at 09:19, Victor Reus wrote: Hi again, Second: specify

What full-text improvements are next?

2004-01-12 Thread Matt W
very curious about ANY coming improvements, besides what I mentioned. Any more information that you can give us about anything (and/or put in the manual)? If not, that's OK. :-/ Keep up the good work! Regards, Matt -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: 4.1.1 FTS 2-level?

2004-01-12 Thread Matt W
)building the index be slower with 4.1 for any reason? I thought maybe it was, but I'd have to try again to be sure. Matt -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Which one is better: CHAR or VARCHAR?

2004-01-12 Thread Matt W
improvement. Of course, if you have other variable length columns in your table, MySQL will be stupid and change your CHAR to VARCHAR, thinking it's helping you. :-( Matt - Original Message - From: Hassan Shaikh Sent: Sunday, January 11, 2004 7:04 AM Subject: Which one is better: CHAR

Re: Automatic conversion from `char` TO `varchar`

2004-01-12 Thread Matt W
Hi, - Original Message - From: Michael Stassen Sent: Sunday, January 11, 2004 5:10 PM Subject: Re: Automatic conversion from `char` TO `varchar` Martijn Tonies wrote: Hi, The manual http://www.mysql.com/doc/en/Open_bugs.html says The following problems are known and will be

Re: query efficiency

2004-01-12 Thread Matt W
a column in the UPDATE or not. The only time it could be an issue is if you're setting a column to a *REALLY* long value. It will take longer to send the query to the server (especially over a network) and MySQL will take a little more time to parse it. Hope that helps. Matt - Original

Re: JOIN types

2004-01-12 Thread Matt W
bug. What version of MySQL are you using? Matt - Original Message - From: Keith Bussey Sent: Monday, January 12, 2004 4:49 PM Subject: JOIN types Hey all, I've read the pages in the MySQL manual that explain the types of JOINs many times, but still think I'm missing something. I

Re: Loading the .myd into memory

2004-01-12 Thread Matt W
. Index data can be read from disk a lot faster than rows can -- and the OS will also cache the index data even when MySQL's key_buffer does. Hope that helps. Matt - Original Message - From: trevor%tribenetwork.com Sent: Monday, January 12, 2004 5:20 PM Subject: Loading the .myd

Re: Problem with 'OR' statement

2004-01-09 Thread Matt Fuller
= 'FIND_ME' will be returned. Thus, every record is being returned. If you use AND the query will return your intended result, all the records where machinename != 'FIND_ME' AND machinename != 'OPEN'. HTH Matt At 10:22 AM 1/9/2004, you wrote: Could someone have a look at this syntax and give me

Re: When does using multiple databases make sense?

2004-01-08 Thread Matt Fuller
that designates which job the record is for. We simply have a connection open to the appropriate database that the user is working with. There are times that I wonder if this was an appropriate design, but for the most part, I think its the most simplistic way of coding it. Matt At 11:47 AM 1

Re: Problem while installing MySQL, etc.

2004-01-07 Thread Matt Fuller
or \usr\local, I believe, in Linux). If you are upgrading, then make sure you back up your old installation as to not override your data. HTH, Matt At 09:25 AM 1/7/2004, Sharma, Saurabh wrote: Hi I am trying to install MySQL for practice on my PC (Windows XP). I have all the administrative

Re: Re[2]: transaction support

2004-01-06 Thread Matt Davies
Quoting DeBug [EMAIL PROTECTED]: [MySQL] 1: START TRANSACTION 2: WITHDRAW $50 from account 32146. 3: DEPOSIT $50 into account 12345. 4: LOG transfer (date/time/teller/etc...) for auditing. 5: COMMIT TRANSACTION DK It depends why step 3 failed. DK If you want to rollback the transaction

Re: Bet the Business

2004-01-06 Thread Matt Davies
As I understand stored procedures: Stored procedures offer a level of performance that you normally can not replicate in code. The stored procedure actually has the query stored in the query parser ready to rumble. You do not have to invoke network or socket overhead in calling a long query and

Re: FULLTEXT across two tables

2004-01-03 Thread Matt W
Hi Ladd, How about SELECT DISTINCT? Hope that helps. Matt - Original Message - From: Ladd J. Epp Sent: Saturday, January 03, 2004 11:39 AM Subject: FULLTEXT across two tables Hello, I would like to do a FULLTEXT search across two tables. I run an artist website, so I need

Re: Converting MyISAM to InnoDB type.

2004-01-03 Thread Matt W
Hi Fred, InnoDB does not support AUTO_INCREMENT on secondary columns of a multi-column index. `id_registro` int(11) NOT NULL auto_increment, PRIMARY KEY (`id_formula`,`id_registro`) There: id_registro is the second column of the index. Matt - Original Message - From: Fred Sent

Re: Default DATE field values

2004-01-03 Thread Matt W
, if you weren't aware of that. Matt - Original Message - From: Chris Nolan Sent: Saturday, January 03, 2004 10:34 AM Subject: Default DATE field values Hi all, Upon reading the funky manual, I have discovered the following things: 1. TIMESTAMP fields can be set so that their default

Re: Converting MyISAM to InnoDB type.

2004-01-03 Thread Matt W
Hi Fred, Also, you may be able to swap the order of those columns in the index. I think that would work, but don't know if it would cause other problems -- like for the way your app uses the index, etc. Matt - Original Message - From: Fred Sent: Saturday, January 03, 2004 6:11 PM

Re: Alter table and setup Default value

2004-01-03 Thread Matt W
Hi Mike, It's just part of modifying the column to change the DEFAULT value. e.g. you might use this (changes to NOT NULL and DEFAULT value of 'new'): ALTER TABLE table MODIFY type ENUM('new','used') NOT NULL DEFAULT 'new'; Hope that helps. Matt - Original Message - From: Mike

Re: Subtracting date fields

2004-01-01 Thread Matt W
Dan, DATEDIFF() only works in MySQL 4.1.1+. RTFM! ;-) Matt - Original Message - From: [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 2:10 PM Subject: RE: Subtracting date fields Kenneth, try SELECT id, DATEDIFF(firstdate, postdate) AS diff FROM calendar RTFM

Re: Subtracting date fields

2004-01-01 Thread Matt W
to be portable to different systems, I suggest using things compatible with 3.23. And when you have to use something that's not, handle it in your code. Matt - Original Message - From: Bob Terrell [EMAIL PROTECTED] Sent: Thursday, January 01, 2004 5:35 PM Subject: Re: Subtracting date fields

Re: special characters as field values

2004-01-01 Thread Matt W
again, or it will add too many slashes! So you need to check for that somehow. Hope that helps. Matt - Original Message - From: Chris W Sent: Wednesday, December 31, 2003 4:44 PM Subject: special characters as field values I am storing data from an html form and there could be any

Re: IDENTITY column

2003-12-23 Thread Matt Fuller
gets deleted from the table, then MySQL will try to re-use the space that once held that row. Check out the following links: http://www.mysql.com/doc/en/CREATE_TABLE.html http://www.mysql.com/doc/en/example-AUTO_INCREMENT.html HTH Matt At 01:14 PM 12/23/2003, you wrote: Hi, I am a beginner in using

Re: Benefits of MAX_ROWS and AVG_ROW_LENGTH

2003-12-23 Thread Matt W
Hi Jeremy, - Original Message - From: Jeremy Zawodny Sent: Monday, December 22, 2003 2:20 PM Subject: Re: Benefits of MAX_ROWS and AVG_ROW_LENGTH On Fri, Dec 19, 2003 at 06:40:17PM -0600, Matt W wrote: Hi Mark, I'll tell you what I know. :-) First, AVG_ROW_LENGTH is only

Re: Benefits of MAX_ROWS and AVG_ROW_LENGTH

2003-12-23 Thread Matt W
. :-) More below... - Original Message - From: Mark Hawkes Sent: Saturday, December 20, 2003 3:50 PM Subject: Re: Benefits of MAX_ROWS and AVG_ROW_LENGTH Hi Matt, Thanks very much for your thoughts and advice. I was going to ignore using MAX_ROWS, MIN_ROWS and AVG_ROW_LENGTH because

RE: Convert MS Access to MySql

2003-12-22 Thread Matt Lynch
Hi Arthur, Dbtools is a free product and it will do the conversion for you. http://www.dbtools.com.br/EN/index.php We have had success converting from MSAccess to MySQL in the past with it. Regards, Matt -Original Message- From: Arthur Klimowicz [mailto:[EMAIL PROTECTED] Sent

Re: How boolean full-text search finds matches?

2003-12-19 Thread Matt W
, Matt W wrote: Hi, Just have a couple more full-text search inquiries here. :-) I'm not exactly clear on how matching rows are found when searching for 2 or more required words: '+word1 +word2'. I understand that it can't currently know which word occurs less, so that it can be searched

Re: Benefits of MAX_ROWS and AVG_ROW_LENGTH

2003-12-19 Thread Matt W
= 4,294,967,295 or no MAX_ROWS -- 4 byte pointer; max data size: 4GB product 4,294,967,295 -- 5 byte pointer; max data size: 1TB (or 4,294,967,295 rows is MySQL's internal limit I *think*) Hope that helps! Matt P.S. You should upgrade MySQL (at least latest 3.23; preferably to 4.0). :-) 3.23.41 is over

Binaries for PocketPC

2003-12-18 Thread Matt Lynch
Hi, Does anyone know of a MySQL distribution for the PocketPC? Thanks, Matt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.543 / Virus Database: 337 - Release Date: 11/21/2003 -- MySQL General Mailing List For list

Re: show processlist

2003-12-18 Thread Matt W
which index to use, if any, when looking up rows in a table. Now we both know. ;-) Hope that helps. Matt - Original Message - From: Andrius Jakas Sent: Thursday, December 18, 2003 6:08 AM Subject: show processlist Hi, show processlist displays processes with state statistics, what

RE: Spatial Extension in MySQL 4.1.1-alpha

2003-12-17 Thread Matt Lynch
('POINT(1 1)') ); Query OK, 1 row affected (0.00 sec) mysql SELECT AsText(g) FROM geom; ++ | AsText(g) | ++ | POINT(1 1) | ++ 1 row in set (0.00 sec) mysql Thanks again, Matt -Original Message- From: Paul DuBois [mailto:[EMAIL PROTECTED] Sent

How boolean full-text search finds matches?

2003-12-17 Thread Matt W
rows match as far as I know), but that made it a little slower (I'd expect that, if anything). Is there any explanation for why adding wild-cards would make a search faster? Thanks in advance! Matt P.S. Sergei, if you see this, in one of your replies to my full-text suggestions back in September

<    1   2   3   4   5   6   7   >