Skip to main content

Posts

Showing posts from October, 2023

ORA-00800: soft external error arguments

The problem as stated: After upgrading the Oracle Database from 12c to 19c the following error generated in the alert log file. Actual Oracle Error Code: ORA-00800 After Upgrading from 12c to 19c ORA-00800: soft external error, arguments occured Oracle Database Enterprise 19c fails to start with error: ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM] Why does Insights prevent Oracle grid services from starting How to configure the User slice to allow Real-Time Scheduling for user processes In Alert Log: Errors in file /u01/app/oracle/diag/rdbms/orclproddbone/orclprod/trace/psbcdb_vktm_3529.trc (incident=1200048) (PDBNAME=CDB$ROOT): ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM], [Check traces and OS configuration], [Check Oracle document and MOS notes], [] Incident details in: /u01/app/oracle/diag/rdbms/orclproddbone/orclprod/incident/incdir_1200048/psbcdb_vktm_3529_i1200048.trc 2023-10-30T10:04:53.536165+06:00 Error attempting to elev

Software-only Installation of oracle Database 19c for Upgrade

Overview Oracle Database 19c is a multi-model database that provides full support for relational and non-relational data, such as JSON, XML, text, spatial and graph data. There are lots of new features available in this new release like partitioned hybrid tables, encryption capabilities in the built-in data dictionary, statistics-only queries and many more. It also enables Oracle’s Autonomous Database Cloud Services. This article describes the installation of Oracle Database 19c (19.3) 64-bit on Red Hat 8 64-bit. When you plan to upgrade from 12c to 19c that means, you have already some configuration when you install 12c. So, this software-only installation will be minimal. Lab Environment Server Machine Work Station or Client Machine OS Release Red Hat Enterprise Linux release 8.4 (Ootpa) Red Hat Enterprise Linux release 8.4 (Ootpa) Kernel 4.18.0-305.3.1.el8_4.x86_64 4.18.0-305.7.1.el8_4.x86_64 Oracle Release 19.3 Oracle SQL Developer Version 19.2.1.247 IP Address 192.168.1.10 192.168

ORA-01950: no privileges on tablespace

 ORA-01950: no privileges on tablespace "TABLESPACE_NAME" Cause: User does not have privileges to allocate an extent in the specified tablespace. Action: Grant the user the appropriate system privileges or grant the user space resource on the tablespace. To control the amount of disk space that a user can consume in a tablespace, you can assign a quota to the user for that tablespace. A quota can be either a specific number of bytes, a percentage of the total space in the tablespace, or unlimited. To grant a quota, you can use the following syntax: ALTER USER username QUOTA { size | UNLIMITED | DEFAULT } ON tablespace_name; For example, to give user Alice 100 MB of space in the tablespace TBS1, you can write: ALTER USER Alice QUOTA 100M ON TBS1; Or you can give unlimited quota to user on related tablespace as follows. ALTER USER <user> quota unlimited on <tablespace name>; Or you can give unlimited quota to user on all tablespace as follows. GRANT UNLIMITED TABLES

Naming Conventions of Oracle Database

