Quantcast
Channel: Question and Answer » oracle
Browsing all 717 articles
Browse latest View live

How to delete alogs fom Oracle downstream target

I try to automate deleting logs from Oracle Downstream target database, which are not needed for capture process anymore. The query: SELECT NAME , PURGEABLE from DBA_REGISTERED_ARCHIVED_LOG; returns,...

View Article


Tuning read-intensive queries – Oracle

Now this might be very vague but Im sure I can provide more info on them.. my query is that is it recommended to use tablespaces if different block size because I have a table in which number of reads...

View Article


Oracle XE silent config ignores response file…?

I’m trying to configure Oracle XE 11.2 (on Oracle Enterprise Linux 6.6) in “silent mode” via a response file. I’m using the response file provided in the package (Disk1/response/xe.rsp), replacing...

View Article

Extract data from Oracle DBF files

I’m completely new to Oracle and I was provided with what appears to be an Oracle database backup (170 DBF files and 3 CTL files). I’d like to extract the information using SSIS or Pentaho’s Kettle but...

View Article

Image may be NSFW.
Clik here to view.

Return the lowest value

How do I go about getting the course number (CNO) of all the lowest enrolled by department? For example if math had coursenum 123 and the 0 enrolled, and anoher coursenum 555 with 6 enrolled, it would...

View Article


Can I take backup of those tables which are created with NOLOGGING in Oracle?

Can I take backup of those tables with data which were created with NOLOGIING option in Oracle. Is it true that backup can not be taken for these tables and I can not restore my data if I have some...

View Article

Unable to turn off automatic memory management (AMM)

i am running oracle 11.2.0.4 SE RAC on Red Hat linux 6, the database is using ASM for datafile management i have been experimenting with turning on AMM and set the following parameters alter system set...

View Article

What changes need to be done in tnsname and listener files to access a...

I have a database installed on a machine and I have the Oracle client installed on another machine. How can I access a database from the Oracle client installed on different machine?

View Article


SQL*Net message from client Inactive sessions delete

I am trying to kill a session using alter system kill session . Previously the same command used to return ora28 status. However, these days it stopped giving the status. When V$session table is...

View Article


IF condition in connect command in SQL*Plus

I want to fire SQL queries only when the user is connected to SQL*Plus. In my case even if the connection is not there, the rest of the commands are running in my SQL script. if "connect...

View Article

How to tune a SQL query?

I have a question about SQL query tuning. How can rewrite that SQL query for better performance? Query: select * from ( select ( select max(rn) from ( select row_number() over (order by islemno) rn,...

View Article

Oracle SQL script – passing a parameter

I have an Oracle SQL script like this: delete FROM activ_princ where id in (select ap.id FROM activ_princ ap inner join sect e on e.id=ap.FK_ID_SECTIUNE_e inner join chest ch on...

View Article

What is the easiest way to move data from Oracle to SQL Server?

One of our products supports both Oracle and SQL Server as database backend. We have a customer who wishes to switch from an Oracle backend to Microsoft SQL Server, which isn’t a typical transition for...

View Article


Update rows in a table with an index column starting from 0 with consecutive...

I have a few tables in a Oracle db with some “rule”: The INDEX_COLUMN must start from 0 and must be consecutive numbers and the column NRCRT must start from 1 and also consecutive numbers. I’ve made a...

View Article

How can I group (by) two joined tables [closed]

How can I group (by) two joined tables (in an Oracle database) like this: cant: id CANT_VAL COD_VAL 18059 18.56 R12 18060 11 R10 18061 15 R11 col: FK_ID_COL_DMA CANT_VAL COD_VAL 18059 1134 R10 18059...

View Article


Image may be NSFW.
Clik here to view.

Oracle program “lsnrctl” is missing after the installation of Oracle SQL...

I recently downloaded Oracle SQL Developer and when making a new connection inorder to start my own DB I was unable to due to this error below: IO Error the Network Adapter could not establish the...

View Article

SQL developer – procedure just for a session

Is it possible to create a bunch of procedures just for the SQL developer session, so when the session ends the procedures are deleted?

View Article


Oracle db – get rid of doubled rows

I have an Oracle database with a table like this: yr op v1 v2 v3 2014 op1 10 15 20 2014 op1 10 15 20 2014 op1 10 15 20 2015 op2 33 44 55 2015 op2 33 44 55 2015 op3 100 200 300 2015 op3 100 200 300 2015...

View Article

Oracle 11 rman db restore file corruption

First to mention that I came to the need of asking help after furious research I reattempts for about 3 weeks. I checked previous threads in Oracle community but nothing works for me. I am trying to...

View Article

Right way to delete the archive – Oracle

So I have an Oracle database (standalone) running in RHEL and I have scheduled RMAN for backups on daily and weekly basis. Sometimes my file system (archive mount-point) becomes full because of high...

View Article
Browsing all 717 articles
Browse latest View live