Hello Ralf,

an raw estimation of the number of pages moved in this operation (from the
EXPLAIN command Ralf sent before) tells that there is approx 6GB data 
accessed (# pages * 8K) . As his system has 1 GB of physical RAM, this will
of course blow it up. 

If (at the end) he is interested only in a small amount of these aggregated
data (e.g. that data for one IPADDRESS) it makes sense to do this as a 
single query or defining an appropriate view for making this final query. 
If there is need for all  the data in the table you create, you should
increase 
CACHE_SIZE, but cannot really on this machine, as it does not help if the 
CACHE_SIZE is larger than the physical RAM available. In that case, u
nfortunately, you should go first and buy some RAM (although with the 3GB 
limit on 32 bit Windows you will be still possible have not enough at the 
end).

Regards
Alexander Schröder
SAP DB, SAP Labs Berlin
 
-----Original Message-----
From: Robert Klemme [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 4. Mai 2006 09:17
To: Ralf Udo Weisser
Cc: [email protected]
Subject: Re: Performance-Problem with 6 million rows and CPU load with 5%

Ralf,

the cache is for all kinds of data.  I suggest you get yourself a book
about basic DB technology to better understand how RDBMS' work
internally.  That'll certainly help.

Kind regards

robert


2006/5/3, Ralf Udo Weisser <[EMAIL PROTECTED]>:
> Hallo Robert,
>
> I'am sorry I can't find a size-parameter, which is set for indexes. I
don't
> mean the cache_size. The chache_size is only for normal selects etc.,
isn't?
> Or is it also for the saving of indexes for tables?
>
> Thanks a lot for your help!
>
> Ralf
>
> > > A new question: Do you know a posibility to define the size of
> > index-cache
> > > or something else?
> >
> >
>
http://dev.mysql.com/doc/maxdb/en/ef/eb3d408ae01e24e10000000a1550b0/content.
htm
> >
> > --
> > Have a look: http://www.flickr.com/photos/fussel-foto/
> >
>
> --
> Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
> Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
>


--
Have a look: http://www.flickr.com/photos/fussel-foto/

-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to