SQL_BIG_RESULT being ignored?

2010-04-22 Thread kabel
but shouldn't that hint force the temporary table to disk rather than a HEAP table? Thanks for any help anyone can provide, kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Performance of MySQL IN() given a list of constants.

2010-01-15 Thread kabel
mes concurrently and, since it may involve multiple connections (please don't ask) I don't think temp tables would work. I could take it with CREATE TABLE `baz_$SESSION_ID`... etc., where I generate some session ID, but I may go with the IN() stuff for starters just to see. Thank you VE

Performance of MySQL IN() given a list of constants.

2010-01-15 Thread kabel
| foo | range | idx_bar_id | idx_bar_id | 5 | NULL |7 | Using where | Does anyone have experience with the performance of IN(), given a list of constants, on an indexed column? Any pointers to more information on this would be greatly appreciated. Thanks in advance! kabel --

Re: self-joins in hierarchical queries: optimization problem

2009-10-29 Thread kabel
Not sure if this is the exact problem you're trying to solve, but this helped me in a similar situation. http://dev.mysql.com/tech-resources/articles/hierarchical-data.html kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: ad hoc replication for 3 X 40 000 rows

2009-10-21 Thread kabel
Might be worth checking out an ETL tool (Talend, Pentaho's Kettle) + cron (or the windows equivalent) to automate this. kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Table problem

2009-07-09 Thread kabel
running out of space on your temp partition.. if a query is either creating an explicit temporary table or generating one as part of execution, it may be filling it up. kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: MAC address as primary key - BIGINT or CHAR(12)

2009-05-14 Thread kabel
ress defined as BIGINT > 2. MAC address set as primary key > > Should I consider changing it to CHAR(12)? > > Replies will be appreciated. > Ilia And, if you use default charsets of anything else, make sure you set this column to CHARACTER SET ascii. A smaller index is a happi

Annoying .mysql_history problem

2009-03-31 Thread kabel
ql_history to be written as I go. Thanks for any pointers, kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: dynamically splitting a table through one full table scan

2009-03-28 Thread kabel
t feels it should be possible to do the split through a single scan. Any suggestions? thanks, Jacek Jacek, Have you looked into MySQL partitioning? If you're using version 5.1, it might really help.. just partition the big table on chunk ID. http://dev.mysql.com/doc/refman/5.1/en/partition

"ONLY IN"

2008-07-01 Thread kabel
d NOT NULL, `run_id` int(11) unsigned NOT NULL, `is_active` tinyint(1) NOT NULL default '1', PRIMARY KEY (`edition_id`,`run_id`); Thanks in advance, kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Percentage growth query.

2008-05-06 Thread kabel
x27;m currently using temporary tables to store the results of each query, however, I think there's a way to accomplish this using subqueries. Any thoughts? TIA, kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.

Union query

2008-04-29 Thread kabel
Thanks in advance for any help kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: How to know the maximum length of a field

2008-04-29 Thread kabel
analyse()? SELECT column FROM table PROCEDURE ANALYSE(10, 2000); kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL Stored Procedure error 1307

2008-04-18 Thread kabel
On Friday 18 April 2008 10:26:16 Ananda Kumar wrote: > can u please try this a root user > > mysql -uroot > > regards > anandkl > Same result, unfortunately. kabel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://l

MySQL Stored Procedure error 1307

2008-04-18 Thread kabel
t think that's the case. The results of mysqlcheck mysql for the proc tables are: mysql.proc OK mysql.procs_priv OK Anyone have any thoughts, or come across this before? TIA, kabel -- MySQL General Mailing List Fo