|
4 | 4 |
|
5 | 5 | <section class="filter-content" markdown="1" data-scope="postgres">
|
6 | 6 | ~~~ json
|
7 |
| - {"level":"info","type":"summary","num_tables":1,"cdc_cursor":"0/43A1960","time":"2025-02-10T14:28:11-05:00","message":"starting fetch"} |
| 7 | + {"level":"info","type":"summary","num_tables":3,"cdc_cursor":"0/43A1960","time":"2025-02-10T14:28:11-05:00","message":"starting fetch"} |
8 | 8 | ~~~
|
9 | 9 | </section>
|
10 | 10 |
|
11 | 11 | <section class="filter-content" markdown="1" data-scope="mysql">
|
12 | 12 | ~~~ json
|
13 |
| - {"level":"info","type":"summary","num_tables":1,"cdc_cursor":"4c658ae6-e8ad-11ef-8449-0242ac140006:1-28","time":"2025-02-10T14:28:11-05:00","message":"starting fetch"} |
| 13 | + {"level":"info","type":"summary","num_tables":3,"cdc_cursor":"4c658ae6-e8ad-11ef-8449-0242ac140006:1-28","time":"2025-02-10T14:28:11-05:00","message":"starting fetch"} |
14 | 14 | ~~~
|
15 | 15 | </section>
|
16 | 16 |
|
| 17 | + <section class="filter-content" markdown="1" data-scope="oracle"> |
| 18 | + ~~~ json |
| 19 | + {"level":"info","type":"summary","num_tables":3,"cdc_cursor":"2358840","time":"2025-02-10T14:28:11-05:00","message":"starting fetch"} |
| 20 | + ~~~ |
| 21 | + </section> |
| 22 | + |
17 | 23 | `data extraction` messages are written for each table that is exported to the location in `--bucket-path`:
|
18 | 24 |
|
19 | 25 | ~~~ json
|
20 |
| - {"level":"info","table":"public.employees","time":"2025-02-10T14:28:11-05:00","message":"data extraction phase starting"} |
| 26 | + {"level":"info","table":"migration_schema.employees","time":"2025-02-10T14:28:11-05:00","message":"data extraction phase starting"} |
21 | 27 | ~~~
|
22 | 28 |
|
23 | 29 | ~~~ json
|
24 |
| - {"level":"info","table":"public.employees","type":"summary","num_rows":200000,"export_duration_ms":1000,"export_duration":"000h 00m 01s","time":"2025-02-10T14:28:12-05:00","message":"data extraction from source complete"} |
| 30 | + {"level":"info","table":"migration_schema.employees","type":"summary","num_rows":200000,"export_duration_ms":1000,"export_duration":"000h 00m 01s","time":"2025-02-10T14:28:12-05:00","message":"data extraction from source complete"} |
25 | 31 | ~~~
|
26 | 32 |
|
27 | 33 | `data import` messages are written for each table that is loaded into CockroachDB:
|
28 | 34 |
|
29 | 35 | ~~~ json
|
30 |
| - {"level":"info","table":"public.employees","time":"2025-02-10T14:28:12-05:00","message":"starting data import on target"} |
| 36 | + {"level":"info","table":"migration_schema.employees","time":"2025-02-10T14:28:12-05:00","message":"starting data import on target"} |
31 | 37 | ~~~
|
32 | 38 |
|
33 | 39 | <section class="filter-content" markdown="1" data-scope="postgres">
|
34 | 40 | ~~~ json
|
35 |
| - {"level":"info","table":"public.employees","type":"summary","net_duration_ms":1899.748333,"net_duration":"000h 00m 01s","import_duration_ms":1160.523875,"import_duration":"000h 00m 01s","export_duration_ms":1000,"export_duration":"000h 00m 01s","num_rows":200000,"cdc_cursor":"0/43A1960","time":"2025-02-10T14:28:13-05:00","message":"data import on target for table complete"} |
| 41 | + {"level":"info","table":"migration_schema.employees","type":"summary","net_duration_ms":1899.748333,"net_duration":"000h 00m 01s","import_duration_ms":1160.523875,"import_duration":"000h 00m 01s","export_duration_ms":1000,"export_duration":"000h 00m 01s","num_rows":200000,"cdc_cursor":"0/43A1960","time":"2025-02-10T14:28:13-05:00","message":"data import on target for table complete"} |
36 | 42 | ~~~
|
37 | 43 | </section>
|
38 | 44 |
|
39 | 45 | <section class="filter-content" markdown="1" data-scope="mysql">
|
40 | 46 | ~~~ json
|
41 |
| - {"level":"info","table":"public.employees","type":"summary","net_duration_ms":1899.748333,"net_duration":"000h 00m 01s","import_duration_ms":1160.523875,"import_duration":"000h 00m 01s","export_duration_ms":1000,"export_duration":"000h 00m 01s","num_rows":200000,"cdc_cursor":"4c658ae6-e8ad-11ef-8449-0242ac140006:1-29","time":"2025-02-10T14:28:13-05:00","message":"data import on target for table complete"} |
| 47 | + {"level":"info","table":"migration_schema.employees","type":"summary","net_duration_ms":1899.748333,"net_duration":"000h 00m 01s","import_duration_ms":1160.523875,"import_duration":"000h 00m 01s","export_duration_ms":1000,"export_duration":"000h 00m 01s","num_rows":200000,"cdc_cursor":"4c658ae6-e8ad-11ef-8449-0242ac140006:1-29","time":"2025-02-10T14:28:13-05:00","message":"data import on target for table complete"} |
| 48 | + ~~~ |
| 49 | + </section> |
| 50 | + |
| 51 | + <section class="filter-content" markdown="1" data-scope="oracle"> |
| 52 | + ~~~ json |
| 53 | + {"level":"info","table":"migration_schema.employees","type":"summary","net_duration_ms":1899.748333,"net_duration":"000h 00m 01s","import_duration_ms":1160.523875,"import_duration":"000h 00m 01s","export_duration_ms":1000,"export_duration":"000h 00m 01s","num_rows":200000,"cdc_cursor":"2358840","time":"2025-02-10T14:28:13-05:00","message":"data import on target for table complete"} |
42 | 54 | ~~~
|
43 | 55 | </section>
|
44 | 56 |
|
45 | 57 | A `fetch complete` message is written when the fetch task succeeds:
|
46 | 58 |
|
47 | 59 | <section class="filter-content" markdown="1" data-scope="postgres">
|
48 | 60 | ~~~ json
|
49 |
| - {"level":"info","type":"summary","fetch_id":"f5cb422f-4bb4-4bbd-b2ae-08c4d00d1e7c","num_tables":1,"tables":["public.employees"],"cdc_cursor":"0/3F41E40","net_duration_ms":6752.847625,"net_duration":"000h 00m 06s","time":"2024-03-18T12:30:37-04:00","message":"fetch complete"} |
| 61 | + {"level":"info","type":"summary","fetch_id":"f5cb422f-4bb4-4bbd-b2ae-08c4d00d1e7c","num_tables":3,"tables":["migration_schema.employees","migration_schema.payments","migration_schema.payments"],"cdc_cursor":"0/3F41E40","net_duration_ms":6752.847625,"net_duration":"000h 00m 06s","time":"2024-03-18T12:30:37-04:00","message":"fetch complete"} |
50 | 62 | ~~~
|
51 | 63 | </section>
|
52 | 64 |
|
53 | 65 | <section class="filter-content" markdown="1" data-scope="mysql">
|
54 | 66 | ~~~ json
|
55 |
| - {"level":"info","type":"summary","fetch_id":"f5cb422f-4bb4-4bbd-b2ae-08c4d00d1e7c","num_tables":1,"tables":["public.employees"],"cdc_cursor":"4c658ae6-e8ad-11ef-8449-0242ac140006:1-29","net_duration_ms":6752.847625,"net_duration":"000h 00m 06s","time":"2024-03-18T12:30:37-04:00","message":"fetch complete"} |
| 67 | + {"level":"info","type":"summary","fetch_id":"f5cb422f-4bb4-4bbd-b2ae-08c4d00d1e7c","num_tables":3,"tables":["migration_schema.employees","migration_schema.payments","migration_schema.payments"],"cdc_cursor":"4c658ae6-e8ad-11ef-8449-0242ac140006:1-29","net_duration_ms":6752.847625,"net_duration":"000h 00m 06s","time":"2024-03-18T12:30:37-04:00","message":"fetch complete"} |
56 | 68 | ~~~
|
57 |
| - </section> |
| 69 | + </section> |
| 70 | + |
| 71 | + <section class="filter-content" markdown="1" data-scope="oracle"> |
| 72 | + ~~~ json |
| 73 | + {"level":"info","type":"summary","fetch_id":"f5cb422f-4bb4-4bbd-b2ae-08c4d00d1e7c","num_tables":3,"tables":["migration_schema.employees","migration_schema.payments","migration_schema.payments"],"cdc_cursor":"2358840","net_duration_ms":6752.847625,"net_duration":"000h 00m 06s","time":"2024-03-18T12:30:37-04:00","message":"fetch complete"} |
| 74 | + ~~~ |
| 75 | + </section> |
| 76 | + |
| 77 | + {% if page.name == "migrate-data-load-replicate-only.md" %} |
| 78 | + <section class="filter-content" markdown="1" data-scope="oracle"> |
| 79 | + The following message contains the appropriate `--backfillFromSCN` and `--scn` values to use in [`replication-only` mode](#replicate-changes-to-cockroachdb): |
| 80 | + |
| 81 | + {% include_cached copy-clipboard.html %} |
| 82 | + ~~~ |
| 83 | + replication-only mode should include the following replicator flags: --backfillFromSCN 26685444 --scn 26685786 |
| 84 | + ~~~ |
| 85 | + </section> |
| 86 | + {% endif %} |
0 commit comments