database row/ record pointers

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-04-11T20:05:17Z Indexed on 2010/04/11 20:13 UTC
Read the original article Hit count: 223

Hi

I don't know the correct words for what I'm trying to find out about and as such having a hard time googling.

I want to know whether its possible with databases (technology independent but would be interested to hear whether its possible with Oracle, MySQL and Postgres) to point to specific rows instead of executing my query again.

So I might initially execute a query find some rows of interest and then wish to avoid searching for them again by having a list of pointers or some other metadata which indicates the location on a database which I can go to straight away the next time I want those results.

I realise there is caching on databases, but I want to keep these "pointers" else where and as such caching doesn't ultimately solve this problem. Is this just an index and I store the index and look up by this? most of my current tables don't have indexes and I don't want the speed decrease that sometimes comes with indexes.

So whats the magic term I've been trying to put into google?

Cheers

© Stack Overflow or respective owner

Related posts about database

Related posts about Oracle