Quick question on how CBO determines hows to access table partitions

Hey all,
I have a large table that is range partitioned on a "code" within the table (about 23 unique values). I'm able to query it very quickly and easily when I specify the code in a query... ie:
select *
from large_table
where code = 'X'
However, I am looking to calculate the code based on a reference table that I have. I can easily re-create the performance drop doing:
select *
from large_table
where code = (Select 'X' from dual)
When running the 2nd SQL, my query takes a very long time. I think I understand why (CBO can't "guess" the results of the subquery) and I understand that the easiest to fix this would be to just run the subquery first and pass its results to a second query.
My question is if anyone knows of a way to provide the CBO a hint or any other trick that would allow Oracle to scan a single partition instead of the whole table using a method like this?

Thanks Tubby, that link at least helps confirm my original reasoning for the degraded performance and appears to be for similar reasons
As for the explain plans, here they are:
(Slow Query -- Object names have been changed)
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Pstart| Pstop | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 413 | 219K| | 18794 (1)| 00:03:46 | | | | | |
| 1 | PX COORDINATOR | | | | | | | | | | | |
| 2 | PX SEND QC (RANDOM) | :TQ10013 | 413 | 219K| | 18794 (1)| 00:03:46 | | | Q1,13 | P->S | QC (RAND) |
|* 3 | HASH JOIN RIGHT SEMI BUFFERED | | 413 | 219K| | 18794 (1)| 00:03:46 | | | Q1,13 | PCWP | |
| 4 | BUFFER SORT | | | | | | | | | Q1,13 | PCWC | |
| 5 | PX RECEIVE | | 2 | 8 | | 15 (7)| 00:00:01 | | | Q1,13 | PCWP | |
| 6 | PX SEND HASH | :TQ10003 | 2 | 8 | | 15 (7)| 00:00:01 | | | | S->P | HASH |
| 7 | VIEW | VW_NSO_1 | 2 | 8 | | 15 (7)| 00:00:01 | | | | | |
| 8 | VIEW | view_ref_table | 2 | 26 | | 15 (7)| 00:00:01 | | | | | |
|* 9 | TABLE ACCESS FULL | ref_table | 2 | 22 | | 15 (7)| 00:00:01 | | | | | |
| 10 | PX RECEIVE | | 4543 | 2391K| | 18779 (1)| 00:03:46 | | | Q1,13 | PCWP | |
| 11 | PX SEND HASH | :TQ10012 | 4543 | 2391K| | 18779 (1)| 00:03:46 | | | Q1,12 | P->P | HASH |
|* 12 | HASH JOIN | | 4543 | 2391K| | 18779 (1)| 00:03:46 | | | Q1,12 | PCWP | |
| 13 | BUFFER SORT | | | | | | | | | Q1,12 | PCWC | |
| 14 | PX RECEIVE | | 11 | 187 | | 5 (0)| 00:00:01 | | | Q1,12 | PCWP | |
| 15 | PX SEND BROADCAST | :TQ10002 | 11 | 187 | | 5 (0)| 00:00:01 | | | | S->P | BROADCAST |
|* 16 | TABLE ACCESS FULL | threshold_table | 11 | 187 | | 5 (0)| 00:00:01 | | | | | |
|* 17 | VIEW | | 430K| 214M| | 18774 (1)| 00:03:46 | | | Q1,12 | PCWP | |
| 18 | WINDOW SORT | | 430K| 130M| 280M| 18774 (1)| 00:03:46 | | | Q1,12 | PCWP | |
| 19 | PX RECEIVE | | 430K| 130M| | 18772 (1)| 00:03:46 | | | Q1,12 | PCWP | |
| 20 | PX SEND HASH | :TQ10011 | 430K| 130M| | 18772 (1)| 00:03:46 | | | Q1,11 | P->P | HASH |
|* 21 | HASH JOIN BUFFERED | | 430K| 130M| | 18772 (1)| 00:03:46 | | | Q1,11 | PCWP | |
| 22 | BUFFER SORT | | | | | | | | | Q1,11 | PCWC | |
| 23 | PX RECEIVE | | 7332 | 157K| | 16 (13)| 00:00:01 | | | Q1,11 | PCWP | |
| 24 | PX SEND HASH | :TQ10001 | 7332 | 157K| | 16 (13)| 00:00:01 | | | | S->P | HASH |
| 25 | VIEW | view_ref_table | 7332 | 157K| | 16 (13)| 00:00:01 | | | | | |
| 26 | WINDOW SORT | | 7332 | 80652 | | 16 (13)| 00:00:01 | | | | | |
| 27 | TABLE ACCESS FULL | ref_table | 7332 | 80652 | | 14 (0)| 00:00:01 | | | | | |
| 28 | PX RECEIVE | | 129K| 36M| | 18756 (1)| 00:03:46 | | | Q1,11 | PCWP | |
| 29 | PX SEND HASH | :TQ10010 | 129K| 36M| | 18756 (1)| 00:03:46 | | | Q1,10 | P->P | HASH |
| 30 | BUFFER SORT | | 413 | 219K| | | | | | Q1,10 | PCWP | |
| 31 | NESTED LOOPS | | 129K| 36M| | 18756 (1)| 00:03:46 | | | Q1,10 | PCWP | |
| 32 | NESTED LOOPS | | 124K| 30M| | 14444 (1)| 00:02:54 | | | Q1,10 | PCWP | |
| 33 | NESTED LOOPS | | 122K| 25M| | 10173 (1)| 00:02:03 | | | Q1,10 | PCWP | |
|* 34 | HASH JOIN | | 123K| 23M| | 5893 (1)| 00:01:11 | | | Q1,10 | PCWP | |
| 35 | PX RECEIVE | | 124K| 22M| | 5629 (1)| 00:01:08 | | | Q1,10 | PCWP | |
| 36 | PX SEND HASH | :TQ10008 | 124K| 22M| | 5629 (1)| 00:01:08 | | | Q1,08 | P->P | HASH |
| 37 | BUFFER SORT | | 413 | 219K| | | | | | Q1,08 | PCWP | |
| 38 | NESTED LOOPS | | 124K| 22M| | 5629 (1)| 00:01:08 | | | Q1,08 | PCWP | |
|* 39 | HASH JOIN | | 122K| 20M| | 1797 (2)| 00:00:22 | | | Q1,08 | PCWP | |
| 40 | PX RECEIVE | | 119K| 17M| | 1101 (3)| 00:00:14 | | | Q1,08 | PCWP | |
| 41 | PX SEND HASH | :TQ10006 | 119K| 17M| | 1101 (3)| 00:00:14 | | | Q1,06 | P->P | HASH |
|* 42 | HASH JOIN | | 119K| 17M| | 1101 (3)| 00:00:14 | | | Q1,06 | PCWP | |
| 43 | BUFFER SORT | | | | | | | | | Q1,06 | PCWC | |
| 44 | PX RECEIVE | | 86 | 602 | | 3 (0)| 00:00:01 | | | Q1,06 | PCWP | |
| 45 | PX SEND BROADCAST | :TQ10000 | 86 | 602 | | 3 (0)| 00:00:01 | | | | S->P | BROADCAST |
| 46 | TABLE ACCESS FULL | OFFICE | 86 | 602 | | 3 (0)| 00:00:01 | | | | | |
|* 47 | HASH JOIN | | 119K| 16M| | 1098 (3)| 00:00:14 | | | Q1,06 | PCWP | |
| 48 | PX RECEIVE | | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,06 | PCWP | |
| 49 | PX SEND BROADCAST | :TQ10004 | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,04 | P->P | BROADCAST |
| 50 | PX BLOCK ITERATOR | | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,04 | PCWC | |
|* 51 | TABLE ACCESS FULL | REF | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,04 | PCWP | |
|* 52 | HASH JOIN | | 701K| 84M| | 1095 (3)| 00:00:14 | | | Q1,06 | PCWP | |
| 53 | PX RECEIVE | | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,06 | PCWP | |
| 54 | PX SEND BROADCAST | :TQ10005 | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,05 | P->P | BROADCAST |
| 55 | PX BLOCK ITERATOR | | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,05 | PCWC | |
|* 56 | TABLE ACCESS FULL | REF | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,05 | PCWP | |
| 57 | PX BLOCK ITERATOR | | 16M| 1617M| | 1090 (2)| 00:00:14 | 1 | 24 | Q1,06 | PCWC | |
| 58 | TABLE ACCESS FULL | Fact_Table | 16M| 1617M| | 1090 (2)| 00:00:14 | 1 | 24 | Q1,06 | PCWP | |
| 59 | PX RECEIVE | | 13M| 323M| | 693 (1)| 00:00:09 | | | Q1,08 | PCWP | |
| 60 | PX SEND HASH | :TQ10007 | 13M| 323M| | 693 (1)| 00:00:09 | | | Q1,07 | P->P | HASH |
| 61 | PX BLOCK ITERATOR | | 13M| 323M| | 693 (1)| 00:00:09 | | | Q1,07 | PCWC | |
| 62 | TABLE ACCESS FULL | Dimension 1 | 13M| 323M| | 693 (1)| 00:00:09 | | | Q1,07 | PCWP | |
| 63 | TABLE ACCESS BY INDEX ROWID | Dimesnion 2 | 1 | 12 | | 0 (0)| 00:00:01 | | | Q1,08 | PCWP | |
|* 64 | INDEX UNIQUE SCAN | Dimension 2 Index | 1 | | | 0 (0)| 00:00:01 | | | Q1,08 | PCWP | |
| 65 | PX RECEIVE | | 15M| 151M| | 261 (2)| 00:00:04 | | | Q1,10 | PCWP | |
| 66 | PX SEND HASH | :TQ10009 | 15M| 151M| | 261 (2)| 00:00:04 | | | Q1,09 | P->P | HASH |
| 67 | PX BLOCK ITERATOR | | 15M| 151M| | 261 (2)| 00:00:04 | | | Q1,09 | PCWC | |
| 68 | INDEX FAST FULL SCAN | Dimension 1 Index | 15M| 151M| | 261 (2)| 00:00:04 | | | Q1,09 | PCWP | |
| 69 | TABLE ACCESS BY INDEX ROWID | Dimension 3 | 1 | 18 | | 0 (0)| 00:00:01 | | | Q1,10 | PCWP | |
|* 70 | INDEX UNIQUE SCAN | Dimension 3 Index | 1 | | | 0 (0)| 00:00:01 | | | Q1,10 | PCWP | |
| 71 | PARTITION HASH ITERATOR | | 1 | 39 | | 0 (0)| 00:00:01 | KEY | KEY | Q1,10 | PCWP | |
| 72 | TABLE ACCESS BY LOCAL INDEX ROWID| Dimension 4 | 1 | 39 | | 0 (0)| 00:00:01 | KEY | KEY | Q1,10 | PCWP | |
|* 73 | INDEX UNIQUE SCAN | dimension 6 Index | 1 | | | 0 (0)| 00:00:01 | KEY | KEY | Q1,10 | PCWP | |
| 74 | TABLE ACCESS BY INDEX ROWID | Dimension 5 | 1 | 38 | | 0 (0)| 00:00:01 | | | Q1,10 | PCWP | |
|* 75 | INDEX UNIQUE SCAN | Dimension 5 index | 1 | | | 0 (0)| 00:00:01 | | | Q1,10 | PCWP | |
(Fast Query -- Object Names Changed)
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Pstart| Pstop | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 107 | 57673 | | 1302 (1)| 00:00:16 | | | | | |
| 1 | PX COORDINATOR | | | | | | | | | | | |
| 2 | PX SEND QC (RANDOM) | :TQ10009 | 107 | 57673 | | 1302 (1)| 00:00:16 | | | Q1,09 | P->S | QC (RAND) |
|* 3 | HASH JOIN BUFFERED | | 107 | 57673 | | 1302 (1)| 00:00:16 | | | Q1,09 | PCWP | |
| 4 | BUFFER SORT | | | | | | | | | Q1,09 | PCWC | |
| 5 | PX RECEIVE | | 11 | 187 | | 5 (0)| 00:00:01 | | | Q1,09 | PCWP | |
| 6 | PX SEND HASH | :TQ10002 | 11 | 187 | | 5 (0)| 00:00:01 | | | | S->P | HASH |
|* 7 | TABLE ACCESS FULL | Threshold Table | 11 | 187 | | 5 (0)| 00:00:01 | | | | | |
| 8 | PX RECEIVE | | 10163 | 5180K| | 1296 (1)| 00:00:16 | | | Q1,09 | PCWP | |
| 9 | PX SEND HASH | :TQ10008 | 10163 | 5180K| | 1296 (1)| 00:00:16 | | | Q1,08 | P->P | HASH |
|* 10 | VIEW | | 10163 | 5180K| | 1296 (1)| 00:00:16 | | | Q1,08 | PCWP | |
| 11 | WINDOW SORT | | 10163 | 3185K| 6792K| 1296 (1)| 00:00:16 | | | Q1,08 | PCWP | |
| 12 | PX RECEIVE | | 10163 | 3185K| | 1295 (1)| 00:00:16 | | | Q1,08 | PCWP | |
| 13 | PX SEND HASH | :TQ10007 | 10163 | 3185K| | 1295 (1)| 00:00:16 | | | Q1,07 | P->P | HASH |
|* 14 | HASH JOIN BUFFERED | | 10163 | 3185K| | 1295 (1)| 00:00:16 | | | Q1,07 | PCWP | |
| 15 | BUFFER SORT | | | | | | | | | Q1,07 | PCWC | |
| 16 | PX RECEIVE | | 148 | 3256 | | 15 (7)| 00:00:01 | | | Q1,07 | PCWP | |
| 17 | PX SEND HASH | :TQ10001 | 148 | 3256 | | 15 (7)| 00:00:01 | | | | S->P | HASH |
| 18 | VIEW | view_ref table | 148 | 3256 | | 15 (7)| 00:00:01 | | | | | |
| 19 | WINDOW SORT | | 148 | 2072 | | 15 (7)| 00:00:01 | | | | | |
|* 20 | TABLE ACCESS FULL | ref table | 148 | 2072 | | 14 (0)| 00:00:01 | | | | | |
| 21 | PX RECEIVE | | 6867 | 2005K| | 1279 (1)| 00:00:16 | | | Q1,07 | PCWP | |
| 22 | PX SEND HASH | :TQ10006 | 6867 | 2005K| | 1279 (1)| 00:00:16 | | | Q1,06 | P->P | HASH |
| 23 | BUFFER SORT | | 107 | 57673 | | | | | | Q1,06 | PCWP | |
| 24 | NESTED LOOPS | | 6867 | 2005K| | 1279 (1)| 00:00:16 | | | Q1,06 | PCWP | |
| 25 | NESTED LOOPS | | 6591 | 1679K| | 1050 (1)| 00:00:13 | | | Q1,06 | PCWP | |
|* 26 | HASH JOIN | | 6604 | 1567K| | 821 (1)| 00:00:10 | | | Q1,06 | PCWP | |
| 27 | BUFFER SORT | | | | | | | | | Q1,06 | PCWC | |
| 28 | PX RECEIVE | | 86 | 602 | | 3 (0)| 00:00:01 | | | Q1,06 | PCWP | |
| 29 | PX SEND HASH | :TQ10000 | 86 | 602 | | 3 (0)| 00:00:01 | | | | S->P | HASH |
| 30 | TABLE ACCESS FULL | OFFICE | 86 | 602 | | 3 (0)| 00:00:01 | | | | | |
| 31 | PX RECEIVE | | 6604 | 1522K| | 817 (1)| 00:00:10 | | | Q1,06 | PCWP | |
| 32 | PX SEND HASH | :TQ10005 | 6604 | 1522K| | 817 (1)| 00:00:10 | | | Q1,05 | P->P | HASH |
| 33 | NESTED LOOPS | | 6604 | 1522K| | 817 (1)| 00:00:10 | | | Q1,05 | PCWP | |
| 34 | NESTED LOOPS | | 6541 | 1258K| | 590 (1)| 00:00:08 | | | Q1,05 | PCWP | |
| 35 | NESTED LOOPS | | 6612 | 1207K| | 475 (1)| 00:00:06 | | | Q1,05 | PCWP | |
| 36 | NESTED LOOPS | | 6507 | 1112K| | 272 (2)| 00:00:04 | | | Q1,05 | PCWP | |
|* 37 | HASH JOIN | | 6352 | 924K| | 51 (4)| 00:00:01 | | | Q1,05 | PCWP | |
| 38 | PX RECEIVE | | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,05 | PCWP | |
| 39 | PX SEND BROADCAST | :TQ10003 | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,03 | P->P | BROADCAST |
| 40 | PX BLOCK ITERATOR | | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,03 | PCWC | |
|* 41 | TABLE ACCESS FULL | REF | 47 | 940 | | 2 (0)| 00:00:01 | | | Q1,03 | PCWP | |
|* 42 | HASH JOIN | | 37236 | 4690K| | 48 (3)| 00:00:01 | | | Q1,05 | PCWP | |
| 43 | PX RECEIVE | | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,05 | PCWP | |
| 44 | PX SEND BROADCAST | :TQ10004 | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,04 | P->P | BROADCAST |
| 45 | PX BLOCK ITERATOR | | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,04 | PCWC | |
|* 46 | TABLE ACCESS FULL | REF | 12 | 240 | | 2 (0)| 00:00:01 | | | Q1,04 | PCWP | |
| 47 | PX BLOCK ITERATOR | | 849K| 88M| | 46 (3)| 00:00:01 | KEY | KEY | Q1,05 | PCWC | |
| 48 | TABLE ACCESS FULL | Fact Table | 849K| 88M| | 46 (3)| 00:00:01 | 5 | 5 | Q1,05 | PCWP | |
| 49 | TABLE ACCESS BY INDEX ROWID | Dim 1     | 1 | 26 | | 0 (0)| 00:00:01 | | | Q1,05 | PCWP | |
|* 50 | INDEX UNIQUE SCAN | Dim 1 index | 1 | | | 0 (0)| 00:00:01 | | | Q1,05 | PCWP | |
| 51 | TABLE ACCESS BY INDEX ROWID | Dim 2 | 1 | 12 | | 0 (0)| 00:00:01 | | | Q1,05 | PCWP | |
|* 52 | INDEX UNIQUE SCAN | Dim 2 index | 1 | | | 0 (0)| 00:00:01 | | | Q1,05 | PCWP | |
|* 53 | INDEX UNIQUE SCAN | Dim 3 Index | 1 | 10 | | 0 (0)| 00:00:01 | | | Q1,05 | PCWP | |
| 54 | PARTITION HASH ITERATOR | | 1 | 39 | | 0 (0)| 00:00:01 | KEY | KEY | Q1,05 | PCWP | |
| 55 | TABLE ACCESS BY LOCAL INDEX ROWID| Dim 4 | 1 | 39 | | 0 (0)| 00:00:01 | KEY | KEY | Q1,05 | PCWP | |
|* 56 | INDEX UNIQUE SCAN | Dim 4 Index | 1 | | | 0 (0)| 00:00:01 | KEY | KEY | Q1,05 | PCWP | |
| 57 | TABLE ACCESS BY INDEX ROWID | Dim 5 | 1 | 18 | | 0 (0)| 00:00:01 | | | Q1,06 | PCWP | |
|* 58 | INDEX UNIQUE SCAN | Dim 5 Index | 1 | | | 0 (0)| 00:00:01 | | | Q1,06 | PCWP | |
| 59 | TABLE ACCESS BY INDEX ROWID | Dim 6 | 1 | 38 | | 0 (0)| 00:00:01 | | | Q1,06 | PCWP | |
|* 60 | INDEX UNIQUE SCAN | Dim 6 Index | 1 | | | 0 (0)| 00:00:01 | | | Q1,06 | PCWP | |
DB Version is 10g R2:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
"CORE     10.2.0.4.0     Production"
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production

Similar Messages

  • How to access tables/views of an external database provider..

    After much trouble I finally managed to setup a second Database Provider that doesn't display the "0 out of 0 connections are good" error by filling in the "Configuration Class" field with "intradoc.server.DbProviderConfig".
    But now the problem is actually accessing the tables/views in my newly configured external database provider...
    In the Configuration Manager applet when I try to add a new Table or View it only lists the tables contained in the schema of the SystemDatabase database provider (the original one), I've tried running Queries via components trying stuff like SELECT * FROM provider_name.table_name and other similar but obviously it doesn't work...
    So... with that said, I just want to know how I access tables or views in my "supposedly" well conected (15 out of 15 connections are good, no errors on the Test Query) Oracle external Database Provider - After searching I was unable to find any information regading any post-provider-setup actions in the Content Server documentation - Does anyone know how to do this?
    On a side note, if the database is SQLServer instead of Oracle, with the same configuration and apparently no errors on the database side (other clients access it well) the Query Test of the new database provider returns the following error:
    "The provider 'TestSqlSrv' is in error. Unable to create database connection for JDBC:ODBC:SqlSrv. Unable to create result set for query 'select * from dummy'. Invalid Fetch Size Unable to create result set for query 'select * from dummy'. Invalid Fetch Size java.sql.SQLException: Invalid Fetch Size".But I won't even go there yet.... for now I would settle with just knowing how to reference information in the Oracle external database provider...
    Message was edited by:
    user602700

    if you are able to, pick up Bex Huff's book the Definitive Guite to Stellent Content Server Development (amazon link: http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846/ref=sr_1_1?ie=UTF8&s=books&qid=1196365101&sr=8-1)
    chapter 11 is all about this.

  • Equium will not boot - how to access Recovery partition?

    Hi, my sister has a 2008 Equium A200-1V0 with Vista 32-bit which will not boot (probably due to virus rootkit damage). It loads the BIOS but then goes straight to black screen with flashing cursor.
    F8 does not work.
    F2 goes to Phoenix TrustedCore Setup utility. The Toshiba hard drive and CD-ROM drive are listed in Main and Boot in the correct order.
    Using F12 I can get it to boot from a Win7 64-bit repair disc I burned using my laptop.
    However, this does not recognise the OS nor any image or restore points (because it is 64-bit) but it will load Command Prompt.
    In *Command Prompt*, I can start Notepad and when I click File/ Open and double click on Computer it shows 4 Hard drives as follows:
    Local Disk (C:)
    Data (D:) 42 GB free of 54.5 GB
    WinRE (E:) 1.11 GB free of 1.46 GB
    Boot (X:) 29.0 MB free of 31.5 MB (which is used by the Repair disc)
    So the C: drive is listed but without capacity.
    *CHKDSK*
    chkdsk c: /r and press return
    "The type of the file system is NTFS.
    Unable to determine volume version and state. CHKDSK aborted.
    Failed to transfer logged messages to the event log with status 50.
    *Running TESTDISK*
    Analysis:
    Partition Start End Size in Sectors
    1 P Windows RE(store) 0 32 33 191 89 26 3072000
    2 * HPFS - NTFS 191 89 27 7477 118 1 117051392
    3 P HPFS - NTFS 7477 118 2 14592 190 62 114307072 (data)
    * = Primary bootable
    When doing Quick Search and then P - list files, of the second partition it reports:
    "Can't open filesystem. Filesystem seems damaged."
    So what I would like to do is boot up from Windows Restore on the E drive.
    My question is to any Toshiba experts: When F8 does not work how do I use the recovery partition???
    Laptop is:
    Part Number : PSAF5E-002005KS
    Key Features
    - Intel Pentium Dual-Core Processor T2310
    - Genuine Windows Vista Home Premium Edition
    - DVD Super Multi (Double Layer) drive
    - 2,048 (1,024 + 1,024) MB RAM (667 MHz)
    - 15.4 " WXGA TFT display 1,280 x 800

    *UPDATE*:
    I have borrowed a genuine Windows Vista Home Premium 32-bit dvd and booted up with that.
    Clicked on "Repair your Computer"
    Then it goes striaght to System recovery Options but no Operating System is shown. Click Next.
    Then:
    "Choose a Recovery Tool.
    Operating system: Unknown on (Unknown) Local Disk"
    *Startup Repair*
    This takes 1 second.
    Root cause found
    System volume on disk is corrupt.
    *System Restore*
    "X - To Perform an offline System Restore, you must specify which Windows installation you would like to restore.
    For example, if the installation located in "C:\Windows" should be restored enter the following command:
    rstrui.exe /OFFLINE:C:\Windows "
    *Windows Complete PC Restore*
    " No valid backup locations could be found.
    Windows cannot find a backup on the hard disks or DVDs on this computer. Attach the correct hard disks or insert the last backup DVD and then start the restore process again. "
    Windows Memory Diagnostic Tool
    Windows cannot check for memory problems...[snip]
    *Command Prompt*
    This is working fine.
    CHKSDK C:
    The type of file system is NTFS.
    Unable to determine volume version and state. CHKDSK aborted.
    The HDD is 120 GB and is split by Toshiba into 3 partitions.
    C:\ drive (56GB) is bootable with Windows - this is corrupted.
    D:\ drive (55 GB) has all Data - fully accessible
    E:\ drive is CDROM
    F:\ drive (1.46 GB) is the WinRE recovery partition - this is fully accessible.
    So my question still remains: can I recover my Toshiba laptop using this recovery partition?
    PLEASE NOTE: as mentioned above, pressing F8 during boot has no effect and therefore Safe Mode cannot be accessed.

  • DB Tool List Table: How to access tables which are in different SQL database ?

    Hi, All,
    I'm working on a database application (SQL server) and is evaluating the NI DB Tool kit for this project.
    One of the requirement is that I need to access tables which are in two different database
    (say Table A in DB 1 and Table B in DB 2).
    Our IT guys has linked Table A in DB1 to DB 2 and I verfied this when I use the SQL server managment studio.
    When DB 2 tables are populated, Table A from DB1 is also there. I can also do the same thing using MS Access.
    Table A in DB1 is avalaible to me enven though I only connect to DB 2.
    Here comes the problem.
    When I use DB Tool List Table.vi to access DB2, it does NOT list Table A in DB1. It only list the tables in
    the database (DB2) which I make connection to (using DB Tool Open Connection.vi with a file DSN)
    So my work around right now is to open two seperate connection to DB1 and DB2. However, this approach
    obviously creates a problem when I have to access seperate database constantly in my application.
    What would be a solution to this ? I've search the forum but only see one post that's somewhat related to
    my question. (And it was posted on 2004) Perhaps I need to alter the code in the orignial VI (DB Tool List Table.vi)??
    My IT guy told me he has not encountered this scenario since he writes codes in other enviroment such as
    VB and others, and he's always been successful by linking tables to different database. 
    I hope my question is sound and clear since I really don't know much about database terminology.
    Any comment/suggestion is much appreciated !!!
    Thanks
    Chad
    Solved!
    Go to Solution.

    To josborne:
    To answer your question:
    - Are the two databases contained on the same SQL Server instance? 
    Or are the databases on separate instances?  I assume they are on
    separate servers, otherwise this wouldn't really be an issue.  But its
    good to know because it will affect how you build your SQL statements.
    Yes they are on separate instances. 
    - Ask your IT people specifically how they "linked Table A in DB1 to
    DB 2".  I assume they used "linked servers". 
    Maybe I used the wrong terminology "linked." They created a "View of Table A (DB1)" in DB2 using the management studio.
    Here is a screen shot of that. As you can see, dbo.VISUAL_WORK_ORDER is seen under LABVIEW database in the management studio.
    I also see the same table when I make connection to database using MS Access.
    Could you elaborate on "configure your SQL statement correctly" =) ? The purpose of using LabView's took kit is so that I can do
    minimum SQL statements. Are you talking about modifying LabView's native VI (DB Tool List Table.vi) ?
    Thanks for the information. SQL is just something new to me.

  • How to Access table in SAP

    Hi Gurus,
    Actually I am new to SAP and was wondering if somebody could tell me how to access a table in SAP where the relavant data is being stored.
    e.g. If I want to check table VBAK, what wouldbe the menupath/t-code?
    Thank you.
    Juhi Singhania

    Hi Juhi,
    Since you are new to SAP you might want to have this link handy.. it has several useful information including the tables list
    http://www.erpgenie.com/abap/tables.htm
    http://www.erpgenie.com/saptech/transactions.htm
    http://www.sap-img.com/general/find-the-list-of-sap-transaction-codes.htm
    http://www.sap-img.com/basis/useful-sap-system-administration-transactions.htm
    Thanks
    Janani
    award points if helpful

  • How to access tables in another workspace (same server) ?

    This one is probably simple, but I can't figure it out : we have different applications in different workspaces but on the same server : how I can simply access tables (read only is enough) in a different workspace than the application ?
    Edited by: JJ MAHE - Oracle on Mar 18, 2013 2:07 AM

    Hello
    If you need access to oracle schema, the schema needs to be assigne to desired workspace. You can configure it in INTERNAL Workspace. One Oracle schema can be assigne to many workspaces.
    Regards

  • How to Access Table Space Map in Oracle 10g OEM

    How and from where to Access Table Space Map in Oracle 10g OEM ??
    Thanks

    Hi,
    first of all, the online help system of grid control is outstanding. Just click on Help in the upper right corner and enter "Tablespace Extent Map" in the search form.
    Result:
    Show Tablespace Contents Page
    Each Oracle database is divided into one or more logical units called tablespaces. You can use Oracle Enterprise Manager to manage these tablespaces and create or modify the parameters for the tablespaces. Use the Tablespace property sheet to set general and storage information for the specified tablespace.
    Use the Show Tablespace Contents page to display the list of tablespace segments that comprise the existing tablespace. You can display Tablespace Extents by choosing Show Tablespace Extent Map at the bottom of the page. An extent is a logical unit of database storage space allocation made up of a number of contiguous data blocks. One or more extents in turn make up a segment. When the existing space in a segment is completely used, Oracle allocates a new extent for the segment.
    You can view segment extents by clicking on the link in the Extents column to display the Extents in Segments page.
    You can display the Show Tablespace Contents page by choosing Show Tablespace Contents from the command drop down list on the Tablespace property page, the Tablespace View page, or the Tablespace search results page.
    Note: Developers could only display the tablespace map to a maximum hard coded number of 30,000 extents. Tablespaces are often larger than that. If a tablespace is larger than 30,000 extents, the portion over that is displayed as Unmapped. To avoid exceeding the memory capacity of the tablespace map and to display the map without unmapped extents, use a search criteria displaying results of less than 30K extents.
    For an overview of tablespaces, see the "Overview of Tablespaces " chapter of the Oracle Database Concepts Guide.
    For more information about managing tablespaces, see the " Managing Tablespaces" chapter of the Oracle Database Administrators Guide.
    For more information about managing datafiles, see the " Managing Datafiles and Tempfiles" chapter of the Oracle Database Administrator's Guide.

  • How to access table ADR6 from smartform

    I'm trying to get the email address of a customer in my smartform but I don't know how to pass table ADR6 to my smartform.  I've tried using a SELECT statement from ADR6 but nothing ever gets set to the variable, so I'm guessing I need to store the table into a local workspace first?  How do I do this?  If I'm on the wrong path can someone tell me how to pass in an external table that has no connection to your form interface variables being passed in?

    Hi,
    I've tried using a SELECT statement from ADR6 but nothing ever gets set to the variable, so I'm guessing I need to store the table into a local workspace first? How do I do this? If I'm on the wrong path can someone tell me how to pass in an external table that has no connection to your form interface variables being passed in?
    Need not to store the whole table. SELECT statement works in this case. In Global declaration-->Types define the structute with the fields u want to display. like this
    TYPES: begin of type_adr6,
            ADDRNUMBER like ADR6-ADDRNUMBER,
            SMTP_ADDR like ADR6-SMTP_ADDR,
           end of type_adr6.
    and then declare it in Global data Tab like this
    WA_ADR6   TYPE  TYPE_ADR6
    end then write SELECT statement in program lines node and fetch the required fields into the work area WA_ADR6.
    now u display these fields.
    regards
    raam

  • How to delete table partitions

    Hi all,
    I want to know how can I delete table partitions.I have partitioned table in schema A owned by user A.But I created table partitions in Schema B owned by user B..Now I want the partions from schema B,it says table doesn't exist and when I tried to delete the partitions from schema A ,it says partition doesn't exist,What to do ?
    Regards,
    AA.

    can you give the statements you tried (and as which user)?
    I couldn't follow your actions, sorry.
    Martin

  • Determine space used by table partitions

    Hello,
    I deal with a table that is made up of about 30 partitions. How can I determin (query) how much GB or TB those
    partitions actually use on the hard disk?
    Thanks

    You can use
    SELECT SEGMENT_NAME TABLE_NAME, PARTITION_NAME,
    SEGMENT_TYPE,
    SUM(BYTES)/(1024*1024) table_size_meg
    FROM dba_segments
    WHERE segment_type = 'TABLE PARTITION'
    AND owner = 'ownername'
    AND segment_name = 'table name'
    GROUP BY partition_name;Regards
    Renjith Madhavan

  • How to access Table rows in ADOBE form

    Hello Experts,
    I want to access the Table rows which are getting populated by WDA context, in form JavaScript when the table is populated.
    on the basis of few cell values i want to disable and enable particular cells in table rows when the table is rendered to the user.
    Please provide your inputs and suggestion on how to write a java script for it and in which event  i should write the script.
    i searched SDN and found couple of blogs and threads and tried using them but not working.
    Thanks,
    Siddharth

    Hello All,
    thanks for your suggestions.
    after some research and  trial and error i found the solution:here is the sample code for those who might face this issue.
    SUPERNODE(Root Node)
        --SUBFM(SUBFORM)
    MYNODE( Table)
    DATA(Table ROW)
    ADD       (Table COLUMNS)
    DELETE   (Table COLUMNS)
    var data1;
    var norows = xfa.resolveNodes("SUPERNODE.SUBFM.MYNODE.DATA[*]").length;
    for ( var i =0; i < norows; i++)
         if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").rawValue == "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").access = "readOnly";
        if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").rawValue != "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").access = "readOnly";

  • How to access tables in Micro Access

    hello, is there anyone who knows how to create a driver in order to insert data into tables created by Microsoft Access? I have created tables using Access, and I have gone through JDBC tutorial. But I don't know how to link java code to tables in Access? Do I need a driver or something else? Thanks.

    Yes, use the JDBC-ODBC bridge driver that comes with the JDK:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\path\\to\\your\\database.mdb";
    Connection connection = DriverManager.getConnection(url);%

  • How to access Mac Partition after bootcamp

    I've just recently bootcamped my Mac and now i have windows 7 and that is working fine but now when I try to get onto Mac Partition it dosent work. I've tried to restart my Mac but it hasn't worked I can't access the Mac Partition it is just stuck on the loading screen when you turn the Mac on and stays like that. How do i fix this or just access the Mac Partition

    Hi,
    usually you hold down the Alt/Option-key at startup of your Mac to get the Boot Selection screen.
    There you can choose which Operating System to boot into.
    Once in OSX you might wanna go to System Preferences - Startup Volume and set your OSX to be the default.
    If that's not working you should boot from your OSX Install DVD (holding down the C-key at startup) and use Disk Utility from it to verify/repair your harddisk/OSX.
    Regards
    Stefan

  • How to access tables from multiple schemas

    Hi,
    I have access to 2 different schema (schema_a, Schema_B) through my APEX environment... I have a query that's based on tables from both the schemas... something like this
    select SCHEMA_A.table1.column1, table2.column2
    from
    SCHEMA_A.table1, table2
    it is giving me a message that table doesn't exist.
    Please advice.
    Thanks

    You need to grant the required permission (if there is no restriction then you can use GRANT ALL), You can give the permission to particular user on the schema.
    conn / as sysdba
    grant select on userA.table_name to userB;
    connect userB/passwordB
    select userA.table1.column1, table2.column2
    from
    userA.table1, table2;Refer these links,
    https://forums.oracle.com/forums/thread.jspa?threadID=616903
    http://www.techonthenet.com/oracle/grantrevoke.php_
    Thanks
    Lakshmi

  • How to access recovery partition

    hi,
    i have a toshiba satellite L-305 S5919 laptop. i want to reinstall vista in my laptop. but i am not able to access the recovery partition. while booting it is not showing the recovery partition. but when i take the computer disk management it is showing a primary partition with 7 GB size. i suppose that is the windows vista recovery partition. can u help me in accessing that recovery partition and restoring to factory settings.
    regards,
    abt

    Satellite L305-S5919 
     See the section titled Hard Drive Recovery Utilities, which begins on p. 60 of your User's Guide. .
      Satellite L300 Series User's Guide
    If you can't reach the recovery partition during startup, burn the recovery media.
    -Jerry

