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": "t2",
14        "mysql_version_id": X,
15        "created": NNN,
16        "last_altered": NNN,
17        "hidden": 1,
18        "options": "avg_row_length=0;encrypt_type=N;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
19        "columns": [
20            {
21                "name": "a",
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": 8,
56                "is_explicit_collation": false
57            },
58            {
59                "name": "b",
60                "type": 27,
61                "is_nullable": true,
62                "is_zerofill": false,
63                "is_unsigned": false,
64                "is_auto_increment": false,
65                "is_virtual": false,
66                "hidden": 1,
67                "ordinal_position": 2,
68                "char_length": 65535,
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": "interval_count=0;",
87                "se_private_data": "table_id=X",
88                "engine_attribute": "",
89                "secondary_engine_attribute": "",
90                "column_key": 4,
91                "column_type_utf8": "blob",
92                "elements": [],
93                "collation_id": 63,
94                "is_explicit_collation": true
95            },
96            {
97                "name": "DB_TRX_ID",
98                "type": 10,
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": 6,
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                "name": "DB_ROLL_PTR",
136                "type": 9,
137                "is_nullable": false,
138                "is_zerofill": false,
139                "is_unsigned": false,
140                "is_auto_increment": false,
141                "is_virtual": false,
142                "hidden": 2,
143                "ordinal_position": 4,
144                "char_length": 7,
145                "numeric_precision": 0,
146                "numeric_scale": 0,
147                "numeric_scale_null": true,
148                "datetime_precision": 0,
149                "datetime_precision_null": 1,
150                "has_no_default": false,
151                "default_value_null": true,
152                "srs_id_null": true,
153                "srs_id": 0,
154                "default_value": "",
155                "default_value_utf8_null": true,
156                "default_value_utf8": "",
157                "default_option": "",
158                "update_option": "",
159                "comment": "",
160                "generation_expression": "",
161                "generation_expression_utf8": "",
162                "options": "",
163                "se_private_data": "table_id=X",
164                "engine_attribute": "",
165                "secondary_engine_attribute": "",
166                "column_key": 1,
167                "column_type_utf8": "",
168                "elements": [],
169                "collation_id": 63,
170                "is_explicit_collation": false
171            }
172        ],
173        "schema_ref": "test",
174        "se_private_id":NNN,
175        "engine": "InnoDB",
176        "last_checked_for_upgrade_version_id": X,
177        "comment": "",
178        "se_private_data": "",
179        "engine_attribute": "",
180        "secondary_engine_attribute": "",
181        "row_format": 2,
182        "partition_type": 0,
183        "partition_expression": "",
184        "partition_expression_utf8": "",
185        "default_partitioning": 0,
186        "subpartition_type": 0,
187        "subpartition_expression": "",
188        "subpartition_expression_utf8": "",
189        "default_subpartitioning": 0,
190        "indexes": [
191            {
192                "name": "PRIMARY",
193                "hidden": false,
194                "is_generated": false,
195                "ordinal_position": 1,
196                "comment": "",
197                "options": "flags=0;",
198                "se_private_data": "id=A;root=B;space_id=C;table_id=D;trx_id=E",
199                "type": 1,
200                "algorithm": 2,
201                "is_algorithm_explicit": false,
202                "is_visible": true,
203                "engine": "InnoDB",
204                "engine_attribute": "",
205                "secondary_engine_attribute": "",
206                "elements": [
207                    {
208                        "ordinal_position": 1,
209                        "length": 4,
210                        "order": 2,
211                        "hidden": false,
212                        "column_opx": 0
213                    },
214                    {
215                        "ordinal_position": 2,
216                        "length": 4294967295,
217                        "order": 2,
218                        "hidden": true,
219                        "column_opx": 2
220                    },
221                    {
222                        "ordinal_position": 3,
223                        "length": 4294967295,
224                        "order": 2,
225                        "hidden": true,
226                        "column_opx": 3
227                    },
228                    {
229                        "ordinal_position": 4,
230                        "length": 4294967295,
231                        "order": 2,
232                        "hidden": true,
233                        "column_opx": 1
234                    }
235                ],
236                "tablespace_ref": "test/t2"
237            },
238            {
239                "name": "k1",
240                "hidden": false,
241                "is_generated": false,
242                "ordinal_position": 2,
243                "comment": "",
244                "options": "flags=0;",
245                "se_private_data": "id=A;root=B;space_id=C;table_id=D;trx_id=E",
246                "type": 3,
247                "algorithm": 2,
248                "is_algorithm_explicit": false,
249                "is_visible": true,
250                "engine": "InnoDB",
251                "engine_attribute": "",
252                "secondary_engine_attribute": "",
253                "elements": [
254                    {
255                        "ordinal_position": 1,
256                        "length": 10,
257                        "order": 2,
258                        "hidden": false,
259                        "column_opx": 1
260                    },
261                    {
262                        "ordinal_position": 2,
263                        "length": 4294967295,
264                        "order": 2,
265                        "hidden": true,
266                        "column_opx": 0
267                    }
268                ],
269                "tablespace_ref": "test/t2"
270            }
271        ],
272        "foreign_keys": [],
273        "check_constraints": [],
274        "partitions": [],
275        "collation_id": 255
276    }
277}
278}
279,
280{
281	"type": 2,
282	"id": X,
283	"object":
284		{
285    "mysqld_version_id": X,
286    "dd_version": X,
287    "sdi_version": X,
288    "dd_object_type": "Tablespace",
289    "dd_object": {
290        "name": "test/t2",
291        "comment": "",
292        "options": "encryption=N;",
293        "se_private_data": "flags=X;id=Y;server_version=Z;space_version=M;state=normal;",
294        "engine": "InnoDB",
295        "engine_attribute": "",
296        "files": [
297            {
298                "ordinal_position": 1,
299                "filename": "./test/t2.ibd",
300                "se_private_data": "id=X"
301            }
302        ]
303    }
304}
305}
306]
307