DBMS_SCHEDULER event schedule jobs not executed when triggered almost at the...
I moved this question from stackoverflow to here as it was marked on hold as off-topic. On Oracle 10g2 DB I have set up multiple event triggered DMBS_SCHEDULER jobs and all of them are subscribed for...
View ArticleOracle merge query vs correlated update
I have a query which updates a table with data from another table. The current query is written as a correlated update with an exists clause to remove unnecessary rows. The problem is since both of...
View ArticleDuplicate database for standby returns error ORA-19625: error identifying...
I’m working on creating duplication scripts for standby purposes. and it’s constantly failing even though the backups are located in the exact same folder. DB structure is identical and spfile is...
View ArticleWant to authenticate oracle login using encrypted password…how to?
We are connecting to Oracle using korn shell scripts, which use sqlplus to connect to Oracle. The Oracle database is on the same Solaris box. Currently, we are storing the Oracle user id and password...
View Articlehow to change a user password while checking the current password in oracle?
In my application I have a change password form which users enter their current password and the new password. Then I change their password using the following command: alter user user_name identified...
View ArticleCommunication between two database servers
I have 2 databases running on different virtual servers. I have some database processes running on one node. These processes connect to Database Gateway (PG4MQ) and process the messages. I need to...
View ArticleOracle DBF import brings me to a weird situation
I have a big problem . One of my client send me some files to install them to his Oracle server but as a new user in oracle I am not sure how to do that. What I’ve recieved are this files : DRSYS01.DBF...
View ArticleHow to partition an Oracle table with 65 million rows?
The table that needs partitioning contains a list of Components and their Values. So one table is tblComponents. Another is tblFields. Then this table, tblValues, contains the values of the...
View ArticleOracle Exchange partition from non partitioned table
We have table name Summary with 86 GB data. This table do not have partition/sub-partition .We want to move the data from the summary table to a composite partitioned table (range partition on...
View Articlebest practice either create multiple databases or multiple users
I have several application which currently running on my local. I have installed oracle 11g and create a global database name as oracle11. Now should i create again different database for each...
View ArticleCreating a USER using the imp command [duplicate]
This question already has an answer here: Import a Oracle DMP file into a Fresh install of oracle 6 answers
View ArticleOracle 11g http listener configuration for PL/SQL server pages
Could please someone point me how to configure oracle db to be able to display PL/SQL Server pages. I have successfully created and mapped dad with the DBMS_EPG. Here is the listener: # listener.ora...
View ArticleUser with dba privs can't login to APEX, but can from SQL*Plus
I’m using Oracle 11gR2 XE. A user with dba privileges can’t log in to the APEX interface, but can from the command line with sqlplus. I just created user: CREATE ROLE administrators; GRANT dba TO...
View ArticleHow would you track DB storage use and then extrapolate it?
I need to track the size of various DBs we have, then see it’s growth rate so that we can guess where it will be at certain times. I’m using Oracle 11g first, but will eventually be applying this to...
View ArticleDo any Exchange hardening guidelines recommend disabling OWA Webready? Should...
For the fourth time in over a year, Exchange OWA has put our internal network at risk due to a remote code execution flaw that exists on the server runtime. This risk is compounded by the fact...
View ArticleAccessing the insert statement which triggers a trigger inside the trigger's...
I have some table and I have enabled auditing on this table. Currently, I am collecting the data about who has inserted records and at what time. Now I also want to log what was the exact query he/she...
View ArticleWhy are some aggregates treated differently in the RHS of a rule in the model...
With my limited understanding of the model clause, I’d expected the following three queries to return the same results because there are no nulls in the data, and the functions are equivalent: select *...
View ArticleWhat's the most effective way to back-up / save data on Oracle 11g large data...
We have a database(actually more databases split by primary access path, modulo on a key.) with millions of records (about 400 millions ). Right now I need to save a specific table userData(which has...
View ArticleOracle prevent CPU usage per process/session
I have an Oracle instance to which several applications from different machines connect (http servers). Normally Oracle CPU usage is ~5-10% even on high server loads. But from time to time, one of http...
View ArticleFOR loop oracle query with calulation
I have a list of distinct areas, and would like to track statistics for those districts in a SQL statement. I currently have a setup that runs some summary information, but it doesn’t include the whole...
View Article