1["ibd2sdi"
2,
3{
4	"type": 1,
5	"id": X,
6	"object":
7		{
8    "mysqld_version_id": X,
9    "dd_version": X,
10    "sdi_version": X,
11    "dd_object_type": "Table",
12    "dd_object": {
13        "name": "t8",
14        "mysql_version_id": X,
15        "created": NNN,
16        "last_altered": NNN,
17        "hidden": 1,
18        "options": "avg_row_length=0;encrypt_type=N;explicit_tablespace=1;key_block_size=0;keys_disabled=0;pack_record=0;stats_auto_recalc=0;stats_sample_pages=0;",
19        "columns": [
20            {
21                "name": "fld1",
22                "type": 4,
23                "is_nullable": false,
24                "is_zerofill": false,
25                "is_unsigned": false,
26                "is_auto_increment": false,
27                "is_virtual": false,
28                "hidden": 1,
29                "ordinal_position": 1,
30                "char_length": 11,
31                "numeric_precision": 10,
32                "numeric_scale": 0,
33                "numeric_scale_null": false,
34                "datetime_precision": 0,
35                "datetime_precision_null": 1,
36                "has_no_default": true,
37                "default_value_null": false,
38                "srs_id_null": true,
39                "srs_id": 0,
40                "default_value": "",
41                "default_value_utf8_null": true,
42                "default_value_utf8": "",
43                "default_option": "",
44                "update_option": "",
45                "comment": "",
46                "generation_expression": "",
47                "generation_expression_utf8": "",
48                "options": "interval_count=0;",
49                "se_private_data": "table_id=X",
50                "engine_attribute": "",
51                "secondary_engine_attribute": "",
52                "column_key": 2,
53                "column_type_utf8": "int",
54                "elements": [],
55                "collation_id": 255,
56                "is_explicit_collation": false
57            },
58            {
59                "name": "DB_TRX_ID",
60                "type": 10,
61                "is_nullable": false,
62                "is_zerofill": false,
63                "is_unsigned": false,
64                "is_auto_increment": false,
65                "is_virtual": false,
66                "hidden": 2,
67                "ordinal_position": 2,
68                "char_length": 6,
69                "numeric_precision": 0,
70                "numeric_scale": 0,
71                "numeric_scale_null": true,
72                "datetime_precision": 0,
73                "datetime_precision_null": 1,
74                "has_no_default": false,
75                "default_value_null": true,
76                "srs_id_null": true,
77                "srs_id": 0,
78                "default_value": "",
79                "default_value_utf8_null": true,
80                "default_value_utf8": "",
81                "default_option": "",
82                "update_option": "",
83                "comment": "",
84                "generation_expression": "",
85                "generation_expression_utf8": "",
86                "options": "",
87                "se_private_data": "table_id=X",
88                "engine_attribute": "",
89                "secondary_engine_attribute": "",
90                "column_key": 1,
91                "column_type_utf8": "",
92                "elements": [],
93                "collation_id": 63,
94                "is_explicit_collation": false
95            },
96            {
97                "name": "DB_ROLL_PTR",
98                "type": 9,
99                "is_nullable": false,
100                "is_zerofill": false,
101                "is_unsigned": false,
102                "is_auto_increment": false,
103                "is_virtual": false,
104                "hidden": 2,
105                "ordinal_position": 3,
106                "char_length": 7,
107                "numeric_precision": 0,
108                "numeric_scale": 0,
109                "numeric_scale_null": true,
110                "datetime_precision": 0,
111                "datetime_precision_null": 1,
112                "has_no_default": false,
113                "default_value_null": true,
114                "srs_id_null": true,
115                "srs_id": 0,
116                "default_value": "",
117                "default_value_utf8_null": true,
118                "default_value_utf8": "",
119                "default_option": "",
120                "update_option": "",
121                "comment": "",
122                "generation_expression": "",
123                "generation_expression_utf8": "",
124                "options": "",
125                "se_private_data": "table_id=X",
126                "engine_attribute": "",
127                "secondary_engine_attribute": "",
128                "column_key": 1,
129                "column_type_utf8": "",
130                "elements": [],
131                "collation_id": 63,
132                "is_explicit_collation": false
133            }
134        ],
135        "schema_ref": "test",
136        "se_private_id":NNN,
137        "engine": "InnoDB",
138        "last_checked_for_upgrade_version_id": X,
139        "comment": "",
140        "se_private_data": "",
141        "engine_attribute": "",
142        "secondary_engine_attribute": "",
143        "row_format": 2,
144        "partition_type": 0,
145        "partition_expression": "",
146        "partition_expression_utf8": "",
147        "default_partitioning": 0,
148        "subpartition_type": 0,
149        "subpartition_expression": "",
150        "subpartition_expression_utf8": "",
151        "default_subpartitioning": 0,
152        "indexes": [
153            {
154                "name": "PRIMARY",
155                "hidden": false,
156                "is_generated": false,
157                "ordinal_position": 1,
158                "comment": "",
159                "options": "flags=0;",
160                "se_private_data": "id=A;root=B;space_id=C;table_id=D;trx_id=E",
161                "type": 1,
162                "algorithm": 2,
163                "is_algorithm_explicit": false,
164                "is_visible": true,
165                "engine": "InnoDB",
166                "engine_attribute": "",
167                "secondary_engine_attribute": "",
168                "elements": [
169                    {
170                        "ordinal_position": 1,
171                        "length": 4,
172                        "order": 2,
173                        "hidden": false,
174                        "column_opx": 0
175                    },
176                    {
177                        "ordinal_position": 2,
178                        "length": 4294967295,
179                        "order": 2,
180                        "hidden": true,
181                        "column_opx": 1
182                    },
183                    {
184                        "ordinal_position": 3,
185                        "length": 4294967295,
186                        "order": 2,
187                        "hidden": true,
188                        "column_opx": 2
189                    }
190                ],
191                "tablespace_ref": "ts1"
192            }
193        ],
194        "foreign_keys": [],
195        "check_constraints": [],
196        "partitions": [],
197        "collation_id": 255,
198        "tablespace_ref": "ts1"
199    }
200}
201}
202,
203{
204	"type": 1,
205	"id": X,
206	"object":
207		{
208    "mysqld_version_id": X,
209    "dd_version": X,
210    "sdi_version": X,
211    "dd_object_type": "Table",
212    "dd_object": {
213        "name": "t9",
214        "mysql_version_id": X,
215        "created": NNN,
216        "last_altered": NNN,
217        "hidden": 1,
218        "options": "avg_row_length=0;encrypt_type=N;explicit_tablespace=1;key_block_size=0;keys_disabled=0;pack_record=0;stats_auto_recalc=0;stats_sample_pages=0;",
219        "columns": [
220            {
221                "name": "fld1",
222                "type": 4,
223                "is_nullable": false,
224                "is_zerofill": false,
225                "is_unsigned": false,
226                "is_auto_increment": false,
227                "is_virtual": false,
228                "hidden": 1,
229                "ordinal_position": 1,
230                "char_length": 11,
231                "numeric_precision": 10,
232                "numeric_scale": 0,
233                "numeric_scale_null": false,
234                "datetime_precision": 0,
235                "datetime_precision_null": 1,
236                "has_no_default": true,
237                "default_value_null": false,
238                "srs_id_null": true,
239                "srs_id": 0,
240                "default_value": "",
241                "default_value_utf8_null": true,
242                "default_value_utf8": "",
243                "default_option": "",
244                "update_option": "",
245                "comment": "",
246                "generation_expression": "",
247                "generation_expression_utf8": "",
248                "options": "interval_count=0;",
249                "se_private_data": "table_id=X",
250                "engine_attribute": "",
251                "secondary_engine_attribute": "",
252                "column_key": 4,
253                "column_type_utf8": "int",
254                "elements": [],
255                "collation_id": 255,
256                "is_explicit_collation": false
257            },
258            {
259                "name": "fld2",
260                "type": 4,
261                "is_nullable": true,
262                "is_zerofill": false,
263                "is_unsigned": false,
264                "is_auto_increment": false,
265                "is_virtual": true,
266                "hidden": 1,
267                "ordinal_position": 2,
268                "char_length": 11,
269                "numeric_precision": 10,
270                "numeric_scale": 0,
271                "numeric_scale_null": false,
272                "datetime_precision": 0,
273                "datetime_precision_null": 1,
274                "has_no_default": false,
275                "default_value_null": true,
276                "srs_id_null": true,
277                "srs_id": 0,
278                "default_value": "",
279                "default_value_utf8_null": true,
280                "default_value_utf8": "",
281                "default_option": "",
282                "update_option": "",
283                "comment": "",
284                "generation_expression": "`fld1`",
285                "generation_expression_utf8": "`fld1`",
286                "options": "interval_count=0;",
287                "se_private_data": "table_id=X",
288                "engine_attribute": "",
289                "secondary_engine_attribute": "",
290                "column_key": 4,
291                "column_type_utf8": "int",
292                "elements": [],
293                "collation_id": 255,
294                "is_explicit_collation": false
295            },
296            {
297                "name": "DB_ROW_ID",
298                "type": 10,
299                "is_nullable": false,
300                "is_zerofill": false,
301                "is_unsigned": false,
302                "is_auto_increment": false,
303                "is_virtual": false,
304                "hidden": 2,
305                "ordinal_position": 3,
306                "char_length": 6,
307                "numeric_precision": 0,
308                "numeric_scale": 0,
309                "numeric_scale_null": true,
310                "datetime_precision": 0,
311                "datetime_precision_null": 1,
312                "has_no_default": false,
313                "default_value_null": true,
314                "srs_id_null": true,
315                "srs_id": 0,
316                "default_value": "",
317                "default_value_utf8_null": true,
318                "default_value_utf8": "",
319                "default_option": "",
320                "update_option": "",
321                "comment": "",
322                "generation_expression": "",
323                "generation_expression_utf8": "",
324                "options": "",
325                "se_private_data": "table_id=X",
326                "engine_attribute": "",
327                "secondary_engine_attribute": "",
328                "column_key": 1,
329                "column_type_utf8": "",
330                "elements": [],
331                "collation_id": 63,
332                "is_explicit_collation": false
333            },
334            {
335                "name": "DB_TRX_ID",
336                "type": 10,
337                "is_nullable": false,
338                "is_zerofill": false,
339                "is_unsigned": false,
340                "is_auto_increment": false,
341                "is_virtual": false,
342                "hidden": 2,
343                "ordinal_position": 4,
344                "char_length": 6,
345                "numeric_precision": 0,
346                "numeric_scale": 0,
347                "numeric_scale_null": true,
348                "datetime_precision": 0,
349                "datetime_precision_null": 1,
350                "has_no_default": false,
351                "default_value_null": true,
352                "srs_id_null": true,
353                "srs_id": 0,
354                "default_value": "",
355                "default_value_utf8_null": true,
356                "default_value_utf8": "",
357                "default_option": "",
358                "update_option": "",
359                "comment": "",
360                "generation_expression": "",
361                "generation_expression_utf8": "",
362                "options": "",
363                "se_private_data": "table_id=X",
364                "engine_attribute": "",
365                "secondary_engine_attribute": "",
366                "column_key": 1,
367                "column_type_utf8": "",
368                "elements": [],
369                "collation_id": 63,
370                "is_explicit_collation": false
371            },
372            {
373                "name": "DB_ROLL_PTR",
374                "type": 9,
375                "is_nullable": false,
376                "is_zerofill": false,
377                "is_unsigned": false,
378                "is_auto_increment": false,
379                "is_virtual": false,
380                "hidden": 2,
381                "ordinal_position": 5,
382                "char_length": 7,
383                "numeric_precision": 0,
384                "numeric_scale": 0,
385                "numeric_scale_null": true,
386                "datetime_precision": 0,
387                "datetime_precision_null": 1,
388                "has_no_default": false,
389                "default_value_null": true,
390                "srs_id_null": true,
391                "srs_id": 0,
392                "default_value": "",
393                "default_value_utf8_null": true,
394                "default_value_utf8": "",
395                "default_option": "",
396                "update_option": "",
397                "comment": "",
398                "generation_expression": "",
399                "generation_expression_utf8": "",
400                "options": "",
401                "se_private_data": "table_id=X",
402                "engine_attribute": "",
403                "secondary_engine_attribute": "",
404                "column_key": 1,
405                "column_type_utf8": "",
406                "elements": [],
407                "collation_id": 63,
408                "is_explicit_collation": false
409            }
410        ],
411        "schema_ref": "test",
412        "se_private_id":NNN,
413        "engine": "InnoDB",
414        "last_checked_for_upgrade_version_id": X,
415        "comment": "",
416        "se_private_data": "",
417        "engine_attribute": "",
418        "secondary_engine_attribute": "",
419        "row_format": 2,
420        "partition_type": 0,
421        "partition_expression": "",
422        "partition_expression_utf8": "",
423        "default_partitioning": 0,
424        "subpartition_type": 0,
425        "subpartition_expression": "",
426        "subpartition_expression_utf8": "",
427        "default_subpartitioning": 0,
428        "indexes": [
429            {
430                "name": "PRIMARY",
431                "hidden": true,
432                "is_generated": false,
433                "ordinal_position": 1,
434                "comment": "",
435                "options": "",
436                "se_private_data": "id=A;root=B;space_id=C;table_id=D;trx_id=E",
437                "type": 2,
438                "algorithm": 2,
439                "is_algorithm_explicit": false,
440                "is_visible": true,
441                "engine": "InnoDB",
442                "engine_attribute": "",
443                "secondary_engine_attribute": "",
444                "elements": [
445                    {
446                        "ordinal_position": 1,
447                        "length": 4294967295,
448                        "order": 2,
449                        "hidden": true,
450                        "column_opx": 2
451                    },
452                    {
453                        "ordinal_position": 2,
454                        "length": 4294967295,
455                        "order": 2,
456                        "hidden": true,
457                        "column_opx": 3
458                    },
459                    {
460                        "ordinal_position": 3,
461                        "length": 4294967295,
462                        "order": 2,
463                        "hidden": true,
464                        "column_opx": 4
465                    },
466                    {
467                        "ordinal_position": 4,
468                        "length": 4294967295,
469                        "order": 2,
470                        "hidden": true,
471                        "column_opx": 0
472                    }
473                ],
474                "tablespace_ref": "ts1"
475            },
476            {
477                "name": "fld1",
478                "hidden": false,
479                "is_generated": true,
480                "ordinal_position": 2,
481                "comment": "",
482                "options": "flags=0;",
483                "se_private_data": "id=A;root=B;space_id=C;table_id=D;trx_id=E",
484                "type": 3,
485                "algorithm": 2,
486                "is_algorithm_explicit": false,
487                "is_visible": true,
488                "engine": "InnoDB",
489                "engine_attribute": "",
490                "secondary_engine_attribute": "",
491                "elements": [
492                    {
493                        "ordinal_position": 1,
494                        "length": 4,
495                        "order": 2,
496                        "hidden": false,
497                        "column_opx": 0
498                    },
499                    {
500                        "ordinal_position": 2,
501                        "length": 4294967295,
502                        "order": 2,
503                        "hidden": true,
504                        "column_opx": 2
505                    }
506                ],
507                "tablespace_ref": "ts1"
508            },
509            {
510                "name": "fld2",
511                "hidden": false,
512                "is_generated": false,
513                "ordinal_position": 3,
514                "comment": "",
515                "options": "flags=0;",
516                "se_private_data": "id=A;root=B;space_id=C;table_id=D;trx_id=E",
517                "type": 3,
518                "algorithm": 2,
519                "is_algorithm_explicit": false,
520                "is_visible": true,
521                "engine": "InnoDB",
522                "engine_attribute": "",
523                "secondary_engine_attribute": "",
524                "elements": [
525                    {
526                        "ordinal_position": 1,
527                        "length": 4,
528                        "order": 2,
529                        "hidden": false,
530                        "column_opx": 1
531                    },
532                    {
533                        "ordinal_position": 2,
534                        "length": 4294967295,
535                        "order": 2,
536                        "hidden": true,
537                        "column_opx": 2
538                    }
539                ],
540                "tablespace_ref": "ts1"
541            }
542        ],
543        "foreign_keys": [
544            {
545                "name": "t9_ibfk_1",
546                "match_option": 1,
547                "update_rule": 3,
548                "delete_rule": 1,
549                "unique_constraint_name": "PRIMARY",
550                "referenced_table_catalog_name": "def",
551                "referenced_table_schema_name": "test",
552                "referenced_table_name": "t8",
553                "elements": [
554                    {
555                        "column_opx": 0,
556                        "ordinal_position": 1,
557                        "referenced_column_name": "fld1"
558                    }
559                ]
560            }
561        ],
562        "check_constraints": [],
563        "partitions": [],
564        "collation_id": 255,
565        "tablespace_ref": "ts1"
566    }
567}
568}
569,
570{
571	"type": 2,
572	"id": X,
573	"object":
574		{
575    "mysqld_version_id": X,
576    "dd_version": X,
577    "sdi_version": X,
578    "dd_object_type": "Tablespace",
579    "dd_object": {
580        "name": "ts1",
581        "comment": "",
582        "options": "encryption=N;",
583        "se_private_data": "flags=X;id=Y;server_version=Z;space_version=M;state=normal;",
584        "engine": "InnoDB",
585        "engine_attribute": "",
586        "files": [
587            {
588                "ordinal_position": 1,
589                "filename": "ts1.ibd",
590                "se_private_data": ""
591            }
592        ]
593    }
594}
595}
596]
597