Re: Monitoring large resultsets
>> So global eXclusive lock is used while invalidation take place
That means that any other SELECTs -- regardless of what table(s) they are touching -- are stalled waiting for the invalidation to finish.
That's how query_cache works, for writes queries, invalidation process is costly when cache is fragmented and/or large (when it's configured to use large memory).
>Vertical partitioning is useful IF it cuts down on disk hits. My mantra for big systems "Count the disk hits".
>> | 1 | SIMPLE | jos_content | range | idx_section,idx_state,idx_catid | idx_state | 1 | NULL | 38791 | Using where |
>If the average row is 14K, then 38791 * 14K = 500MB is a lot of stuff to shovel through. (That's even before getting to the other two tables!) That _may_ involve creating a temp table of 500MB.
In this case, its not creating temp table, so its a WASTE of effort/time to consider vertical partitioning.
Edited 1 time(s). Last edit at 07/14/2012 02:43AM by Aftab Khan.
Subject
Views
Written By
Posted
2197
July 10, 2012 10:26PM
1200
July 11, 2012 02:01AM
1006
July 12, 2012 12:22AM
975
July 12, 2012 02:19AM
1098
July 12, 2012 03:06AM
1025
July 12, 2012 03:37AM
1023
July 12, 2012 03:51AM
1017
July 12, 2012 04:13AM
1001
July 12, 2012 05:35AM
1067
July 12, 2012 05:49AM
993
July 12, 2012 06:05AM
1208
July 12, 2012 07:02AM
974
July 12, 2012 04:41PM
1024
July 13, 2012 07:50PM
Re: Monitoring large resultsets
1015
July 14, 2012 02:43AM
977
July 12, 2012 08:13AM
986
July 12, 2012 08:55AM
1059
July 12, 2012 12:12PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.