Re: how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Reindl Harald
r i am newbie to mysql and not sure where to put that ( > SET SQL_BIG_SELECTS=1;) : > > when i grep , i see following files for example that has query code: > > [root@server public_html]# grep -R "SELECT filename" . | grep -v error_lo > > ./sites/al

Re: how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Madan Thapa
Thank you , however i am newbie to mysql and not sure where to put that ( SET SQL_BIG_SELECTS=1;) : when i grep , i see following files for example that has query code: [root@server public_html]# grep -R "SELECT filename" . | grep -v error_lo ./sites/all/modules/views/includes

Re: how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Reindl Harald
Am 28.02.2014 12:17, schrieb Madan Thapa: > After upgrading from mysql 5.0 to mysql 5.1, i am getting the follwing > error: > > how to set "SET SQL_BIG_SELECTS=1"? just type it before your query in question? as you can see below if you try such things and they are not s

how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Madan Thapa
Dear all, After upgrading from mysql 5.0 to mysql 5.1, i am getting the follwing error: how to set "SET SQL_BIG_SELECTS=1" ? Error is *Warning*: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECT

sql_big_selects and max_join_size

2009-07-01 Thread Amit Chandel
I am getting "ERROR 1104 (42000): The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay" on the following query. mysql> SELECT ord.*, pt.authorize_transaction_id FROM store_orders as o

Re: Setting SQL_BIG_SELECTS

2006-01-26 Thread David P. Donahue
How to specify that option depends entirely on how you are forming your connection with the MySQL server. Which connection library are you using and how are you opening your connection? The application is an ASP .NET web app hosted on Mono on an Apache web server running Linux. My data access

Re: Setting SQL_BIG_SELECTS

2006-01-26 Thread SGreen
"David P. Donahue" <[EMAIL PROTECTED]> wrote on 01/26/2006 02:19:25 PM: > I've determined that I need to set SQL_BIG_SELECTS=1 for an application > I have which connects to a MySQL 4.x database. However, I don't see how > to apply it universally to th

Setting SQL_BIG_SELECTS

2006-01-26 Thread David P. Donahue
I've determined that I need to set SQL_BIG_SELECTS=1 for an application I have which connects to a MySQL 4.x database. However, I don't see how to apply it universally to that application's connection. Is it something I need to put in the connection string? Something I need

Re: Setting SQL_BIG_SELECTS=1 for MySQL server

2004-02-26 Thread Egor Egorov
into some problems with the MAX_JOIN_SIZE > and the SQL_BIG_SELECTS. Using the control center, or command line > option, we can successfully 'Set SQL_BIG_SELECTS=1' and solve the > problem. > > So the question is, is there a way to set the server so that the default &g

Setting SQL_BIG_SELECTS=1 for MySQL server

2004-02-25 Thread Jennifer Horne
We've recently started using MySQL for customers with a large number of records on their systems. For the first time, one of our customers has gone over the 4 million record mark, and we're running into some problems with the MAX_JOIN_SIZE and the SQL_BIG_SELECTS. Using the control

Re: sql_big_selects

2003-02-08 Thread Dobromir Velev
ield or every time you'll have to wait long time before the query executes. Dobromir Velev [EMAIL PROTECTED] http://www.websitepulse.com/ - Original Message - From: "Dallas Engelken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2

RE: sql_big_selects

2003-02-07 Thread Victor Pendleton
What version MySQL are you using? Did you set up the MySQL server? SQL_BIG_SELECTS is to prevent users from making 'foolish' queries' "SQL_BIG_SELECTS = 0 | 1 If set to 0, MySQL will abort if a SELECT is attempted that probably will take a very long time. This is useful when

sql_big_selects

2003-02-06 Thread Dallas Engelken
fatal warning... that didnt work. if i set sql_big_selects=1 and run the query, it takes 10 minutes to return any data. mysql> SELECT * FROM email WHERE 1 AND subject = 'RE: TEST EMAIL' ORDER BY `id` DESC LIMIT 0,25; ERROR 1104: The SELECT would examine too many records and probably take