Maybe you are looking for

  • Dump in va02.

    My user getting message : Bcd_field_overflow in saplv61a program include  LV61AU02 in PRICING_COMPLETE FUCTION MODULE .My client is using SAP R/3 4.6 version. Plz suggest some note. thanks in advance.. gorika

  • File size increase when converting EOS 5d Mark II 10 Mpixel Images to DNG?

    Hi, a colleague of mine is having issues when converting 10 Mpixel RAW images of his 5d Mark II to dng format. He shot the images at a smaller size in RAW format to save memory. When he converts the RAW to DNG using lightroom 2.2 the filesize increas

  • Illustrator CC hangs/crashes upon closing

    Every time I go to quit out of Illustrator CC it hangs, lags or crashes, and 9 times out of 10 I have to go to task manager to force quit. Has anyone experienced the same? I'm not sure what system specs I need to post so if someone could point me in

  • After downloading the new foxfire 9 I open the fild and it looks like chinese, what setting is wrong?

    After opening Foxfire 9 this is what I get:Greenfield üìL" ¶&M0MMC ˇ& y0&d¬diì»-ÇiÇ0LT¢∏^i¢h'À@∞–&ˬ@į"†∞œ˘"ÉóÌãa¬ÁHH√a|cçÑdy}π√\°˛Äû¢·(Ñ)äávZ'ìŒo†j#H†Ç("Çâ AHêÇ( B``@êa)$ëÃ`AHà¿¿Ç!å`HB)1¿$@A¶L-ô04d4dh"ñç0h⁄öíHíà∞§≥-Ö15¨D§âÅé45∆8ö¿÷ܱ°≠bA®$ìXX»1!à-

  • Simple question involving data signing and encryption

    What is exactly mean by signing and encrypting data? And how would it apply to the case of a web browser..where I have to sign and encrypt data to and from a web browser? In this case it is an output and input stream. Does every byte have to be signe