Naming Conventions of Oracle Database About Assigning Global Database Names During Installation The database name input field is used to set the DB_NAME, DB_UNIQUE_NAME, and DB_DOMAIN Oracle initialization parameter values. The Oracle Database software identifies a database by its global database name. A global database name consists of the database name and database domain. Usually, the database domain is the same as the network domain, but it need not be. The global database name uniquely distinguishes a database from any other database in the same network. You specify the global database name when you create a database during the installation or using the Oracle Database Configuration Assistant. For example: sales.us.example.com Here: sales.us is the name of the database. The database name, DB_UNIQUE_NAME, portion is a string of no more than 30 characters that can contain alphanumeric characters, underscore (_), dollar sign ($), and pound sign (#) but must begin with an alphabetic c

Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.

Fix duplicate VG names with vgrename uuid, a device filter, or system IDs. 1.0. [root@Server ~]# pvs WARNING: VG name vg_u01 is used by VGs r3NzJf-qjYN-loul-AtpO-JQfV-alGl-7hJdQV and Gjchqd-grNW-jXin-CQc6-EO1y-hZlx-czWOHy. Fix duplicate VG names with vgrename uuid, a device filter, or system IDs. 1.1. [root@Server ~]# vgs -o +vg_uuid   WARNING: VG name vg_u01 is used by VGs r3NzJf-qjYN-loul-AtpO-JQfV-alGl-7hJdQV and Gjchqd-grNW-jXin-CQc6-EO1y-hZlx-czWOHy.   Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.   WARNING: VG name vg_u01 is used by VGs pU4SVn-nAz3-4VnT-8GLc-JFZV-ZIsy-XjOjK0 and Gjchqd-grNW-jXin-CQc6-EO1y-hZlx-czWOHy.   Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.   WARNING: VG name vg_u01 is used by VGs VgU4Vi-rIds-Ok60-2atr-OSRW-qPr2-yln1nJ and Gjchqd-grNW-jXin-CQc6-EO1y-hZlx-czWOHy.   Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.   WARNING: VG name vg_u01 is used by VGs 38AE8l-Ke6W-018Q-Ifp

Adding or Dropping of Redo and StandBy Redo file in Dataguard Standby Environment

  Adding or Dropping Redo and StandBy Redo files in Dataguard Standby Environment On Standby Server Redo Log File 1.0. ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; 1.1. Show parameter STANDBY_FILE_MANAGEMENT ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT = MANUAL; 1.2. set line 400 pages 150 col GROUP# for 99 col THREAD# for 99 col STATUS for a9 col MEMBERS for 999999 col member for a64 select l.GROUP#,l.THREAD#,l.STATUS,l.MEMBERS,f.member from v$log l inner join v$logfile f on (l.GROUP#=f.GROUP#); 1.3. ALTER DATABASE ADD LOGFILE '/u01/app/oracle/oradata/cbsdgdb1/redo01.log' SIZE 1024M; ALTER DATABASE ADD LOGFILE '/u01/app/oracle/oradata/cbsdgdb1/redo02.log' SIZE 1024M; ALTER DATABASE ADD LOGFILE '/u01/app/oracle/oradata/cbsdgdb1/redo03.log' SIZE 1024M; 1.4. alter system switch logfile; 1.5. ALTER DATABASE DROP LOGFILE '/u01/app/oracle/oradata/oradbcdb/redo01.log'; ALTER DATABASE DROP LOGFILE '/u01/app/oracle/oradata/oradbcdb/redo02.log'; AL

Upgrade the Oracle Database Time Zone File Using the DBMS_DST Package

Upgrade the Oracle Database Time Zone File Using the DBMS_DST Package The current web page context is about how to upgrade the database time zone file using the DBMS_DST package. Here are some key takeaways: The DBMS_DST package is a PL/SQL package that simplifies the process of upgrading the database time zone file and the time zone data based on the new file. Upgrading the time zone file is necessary when countries change their time zones or daylight saving time policies, which may affect the data stored in TIMESTAMP WITH TIME ZONE columns. The DBMS_DST package provides procedures to check the current and latest versions of the time zone file, prepare for the upgrade, perform the upgrade, and end the upgrade. The upgrade process involves three phases: prepare, upgrade, and end. The prepare phase is optional but recommended to check the impact of the upgrade. The upgrade phase can be done in online or offline mode. The end phase finalizes the upgrade and cleans up temporary data. 1.0.

Backup Oracle Apex Application

Backup Oracle Apex Application 1.0. Login Oracle Apex by your Workspace administrator account. 1.1. Go to App Builder -> Workspace Utilities -> All Workspace Utilities then click on the Manage Backups. 1.2.  Click on your desire application name. 1.3. Then click on the Create Backp button.          If you have already enable auto backup the nothing changes happend after the last backup, it will                   show s : There have been no changes to the application since the last backup . Then no need to backup, you just download the latest backup from Action  menu.  2.0. Initiate fresh new instant backup: 2.1. Download the previous latest backup by following the Step-1.3. Then remvoe all backup. 2.2. Click on the Create Backup button, write some comments on and click on the Backup button. It will take some time. You will get successfull notification like  Application 101 backup submitted . 2.3. Now download the latest backup by following the  Step-1.3.  And save it for fu