Re: store search result as new table in memory

2015-04-12 Thread Jan Steinman
> From: Lucio Chiappetti > > On Tue, 7 Apr 2015, shawn l.green wrote: > >> The advantage to using temporary tables is that they can have indexes on >> them. You can create the indexes when you create the table or you can ALTER >> the table later to add them. > > if they are big, using proper

Re: store search result as new table in memory

2015-04-09 Thread Lucio Chiappetti
On Tue, 7 Apr 2015, shawn l.green wrote: Temporary tables are going to become your very good friends. yes I do use temporary tables a lot The advantage to using temporary tables is that they can have indexes on them. You can create the indexes when you create the table or you can ALTER the

Re: store search result as new table in memory

2015-04-07 Thread shawn l.green
On 4/7/2015 4:12 PM, Rajeev Prasad wrote: hello Masters, I am a novice, and I am wanting to know how to achieve this: 1million plus row in a table. user runs a search, gets some results. I want to store this result in memory in a way, so that user can fire more SQL searches on this result. How

Re: store search result as new table in memory

2015-04-07 Thread Emil Oppeln-Bronikowski
W dniu 07.04.2015 o 22:12, Rajeev Prasad pisze: 1million plus row in a table. user runs a search, gets some results. MySQL comes with query-cache, once you run your SELECT statement the results are kept in memory. Try it by running big query and then rerun it, the second time it will take m

store search result as new table in memory

2015-04-07 Thread Rajeev Prasad
hello Masters, I am a novice, and I am wanting to know how to achieve this: 1million plus row in a table. user runs a search, gets some results. I want to store this result in memory in a way, so that user can fire more SQL searches on this result. How is this done? I want this to go atleast upto

Re: Trying to create a new table in memory.

2006-12-05 Thread Charles Danko
This worked. Thanks very much for your help! Charles On 12/1/06, mos <[EMAIL PROTECTED]> wrote: At 05:37 PM 11/30/2006, Charles Danko wrote: >Hi, > >I am trying to write a new table into main memory, but I am getting an out >of memory error. > >Each entry consists of 2 medium_int and 1 tiny_

Re: Trying to create a new table in memory.

2006-12-01 Thread mos
At 05:37 PM 11/30/2006, Charles Danko wrote: Hi, I am trying to write a new table into main memory, but I am getting an out of memory error. Each entry consists of 2 medium_int and 1 tiny_int variables, and the table contains just over 100,000,000 rows. By my count, this makes just over 700MB

Re: Trying to create a new table in memory.

2006-12-01 Thread Charles Danko
Hi, Thanks for the responses! I am creating the table from an existing (MyISAM) table using the command: CREATE TABLE memRAW (mID SMALLINT NOT NULL, pID MEDIUMINT NOT NULL, mp TINYINT NOT NULL) ENGINE = MEMORY SELECT * FROM RAW; The error that I get is in the MySQL client application: ERROR 11

Re: Trying to create a new table in memory.

2006-12-01 Thread Nils Meyer
Hi Charles, Charles Danko wrote: Each entry consists of 2 medium_int and 1 tiny_int variables, and the table contains just over 100,000,000 rows. By my count, this makes just over 700MB of data. The machine I am using has 2GB, but I am still getting an out of memory error. What am I doing wr

Re: Trying to create a new table in memory.

2006-11-30 Thread Jay Pipes
Charles Danko wrote: > Hi, > > I am trying to write a new table into main memory, but I am getting an out > of memory error. > > Each entry consists of 2 medium_int and 1 tiny_int variables, and the table > contains just over 100,000,000 rows. By my count, this makes just over > 700MB of data.

Trying to create a new table in memory.

2006-11-30 Thread Charles Danko
Hi, I am trying to write a new table into main memory, but I am getting an out of memory error. Each entry consists of 2 medium_int and 1 tiny_int variables, and the table contains just over 100,000,000 rows. By my count, this makes just over 700MB of data. The machine I am using has 2GB, but

Re: Table in Memory

2003-11-05 Thread Matt W
Hi, HEAP tables don't currently support TEXT/BLOB columns. My answer about storing the table "in memory": don't bother. If you have enough free RAM to use to put the table "in memory," the OS will already do it for you after it's accessed. Thus, reading the ta

Re: Table in Memory

2003-11-05 Thread colbey
Maybe look at using a HEAP table? Load it on startup from a datasource.. On Wed, 5 Nov 2003, Arnoldus Th.J. Koeleman wrote: > > > I have a large table which I like to store into memory . > > > > > > > > Table looks like > > > > Spid_1__0 > > > > (recordname varchar(20) primary key, > > > > dat

Table in Memory

2003-11-05 Thread Arnoldus Th.J. Koeleman
I have a large table which I like to store into memory . Table looks like Spid_1__0 (recordname varchar(20) primary key, data blob not null ) what is the best way todo this in mysql