diff --git a/heatwave-lakehouse/add-heatwave-cluster/add-heatwave-cluster.md b/heatwave-lakehouse/add-heatwave-cluster/add-heatwave-cluster.md index f187fa619..6dce8a656 100644 --- a/heatwave-lakehouse/add-heatwave-cluster/add-heatwave-cluster.md +++ b/heatwave-lakehouse/add-heatwave-cluster/add-heatwave-cluster.md @@ -59,7 +59,7 @@ In this lab, you will be guided through the following task: - b. Run load caommand ```bash - util.loadDump("https://objectstorage.us-ashburn-1.oraclecloud.com/p/0pZRzTl1hFLchwAcornQVePE7eXxp1u6rjVVF3i7a5qN7HASVk4CtTQ9BK9y4xIG/n/mysqlpm/b/plf_mysql_customer_orders/o/mco_nocoupon_dump_05242023/", {progressFile: "progress.json", loadIndexes:false}) + util.loadDump("https://objectstorage.us-ashburn-1.oraclecloud.com/p/e9-qd9eqC2gatEl4qqsRD4L_mqn433tr00ALKmYzh8AuTQ-drS1thJvgLoz64-vF/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_11272024/", {progressFile: "progress.json", loadIndexes:false,ignoreVersion:true}) ``` **Note**: If you get errors like the one below, the **mysql\_customer\_orders** schema already exists. You used the correct PAR Link to load the data during the creation process in Lab1. Don't worry; everything is okay. diff --git a/heatwave-lakehouse/create-compute-with-mysqlsh/create-compute-with-mysqlsh.md b/heatwave-lakehouse/create-compute-with-mysqlsh/create-compute-with-mysqlsh.md index 694a26de4..b2de9303b 100644 --- a/heatwave-lakehouse/create-compute-with-mysqlsh/create-compute-with-mysqlsh.md +++ b/heatwave-lakehouse/create-compute-with-mysqlsh/create-compute-with-mysqlsh.md @@ -123,18 +123,13 @@ You will need a compute Instance to connect to your brand new MySQL database. 5. On Placement, keep the selected Availability Domain -6. Keep the selected Image, Oracle Linux 8 +6. Keep Security "Disabled" - ![Use Linux OS](./images/compute-oracle-linux.png "compute oracle linux") + ![Use Linux OS](./images/compute-placement-security.png "compute security placement") -7. Change the Instance Shape: - - Click **Change shape** button - - Click **Virtual Machine** box - - Click **Specialty and previous generation** box - - Click **VM.Standard.E2.2** - - Click the **Select Shape** button +7. Keep the defaults for Image and Shape - ![New Shape](./images/compute-shape-select.png "compute shape select") + ![Use Linux OS](./images/compute-oracle-linux.png "compute oracle linux") 8. On Networking, make sure '**heatwave-vcn**' is selected @@ -217,4 +212,4 @@ You may now **proceed to the next lab** - **Author** - Perside Foster, MySQL Solution Engineering - **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023 +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 diff --git a/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-oracle-linux.png b/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-oracle-linux.png index 33dab9251..7cf57bace 100644 Binary files a/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-oracle-linux.png and b/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-oracle-linux.png differ diff --git a/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-placement-security.png b/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-placement-security.png new file mode 100644 index 000000000..3a73ad622 Binary files /dev/null and b/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-placement-security.png differ diff --git a/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-running.png b/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-running.png index c574d48be..6c84d0111 100644 Binary files a/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-running.png and b/heatwave-lakehouse/create-compute-with-mysqlsh/images/compute-running.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/create-heatwave-vcn-db.md b/heatwave-lakehouse/create-heatwave-vcn-db/create-heatwave-vcn-db.md index 1fda78e96..bdc42d4b1 100644 --- a/heatwave-lakehouse/create-heatwave-vcn-db/create-heatwave-vcn-db.md +++ b/heatwave-lakehouse/create-heatwave-vcn-db/create-heatwave-vcn-db.md @@ -208,10 +208,7 @@ In this lab, you will be guided through the following tasks: ![HeatWave credentials](./images/mysql-heatwave-basic.png "HeatWave Basic") -6. Select **“Standalone”** and enable **“Configure MySQL HeatWave”** - ![HeatWave Type selection](./images/mysql-heatwave-system-selection.png "mysql heatwave system selection") - -7. Create Administrator Credentials +6. Create Administrator Credentials **Enter Username** (write username to notepad for later use) - **Note**: user name is case sensitive so use **admin** to match the the labs' connect string example @@ -222,6 +219,9 @@ In this lab, you will be guided through the following tasks: ![HeatWave password](./images/mysql-password.png "mysql password ") +7. Select **“Standalone”** + ![HeatWave Type selection](./images/mysql-heatwave-system-selection.png "mysql heatwave system selection") + 8. On Configure networking, keep the default values Virtual Cloud Network: **heatwave-vcn** @@ -238,13 +238,22 @@ In this lab, you will be guided through the following tasks: ![HeatWave AD choice](./images/mysql-avail-domain.png "mysql availability domain ") -10. On Configure hardware, keep default shape as **MySQL.HeatWave.VM.Standard** +10. On Configure hardware: Select the "Enable HeatWave cluster" - Data Storage Size (GB) Set value to: **1024** + Shape details + - Select Shape: MySQL.2 + - Set ECPU count: 2 + - Set Memory size: 16 GB + - Set Max network bandwidth: 1Gbps + + HeatWave cluster configuration + - Select Shape: HeatWave.32GB + - Set Memory: 32 GB + - Set Nodes: 1 + - Set HeatWave Lakehouse:Enabled + + Data Storage Size (GB) Set value to: 50 - ```bash - 1024 - ``` ![HeatWave hardware selection](./images/mysql-configure-hardware.png "mysql hardware ") @@ -261,9 +270,9 @@ In this lab, you will be guided through the following tasks: ``` ![HeatWave add host](./images/mysql-host.png "mysql host ") -14. Go to the Configuration tab. Click on Select a MySQL version: Select the latest MySQL version of the DB system. +14. Go to the Configuration tab. Click on Select a MySQL version: Select the latest Innovation MySQL version of the DB system. - ![Select mysql version](./images/mysql-configuration-version.png "Select mysql version") + ![Select mysql version](./images/mysql-configuration-version.png "Select latest MySQL version") 15. Select the Data Import tab. @@ -282,35 +291,10 @@ In this lab, you will be guided through the following tasks:
``` - https://objectstorage.us-ashburn-1.oraclecloud.com/p/0pZRzTl1hFLchwAcornQVePE7eXxp1u6rjVVF3i7a5qN7HASVk4CtTQ9BK9y4xIG/n/mysqlpm/b/plf_mysql_customer_orders/o/mco_nocoupon_dump_05242023/ + https://objectstorage.us-ashburn-1.oraclecloud.com/p/e9-qd9eqC2gatEl4qqsRD4L_mqn433tr00ALKmYzh8AuTQ-drS1thJvgLoz64-vF/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_11272024/ ``` - - -
- US West (Phoenix) Region - Copy and paste to PAR Source URL -
- ``` - https://objectstorage.us-phoenix-1.oraclecloud.com/p/mUzBCdSGiskSfFH0X8h5rRXV7GN3k0wqXeY-K3A1V7PBt_9_O2nbS2U1HO3nOqt_/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_dump_05242023/ - ``` -
- -
- US West (San Jose) Region - Copy and paste to PAR Source URL -
- ``` - https://objectstorage.us-sanjose-1.oraclecloud.com/p/WVEfexlDvAa_wJQFA5zl0Yc6k0hBIfMZEk2xu898A9GhNgaLIJFm2WELR5tK_RNA/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_dump_05242023/ - ``` -
- ## Latin America (LAD) - **Tenancy Regions** Please select the same region that you are creating **heatwave-db** in -
- Brazil East (Sao Paulo) Region - Copy and paste to PAR Source URL -
- ``` - https://objectstorage.sa-saopaulo-1.oraclecloud.com/p/Hhx1BmORRm2T-D45RZShnfReE4LhyeVMQ4WpJ7pR6dS5bf466BhpxHv1i4FXMpnC/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_dump_05242023/ - ``` -
+ 18. If your OCI Region is not listed in step 16, don't worry, You will be able to load the DB Data in Lab 4 Task 1. Please skip to step 19. @@ -318,11 +302,9 @@ In this lab, you will be guided through the following tasks: ![HeatWave PAR Import](./images/mysql-data-import.png "mysql data import ") -20. Review **Create MySQL DB System** Screen - - ![HeatWave create button](./images/mysql-create-button.png "mysql create dbbutton") +20. Click the '**Create**' button - Click the '**Create**' button + ![mysql creare button ](./images/mysql-create-button.png "mysql creare button") 21. The New MySQL DB System will be ready to use after a few minutes @@ -341,4 +323,4 @@ You may now **proceed to the next lab** - **Author** - Perside Foster, MySQL Solution Engineering - **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023 +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-backup.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-backup.png index 645260a87..bec86d480 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-backup.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-backup.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configuration-version.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configuration-version.png index 6d83a44bc..518a82d87 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configuration-version.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configuration-version.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware-512.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware-512.png new file mode 100644 index 000000000..8d9697bf3 Binary files /dev/null and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware-512.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware.png index 429aa9e48..0161a884a 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-configure-hardware.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-button.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-button.png index aa3927a02..f55567b8f 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-button.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-button.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-select-option.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-select-option.png index 3ea022d0a..a6d3a14c3 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-select-option.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create-select-option.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create.png index de0eb50b4..4d5dddd8b 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-create.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-data-import.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-data-import.png index 1f66bc600..215d7a035 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-data-import.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-data-import.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-heatwave-system-selection.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-heatwave-system-selection.png index 59fa74b42..fc63656bc 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-heatwave-system-selection.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-heatwave-system-selection.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/networking-main.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/networking-main.png index 4b7bce6e3..946fe2635 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/networking-main.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/networking-main.png differ diff --git a/heatwave-lakehouse/create-heatwave-vcn-db/images/vcn-wizard-start.png b/heatwave-lakehouse/create-heatwave-vcn-db/images/vcn-wizard-start.png index 2185d7249..dca29176a 100644 Binary files a/heatwave-lakehouse/create-heatwave-vcn-db/images/vcn-wizard-start.png and b/heatwave-lakehouse/create-heatwave-vcn-db/images/vcn-wizard-start.png differ diff --git a/heatwave-lakehouse/create-lakehouse-files/create-lakehouse-files.md b/heatwave-lakehouse/create-lakehouse-files/create-lakehouse-files.md index 890cb0f2f..6f3dc3291 100644 --- a/heatwave-lakehouse/create-lakehouse-files/create-lakehouse-files.md +++ b/heatwave-lakehouse/create-lakehouse-files/create-lakehouse-files.md @@ -151,4 +151,4 @@ You may now **proceed to the next lab** - **Author** - Perside Foster, MySQL Solution Engineering - **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023 +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 diff --git a/heatwave-lakehouse/create-lakehouse-files/images/create-lakehous-bucket-par-load.png b/heatwave-lakehouse/create-lakehouse-files/images/create-lakehous-bucket-par-load.png index 57a6ecd6b..b7bd596a4 100644 Binary files a/heatwave-lakehouse/create-lakehouse-files/images/create-lakehous-bucket-par-load.png and b/heatwave-lakehouse/create-lakehouse-files/images/create-lakehous-bucket-par-load.png differ diff --git a/heatwave-lakehouse/develop/develop.md b/heatwave-lakehouse/develop/develop.md index 26b09ec8f..b2fb08340 100644 --- a/heatwave-lakehouse/develop/develop.md +++ b/heatwave-lakehouse/develop/develop.md @@ -70,10 +70,10 @@ In this lab, you will be guided through the following tasks: 1. Install php: - a. Install php:7.4 + a. Install php:8.2 ```bash - sudo dnf module install php:7.4 -y + sudo dnf install @php:8.2 -y ``` b. Install associated php libraries @@ -214,4 +214,4 @@ In this lab, you will be guided through the following tasks: - **Author** - Perside Foster, MySQL Solution Engineering - **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023 \ No newline at end of file +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 \ No newline at end of file diff --git a/heatwave-lakehouse/introduction/introduction.md b/heatwave-lakehouse/introduction/introduction.md index 47e79fb1d..302999559 100644 --- a/heatwave-lakehouse/introduction/introduction.md +++ b/heatwave-lakehouse/introduction/introduction.md @@ -16,9 +16,10 @@ HeatWave Lakehouse. The deployment goals are: _Estimated Time:_ 2 hours + ### About Product/Technology @@ -54,7 +55,8 @@ You may now **proceed to the next lab** - **Author** - Perside Foster, MySQL Solution Engineering - **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023 - +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 -[def]: videohub:VideoID \ No newline at end of file + \ No newline at end of file diff --git a/heatwave-lakehouse/load-db-heatwave-cluster/load-db-heatwave-cluster.md b/heatwave-lakehouse/load-db-heatwave-cluster/load-db-heatwave-cluster.md index 9fddf30e7..d5441d4a8 100644 --- a/heatwave-lakehouse/load-db-heatwave-cluster/load-db-heatwave-cluster.md +++ b/heatwave-lakehouse/load-db-heatwave-cluster/load-db-heatwave-cluster.md @@ -187,4 +187,4 @@ You may now **proceed to the next lab** - **Author** - Perside Foster, MySQL Solution Engineering - **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023 +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 diff --git a/heatwave-lakehouse/load-parquet-data/load-parquet-data.md b/heatwave-lakehouse/load-parquet-data/load-parquet-data.md index b4714da67..23c525830 100644 --- a/heatwave-lakehouse/load-parquet-data/load-parquet-data.md +++ b/heatwave-lakehouse/load-parquet-data/load-parquet-data.md @@ -123,4 +123,4 @@ You may now **proceed to the next lab** - **Author** - Perside Foster, MySQL Solution Engineering - **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023 \ No newline at end of file +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 \ No newline at end of file diff --git a/heatwave-lakehouse/setup-db-data/images/cloud-shell-connect.png b/heatwave-lakehouse/setup-db-data/images/cloud-shell-connect.png new file mode 100644 index 000000000..33d2758bf Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/cloud-shell-connect.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/connect-myslqsh.png b/heatwave-lakehouse/setup-db-data/images/connect-myslqsh.png new file mode 100644 index 000000000..d63aef245 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/connect-myslqsh.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/db-list.png b/heatwave-lakehouse/setup-db-data/images/db-list.png new file mode 100644 index 000000000..cbea88979 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/db-list.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-estimate-node.png b/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-estimate-node.png new file mode 100644 index 000000000..7c071b779 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-estimate-node.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-generate-estimate.png b/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-generate-estimate.png new file mode 100644 index 000000000..5b7ec5c57 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-generate-estimate.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-lakehouse.png b/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-lakehouse.png new file mode 100644 index 000000000..557423743 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/heatwave-cluster-lakehouse.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/heatwave-lab-setup.png b/heatwave-lakehouse/setup-db-data/images/heatwave-lab-setup.png new file mode 100644 index 000000000..8d20e6164 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/heatwave-lab-setup.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/heatwave-load-01.png b/heatwave-lakehouse/setup-db-data/images/heatwave-load-01.png new file mode 100644 index 000000000..0cdc7fad3 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/heatwave-load-01.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/heatwave-loaded-data.png b/heatwave-lakehouse/setup-db-data/images/heatwave-loaded-data.png new file mode 100644 index 000000000..a8ddd154f Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/heatwave-loaded-data.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/list-schemas-after.png b/heatwave-lakehouse/setup-db-data/images/list-schemas-after.png new file mode 100644 index 000000000..b5edb2691 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/list-schemas-after.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/load-cluster-begin.png b/heatwave-lakehouse/setup-db-data/images/load-cluster-begin.png new file mode 100644 index 000000000..9efe8d5e3 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/load-cluster-begin.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/load-cluster-end.png b/heatwave-lakehouse/setup-db-data/images/load-cluster-end.png new file mode 100644 index 000000000..85f41985d Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/load-cluster-end.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-add-heat-estimate.png b/heatwave-lakehouse/setup-db-data/images/mysql-add-heat-estimate.png new file mode 100644 index 000000000..f0b02af97 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-add-heat-estimate.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-add-heatwave-cluster.png b/heatwave-lakehouse/setup-db-data/images/mysql-add-heatwave-cluster.png new file mode 100644 index 000000000..080a30dcb Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-add-heatwave-cluster.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-customer-order-explain.png b/heatwave-lakehouse/setup-db-data/images/mysql-customer-order-explain.png new file mode 100644 index 000000000..6d8aa71df Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-customer-order-explain.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-customer-order-nocluster.png b/heatwave-lakehouse/setup-db-data/images/mysql-customer-order-nocluster.png new file mode 100644 index 000000000..7d5624570 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-customer-order-nocluster.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-customer-order.png b/heatwave-lakehouse/setup-db-data/images/mysql-customer-order.png new file mode 100644 index 000000000..6eaf65340 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-customer-order.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-customer-orders-list.png b/heatwave-lakehouse/setup-db-data/images/mysql-customer-orders-list.png new file mode 100644 index 000000000..a3e7465f3 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-customer-orders-list.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-complete.png b/heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-complete.png new file mode 100644 index 000000000..aa0041940 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-complete.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-estimate.png b/heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-estimate.png new file mode 100644 index 000000000..246696f06 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-heat-cluster-estimate.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-heatwave-active.png b/heatwave-lakehouse/setup-db-data/images/mysql-heatwave-active.png new file mode 100644 index 000000000..ff0943b7a Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-heatwave-active.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-heatwave-more.png b/heatwave-lakehouse/setup-db-data/images/mysql-heatwave-more.png new file mode 100644 index 000000000..c855e4772 Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-heatwave-more.png differ diff --git a/heatwave-lakehouse/setup-db-data/images/mysql-shell-login.png b/heatwave-lakehouse/setup-db-data/images/mysql-shell-login.png new file mode 100644 index 000000000..86f70724c Binary files /dev/null and b/heatwave-lakehouse/setup-db-data/images/mysql-shell-login.png differ diff --git a/heatwave-lakehouse/setup-db-data/setup-db-data.md b/heatwave-lakehouse/setup-db-data/setup-db-data.md new file mode 100644 index 000000000..512d35e67 --- /dev/null +++ b/heatwave-lakehouse/setup-db-data/setup-db-data.md @@ -0,0 +1,113 @@ +# Setup HeatWave with mysql\_customer\_orders Data + +## Introduction + +We will be using the mysql\_customer\_orders Data for this wprkshop + +_Estimated Time:_ 10 minutes + +### Objectives + +In this lab, you will be guided through the following task: + +- Connect to database using MySQL Shell +- Add the mysql\_customer\_orders Datato HeatWave if it is not already there + +### Prerequisites + +- An Oracle Trial or Paid Cloud Account +- Some Experience with MySQL Shell +- Completed Lab 2 + +## Task 1: Connect to database using MySQL Shell + +1. If not already connected with SSH, on Command Line, connect to the Compute instance using SSH ... be sure replace the "private key file" and the "new compute instance ip" + + ```bash + ssh -i private_key_file opc@new_compute_instance_ip + ``` + +2. Use the following command to connect to MySQL using the MySQL Shell client tool. Be sure to add the **heatwave-db** private IP address at the end of the command. Also enter the admin user and the db password created on Lab 1 + + (Example **mysqlsh -uadmin -p -h10.0.1.. --sql**) + + **[opc@...]$** + + ```bash + mysqlsh -uadmin -p -h 10.0.1.... --sql + ``` + + ![MySQL Shell connected DB](./images/connect-myslqsh.png "connect myslqsh") + +3. List schemas in your heatwave instance + + ```bash + show databases; + ``` + + ![Database Schema List](./images/list-schemas-after.png "list schemas first view") + +4. if you do not see the **mysql\_customer\_orders** schema on the list, then load it using the following commands: + - a. change to JS + + ```bash + \js + ``` + + - b. Run load command + + ```bash + util.loadDump("https://objectstorage.us-ashburn-1.oraclecloud.com/p/e9-qd9eqC2gatEl4qqsRD4L_mqn433tr00ALKmYzh8AuTQ-drS1thJvgLoz64-vF/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_11272024/", {progressFile: "progress.json", loadIndexes:false,ignoreVersion:true}) + ``` + + **Note**: If you get errors like the one below, the **mysql\_customer\_orders** schema already exists. You used the correct PAR Link to load the data during the creation process in Lab1. Don't worry; everything is okay. + + *ERROR: Schema `mysql_customer_orders` already contains a table named customers* + + - c. Change to SQL mode + + ```bash + \sql + ``` + + - d. Make sure the **mysql\_customer\_orders** schema was loaded + + ```bash + show databases; + ``` + + ![Database Schema List](./images/list-schemas-after.png "list schemas second view") + +5. View the mysql\_customer\_orders total records per table in + + ```bash + SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'mysql_customer_orders'; + ``` + + ![Databse Tables](./images/mysql-customer-orders-list.png "mysql customer orders list") + +## Task 2: Review the HeatWave Cluster Setup + +1. Go to Navigation Menu + Databases + MySQL + +2. Click the `heatwave-db` Database System link + + ![Database List](./images/db-list.png "Database List") + +3. In the list of DB Systems, click the **heatwave-db** system. On the **HeatWave Cluster** Section, click on Details + + ![Databse Cluster Detail](./images/mysql-heatwave-more.png "mysql heatwave cluster") + +4. The HeatWave Cluster Information section will look like this: + ![Completed Cluster Creation](./images/mysql-heat-cluster-complete.png "mysql heat cluster complete ") + +You may now **proceed to the next lab** + +## Acknowledgements + +- **Author** - Perside Foster, MySQL Solution Engineering + +- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 diff --git a/heatwave-lakehouse/stop-services/stop-services.md b/heatwave-lakehouse/stop-services/stop-services.md index 55111a610..8d947a496 100644 --- a/heatwave-lakehouse/stop-services/stop-services.md +++ b/heatwave-lakehouse/stop-services/stop-services.md @@ -64,4 +64,4 @@ In this lab, you will be guided through the following task: - **Author** - Perside Foster, MySQL Principal Solution Engineering - **Contributors** - Mandy Pang, MySQL Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager -- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, July 2023 \ No newline at end of file +- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024 \ No newline at end of file diff --git a/heatwave-lakehouse/workshops/freetier/index.html b/heatwave-lakehouse/workshops/freetier/index.html index 70ee63520..6acdb69d1 100644 --- a/heatwave-lakehouse/workshops/freetier/index.html +++ b/heatwave-lakehouse/workshops/freetier/index.html @@ -20,7 +20,7 @@