From 567d2d4fb9def07147b696a5a74dbddee96dc62b Mon Sep 17 00:00:00 2001 From: Seth Miller Date: Fri, 23 Aug 2024 16:21:55 -0500 Subject: [PATCH] lab updates (#68) Co-authored-by: Seth-Miller --- .../exascale_clone/exascale_clone.md | 9 +++++++ exadata-features/flash_cache/flash_cache.md | 26 ++++++++++++++++--- exadata-features/hcc/hcc.md | 9 +++++++ exadata-features/smart_scan/smart_scan.md | 23 +++++++++++++--- 4 files changed, 60 insertions(+), 7 deletions(-) diff --git a/exadata-features/exascale_clone/exascale_clone.md b/exadata-features/exascale_clone/exascale_clone.md index 4f7d061..deb0fff 100644 --- a/exadata-features/exascale_clone/exascale_clone.md +++ b/exadata-features/exascale_clone/exascale_clone.md @@ -90,6 +90,15 @@ This lab assumes: ``` +9. Exit the sqlplus session before starting the next lab. + + ```text + + exit + + ``` + + You may now **proceed to the next lab**. ## Acknowledgements diff --git a/exadata-features/flash_cache/flash_cache.md b/exadata-features/flash_cache/flash_cache.md index 25a188a..f1a8f8b 100644 --- a/exadata-features/flash_cache/flash_cache.md +++ b/exadata-features/flash_cache/flash_cache.md @@ -67,7 +67,16 @@ This lab assumes: ## Task 2: Query With Flash Cache -1. Disconnect and reconnect your session. Repeat the statistics query using the SQL script `lab_flash_cache_01.sql` and verify that the statistics are again at or near zero values. If any statistics are significantly greater than zero then reconnect again and retry. +1. Disconnect and reconnect your sqlplus session. + + ```text + + exit + sqlp + + ``` + +2. Repeat the statistics query using the SQL script `lab_flash_cache_01.sql` and verify that the statistics are again at or near zero values. If any statistics are significantly greater than zero then reconnect again and retry. ```text @@ -75,7 +84,7 @@ This lab assumes: ``` -2. Again, flush the buffer cache to ensure that the queries in the next step must retrieve the required data from the Exadata cells. +3. Again, flush the buffer cache to ensure that the queries in the next step must retrieve the required data from the Exadata cells. ```text @@ -83,7 +92,7 @@ This lab assumes: ``` -3. Re-execute the query in the SQL script `lab_flash_cache_02.sql`. +4. Re-execute the query in the SQL script `lab_flash_cache_02.sql`. ```text @@ -91,7 +100,7 @@ This lab assumes: ``` -4. Repeat the statistics query using the SQL script `lab_flash_cache_01.sql`. Compare the values for `cell flash cache read hits` and `physical read total IO requests`. They should be closer together, indicating that most of the I/Os were satisfied by Exadata Smart Flash Cache. +5. Repeat the statistics query using the SQL script `lab_flash_cache_01.sql`. Compare the values for `cell flash cache read hits` and `physical read total IO requests`. They should be closer together, indicating that most of the I/Os were satisfied by Exadata Smart Flash Cache. ```text @@ -101,6 +110,15 @@ This lab assumes: > Note: If `cell flash cache read hits` is showing zero, you may be running this lab on a system with Extreme Flash storage cells. Since the flash cache on EF systems prior to X10M is on the storage disks and is not used for standard queries, `cell flash cache read hits` shows zero. + +6. Exit the sqlplus session before starting the next lab. + + ```text + + exit + + ``` + You may now **proceed to the next lab**. ## Acknowledgements diff --git a/exadata-features/hcc/hcc.md b/exadata-features/hcc/hcc.md index ab4f985..5987ce3 100644 --- a/exadata-features/hcc/hcc.md +++ b/exadata-features/hcc/hcc.md @@ -94,6 +94,15 @@ This lab assumes: ``` + +3. Exit the sqlplus session before starting the next lab. + + ```text + + exit + + ``` + You may now **proceed to the next lab**. ## Acknowledgements diff --git a/exadata-features/smart_scan/smart_scan.md b/exadata-features/smart_scan/smart_scan.md index c1533ed..a391b0a 100644 --- a/exadata-features/smart_scan/smart_scan.md +++ b/exadata-features/smart_scan/smart_scan.md @@ -57,7 +57,16 @@ This lab assumes: ## Task 2: Query With Smart Scan -1. Disconnect and reconnect your session. Repeat the statistics query from the SQL script `lab_smart_scan_01.sql` and verify that the statistics are again at or near zero values. If any statistics are significantly greater than zero then reconnect again and retry. +1. Disconnect and reconnect your sqlplus session. + + ```text + + exit + sqlp + + ``` + +2. Repeat the statistics query from the SQL script `lab_smart_scan_01.sql` and verify that the statistics are again at or near zero values. If any statistics are significantly greater than zero then reconnect again and retry. ```text @@ -65,7 +74,7 @@ This lab assumes: ``` -2. Execute the SQL script `lab_smart_scan_03.sql`. This is the same query, but this time there is no optimizer hint to disable Smart Scan. +3. Execute the SQL script `lab_smart_scan_03.sql`. This is the same query, but this time there is no optimizer hint to disable Smart Scan. ```text @@ -73,7 +82,7 @@ This lab assumes: ``` -3. Repeat the statistics query from the SQL script `lab_smart_scan_01.sql`. Note that the query still performs physical I/O (`physical read total bytes`). However, this time only a fraction of that is actually returned to the database server (`cell physical IO interconnect bytes`). This is Smart Scan in action. Also note that in this case, Smart Scan is acting on all of the I/O associated with the query. This is the case because `cell physical IO bytes eligible for predicate offload` equals `physical read total bytes`, and `cell physical IO interconnect bytes returned by smart scan` equals `cell physical IO interconnect bytes`. +4. Repeat the statistics query from the SQL script `lab_smart_scan_01.sql`. Note that the query still performs physical I/O (`physical read total bytes`). However, this time only a fraction of that is actually returned to the database server (`cell physical IO interconnect bytes`). This is Smart Scan in action. Also note that in this case, Smart Scan is acting on all of the I/O associated with the query. This is the case because `cell physical IO bytes eligible for predicate offload` equals `physical read total bytes`, and `cell physical IO interconnect bytes returned by smart scan` equals `cell physical IO interconnect bytes`. ```text @@ -81,6 +90,14 @@ This lab assumes: ``` +5. Exit the sqlplus session before starting the next lab. + + ```text + + exit + + ``` + You may now **proceed to the next lab**. ## Acknowledgements