Skip to content

Commit

Permalink
WMS IDs 3900 & 11029 (#548)
Browse files Browse the repository at this point in the history
updating the 19c per the change to Database actions. also adding the folder for my cloudworld session
  • Loading branch information
KillianLynch authored Jun 21, 2024
1 parent 23ad65d commit 13d7a67
Show file tree
Hide file tree
Showing 48 changed files with 171 additions and 91 deletions.
57 changes: 20 additions & 37 deletions db-19c-fundamentals/atp-provision/atp-provision.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Introduction

> **Note: Oracle Database 23ai is the current long term support release. Check out the following lab for the newest features in the Oracle Database:**
> [Oracle Database 23ai New Features](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3950&clear=RR,180&session=29237226541700)
This lab provides a step-by-step guide to help you get started using the Oracle Autonomous Database (Autonomous Data Warehouse [ADW] and Autonomous Transaction Processing [ATP]) on Oracle Cloud. In this lab, you will learn how to provision a new ATP instance.

**Note:** While this lab uses ATP, the steps are the same for creating an ADW database.
Expand Down Expand Up @@ -120,15 +124,11 @@ In this lab, you will:



9. Choose a license type. For this lab, choose **License Included**. The two license types are:
9. Choose a license type. For this lab, accept **License Included**. The two license types are:


- **Bring Your Own License (BYOL)** - Select this type when your organization has existing database licenses.
- **License Included** - Select this type when you want to subscribe to new database software licenses and the database cloud service.



![Select Network Access](./images/create-adb-license-type.png " ")
- **License Included** - Select this type when you want to subscribe to new database software licenses and the database cloud service. (This is free!)


10. Click **Create Autonomous Database**.
Expand All @@ -137,28 +137,21 @@ In this lab, you will:

11. Your instance will begin provisioning. In a few minutes, the state will turn from *Provisioning* to *Available*. At this point, your Autonomous Transaction Processing database is ready to use! Have a look at your instance's details here including its name, database version, ECPU count, and storage size.


![Show Autonomous Database](images/adb-available-freetier.png)


You may *proceed to the next lab*.

## Task 3: Create the Lab User
1. After your Autonomous Database has finished provisioning, click on the **Database Actions** button located at the top of the screen.

![Database Action](./images/database-actions.png)

2. If you're not automatically logged in, sign in as ADMIN. Your password will be the password you specified when you created the database.
2. If you're not automatically logged in, double check your browser didnt block the popup. If it did, close out the new tab and select **Database Actions** and click SQL again.

![Database Actions Login](./images/db-actions-login.png)

3. (Optional database password reset) If you need to reset your database password, it's very simple to do so. Click on **More actions** from the OCI console screen and select **Administrator Password**. Fill in your new password and select **Change**. After you select **Change**, follow from step 1 above.

![Reset DB Password](./images/db-password-reset.png)

4. Once logged in as the Admin user, we can create our workshop user one of two ways. Either by writing sql statements or by using Database Users tile in Database Actions. We'll do that later. Scroll down on the Database Actions page to the **Database Users** tile under the Administration Section and select it.
4. Once logged in as the Admin user, we can create our workshop user one of two ways. Either by writing sql statements or by using Database Users tile in Database Actions. We'll do that latter. SPress the hamburger menu icon in the top left and select **Database Users**

![Select the Database Users tile](./images/database-users.gif)
![Select the Database Users tile](./images/database-users.png)

5. Here we'll create our lab user. **Select Create User**

Expand Down Expand Up @@ -216,47 +209,37 @@ To make this workshop as realistic as possible, let us introduce the business sc

Oracle MovieStream is a fictitious online movie streaming company. Customers log into Oracle MovieStream using their computers, tablets and phones where they are presented with a targeted list of movies based on their past viewing habits. The company is now looking for better, smarter ways to track performance, identifying customers to target with campaigns that promote new services, new movies and new viewing platforms. Many of the scenarios in this workshop will be based on challenges companies are seeing in their own businesses, and we hope the following labs and accompanying workshops will give you some insight into how Oracle can help you solve these common everyday business and technical challenges.

1. Now that we're signed in as user **NF19C** we can load our data. Select the Data Load card.
1. Now that we're signed in as user **NF19C** we can load our data. From the launchpad select Select the Data Load card and press open.

![Selecting the Data Load Card on the right side of the screen ](./images/load-data.png)

2. To make things easier, the data needed for today's lab is stored in Oracle's Object Storage. Scroll down and select **Cloud Locations**.
2. To make things easier, the data needed for today's lab is stored in Oracle's Object Storage. Select **Load Data**.

![select cloud storage ](./images/cloud-locations.gif)
![select cloud storage ](./images/cloud-locations.png)

3. Select **Add Cloud Store Location** in the top right and fill in the following:
* Name: MovieStreamLanding
* **Public Bucket**
* Bucket URI
3. Select **Cloud Storage** in the top tab bar and paste the link in the empty square and press 'enter' **on your keyboard**

```
```
<copy>
https://objectstorage.us-ashburn-1.oraclecloud.com/n/c4u04/b/moviestream_gold/o
</copy>
```
![Adding the cloud Bucket URI ](./images/cloud-bucket.png)
![Adding the cloud Bucket URI ](./images/cloud-bucket1.png)
4. Using the navigation bar on the left, select **Data Load** and **Load Cloud Store**
![load cloud data ](./images/load-cloud-data.png)

5. Drag and drop the **customer_contact, custsales, genre,** and **movie** folders into the data loading area. **Select yes** when prompted if you would like to load an object in the folder to the table or SODA Collection. Once all the folders have been moved to the loading area and **press start and run**.
4. Drag and drop the **customer_contact, custsales, genre,** and **movie** folders into the data loading area. **Select yes** when prompted if you would like to load an object in the folder to the table or SODA Collection. Once all the folders have been moved to the loading area and **press start and run**.
![Drag and drop the folders into the data loading tool ](./images/drag-and-drop-data.gif)
6. Wait for the jobs to finish running. Depending on the size of the database the jobs may take longer may take up to ~7 min to complete.
5. Wait for the jobs to finish running. Depending on the size of the database the jobs may take longer may take up to ~7 min to complete.
7. Once the Jobs have finished - click the launchpad in the top left corner to go back to the database actions home screen.
6. Once the Jobs have finished - click the hamburger menu in the top left corner and Select the SQL tile.
![Click the word Oracle in the top left](./images/launchpad.png)
8. Select the SQL tile.

![Select the SQL tile ](./images/sql.png)

9. run the following SQL to verity the data was loaded into the NF19C user.
7. run the following SQL to verity the data was loaded into the NF19C user.
```
<copy>
Expand Down Expand Up @@ -293,4 +276,4 @@ Go to [the documentation](https://docs.oracle.com/en/cloud/paas/autonomous-data-
- **Author** - Killian Lynch, Oracle Database Product Management
- **Contributors** -
- **Last Updated By/Date** - Killian Lynch (February 2023)
- **Last Updated By/Date** - Killian Lynch (June 2024)
Binary file modified db-19c-fundamentals/atp-provision/images/adb-choose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/adb-no-database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/adb-select-region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/adb-start-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/create-adb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/create-user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/database-actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/db-password-reset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/launch-user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/launchpad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/load-data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/name-user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified db-19c-fundamentals/atp-provision/images/oci-navigation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 8 additions & 7 deletions db-19c-fundamentals/automatic-indexing/automatic-indexing.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,18 @@ This lab assumes you have:

## Task 1: Configure Automatic Indexing

1. If you're not already looking at the SQL Developer Web interface, locate your Autonomous Database by clicking the hamburger menu in the top left of the screen, selecting Oracle Databases and choose Autonomous Database. **If you already have SQL Developer Web up and are logged in as the NF19C user, skip to step 4.**
1. **If you already have SQL Developer Web up and are logged in as the NF19C user, skip to step 4.** If you're not already looking at the SQL Developer Web interface, locate your Autonomous Database by clicking the hamburger menu in the top left of the screen, selecting Oracle Databases and choose Autonomous Database.

![locate adb](./images/locate-adb.png " ")
![locate adb](/json-in-the-db/images/oci-navigation-adw.png " ")

2. Select the name of your database and click on the Database Actions button located at the top of the screen.

![db actions](./images/database-actions.png " ")
![db actions](/json-in-the-db/images/database-actions.png " ")

3. Log into Database Actions as the NF19C user.
![JSON Database Actions](./images/db-actions-logout.png)
![JSON Database Actions](./images/db-actions-login-lab.png)
3. Log into Database Actions as the NF19C user. Use the picture below to navigate to the SQL editor
![JSON Database Actions](/json-in-the-db/images/db-actions-logout.png)
![JSON Database Actions](/json-in-the-db/images/login-db.png)
![JSON Database Actions](/json-in-the-db/images/new-sql.png)

4. The DBMS\_AUTO\_INDEX package is used to manage the automatic indexing feature. The CDB\_AUTO\_INDEX\_CONFIG view shows the current automatic indexing configuration. Let's check our current index mode.

Expand Down Expand Up @@ -266,7 +267,7 @@ You may now proceed to the next lab.
*Great Work! You successfully created a client machine and connected to your autonomous database instance using SQL Developer and command line tools.*
- **Contributors** - Nigel Bayliss
- **Last Updated By/Date** - Killian Lynch, February 2023
- **Last Updated By/Date** - Killian Lynch, June 2024
## See an issue or have feedback?
Please submit feedback [here](https://apexapps.oracle.com/pls/apex/f?p=133:1:::::P1_FEEDBACK:1). Select 'Autonomous DB on Dedicated Exadata' as workshop name, include Lab name and issue / feedback details. Thank you!
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ In this lab, you will:

## Task 1: Connect to ADB with SQL Developer Web

Please proceed to STEP 4 if you are already connected to Autonomous Database with SQL Developer Web as a NF19C user.
1. If you're not already looking at the SQL Developer Web interface, locate your Autonomous Database by clicking the hamburger menu in the top left of the screen, selecting Oracle Databases and choose Autonomous Database. **If you already have SQL Developer Web up and are logged in as the NF19C user, skip to step 4.**
1. **If you already have SQL Developer Web up and are logged in as the NF19C user, skip to step 4.** If you're not already looking at the SQL Developer Web interface, locate your Autonomous Database by clicking the hamburger menu in the top left of the screen, selecting Oracle Databases and choose Autonomous Database.

![locate adb](./images/locate-adb.png " ")
![locate adb](/json-in-the-db/images/oci-navigation-adw.png " ")

2. Select the name of your database and click on the Database Actions button located at the top of the screen.

![db actions](./images/database-actions.png " ")
![db actions](/json-in-the-db/images/database-actions.png " ")

3. Log into Database Actions as the NF19C user.
![JSON Database Actions](./images/db-actions-logout.png)
![JSON Database Actions](./images/db-actions-login-lab.png)
3. Log into Database Actions as the NF19C user. Use the picture below to navigate to the SQL editor
![JSON Database Actions](/json-in-the-db/images/db-actions-logout.png)
![JSON Database Actions](/json-in-the-db/images/login-db.png)
![JSON Database Actions](/json-in-the-db/images/new-sql.png)

4. The `CREATE BLOCKCHAIN TABLE` statement requires additional attributes. The `NO DROP`, `NO DELETE`, `HASHING USING`, and `VERSION` clauses are mandatory.

Expand Down Expand Up @@ -258,4 +258,4 @@ You may now proceed to the next lab.
* **Author** - Rayes Huang, Mark Rakhmilevich, Anoosha Pilli
* **Contributors** - Anoosha Pilli, Didi Han, Database Product Management, Oracle Database
* **Last Updated By/Date** - Killian Lynch Feb 2023
* **Last Updated By/Date** - Killian Lynch June 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
15 changes: 8 additions & 7 deletions db-19c-fundamentals/hybrid-partitioned-tables/partitioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,18 @@ First, we're going to navigate back to the Autonomous Database and open SQL Deve

![Navigating back to the Autonomous DB](./images/auto-db.png " ")

2. Select the Database you created in the earlier labs and select **Database Actions**.
2. Select the Database you created in the earlier labs and select **Database Users**.

![Open SQL Developer Web](./images/db-actions.png)
![Open SQL Developer Web](./images/db-actions-users.png)


3. Log into Database Actions as the NF19C user.
![JSON Database Actions](./images/db-actions-logout.png)
![JSON Database Actions](./images/db-actions-login-lab.png)
![JSON Database Actions](./images/db-actions-logout-new.png)
![JSON Database Actions](./images/db-actions-login-lab-new.png)

3. Wait for the new tab to open and select the SQL card under the Development section to open the SQL worksheet editor.
3. Wait for the new tab to open and select the SQL tile.

![Open SQL editor](./images/sql.png)
![Open SQL editor](./images/sql1.png)


4. The first thing we will need to do is create our credentials in order to access our Object Storage bucket from our Autonomous Database. Using the SQL Developer Web, copy and run the following statements. Note, the DBMS_CLOUD command, you will need the username and token that we copied in the lab above. The credential and token **need to be in single quotes** ''.
Expand All @@ -113,7 +114,7 @@ First, we're going to navigate back to the Autonomous Database and open SQL Deve
username => 'your full database username that you took note of earlier',
password => 'the token you took note of earlier'
);
END;
END;
</copy>
```
```
Expand Down
15 changes: 8 additions & 7 deletions db-19c-fundamentals/index-compression/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,18 @@ This lab assumes you have:

## Task 1: Enable Advanced Index Compression

1. If you're not already looking at the SQL Developer Web interface, locate your Autonomous Database by clicking the hamburger menu in the top left of the screen, selecting Oracle Databases and choose Autonomous Database. **If you already have SQL Developer Web up and are logged in as the NF19C user, skip to step 4.**
1. **If you already have SQL Developer Web up and are logged in as the NF19C user, skip to step 4.** If you're not already looking at the SQL Developer Web interface, locate your Autonomous Database by clicking the hamburger menu in the top left of the screen, selecting Oracle Databases and choose Autonomous Database.

![locate adb](./images/locate-adb.png " ")
![locate adb](/json-in-the-db/images/oci-navigation-adw.png " ")

2. Select the name of your database and click on the Database Actions button located at the top of the screen.

![db actions](./images/database-actions.png " ")
![db actions](/json-in-the-db/images/database-actions.png " ")

3. Log into Database Actions as the NF19C user.
![JSON Database Actions](./images/db-actions-logout.png)
![JSON Database Actions](./images/db-actions-login-lab.png)
3. Log into Database Actions as the NF19C user. Use the picture below to navigate to the SQL editor
![JSON Database Actions](/json-in-the-db/images/db-actions-logout.png)
![JSON Database Actions](/json-in-the-db/images/login-db.png)
![JSON Database Actions](/json-in-the-db/images/new-sql.png)

4. First we're going create an index called CUST\_ID\_INX on the customer id column of our customer sales table.

Expand Down Expand Up @@ -131,4 +132,4 @@ You successfully made it to the end this lab. You may now **proceed to the next
- **Author** - Killian Lynch, Database Product Manager
* **Contributors** - Dom Giles, Database Product Manager
* **Last Updated By/Date** - Killian Lynch, Feb 2023
* **Last Updated By/Date** - Killian Lynch, June 2024
11 changes: 10 additions & 1 deletion db-19c-fundamentals/intro/intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Introduction

This workshop contains several hands-on labs that showcase some of the latest enhancements in the long-term Oracle Database support release, 19c. This is not a complete list of new features. Our mission is not just to manage your data but to help you get value out of it. For the world’s most demanding enterprise applications and workloads, Oracle Database 19c is a converged database that delivers a high-performance, highly available, secure, and scalable data management platform for cloud as well as on-premises environments.
> **Note: Oracle Database 23ai is the current long term support release. Check out the following lab for the newest features in the Oracle Database:**
> [Oracle Database 23ai New Features](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3950&clear=RR,180&session=29237226541700)

This workshop contains several hands-on labs that showcase some of the new enhancements in Oracle Database release, 19c. This is not a complete list of new features. Our mission is not just to manage your data but to help you get value out of it. For the world’s most demanding enterprise applications and workloads, Oracle Database 19c is a converged database that delivers a high-performance, highly available, secure, and scalable data management platform for cloud as well as on-premises environments.

[](youtube:aF89i0m6zFU)

Expand All @@ -16,6 +21,10 @@ The converged database approach can be easily misunderstood as one large databas

This workshop lets you try out new features in Oracle Database 19c. If needed, a lab starts with instructions on how to prepare your environment and ends with instructions on how to restore your environment back to its original state.

> **Note: Oracle Database 23ai is the current long term support release. Check out the following lab for the newest features in the Oracle Database:**
> [Oracle Database 23ai New Features](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3950&clear=RR,180&session=29237226541700)

## Learn More

Expand Down
Diff not rendered.
Binary file modified db-19c-fundamentals/json-in-the-db/images/database-actions.png
Diff not rendered.
10 changes: 4 additions & 6 deletions db-19c-fundamentals/json-in-the-db/json-in-the-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,18 @@ In this lab, you will:

1. If you're not already looking at the SQL Developer Web interface, locate your Autonomous Database by clicking the hamburger menu in the top left of the screen, selecting Oracle Databases and choose Autonomous Database. **If you already have SQL Developer Web up and are logged in as the NF19C user, skip to step 4.**

![locate adb](./images/locate-adb.png " ")
![locate adb](./images/oci-navigation-adw.png " ")

2. Select the name of your database and click on the Database Actions button located at the top of the screen.

![db actions](./images/database-actions.png " ")

3. Log into Database Actions as the NF19C user.
![JSON Database Actions](./images/db-actions-logout.png)
![JSON Database Actions](./images/db-actions-login-lab.png)

4. From the launch pad Select the hamberger menu and the JSON tile on the left hand side of the screen.

4. Select the JSON tile on the left hand side of the screen.

![JSON Database Actions](./images/db-actions-json.png)
![JSON Database Actions](./images/db-actions-json1.png)


5. To create a collection, click **Create Collection**.
Expand Down Expand Up @@ -368,4 +366,4 @@ You may now **proceed to the next lab**.
- **Author** - Beda Hammerschmidt, Architect
- **Contributors** - Killian Lynch, Product Manager, Oracle Database
- **Last Updated By/Date** - Killian Lynch February 2023
- **Last Updated By/Date** - Killian Lynch June 2024
Loading

0 comments on commit 13d7a67

Please sign in to comment.