131 questions
0
votes
0
answers
38
views
Is Primary Key required in Cursor [duplicate]
I searched extensively but I couldn't find clarity, whether Primary Key (In this case, composite of Foo1ID and Foo2ID) should be selected into foo_cursor, even if not used in procedure?
Is it ...
0
votes
1
answer
177
views
DBMS_CLOUD.SEND_REQUEST with wrong types of arguments
I'm trying to send data from an autonomous database in OCI over this function to a log created in OCI console:
DECLARE
log_endpoint VARCHAR2(4000);
log_body CLOB;
CURSOR audit_cursor IS
...
0
votes
1
answer
113
views
Connect to Oracle Autonomous Database without a wallet not working
I can't connect to Oracle Autonomous Database using Oracle Client without a wallet.
I am following the instructions as per the documentation. I have configured the network by disabling mTLS. Also, ...
-1
votes
1
answer
715
views
Oracle Cloud - Database Connection Error HTTP Status Code: 571 [closed]
I have an Always Free Autonomous Database on Oracle Cloud Infrastructure. I want to access Oracle APEX, but I get the following error:
Database Connection Error
HTTP Status Code: 571
Request ID: XXX
...
0
votes
2
answers
128
views
Oracle APEX: Problem after restoring backup
I deleted my app and restored it using "Manage backups" option. Everything was fine but now I get error when loading HTML page items.
On login page I get this message:
I am using Oracle ...
0
votes
1
answer
104
views
Writing data to ADW through JDBC in a PySpark environment performs poorly
I am trying to write PySpark DataFrames to ADW (Oracle Autonomous Data Warehouse) using JDBC in a Jupyter Lab environment, but the performance is low.
dataframe.format("jdbc").mode('...
0
votes
0
answers
40
views
Oracle REST json db, do not see the record but can patch it
I am testing Oracle Autonomous Json Database REST using Soda for access via c# (Unity3d) and all works good.
The process I use is:
Create a json document with a time stamp, works
Update the time-...
1
vote
1
answer
227
views
Debugging slow operations using the MongoDB API and Oracle Autonomous JSON Database
I'm using the Oracle API for MongoDB with the Autonomous Database. Some queries/aggregation pipelines aren't performing as well as I'd like. How do I improve the performance?
0
votes
1
answer
275
views
View only access to Package Spec, Body and Procedures
In Production Environment, we need to provide View only access to Package Spec, Package Body and Procedures. Any time we need to change the queries, we need to reach out to the admin to get the latest ...
0
votes
1
answer
199
views
Referencing APEX_230200 view/table from another schema
I am using Oracle Autonomous Database on OCI. I want to create a foreign key in one of my schemas that references a view in APEX_230200 schema. I executed the statement below using ADMIN user (which ...
0
votes
0
answers
197
views
Python App connection to Oracle Autonomous Database
I have an Python application that connects to an Oracle Autonomous database. This application was working correctly until I had to migrate my Oracle Autonomous database from 23c to 23ai.
The app ...
0
votes
1
answer
1k
views
ORA-29024: Certificate validation failure When Using in apex_web_service.make_rest_request or UTL_HTTP.REQUEST Oracle APEX (Autonomous Database)
I followed all the steps in this forum and let's say that from the autonomous sql developer it worked in these two ways:
ORA-29024: Certificate validation failure When Using UTL_HTTP.REQUEST in ...
1
vote
2
answers
842
views
Cannot Connect to Oracle Autonomous Database using Springboot and TNS wallet
I have a Autonomous database which I want to connect via Springboot but I am facing the following error even when ACL is turned off on Oracle Database.
java.sql.SQLException: Listener refused the ...
1
vote
1
answer
362
views
Oracle 21 autonomous database, OCI free tier, no privileges to disable FLASHBACK on a table
Issue:
How to disable flashback on a table, in Oracle free tier autonomous database 21c? Seems to be a lack of privilege problem, there is no ability to raise a support ticket in the OCI free tier. ...
0
votes
1
answer
82
views
How to protect client secret in REST API call in Oracle Autonomous Database
I have a Unity3d based mobile game where I send REST API's to an Oracle Autonomous JSON database.
I realise that hard coding client secret in the client code is not good and I have been researching ...
1
vote
0
answers
273
views
LZ_UNCOMPRESS inn. Oracle PL/SQL does not work as expected, unable to uncompress compressed data
The thing which I want to achieve is using Oracle Pl/sql stored procedure - I want to compress a blob data and put that in a json.
The structure will be like. -
{"Client_id" : "12345&...
0
votes
1
answer
351
views
Create External Table in another schema using DBMS_CLOUD package from Oracle
Oracle has provided DBMS_CLOUD package to create external tables for Parquet and other type of files stored in cloud storage. I can create an external table for a parquet file in the same schema.
...
1
vote
1
answer
376
views
Capture cpu utilization and memory utilization from the oracle autonomous database using query
I'm looking to calculate free space, used space, and allocated storage as percentages for our Oracle Autonomous Database (ADB). Additionally, I'd like to set up an alert in Datadog to notify us when ...
1
vote
1
answer
685
views
Insufficient Privileges on CTXSYS
I'm working in a 19c Autonomous Database trying to create a user “analyst” to do text and entity extraction of documents. When granting CTXSYS privileges, some work and some fail. From lines 7-14 ...
0
votes
1
answer
125
views
How do I schedule the execution of SQL + Python + OML4PY code in the Oracle Autonomous Database?
I would like to use SQL + Python + OML4PY code to do ETL on Oracle Autonomous Database (ADB) tables. In particular I would like this ETL code of script to execute daily. What is the best way to ...
0
votes
1
answer
472
views
OCI, how connect from VM to Autonomous database?
I am trying to setup my first app in Oracle OCI.
I have created a VM, and created an Autonomous database.
I started with a simple Java/JDBC-app and try connect to the database with mTLS and "...
0
votes
1
answer
169
views
Oracle DBMS_CLOUD_NOTIFICATION empty message body
I'm trying to send a mail from Oracle Autonomous DB (version 19c) using DBMS_CLOUD_NOTIFICATION functionality (https://docs.oracle.com/en/learn/send-email-autonomous-database/index.html#task-4-send-...
0
votes
1
answer
71
views
Can we create a reinforcement learning model using the OML4Py feature of the Oracle Autonomous Database?
Can we create a reinforcement learning model using the OML4Py feature of the Oracle Autonomous Database?
I am unable to figure out whether reinforcement learning model can be developed using the ...
0
votes
1
answer
888
views
Event Based Oracle scheduler Job
I would like to create an event-based scheduled job. This job should stop whenever a scheduler generates an event of type JOB_OVER_MAX_DUR. I have written the following code, which currently only ...
0
votes
0
answers
126
views
Unable to connect Tableau Desktop to Oracle Autonomous JSON Database
I've been trying various methods to establish a connection between Tableau Desktop and Oracle Autonomous JSON Database, but unfortunately, none of them have been successful so far. I'm seeking ...
1
vote
1
answer
177
views
How do I move JSON collections from one Oracle Autonomous Database to another?
I've got some JSON collections in the Autonomous Database (ATP/AJD) and I'd like to copy them to another instance.
2
votes
0
answers
1k
views
For large files, DBMS_CLOUD.COPY_DATA fails on Autonomous DB with ORA-30094: failed to find the time zone data file for version 39 in $ORACLE_HOME/
When I execute the following in order to load data to my Oracle Cloud Autonomous DB from Oracle Cloud bucket object (a CSV file):
DBMS_CLOUD.COPY_DATA(
table_name =>'test_landing_zone',
...
0
votes
1
answer
181
views
How to deploy a Python/Django app on Heroku that connects to an Oracle Cloud Database?
When I go to deploy my Python Django app to Heroku. I get the following error/build log output.
-----> Building on the Heroku-22 stack
-----> Determining which buildpack to use for this app
-----...
2
votes
3
answers
10k
views
DatabaseError: ORA-12506: TNS:listener rejected connection based on service ACL filtering
not able to connect to the DB hosted on oracle cloud: Autonomous Data Base (Warehousing) from python
from sqlalchemy import create_engine
user = 'admin'
password = '****'
tns = <string from the ...
0
votes
1
answer
56
views
In AJD, when you run out of storage for non-JSON data, does the DB start rejecting new inserts of non-JSON type?
We received notice that our production AJD database has exceeded the maximum allowed 20GB of Exadata storage for non-JSON data. We want to know if this will result in any production outage for us.
Do ...
1
vote
1
answer
1k
views
How to know if my oracle DB is on premise or cloud
How to know if my oracle DB (19c) is on premise or running on cloud?
This DB is connected with Apex as well.
I have searched in Google but could not get any solution.
0
votes
1
answer
106
views
In OCI Java sdk, how to retrieve the information abou the URL of ML user, APEX user
I create an Autonomous database instance and database user, APEX user, Machine learning users via the OCI java SDK API. However, i can not find API which allow me to retrieve the URL for these users. ...
2
votes
0
answers
160
views
Why can't oracle autonomously return the id of inserted data?
I confirmed that the data of the id column of the data inserted with the above sql was returned to the Oracle console window.
declare
tmp_id number;
begin
insert into users(nickname, platform, ...
1
vote
1
answer
1k
views
I get an error when trying to connect to an oracle database. How to fix it?
dbInfo := DbInfo{
Username: "ADMIN",
Password: "Ddbstjrld1!a",
Server: "adb.ap-seoul-1.oraclecloud.com",
Port: "1522",
Service: ...
1
vote
1
answer
753
views
Why is it failing to connect with oracle Autonomous Database from golang?
dsn := `
user=ADMIN,
password=temp1!a,
(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.ap-seoul-1.oraclecloud.com))(connect_data=(service_name=...
0
votes
1
answer
627
views
datapump import into OCI autonomous db shared infrastructure
on attempting to import a schema from OCI object storage using dbms_datapump
DECLARE
-- replace with your values
exported_schema VARCHAR2(64) := 'DEMO';
import_schema VARCHAR2(64) := '...
1
vote
1
answer
2k
views
python-oracledb thin client returns DPY-6000
I'm trying to run a Python app packaged in a Docker container on an OCI Ampere node.
Environment:
base image: python:3.10.9-slim built using buildx for arm64
client library: oracledb==1.2.1
Docker ...
1
vote
2
answers
681
views
Problems with setting up the jooq Generator 3.17.5 for PRO Version
I currently have the problem that I cannot get the jooq Generator to run. As a template I used the example from Etienne Studer (see https://github.com/etiennestuder/gradle-jooq-plugin/tree/master/...
0
votes
2
answers
1k
views
How can we connect to autonomous database through sqlplus
I am trying to connect to Autonomous database from kubernetes cluster.
In my shell script I am giving the syntax as sqlplus admin/pwd@adb_low.
Before this, I also download the wallet. Can anyone tell ...
-1
votes
1
answer
224
views
Oracle ORDS middle-tier scalability, as it ties to OCPU allocation on Oracle Autonomous DB
I'm looking for any specific architecture information with regard to how the APEX ORDS middle-tier layer scales on an ADB implementation. Specifically, as a factor of changing the OCPUs for the ADB, ...
0
votes
1
answer
447
views
SELECT with INNER JOIN slow for some timestamps
I have a strange problem with Select statement. It's returning a 10-min average values from 3 tables between given timestamps. The strange part is that it's working fast (0.1s) for some date ranges ...
0
votes
1
answer
245
views
in OCI Java sdk, how to retrieve the autonomous database username and apex workspace restful url?
I am using the Oracle autonomous cloud database and creating a couple of database username with ethe restful web enabled, along with the database schema, i also create some Apex workspace based on ...
0
votes
2
answers
536
views
PL/SQL Hierarchical Profiler in Autonomous Database
How can I use the PL/SQL hierarchical profiler in an Oracle autonomous database? When I try to run the following code, I get the error "PLS-00201: identifier 'DBMS_HPROF' must be declared":
...
0
votes
1
answer
209
views
Autonomous Data Guard in Shared ADB infrastructure
I have an ADB compartment in Shared ADB infrastructure with cross region standby. And I will have multiple ADB instances within the compartment. I understand that when i switchover from primary to ...
0
votes
1
answer
5k
views
change timezone in ORACLE autonomous database
I want to use oracle cloud autonomous database but not able to see time in IST Timezone.
Is there any way to change timezone from UTC to IST at system level in oracle autonomous database in oracle ...
0
votes
1
answer
1k
views
ORDS POST work but not PUT on the same database
When I test ORDS POST works perfectly but I get "555 User Defined Resource Error" when running PUT and I cannot figure out what is wrong.
PUT Received:
{
"code": "...
0
votes
0
answers
592
views
Multitenant DB connection problem with Oracle TLS 1.2 Diffie-Hellman
I'm trying to understand where is the problem of a connection issue I'm having. Recently I've built a Java system with multitenant database connection with plain communication (unsecure). As part of ...
0
votes
2
answers
2k
views
SQL Error Code 6550, Error Message: ORA-06550
I have an ORDS 'PUT' procedure called "update_player". When I run my code (C#) I get the following message:
"cause": "An error occurred when evaluating the SQL statement ...
0
votes
2
answers
820
views
Download files from object storage in visual app of Oracle Visual Builder. How to use data from ATP Database to get dinamically the name of the files
I am trying to download specific files from the Object Storage in the Oracle Cloud in my Oracle Visual Builder App (my visual builder is inside OIC, Oracle Integration Cloud).
I'd like to use the ...
0
votes
0
answers
142
views
Connect Grails to Autonomous ORACLE database
I want to connect my grails server to an autonomous ORACLE database but when using the following configuration as dataSource:
dataSource {
dbCreate = "none"
...