> A general query cache is something that is fairly clean and which might > help both with count(*) and other queries. > > Many databases has a lot of tables that are more or less stable where this > would work fine. From what I have heard mysql has something like this and > it works well. For tables that change a lot the the cached queries will > almost always be invalid so one might want to let the user decide which > tables should never be cached.
It works well because MySQL doesn't have MVCC... Chris ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match