{"id":18554492,"url":"https://github.com/oracle/nosql-examples","last_synced_at":"2025-12-30T20:20:08.491Z","repository":{"id":17790862,"uuid":"20668302","full_name":"oracle/nosql-examples","owner":"oracle","description":"This is a top level repository for code examples related to the use of Oracle NoSQL Database.","archived":false,"fork":false,"pushed_at":"2024-04-12T14:33:54.000Z","size":53770,"stargazers_count":49,"open_issues_count":0,"forks_count":47,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-04-14T11:55:02.114Z","etag":null,"topics":["api","awesome","cloud","database","examples","functions","java","node-js","nosql","nosql-database","oci","on-premise","oracle","oracle-cloud","oracle-nosql-database","python","spring","spring-data","stream","terraform"],"latest_commit_sha":null,"homepage":"https://www.oracle.com/database/nosql/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2014-06-10T01:31:38.000Z","updated_at":"2024-04-16T15:35:50.732Z","dependencies_parsed_at":"2024-04-16T15:46:02.828Z","dependency_job_id":null,"html_url":"https://github.com/oracle/nosql-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fnosql-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fnosql-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fnosql-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fnosql-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle","download_url":"https://codeload.github.com/oracle/nosql-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248129748,"owners_count":21052633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","awesome","cloud","database","examples","functions","java","node-js","nosql","nosql-database","oci","on-premise","oracle","oracle-cloud","oracle-nosql-database","python","spring","spring-data","stream","terraform"],"created_at":"2024-11-06T21:22:18.666Z","updated_at":"2025-12-30T20:20:08.472Z","avatar_url":"https://github.com/oracle.png","language":"Java","readme":"# Oracle NoSQL Database\n\n![Oracle NoSQL](./demo-livelab/NoSQL-Database.png)\n\n**Oracle NoSQL Database** is designed for today’s most demanding applications that\nrequire low latency responses, flexible data models, and elastic scaling for dynamic workloads.\nIt supports JSON, Table and Key-Value datatypes running on-premise, or as a cloud\nservice with on-demand throughput and storage based provisioning.\n\n**Oracle NoSQL Database Cloud Service** is now a fully managed database service running\non Gen 2 Oracle Cloud Infrastructure hardware.\n\nOracle NoSQL Database Cloud Service makes it easy for developers to build applications,\ndelivering predictable single digit millisecond response times with data replication for high availability.\nThe service offers ACID transactions, serverless scaling, comprehensive security, and low pay-per-use pricing\nfor both on-demand and provisioned capacity modes, including 100% compatibility with on-premises Oracle NoSQL Database.\n\n# Oracle Nosql Examples\nThis repository stores a variety of examples demonstrating how to use the Oracle NoSQL Database.\n\n| Repo/Folder name  | Description |\n| ------------- | ------------- |\n| [cluster_setup](./cluster_setup) | Deploying Oracle NoSQL Database on the Oracle Cloud Infrastructure `deploy-nosql` |\n| [examples-nosql-cluster-deployment](./examples-nosql-cluster-deployment) | Examples allowing you to learn how to deploy a NoSQL cluster/NoSQL store - the most popular topologies |\n| [examples-nosql-kvlocal](./examples-nosql-kvlocal) | example of Java Application embedding KVLocal  |\n| [examples-nosql-java-direct-driver](./examples-nosql-java-direct-driver) | Examples using the `nosql-java-direct-driver` |\n| [examples-nosql-java-sdk](./examples-nosql-java-sdk) | Examples using the `nosql-java-sdk` |\n| [examples-nosql-node-sdk](./examples-nosql-node-sdk) | Examples using the `nosql-node-sdk` |\n| [examples-nosql-spring-sdk](./examples-nosql-spring-sdk) | Examples using the `nosql-spring-sdk` |\n| [demo-livelab](./demo-livelab) | you can find the code used in our NoSQL LiveLabs workshops in this directory and more information [here](#oracle-nosql-livelabs) |\n| [demo-events](./demo-events) | The NoSQL team is delivering content in Webinars and Events around the world. You can also find the instructions for workshops showcased in NoSQL events and have more information [here](#oracle-nosql-livelabs)|\n| [SQL for Oracle NoSQL Database tutorial](https://docs.oracle.com/en/database/other-databases/nosql-database/25.1/nsdev/getting-started-oracle-nosql-database1.html) | Getting started with SQL for Oracle NoSQL Database `sql-for-nosql`|\n| [terraform Provider for Oracle NoSQL Database tutorial](https://github.com/oracle/terraform-provider-oci/tree/master/examples/nosql)| This is a Terraform configuration that creates the NoSQL service on Oracle Cloud Infrastructure. `nosql-cloud-devops`|\n\n\nWe also collected in this repository exciting content about How to use the Oracle NoSQL database with other OCI services - more information  [here](#other-examples-and-resources).\n**Source:** `Architecture Center` **Source:** `GitHub`\n\n---\n\nNoSQL Developers 👨‍💻 👩‍💻\n\n**Tags:** `enhancement` `help wanted` `question` `idea` `show-and-tell`\n\nIn the development world, practice makes the master. That is why you must find as many ways to practice as possible. Never stop learning.\n\nWe’ve enabled [GitHub Discussions](https://github.com/oracle/nosql-examples/discussions) to provide a way for you to connect with other community members. We hope that you:\n\n    Ask questions.\n    Share ideas.\n    Engage with other community members.\n    Welcome others and are open-minded. Remember that this is a community we build together\n# Oracle NoSQL LiveLabs\n\n\n\n![NoSQL LiveLabs](./demo-livelab/LiveLabs.png)\n\n**Oracle LiveLabs** gives you access to Oracle's tools and technologies to run\na wide variety of labs and workshops.\n\nIn the development world, practice makes master. That is why you must find as many\nways to practice as possible. Never stop learning. Follow our LiveLabs\n\n* [Get started with tables in Oracle NoSQL Database Cloud Service](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=642) `sql-for-nosql` `nosql-java-sdk` `nosql-node-sdk` `nosql-dotnet-sdk` `nosql-go-sdk` `nosql-python-sdk`\n* [Discover serverless apps using Oracle NoSQL Database Cloud Service — beginner level](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=879) `sql-for-nosql`  `nosql-node-sdk`\n\n\u003e Those labs were specialled designed for Application Developers, Architects, Administrators\n\u003e and DevOps Engineers.\n\n---\n\nIn the directory **demo-livelab** you can find the **code used in our NoSQL LiveLabs workshops**.\n* [demo-lab-nosql](./demo-livelab/demo-lab-nosql) contains the code for Discover serverless apps using Oracle NoSQL Database Cloud Service — beginner level `sql-for-nosql`  `nosql-node-sdk`\n\n\n## Oracle LiveLabs\n\nOracle LiveLabs gives you access to Oracle's tools and technologies to run a wide variety of labs and workshops.\n\nExperience Oracle's best technology, live!\n\n[https://developer.oracle.com/livelabs](https://developer.oracle.com/livelabs)\n\n# Oracle NoSQL Workshops and Examples\n\n![NoSQL Ideas](./demo-livelab/Ideas.png)\n\n##  Oracle NoSQL Workshops\n\nThe NoSQL team is delivering content in Webinars and Events around the world.\n\n**You can find the code of workshops showcased in NoSQL events** around the World (*LiveLabs coming soon*)\n* [serverless-with-nosql-database](./demo-livelab/serverless-with-nosql-database) contains the code for Discover serverless apps using\nOracle NoSQL Database Cloud Service — intermediate level. Intermediate level LiveLab will feature functions `sql-for-nosql`  `nosql-node-sdk`\n`nosql-python-sdk` `oci-functions` `nosql-cloud-devops`\n* [demo-lab-baggage](./demo-livelab/demo-lab-baggage) contains the code for Discover serverless apps using Oracle NoSQL Database Cloud Service — expert level.\nAdvanced level Livelab will feature Streaming and API gateway\n`sql-for-nosql`  `nosql-node-sdk` `nosql-python-sdk` `oci-functions` `nosql-cloud-devops` `oci-streaming` `oci-api-gateway` `oci-connector-hub`\n\n\n**You can find also the instructions of workshops showcased in NoSQL events**\n\n- [Discover Serverless Apps Using Oracle NoSQL Database Cloud Service - intermediate level](http://oracle.github.io/nosql-examples/demo-events/oug/serverless-with-nosql-database-and-functions/workshops/freetier/index.html) *demo-events \u003e oug \u003e serverless-with-nosql-database-and-functions*\n`preview version` `sql-for-nosql` `nosql-node-sdk` `nosql-python-sdk` `oci-functions` `nosql-cloud-devops`\n- [Discover Oracle NoSQL Database](http://oracle.github.io/nosql-examples/demo-events/webinar/demo-nosql-lab-with-kvlite/workshops/livelabs/index.html) *demo-events \u003e webinar \u003e demo-nosql-lab-with-kvlite* `preview version` `sql-for-nosql` `nosql-node-sdk`\n- [Writing and optimizing NoSQL queries](http://oracle.github.io/nosql-examples/demo-events/webinar/tv-streaming-service-queries/workshops/livelabs/index.html) *demo-events \u003e webinar \u003e demo-nosql-lab-with-kvlite* `preview version` `sql-for-nosql`\n\n## Deploying Oracle NoSQL Database on the Oracle Cloud Infrastructure\n\n**Tags:** `deploy-nosql`\n\nSee this [script](./cluster_setup) that simplifies the installation of Oracle NoSQL Database on the Oracle Cloud Infrastructure (OCI).\nThis script lets a user set up a small cluster (1-10 machines) quickly, for use in proof-of-concepts, small on premise installations,\nand cluster installations in cloud environments (OCI, AWS, Azure). It's easy to BYOL to the cloud environment of your choosing.\n\nRead this [whitepaper](https://www.oracle.com/a/otn/docs/database/oracle-nosql-cluster-setup-oci.pdf) which explains how to easily install Oracle NoSQL Database on the Oracle Cloud Infrastructure (OCI).\n\n## Getting started with SQL for Oracle NoSQL Database\n\n**Tags:** `sql-for-nosql`\n\nWelcome to [SQL for Oracle NoSQL Database tutorial](https://docs.oracle.com/en/database/other-databases/nosql-database/25.1/nsdev/getting-started-oracle-nosql-database1.html). \n\n\nThe SQL for Oracle NoSQL Database data model supports flat relational data, hierarchical typed (schema-full) data, and schema-less JSON data.\nSQL for Oracle NoSQL Database is designed to handle all such data seamlessly without any impedance mismatch among the different sub-models.\nImpedance mismatch is the problem that occurs due to differences between the database model and the programming language model.\n\nYou have two different schemas ( with real-time scenarios) for learning various SQL concepts.\nThese two schemas will include various data types that can be used in the Oracle NoSQL database.\n\n**Schema 1: BaggageInfo schema**\nUsing this schema you can handle a use case wherein passengers traveling on a flight can track the progress of their checked-in bags or\nluggage along the route to the final destination. This functionality can be made available as part of the airline's mobile application.\nOnce the passenger logs into the mobile application, the ticket number or reservation code of the current flight is displayed on the screen.\nPassengers can use this information to search for their baggage information. The mobile application is using NoSQL Database to store all the data\nrelated to the baggage. In the backend, the mobile application logic performs SQL queries to retrieve the required data.\n\n**Schema 2: Streaming Media Service - Persistent User Profile Store**\nConsider a TV streaming application. It streams various shows that are watched by customers across the globe.\nEvery show has a number of seasons and every season has multiple episodes. You need a persistent meta-data store that keeps track of the\ncurrent activity of the customers using the TV streaming application. Using this schema you can provide useful information to the customer\nsuch as episodes they watched, the watch time per episode, the total number of seasons of the show they watched, etc.\nThe data is stored in the NoSQL Database and the application performs SQL queries to retrieve the required data and make it available to the user.\n\nThe scripts allowing to run this tutorial are hosted in this Repository ( `AcctStreamSchema` and `BaggageSchema` ) but follow the instructions provided\nin the [SQL for Oracle NoSQL Database tutorial](https://docs.oracle.com/en/database/other-databases/nosql-database/25.1/nsdev/getting-started-oracle-nosql-database1.html)\n\n## Terraform Provider for Oracle Cloud Infrastructure\n\n**Tags:** `nosql-cloud-devops`\n\nThe Oracle Cloud Infrastructure (OCI) provider allows you to use Terraform to interact with Oracle Cloud Infrastructure resources.\nWherever you use a Terraform distribution you can use the OCI Terraform provider, including Terraform Cloud and the OCI Resource Manager.\n\n[https://github.com/oracle/terraform-provider-oci](https://github.com/oracle/terraform-provider-oci)\n\nThis is a Terraform configuration that creates the NoSQL service on Oracle Cloud Infrastructure.\n\n[https://github.com/oracle/terraform-provider-oci/tree/master/examples/nosql](https://github.com/oracle/terraform-provider-oci/tree/master/examples/nosql)\n\n# Cloud Learning\n\nNoSQL Developers 👨‍💻 👩‍💻\n\n**Tags:** `nosql-java-sdk` `nosql-node-sdk` `nosql-dotnet-sdk` `nosql-go-sdk` `nosql-python-sdk`  `nosql-spring-sdk` `nosql-cloud-devops` `oci-functions` `oci-oke` and `more`\n\nLearn how to Develop Applications Fast and Effortlessly using our resources and videos in the **Cloud Learning** page\n\n[https://www.oracle.com/database/nosql/#rc30-cloud-learning](https://www.oracle.com/database/nosql/#rc30-cloud-learning)\n\n\n# Other Examples and Resources\n\n![NoSQL Ideas](./demo-livelab/Ideas.png)\n\n## Process media by using serverless job management and ephemeral compute workers\n\n**Source:** `Architecture Center`\n\n**Tags:** `nosql-python-sdk` `oci-functions`\n\nProcessing large media files can be a resource intensive operation requiring large compute shapes for timely and efficient processing.\nIn scenarios where media processing requests might be ad-hoc and on-demand, leaving instances idle while waiting for new work is not cost effective.\n\nBy utilizing Oracle Cloud Infrastructure's (OCI) server-less capabilities, including OCI Functions and OCI NoSQL,\nwe can quickly create a management system for processing media content using ephemeral OCI Compute workers.\n\n[https://docs.oracle.com/en/solutions/process-media-using-oci-services/index.html](https://docs.oracle.com/en/solutions/process-media-using-oci-services/index.html)\n\nNote: You can deploy this pattern using downloadable code or automated provisioning, as described in the Download or Deploy section in the link above.\n\n## oci wearable health app\n\n**Source:** `GitHub`\n\n**Tags:** `nosql` `oci`\n\n\nThe sample application is an IoT use-case, in which an application capturing health parameters running on a wearable device is sending health statistics to a device gateway (backend)\nhosted on OCI on regular intervals. The complete use-case can be split into 3 different parts:\n- On-boarding and Administration\n- Health data capturing \u0026 Real time Analytics\n- Batch Analytics\n\n[https://github.com/oracle-devrel/oci-wearable-health-app](https://github.com/oracle-devrel/oci-wearable-health-app)\n\n## Oracle Cloud Infrastructure Data Flow Samples\n\n**Source:** `GitHub`\n\n**Tags:** `nosql-python-sdk` `oci-data flow`\n\n\nOracle Cloud Infrastructure (OCI) Data Flow is a cloud-based serverless platform with a rich user interface. It allows Spark developers\nand data scientists to create, edit, and run Spark jobs at any scale without the need for clusters, an operations team, or highly specialized\nSpark knowledge. Being serverless means there is no infrastructure for you to deploy or manage. It is entirely driven by REST APIs,\ngiving you easy integration with applications or workflows\n\nOracle NoSQL Database cloud service : This application shows how to interface with Oracle NoSQL Database cloud service.\n\n[https://github.com/oracle-samples/oracle-dataflow-samples/](https://github.com/oracle-samples/oracle-dataflow-samples/)\n\n## Train and deploy models from massive data sets: fraud detection use case\n\n**Source:** `Architecture Center`\n\nAs your business goes through digital transformation and increasingly accepts online payment, effective methods to detect\nand eventually prevent credit card fraud are necessary to avoid losses. Since fraud is expected to account for a small\nfraction of all transactions, massive amounts of data are typically needed to build a robust and accurate model capable\nof alerting of fraud with minimal false positives.\n\n[https://docs.oracle.com/en/solutions/models-credit-card-fraud-detection/index.html](https://docs.oracle.com/en/solutions/models-credit-card-fraud-detection/index.html)\n\n## Employ anomaly detection for managing assets and predictive maintenance\n\n**Source:** `Architecture Center`\n\nAnomaly detection is the identification of rare items, events, or observations in data that greatly differ from expectations. This has uses in many industries for asset monitoring and maintenance.\n\nAnomaly Detection Service helps you detect anomalies in time series data without the need for statisticians or machine learning experts.\nIt provides prebuilt algorithms, and it addresses data issues automatically. It is a cloud-native service accessible over REST APIs and\ncan connect to many data sources. The OCI Console, CLI, and SDK make it easy for use in end-to-end solutions.\n\n[https://docs.oracle.com/en/solutions/anomaly-detection/index.html](https://docs.oracle.com/en/solutions/anomaly-detection/index.html)\n\n##  Oracle Architecture Center\n\n**Reference architectures and best practices**\n\nLeverage knowledge from Oracle experts. Use our reference architectures, solution playbooks, and customer stories to build and deploy your cloud,\nhybrid, and on-premises workloads.\n\n[Explore Oracle Architecture Center](https://docs.oracle.com/pls/topic/lookup?ctx=en/solutions\u0026id=solutions-home)\n\n## Contributing\n\nThis project welcomes contributions from the community. Before submitting a pull request, please [review our contribution guide](./CONTRIBUTING.md)\n\n## Security\n\nPlease consult the [security guide](./SECURITY.md) for our responsible security vulnerability disclosure process\n\n## License\n\nCopyright (c) 2018, 2023 Oracle and/or its affiliates.\n\nReleased under the Universal Permissive License v1.0 as shown at\n\u003chttps://oss.oracle.com/licenses/upl/\u003e.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fnosql-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle%2Fnosql-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fnosql-examples/lists"}