Changes between Version 14 and Version 15 of neb-touch-gory-details
- Timestamp:
- Feb 9, 2011, 5:04:54 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
neb-touch-gory-details
v14 v15 24 24 === SQL statements decomposition === 25 25 26 26 Stat_object statement: 27 28 {{{ 29 SELECT 30 so.so_id, 31 so.ext_id, 32 attr.read_lock, 33 attr.write_lock, 34 attr.epoch, 35 attr.mtime, 36 SUM(available) as available, 37 COUNT(instance.so_id) as instances 38 FROM storage_object as so 39 JOIN storage_object_attr as attr 40 USING (so_id) 41 JOIN instance 42 USING (so_id) 43 LEFT JOIN mountedvol 44 USING(vol_id) 45 WHERE ext_id = ? 46 GROUP BY so.so_id 47 }}} 48 49 with ? = this/is/a/test/never/done/before 27 50 === Trace === 28 51 {{{
