Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ff0c54a
added alt-text to 6 md files for accessibility
jennylibloom Feb 28, 2023
66fb328
Merge remote-tracking branch 'upstream/main'
jennylibloom Feb 28, 2023
630514e
Added a note about fullscreen option for noVNC
jennylibloom Feb 28, 2023
4abbcc7
Merge branch 'main' into main
malcherm Mar 1, 2023
412cf60
Change Taks 3 from Finally to Log out of TimesTen host
jennylibloom Mar 2, 2023
81cfc6d
Merge branch 'main' of https://github.com/jennylibloom/database
jennylibloom Mar 2, 2023
5bb0c49
Change couple of tasks/title to use imperative verbs
jennylibloom Mar 2, 2023
3b8a38c
Change titles to meet imperative verb requirement
jennylibloom Mar 2, 2023
28fa3d7
Merge branch 'main' into main
klazarz Mar 3, 2023
d909cdc
Merge branch 'main' into main
malcherm Mar 3, 2023
d167323
Change type sandbix to sandbox
jennylibloom Jun 8, 2023
d88c539
fixe typos to several files
jennylibloom Jun 8, 2023
5c2928a
changed updated date
jennylibloom Jun 8, 2023
cca8bdf
Update README.md
jennylibloom Oct 11, 2023
46578e6
Update create-instance.md
jennylibloom Oct 12, 2023
9f293dc
Update prepare-oracle.md
jennylibloom Oct 12, 2023
c9d1019
Update prepare-cache.md
jennylibloom Oct 12, 2023
6e7b951
Update load-cache.md
jennylibloom Oct 12, 2023
08ebef6
Update cache-refresh.md
jennylibloom Oct 12, 2023
359cb14
Update query-performance.md
jennylibloom Oct 12, 2023
e0b2647
Update dynamic-caching.md
jennylibloom Oct 12, 2023
5cc6a11
Update shutdown.md
jennylibloom Oct 12, 2023
5375645
Update create-instance.md
jennylibloom Oct 12, 2023
133c369
Merge branch 'main' of https://github.com/jennylibloom/database
jennylibloom Oct 12, 2023
835b216
further revised the order instructions of the labs after first round …
jennylibloom Oct 13, 2023
4243c78
more revision after 2nd round of testing.
jennylibloom Oct 13, 2023
efb2759
more revision to adjust the flow better.
jennylibloom Oct 13, 2023
f671f59
further refining instructions based on testing feedback.
jennylibloom Oct 18, 2023
36e0d8e
added ... to the more output to indicate more tables.
jennylibloom Oct 18, 2023
f764afa
added clarification that you login as "oracle" user and not opc user.
jennylibloom Oct 20, 2023
acecbc0
added clarification that to user not run commands before Task 1.
jennylibloom Oct 20, 2023
35b4b9b
added clarification that to user not run commands before Task 1.
jennylibloom Oct 20, 2023
6e6f769
some more minor changes with language.
jennylibloom Oct 23, 2023
549f1f0
refresh ls -l output to include the extras directory
jennylibloom Oct 26, 2023
a2dea6e
updated new PAR link for updated image
jennylibloom Nov 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions timesten/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ _TimesTen Classic_

A single node database for applications that require the lowest and most consistent response time. High availability is provided via active-standby pair replication to another node, and also supports multiple read-only subscribers for scaling read heavy workloads.

TimesTen Classic can also be deployed as a cache for Oracle Database. By caching a subset of your Oracle Database data in a TimesTen cache, you can dramatically improve the performance of data access. TimesTen provides a declarative caching mechanism which suports both readonly caching and read-write caching. Data change synchronistion, a standard feature of TimesTen cache, ensures that the cache and the backend database are always in sync.
TimesTen Classic can also be deployed as a cache for Oracle Database. By caching a subset of your Oracle Database data in a TimesTen cache, you can dramatically improve the performance of data access. TimesTen provides a declarative caching mechanism which suports both readonly caching and read-write caching. Data change synchronization, a standard feature of TimesTen cache, ensures that the cache and the backend database are always in sync.

_TimesTen Scaleout_

