IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 15 and Version 16 of neb-touch-gory-details


Ignore:
Timestamp:
Feb 9, 2011, 5:10:43 PM (15 years ago)
Author:
Serge CHASTEL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • neb-touch-gory-details

    v15 v16  
    2222(Another experiment with neb-touch neb://ippc01.0/that/command/has/never/been/run give 23 calls to _stringify_key and 5 to _db_index_for_key for create_object -- stat_object is unchanged)
    2323
    24   === SQL statements decomposition ===
    25 
    26 Stat_object statement:
     24=== SQL statements decomposition ===
     25
     26 * Stat_object statement:
    2727
    2828{{{
     
    4848   
    4949with ? = this/is/a/test/never/done/before
     50
     51 * Create_object statements:
     52
     53   * Statement 1:
     54{{{
     55        INSERT INTO storage_object
     56        (so_id, ext_id, ext_id_basename, type, dir_id)
     57        VALUES (?, ?, ?, 'REG_FILE', ?)
     58}}}
     59with ? = ('NULL', 'this/is/a/test/never/done/before', 'before', 12257)
     60
     61   * Statement 2:
     62
     63{{{
     64        SELECT LAST_INSERT_ID()
     65}}}
     66
     67   * Statement 3
     68
     69{{{
     70        INSERT INTO storage_object_attr
     71        (so_id, read_lock, write_lock)
     72        VALUES (?, 0, NULL)
     73}}}
     74   
     75with ? = 804337
     76
     77   * Statement 4
     78
     79{{{
     80        INSERT INTO instance
     81        (so_id, vol_id, uri)
     82        VALUES (LAST_INSERT_ID(), ?, 'error')
     83}}}
     84with ? = 1
     85
     86   * Statement 5
     87
     88{{{
     89        SELECT LAST_INSERT_ID()
     90}}}
     91
     92   * Statement 6
     93
     94{{{
     95        UPDATE instance
     96        SET vol_id = ?, uri = ?
     97        WHERE ins_id = ?
     98}}}
     99where ? = (1, 'file:///export/ippc01.0/nebulous/96/9a/584332.this:is:a:test:never:done:before', 584332)
    50100  === Trace ===
    51101{{{