SEMAPHORES

2008-09-08 Thread Krishna Chandra Prajapati
Hi. Please elaborate the below information of 'show engine innodb status' and tell me the conclusion. -- SEMAPHORES -- OS WAIT ARRAY INFO: reservation count 31316796, signal count 31323156 Mutex spin waits 118580043, rounds 275054717, OS waits 660519 RW-shared spins 61380919, OS wa

Re: Full text search and highlight results

2008-09-08 Thread Brent Baisley
MySQL has no idea how you are presenting the data (html, rtf, etc.), so it couldn't hilight the words for you. It should really be that tricky using grep and PHP. Brent On Sep 8, 2008, at 10:58 AM, Fco. Mario Barcala Rodríguez wrote: Hi all: I was reading documentation and searching into

Re: Selecting around a circular reference?

2008-09-08 Thread Brian Dunning
Just now. It gives me: Invalid use of group function. On Sep 6, 2008, at 2:47 PM, Micah Stevens wrote: Did you try this? SELECT sum(fooditems.carb * mealitems.quantity) as sumcarbs, sum(fooditems.gi * ((fooditems.carb * mealitems.quantity) / sum(fooditems.carb * mealitems.quanti

threading in mysql-embedded

2008-09-08 Thread Ian Monroe
In limitations of MySQL embedded it notes that InnoDB isn't reentrant. Simply putting a mutex around all calls to mysql should be sufficient correct? So different threads are OK, just not different threads at the same time. Correct? It kind of depends on the definition of reentrant being used so I

Full text search and highlight results

2008-09-08 Thread Fco. Mario Barcala
Hi all: I was reading documentation and searching into mail archives but I didn't find a solution to the following question: Is there any way to highligh results from a full-text search? I know some tricky methods using PHP but I want to know if mysql (5.0 or 5.1 versions) offers some methos or f

Puzzled with Odd results

2008-09-08 Thread Michael
Is there a better tool than TOAD for MySql to import (csv) files into MySql? MySql or TOAD or both are seriously mistaken! I have a csv file that contains 2114 records (rows), I attempted to import it into a table having identical columns, in the following structure: -- CREATE TABLE `lusers`

Re: How many key buffer size should be allocate?

2008-09-08 Thread David Ashley
On Mon, Sep 8, 2008 at 12:47 AM, Dan Nelson <[EMAIL PROTECTED]> wrote: > In the last episode (Sep 08), Yi Wang said: > > According to the mysql manual, I changed key_buffer_size from 8M to > > 512M. But In mysql administrator, key buffer hitrate seems stay > > unchanged. And key buffer usage alway