databases performance and computer architecture

Status
Not open for further replies.
I m not sure if this is the rite forum to put this question but i m doing a term paper in Database course and i m thinking of doing a performance analysis of databases on different architecture... i know that the architecture are not designed with respect to database but database do constitute a huge portion and different architecture specially server side architecture like Intel's EPIC and Sun's Sparc and IBM's Power processor must have some designs relating to increasing the performance of databases.... can any of u guide me to some resources where i can find more information abt this... also i was thinking of these new concept of Hyperthreading and SMT and dual core processor and if i remember there was some research going on putting a secondary chip to offload the burden of I/O from main memory.. how these techniques helps databases..
Any kind of quidance will be appreciated..

Thanks.
 

Midlands

Ars Praetorian
535
Subscriptor
Check out in-memory databases. Disk databases (at least with large enough data sets that they actually have to do I/O) are _so_ bound by I/O time that CPU architecture is going to be lost in the noise.

IOW, people who want to run their database faster much more often buy more RAM or a faster disk rather than faster CPUs. However, query parallelism (how many queries can I run at once?) is often affected by CPU performance and/or number of CPUs.

(Edit: w00t! 100th post.)
 

petrov

Ars Tribunus Militum
2,714
really serious databases (such as Oracle) often implement their own subsystems (memory allocator, file I/O) rather than relying on the operating system, usually because optimal performance for a database requires a different disk caching policy than the OS uses. For example, an OS will usually use a LRU policy for disk accesses, keeping those things (such as index.html) that are likely to be used again. For a database doing a large join on two tables, once a row is seen, it will never be seen again for the rest of the join, so a MRU policy makes more sense, as the most recently used items are *least* likely to be used again in the current operation. Generally databases have a lot more information about their usage patterns than the OS can have, and so they can tune their performance better than the OS, and so they don't use the OS for hardly anything.

In short, I would expect database performance to be largely related to the quality of the port to that OS and completely unrelated to the facilities provided by the OS.

--sam
 
Status
Not open for further replies.