Oracle is a RDBMS (Relational Database Management System) created by Oracle Corporation. It supports a large number of languages and application development frameworks. Its primary languages are SQL, PL/SQL and Java. Also included is support for C (Pro*C, OCI and EXTPROC), C++ (OCCI) and Java (JDBC) ...

learn more… | top users | synonyms

0
votes
0answers
18 views

Export backup from a different location

I have two servers. One database server and another is an app server. I have client installed in my app server and I have the respective the tns in my app server to connect to the db server. Now can I ...
0
votes
0answers
14 views

Remote connection to oracle database 12c from laptop [on hold]

I have installed Oracle database 12c on my laptop. In our company we (my teammates and I) connect to company's server wirelessly and do our everyday works. We could share files and folder with each ...
0
votes
0answers
24 views

Optimizing Hibernate \ SQL Query for better performance

The following query is taking much time, due to the large amount of data in the accessed tables. This is the best I could come up with, but I am sure this can be optimized much better. SELECT ...
-1
votes
0answers
22 views

Can MySQL Enterprise Edition be used for free with no time restriction? [on hold]

My question is about product licensing by Oracle, specifically about MySQL Enterprise Edition licensing. I am not any DBA Master, I'm just a developer in search for answers from the real experts. ...
1
vote
0answers
32 views

Oracle tuning strategy for columns with long tails

We have an Oracle 11g database, where the two biggest tables are Customer and Order. The order profile of our customers has a long tail: we have millions of customers, with most only having a small ...
0
votes
1answer
19 views

Why is the result cache always disabled in Oracle 11g

I'm trying to enable the result cache in Oracle 11g. I have used Enterprise Manager to change the result_cache_max_size and result_cache_max_result values to '1M' and '100' respectively (maybe these ...
0
votes
1answer
22 views

Is it necessary for rownum = 1 with Query.createQuery().getSingleResult()? [on hold]

I'm a newie and I'm not really sure if MIN(My_Date) returns just one row if 2 or more dates are identical. Reference is a FOREIGN KEY. so to limit query: SELECT MIN(Shipping_Date) FROM ...
0
votes
0answers
17 views

Reading audit records in Oracle

As a DBA, what is the best way to read the audit records on daily basis? Say, i'm the administrator and I would like to view the audit records made by the DBAs. I have enabled audit sys operatiosn to ...
0
votes
1answer
21 views

How to insert all the dates in a date range into Oracle database?

