oracle10g

Installing Oracle 10 ODP.NET on Microsoft Windows 2008 Server 64bit

Deadly 提交于 2019-12-03 05:06:25
I've tried to install " Oracle10g Release 2 ODAC (64-bit) 10.2.0.3 for Windows x64 " from: http://www.oracle.com/technology/software/tech/windows/odpnet/64-bit/index.html on Windows 2008 server 64bit , but it crushes right after i run the setup.exe with the following error: Problem signature: Problem Event Name: APPCRASH Application Name: javaw.exe Application Version: 5.0.40.5 Application Timestamp: 42a019e4 Fault Module Name: StackHash_5c81 Fault Module Version: 6.0.6001.18000 Fault Module Timestamp: 4791adec Exception Code: c0000374 Exception Offset: 00000000000a6e97 OS Version: 6.0.6001.2

Difference Between Drop And Drop Purge In Oracle

不羁岁月 提交于 2019-12-03 04:43:32
I am using Oracle Database and I am a bit confused about Drop and Purge Commands. In fact for me both does the same thing. Removes the table with schema from database. What is the main difference between these two? Drop Table Tablename; Drop Table Tablename Purge; Normally, a table is moved into the recycle bin (as of Oracle 10g), if it is dropped. However, if the purge modifier is specified as well, the table is unrecoverably (entirely) dropped from the database. Oracle Database 10g introduces a new feature for dropping tables. When you drop a table, the database does not immediately release

How to export empty tables in oracle

喜你入骨 提交于 2019-12-03 03:42:20
I have a big problem When i take a dump of database the empty tables are truncated How i can export the all tables in oracle 10g exp SYSTEM/password FILE=expdat.dmp This might be because of these tables may not be extent allocated. Before taking backup you need to identify all the tables that do not have data. Then alter these tables to allocate extent. ALTER TABLE <table_name> ALLOCATE EXTENT; Use the below script to alter all tables they do not have extent allocated. SELECT 'ALTER TABLE '||table_name||' ALLOCATE EXTENT;' FROM user_tables WHERE segment_created = 'NO'; Copy the output and

How to optimize an update SQL that runs on a Oracle table with 700M rows

北战南征 提交于 2019-12-03 02:55:28
UPDATE [TABLE] SET [FIELD]=0 WHERE [FIELD] IS NULL [TABLE] is an Oracle database table with more than 700 million rows. I cancelled the SQL execution after it had been running for 6 hours. Is there any SQL hint that could improve performance? Or any other solution to speed that up? EDIT: This query will be run once and then never again. First of all is it a one-time query or is it a recurrent query ? If you only have to do it once you may want to look into running the query in parallel mode. You will have to scan all rows anyway, you could either divide the workload yourself with ranges of

Oracle: Does a 10g oracle client work with an 11g server?

大城市里の小女人 提交于 2019-12-03 02:40:23
This is the reciprocal to this question . Currently, I am trying to use the instant client for Mac, version 10.2. There's no 11g version for Mac, as of now, based on this page (you have to click into each link to find out the actual version for each platform...lame). I tried connecting to our Oracle 11g server, and it just hangs there forever. Are they simply incompatible, or is something else fishy going on? I would certainly say it should. The SQL*Net protocol it uses is essentially unchanged. Here's an example of me connecting an Oracle 9 to an Oracle 10 server. oracle@cammi:~$ sqlplus "urs

Why does this query throw ORA-00942 on 10g while it works on 11g?

让人想犯罪 __ 提交于 2019-12-03 01:21:52
问题 I execute this query without problem on my 11g installation : SELECT PRODUCT_INFOS_idm.FIELD_VALUE "mother_id", PRODUCT_INFOS_ep.FIELD_VALUE "product_thickness", COIL_INFOS.TIME_STAMP, COIL_INFOS.IN_THICKNESS, COIL_INFOS.MEASURED_LENGTH, COIL_INFOS.MEASURED_WIDTH, COIL_INFOS.PARAM_SET_TOP_SIDE, COIL_INFOS.PARAM_SET_BOTTOM_SIDE FROM COIL_INFOS INNER JOIN PRODUCT_INFOS PRODUCT_INFOS_idm on PRODUCT_INFOS_idm.COIL_ID_SYSTEM=COIL_INFOS.COIL_ID_SYSTEM and PRODUCT_INFOS_idm.TIME_STAMP=COIL_INFOS

How to disable oracle cache for performance tests

二次信任 提交于 2019-12-02 23:02:05
I'm trying to test the utility of a new summary table for my data. So I've created two procedures to fetch the data of a certain interval, each one using a different table source. So on my C# console application I just call one or another. The problem start when I want to repeat this several times to have a good pattern of response time. I got something like this: 1199,84,81,81,81,81,82,80,80,81,81,80,81,91,80,80,81,80 Probably my Oracle 10g is making an inappropriate caching. How I can solve this? EDIT: See this thread on asktom , which describes how and why not to do this. If you are in a

Update materialized view when urderlying tables change

那年仲夏 提交于 2019-12-02 22:23:00
I have a materialized view defined this way: CREATE MATERIALIZED VIEW M_FOO REFRESH COMPLETE ON COMMIT AS SELECT FOO_ID, BAR FROM FOO WHERE BAR IS NOT NULL GROUP BY FOO_ID, BAR / COMMENT ON MATERIALIZED VIEW M_FOO IS 'Foo-Bar pairs'; I wrote as a sort of cache: the source table is huge but the number of different pairs is fairly small. I need those pairs to get them JOINed with other tables. So far so good: it absolutely speeds queries. But I want to make sure that the view does not contain obsolete data. The underlying table is modified four or five times per month but I don't necessarily

How can I keep Oracle SQL Developer from closing the DB connection?

Deadly 提交于 2019-12-02 21:47:11
Is there any way to keep Oracle SQL Developer from closing my DB connections, or to increase the timeout? Sometimes during a long-running query SQL Dev will just close the connection, leaving my query running on the server but me with no results. If I RDP into the server and run SQL Dev locally it never seems to have this problem. This doesn't sound like an issue with SQL developer, cetainly I've never come across it. Are you sure it's not something else, like your network? What happens if you connect from SQL plus from your desktop. I don't have the answer for this, but I'm experiencing the

Is there a way to add column at a specified position in Oracle table? [duplicate]

心已入冬 提交于 2019-12-02 21:22:41
问题 This question already has answers here : How to insert a column in a specific position in oracle without dropping and recreating the table? (4 answers) Closed 3 years ago . Consider this inital table I have created in Oracle 10G: ╔═════════════════════════════════╗ ║ CUSTOMER_ID ACC_NO ACC_BALANCE ║ ╠═════════════════════════════════╣ ║ 100 200 1000 ║ ║ 101 150 4000 ║ ║ 102 350 2000 ║ ║ 103 450 2500 ║ ║ 104 550 2200 ║ ╚═════════════════════════════════╝ Now I want to add another column