Category: Oracle

How to Configure PL/SQL to Connect to Oracle

Software Download Address:

http://mirror.cnop.net/oracle/PLSQL_install.zip
or
http://share.cnop.net/file426/1806028-428340587

1. Extract and place this archive in the root directory of the system D drive:

2. Set Environment Variables:
User Variable Settings: Right-click My Computer …

How to Create a Read-Only User in Oracle

How to Create a Read-Only User in Oracle

create user reader identified by reader123456;
grant connect,resource to reader;

grant select on AD_TEST to reader; #Use a PL/SQL tool to log in as the relevant user and grant the AD_TEST table to reader …

How to Adjust Oracle Memory Allocation After System Configuration Changes

Scenario: After downgrading system memory configuration, Oracle fails to restart and throws an error upon startup. The system initially had a larger memory allocation, which was reduced midway. After completing the downgrade, the database cannot start normally and reports the following error:

or
ORA-00845: MEMORY_TARGET not supported on this system… Possible cause: ORACLE MEMORY_TA …

How to Enable Oracle Archivelog Mode

How to Enable Archivelog Mode Settings:
SQL> archive log list; #Check if archivelog mode is available

The archive destination USE_DB_RECOVERY_FILE_DEST defaults to the flash recovery area ($ORACLE_BASE/flash_recovery_area). You can view the flash recovery area info with the following SQL …