A shared nothing distributed database based on the existing TimesTen in-memory technology. TimesTen Scaleout allows databases to transparently scale across dozens of hosts, reach hundreds of terabytes in size and support hundreds of millions of transactions per second without the need for manual database sharding or workload partitioning. Scaleout features include concurrent parallel cross-node processing, transparent data distribution (with single database image) and elastic scaleout and scalein. High availability and fault tolerance are automatically provided through use of Scaleout's K-safety feature. TimesTen Scaleout supports most of the same features and APIs as TimesTen Classic.

TimesTen Scaleout can also be deployed as a cache for Oracle Database, supporting a subset of the cache features of Timesten Classic.
TimesTen Scaleout can also be deployed as a cache for Oracle Database, supporting a subset of the cache features of TimesTen Classic.


## How do I get started with TimesTen LiveLabs?
Expand All @@ -44,7 +44,7 @@ The TimesTen workshops have the following pre-requisites:
- [Accelerate your Applications: Achieve Blazing Fast SQL With an Oracle TimesTen Cache](https://apexapps.oracle.com/pls/apex/dbpm/r/livelabs/view-workshop?wid=3282)

## TimesTen Related Pages
- [TimesTen Product Home](https://www.oracle.com/au/application-development/)
- [TimesTen Product Home](https://www.oracle.com/database/technologies/related/timesten.html)
- [TimesTen Samples on GitHub](https://github.com/oracle-samples/oracle-timesten-samples)
- [TimesTen Blogs](https://blogs.oracle.com/timesten/)

Expand Down
4 changes: 2 additions & 2 deletions timesten/cache-introduction/02-prepare-setup/prepare-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This lab assumes you have:

1. Click on the link below to download the Resource Manager zip file you need to build your environment:

[ll-timesten-cache-intro.zip](https://objectstorage.us-ashburn-1.oraclecloud.com/p/zXF3WR--V6CG3ZmB1vgQcEcYYidDhuejeplM9oBUwiYGs-7BnN4YI2_TLVY82_-b/n/natdsecurity/b/stack/o/ll-timesten-cache-intro.zip)
[ll-timesten-cache-intro.zip](https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/ll-timesten-cache-intro.zip)

2. Save in your downloads folder.

Expand Down Expand Up @@ -84,4 +84,4 @@ This workshop requires a certain number of ports to be available, a requirement

* **Author** - Chris Jenkins, Senior Director, TimesTen Product Management
* **Contributors** - Doug Hood & Jenny Bloom, TimesTen Product Management
* **Last Updated By/Date** - Jenny Bloom, March 2023
* **Last Updated By/Date** - Jenny Bloom, November 2023
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The workshop uses an Oracle database which runs in its own container (**dbhost**
This lab assumes that you:

- Have completed all the previous labs in this workshop, in sequence.
- Have an open terminal session in the workshop compute instance, either via NoVNC or SSH.
- Have an open terminal session in the workshop compute instance, either via NoVNC or SSH. Use **oracle** (in lowercase) as the user.

### Start over from the beginning

Expand Down Expand Up @@ -58,5 +58,5 @@ Keep your terminal session open ready for the next lab.

* **Author** - Chris Jenkins, Senior Director, TimesTen Product Management
* **Contributors** - Doug Hood & Jenny Bloom, TimesTen Product Management
* **Last Updated By/Date** - Chris Jenkins, July 2022
* **Last Updated By/Date** - Jenny Bloom, October 2023

59 changes: 30 additions & 29 deletions timesten/cache-introduction/05-create-instance/create-instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,17 @@ ls -l

```
total 16
drwxr-xr-x. 2 oracle oinstall 22 May 26 13:10 bin
drwxr-xr-x. 2 oracle oinstall 4096 May 26 13:10 queries
drwxr-xr-x. 2 oracle oinstall 4096 May 26 13:10 scripts
-rw-r--r--. 1 oracle oinstall 316 May 10 12:55 tables_appuser.sql
-rw-r--r--. 1 oracle oinstall 3879 May 10 14:31 tables_oe.sql
drwxr-xr-x. 2 oracle oinstall 97 Oct 18 15:33 bin
drwxr-xr-x. 2 oracle oinstall 4096 Oct 18 15:33 extras
drwxr-xr-x. 2 oracle oinstall 102 Oct 18 15:33 queries
drwxr-xr-x. 2 oracle oinstall 4096 Oct 18 15:33 scripts
-rw-r--r--. 1 oracle oinstall 741 Jun 7 2022 tables_appuser.sql
-rw-r--r--. 1 oracle oinstall 3879 May 10 2022 tables_oe.sql
```

## Task 2: Create a TimesTen instance

A TimesTen _installation_ is comprised of the TimesTen software components. An installation is created by unzipping the TimesTen software distribution media into a suitable location. For this workshop, the TimesTen software distribution media has already been unzipped into the directory **/shared/sw** to create a TimesTen installation named **tt22.1.1.7.0**.
A TimesTen _installation_ is comprised of the TimesTen software components. An installation is created by unzipping the TimesTen software distribution media into a suitable location. For this workshop, the TimesTen software distribution media has already been unzipped into the directory **/shared/sw** to create a TimesTen installation named **tt22.1.1.18.0**.

1. List the top level software directory.

Expand All @@ -64,35 +65,35 @@ ls -l /shared/sw

```
total 0
dr-xr-x---. 17 oracle oinstall 277 May 5 22:20 tt22.1.1.7.0
dr-xr-x---. 17 oracle oinstall 277 May 5 22:20 tt22.1.1.18.0
```

2. List the contents of the TimesTen installation top level directory.

```
<copy>
ls -l /shared/sw/tt22.1.1.7.0
ls -l /shared/sw/tt22.1.1.18.0
</copy>
```

```
total 108
dr-xr-x---. 3 oracle oinstall 89 May 5 22:20 3rdparty
dr-xr-x---. 2 oracle oinstall 4096 May 5 22:19 bin
dr-xr-x---. 4 oracle oinstall 31 May 5 22:19 grid
dr-xr-x---. 3 oracle oinstall 240 May 5 22:19 include
dr-xr-x---. 2 oracle oinstall 167 May 5 22:19 info
dr-xr-x---. 2 oracle oinstall 26 May 5 22:19 kubernetes
dr-xr-x---. 3 oracle oinstall 4096 May 5 22:19 lib
dr-xr-x---. 3 oracle oinstall 19 May 5 22:19 network
dr-xr-x---. 3 oracle oinstall 18 May 5 22:19 nls
dr-xr-x---. 2 oracle oinstall 242 May 5 22:19 oraclescripts
dr-xr-x---. 4 oracle oinstall 40 May 5 22:20 PERL
dr-xr-x---. 7 oracle oinstall 68 May 5 22:19 plsql
-r--r-----. 1 oracle oinstall 99660 May 5 22:19 README.html
dr-xr-x---. 2 oracle oinstall 54 May 5 22:19 startup
dr-xr-x---. 2 oracle oinstall 90 May 5 22:19 support
dr-xr-x---. 3 oracle oinstall 54 May 5 22:20 ttoracle_home
total 244
dr-xr-x---. 3 oracle oinstall 89 Sep 7 17:47 3rdparty
dr-xr-x---. 2 oracle oinstall 4096 Sep 7 17:47 bin
dr-xr-x---. 4 oracle oinstall 31 Sep 7 17:47 grid
dr-xr-x---. 3 oracle oinstall 240 Sep 7 17:47 include
dr-xr-x---. 2 oracle oinstall 167 Sep 7 17:47 info
dr-xr-x---. 2 oracle oinstall 26 Sep 7 17:47 kubernetes
dr-xr-x---. 3 oracle oinstall 4096 Sep 7 17:47 lib
dr-xr-x---. 3 oracle oinstall 19 Sep 7 17:47 network
dr-xr-x---. 3 oracle oinstall 18 Sep 7 17:47 nls
dr-xr-x---. 2 oracle oinstall 274 Sep 7 17:47 oraclescripts
dr-xr-x---. 4 oracle oinstall 40 Sep 7 17:47 PERL
dr-xr-x---. 7 oracle oinstall 68 Sep 7 17:47 plsql
-r--r-----. 1 oracle oinstall 241352 Sep 7 17:47 README.html
dr-xr-x---. 2 oracle oinstall 54 Sep 7 17:47 startup
dr-xr-x---. 2 oracle oinstall 103 Sep 7 17:47 support
dr-xr-x---. 3 oracle oinstall 54 Sep 7 17:47 ttoracle_home

```

Expand All @@ -104,7 +105,7 @@ When it is operational, a TimesTen instance also includes a set of associated pr

```
<copy>
/shared/sw/tt22.1.1.7.0/bin/ttInstanceCreate -location /tt/inst -name ttinst -tnsadmin /shared/tnsadmin
/shared/sw/tt22.1.1.18.0/bin/ttInstanceCreate -location /tt/inst -name ttinst -tnsadmin /shared/tnsadmin
</copy>
```

Expand All @@ -121,7 +122,7 @@ Run the 'setuproot' script :
This will move the TimesTen startup script into its appropriate location.

The 22.1 Release Notes are located here :
'/shared/sw/tt22.1.1.7.0/README.html'
'/shared/sw/tt22.1.1.18.0/README.html'

Instance created successfully.

Expand Down Expand Up @@ -223,7 +224,7 @@ ttVersion
```

```
TimesTen Release 22.1.1.7.0 (64 bit Linux/x86_64) (ttinst:6624) 2022-05-05T19:45:28Z
TimesTen Release 22.1.1.18.0 (64 bit Linux/x86_64) (ttinst:6624) 2023-09-07T15:13:39Z
Instance admin: oracle
Instance home directory: /tt/inst/ttinst
Group owner: oinstall
Expand Down Expand Up @@ -260,5 +261,5 @@ Keep your terminal session to tthost1 open ready for the next lab.

* **Author** - Chris Jenkins, Senior Director, TimesTen Product Management
* **Contributors** - Doug Hood & Jenny Bloom, TimesTen Product Management
* **Last Updated By/Date** - Jenny Bloom, June 2023
* **Last Updated By/Date** - Jenny Bloom, October 2023

26 changes: 9 additions & 17 deletions timesten/cache-introduction/06-prepare-oracle/prepare-oracle.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ CREATE TABLE order_items

CREATE UNIQUE INDEX order_items_uk
ON order_items (order_id, product_id) ;

...
```
Press the space bar to scroll through the entire **tables\_oe.sql** file.

Just for information, here are the entity-relationship diagrams showing the relationships between the tables.

Expand All @@ -118,10 +121,10 @@ sqlplus sys/RedMan99@orclpdb1 as sysdba

```

SQL*Plus: Release 19.0.0.0.0 - Production on Tue Jun 21 10:04:41 2022
Version 19.14.0.0.0
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Oct 11 18:24:46 2023
Version 19.19.0.0.0

Copyright (c) 1982, 2021, Oracle. All rights reserved.
Copyright (c) 1982, 2022, Oracle. All rights reserved.


Connected to:
Expand Down Expand Up @@ -157,27 +160,16 @@ CREATE USER ttcacheadm IDENTIFIED BY ttcacheadm DEFAULT TABLESPACE cachetblsp QU
User created.
```

4. Grant CREATE SESSION privilege to the user:

```
<copy>
GRANT CREATE SESSION TO ttcacheadm;
</copy>
```

```
Grant succeeded.
```

## Task 3: Grant required roles and privileges to the cache admin user

The cache admin user needs various privileges in the Oracle database. In order to simplify granting these, TimesTen includes a SQL script (**\$TIMESTEN_HOME/install/oraclescripts/grantCacheAdminPrivileges.sql**) that can be run to grant them.
The cache admin user needs various privileges in the Oracle database. In order to simplify granting these, TimesTen includes a SQL script (**$TIMESTEN_HOME/install/oraclescripts/grantCacheAdminPrivileges.sql**) that can be run to grant them.

Run that script in your SQL\*Plus session, passing it the cache admin username (ttcacheadm):

```
<copy>
@/tt/inst/ttinst/install/oraclescripts/grantCacheAdminPrivileges.sql ttcacheadm
@$TIMESTEN_HOME/install/oraclescripts/grantCacheAdminPrivileges.sql ttcacheadm
</copy>
```

Expand Down Expand Up @@ -269,5 +261,5 @@ Keep your terminal session to tthost1 open for use in the next lab.

* **Author** - Chris Jenkins, Senior Director, TimesTen Product Management
* **Contributors** - Doug Hood & Jenny Bloom, TimesTen Product Management
* **Last Updated By/Date** - Chris Jenkins, July 2022
* **Last Updated By/Date** - Jenny Bloom, October 2023

Loading