For instance, The date range is from 26th Jul to 1st Aug, that is 26th Jul, 27th Jul, 28th Jul, 29th Jul, 30th Jul, 31th Jul and 1st Aug How can I construct a function (of course, I need to ...
1
vote
1answer
22 views

Oracle lsnrctl stop

What does the oracle utility "lsnrctl" actually do? For instance, lsnrctl stop actually stops the listener and kills the process id, but does it also remove lock files or set/unset variables?
0
votes
1answer
21 views

pfile - client parameter file - starting an instance remotely

I do not understand how we can start an Oracle instance remotely using a pfile. If we ssh into the Oracle server and issue: startup pfile='/path/to/pfile';` the pfile is on the server side. How ...
0
votes
1answer
21 views

How to see query executed for a specific user from V$SQL

I am trying to have the queries used for a specific user at the end of the day. But it seems the queries in this view V$SQL are deleted every short time. I am not sure how much time. Also i dont know ...
-2
votes
0answers
17 views

How to distribute Oracle database [on hold]

I want to distribute an Oracle database 11g on 3 servers but I don't know how to start. I read some documents like : http://docs.oracle.com/cd/B10501_01/server.920/a96521/ds_concepts.htm and some ...
0
votes
1answer
21 views

what are the prerequisite for installing oracle 11gr2

I have windows 2008 R2 sever and I want install oracle 11gr2 on this server. So any one tell me what are the prerequisite tools for install oracle 11gr2 like as a jdk and ect...
4
votes
1answer
30 views

How can I specify the DDL of the index that is implicitly created when creating a materialized view log?

When I create a materialized view log, Oracle implicitly creates an index on that log. For example, when creating a materialized view log on table foo, Oracle creates the view log table mlog$_foo and ...
1
vote
0answers
22 views

Allow user select from table in another user's schema that has policies set

I have an oracle10g database with 2 users - user A and user B. I want to select data from a table in user A's schema from user B. I have granted user B select privileges on the table in question but ...
-1
votes
0answers
34 views

Query tuning and index creating [on hold]

I am going to create indexes in one table using Oracle SQL Developer. The table has 60 columns, but on which column(s) do I need to create index(es)? Based on belevel or distinct or date or names or ...
1
vote
0answers
21 views

“Cut” records from one table into another in one oracle sql statement

I have a very big table T1 and i would like to copy every 15000 records to T2. After that I want to delete these same records. I want a fast and efficient way. I tried this but it wouldn't work : ...
0
votes
2answers
39 views

LOB indexes corruption in Oracle

Why is it not possible to rebuild corrupt LOB indexes? So if my LOB index is corrupted, how to recover it?
0
votes
1answer
24 views

what exactly does an RMAN backup do?

I have a database with multiple schemas and data in the tables. I create an rman backup and backup archivelogs. I drop 90% of the tables. I do rman restore and recovery with controfile from ...
0
votes
0answers
12 views

Oracle - ORA-01654: unable to extend indexIndex by 4096 in tablespace Tablespacename

I referred to below link and it is not very useful to me. ORA-01654: unable to extend index <name of the index> by 128 in tablespace <name of the Index tablespace> Now I have 2 Indexes ...
0
votes
0answers
10 views

Monitoring external Oracle db, creating changes locally to SQL Server

I have a local mirror database of an external database that our vendor provides us read access to. Occasionally they add columns and/or table to their database. The addition of columns used to play ...
1
vote
1answer
35 views

Is it possible to install oracle 12c without X window system

I am looking at installing Oracle 12c on a new server but the system admins are insisting that all new Linux servers don't have a GUI installed and that any administrative tasks are performed from a ...
0
votes
1answer
12 views

Oracle instant client memory footprint

In the link mentioned here --> http://www.oracle.com/technetwork/database/features/oci/ic-faq-094177.html it says there is increased virtual memory footprint when running my applications in ...
0
votes
0answers
8 views

Error while creating encryption wallet in Oracle

I need to encrypt tablespaces in my Oracle DB. Following the instructions I edited sqlnet.ora file by adding ENCRYPTION_WALLET_LOCATION. Full content of file listed below: NAMES.DIRECTORY_PATH= ...
0
votes
0answers
14 views

exporting utf8 table with sqlplus [on hold]

I'm trying to export a query using sqlplus spool and my NLS_LANG var is set to AMERICAN_AMERICA.AL32UTF8 but yet the output is in unreadable characters. my os is windows and I'm using oracle 11g.
0
votes
1answer
27 views

Oracle 11gR2 RAC Design [closed]

We are looking to build two node Oracle 11gR2 RAC database with active/active configuration on two data centres. Will extended cluster give fast failover or two separate RAC installations on both ...
2
votes
1answer
75 views

Oracle instant client

What is the difference between instant client and the original Oracle client? The Oracle client is almost 800MB and the instant client is not so much. I need to install oracle client, ODBC drivers and ...
1
vote
0answers
20 views

How do I convert a datetime column from SQL Server 2014 to Oracle 11g using ogr2ogr? [on hold]

I have a table in SQL Server 2014 with two columns, one called username with data type nvarchar(50) and another datetime column called currenttime. I've got just test data in there - two rows: ...
2
votes
1answer
28 views

Oracle Performance - Varchar2 (x char) x Varchar2 (x byte)

I know the definition diference between Varchar2 (x char) x Varchar2 (x byte). varchar2(20 char) means you can store 20 characters -- whereas varchar2(20) means you can store 20 bytes. What ...
1
vote
0answers
23 views

How to best distinguish between “types” of missing data?

I am working on large tables (> 100 fields each) currently organized in flat-files in csv-format. An Oracle DB is to be created to store all the data and allow for several more or less intricate ...
0
votes
1answer
15 views

Oracle ODBC Driver, Tables and Columns Remarks

I'm using the Oracle ODBC Driver 11.2 to access an 11.2 Oracle Database. It seems that the driver does not return tables nor columns remarks (comments) when calling the SQLTables() or SQLColumns ODBC ...
0
votes
1answer
31 views

What is the best way to take backup for Remote DB Server

I am building a software, which will supports multiple database like MySQL, Oracle and PostgreSQL. These databases are installed on remote machines. i wanted to use java technology in a non-database ...
0
votes
1answer
16 views

Oracle 11g - drop maxvalue partition, keep data

I have some tables with data like this: CREATE TABLE "PARTTEST4" ("year" number(4,0) NOT NULL ENABLE) PARTITION BY RANGE ("year") (PARTITION "P_OLD" VALUES LESS THAN (2010), PARTITION ...
0
votes
2answers
56 views

generate/analyze trace for error 1461

I am trying to generate a trace file when arise errors with code ORA-01461. I have executed the following statements: alter system set events '1461 trace name context forever, level 4'; from ...
2
votes
1answer
41 views

Oracle table and number of blocks

What is the easiest way of finding out the number of blocks a table (oracle) occupies and the number of extents?
2
votes
1answer
38 views

Tkprof in critical environments [closed]

Why tkprof utility is not adviced to be used in production setups? What concerns does it have?
1
vote
0answers
15 views

Oracle in hyper-convergence system

How does Oracle perform in hyperconvergence systems such as nutanix, simplivity? Oracle doesn't certify the underlying storage which nutanix or simplivity offers (file level storage) but in reality ...
2
votes
2answers
93 views

Oracle 9: Convert date from mm/dd/yyyy hh:mm:ss format to iso8601 formatted datetime [closed]

Note: I only have read access to this database. I need to convert an Oracle 9 date type from d/mm/yyyy hh:mm:ss format to the iso8601 standard. Like the example below: 4/22/2015 12:02:56 AM => ...
0
votes
3answers
36 views

SQL developer licensing [closed]

SQL developer is free or do you require license for oracle database to use the sql or pl/sql developer? Also, Is it secure to connect to the oracle database since it connects to the db over a remote ...
0
votes
1answer
22 views

RMAN catalog database

I'm about to create a RMAN catalog database for my setup, what are the general precautions or major pre-requisites as in DB parameters, compatibility,etc that I should take care while creating the ...
0
votes
1answer
10 views

Missing view privileges in USER_TAB_PRIVS

I can't figure out how to view the grant privileges I've given users on views -- FIRSTUSER@SQL> create view remotetabletest 2 as select * from A_TABLE where PKEY = '123456' 3 / ...
0
votes
1answer
27 views

database not opening

While altering a DB to open getting the below error. SQL> alter database open; alter database open * ERROR at line 1: ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1], ...
2
votes
1answer
54 views

why update a table take so long on oracle

I have a table A which has 3800+ rows, another table B with 300+ rows. when I execute a update like this: update A set some_colum = '2' where another_column not in (select id from B) it takes 33 ...
3
votes
1answer
84 views

DECODE or CASE STATEMENT for PARAMETER in WHERE CLAUSE [closed]

I am having an issue where I need to make 1 parameter have multiple options, almost like a case statement or decode function. Here is a snippit of the query below, We were using 2 parameters so he can ...
0
votes
1answer
23 views

ASM 12c compatibility

Can I use ASM 12c version with database 11g? The following link https://community.oracle.com/thread/3674266?start=0&tstart=0 and MOS Doc ID 337737.1 says I cannot use 12c version of ASM with a ...
1
vote
1answer
24 views

Oracle: Creating Case Insensitive Database with NLS_COMP and NLS_SORT

I try to create an Oracle 12c Database (Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production) which ist case insensitive. My first try is just a try to test my aims: select ...
0
votes
0answers
31 views

Set session query timeout

When I develop complex queries and I make a mistake (e.g. a wrong join that will make the query run for hours or days) Oracle becomes unusable (you can't even start a local SYS session from SQL*Plus). ...
1
vote
0answers
12 views

Return results of DBMS_SQL.DESCRIBE_COLUMNS in Oracle 11

Database: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 I would like to create a script that will return the results of the DBMS_SQL.DESCRIBE_COLUMNS function to my c# application. Here ...
0
votes
1answer
28 views

Restoring oracle database

I come from SQL Server and I need to restore a oracle .bkp file in my database. Im using RMAN and I have the .bkp file in: F:\Oracle Back Ups\Back.bkp´ The command that I use in RMAN is: RMAN> ...