~vadim-tk/percona-server/flushing-algo

« back to all changes in this revision

Viewing changes to storage/ndb/src/kernel/blocks/dbdict/CreateTable.txt

  • Committer: root
  • Date: 2011-10-29 01:34:40 UTC
  • Revision ID: root@hppro1.office.percona.com-20111029013440-qhnf4jk8kdjcf4e0
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
1) Receive from client (sequence of DICTTABINFO)
 
3
 
 
4
2) DICT_SCHEMAREQ -> all DICTs
 
5
   Write ADD_STARTED in schema file
 
6
 
 
7
3) Pack table description
 
8
 
 
9
4) DICTTABINFO -> all DICTs (but self) (containing packed table info)
 
10
                  self -> Write 2 file
 
11
   1) Write 2 file
 
12
 
 
13
5) DICT_SCHEMAREQ -> all DICTs
 
14
   Write UPDATE_PAGE_COUNT in schema file
 
15
 
 
16
6) DIADDTABREQ -> local DIH
 
17
   1) Create fragments
 
18
   2) For each fragment
 
19
        DIHADDFRAGREQ -> all DIH
 
20
   3) For each fragment
 
21
        DICTFRAGSREQ -> local DICT
 
22
        1) LQHFRAGREQ -> concerned LQH
 
23
        2) For each attribute
 
24
           LQHADDATTREQ -> concerned LQH
 
25
 
 
26
7) WAIT_GCP -> local DIH
 
27
 
 
28
8) DICT_SCHEMAREQ -> all DICTs
 
29
   Write TABLE_ADD_COMMITTED in schema file
 
30
 
 
31
9) TAB_COMMITREQ -> all LQH & DIH
 
32
 
 
33
10) TC_SCHVERREQ -> all TC
 
34
 
 
35
11) UNBLO_DICTREQ -> all DICT