Linking One table with more then one tablespace
Hi,
Can anybody help to link one table to more then one tablespace?
Thanks in advance.
If the table is not partitionned you cannot store a table in different tablespaces. If the table is partitionned you can store each partition in a different tablespace. Example from 10.2 Data Warehousing Guide:
CREATE TABLE sales_composite
(salesman_id NUMBER(5),
salesman_name VARCHAR2(30),
sales_amount NUMBER(10),
sales_date DATE)
PARTITION BY RANGE(sales_date)
SUBPARTITION BY HASH(salesman_id)
SUBPARTITION TEMPLATE(
SUBPARTITION sp1 TABLESPACE ts1,
SUBPARTITION sp2 TABLESPACE ts2,
SUBPARTITION sp3 TABLESPACE ts3,
SUBPARTITION sp4 TABLESPACE ts4)
(PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','MM/DD/YYYY'))
PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','MM/DD/YYYY'))
PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','MM/DD/YYYY'))
PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','MM/DD/YYYY'))
PARTITION sales_may2000 VALUES LESS THAN(TO_DATE('06/01/2000','MM/DD/YYYY')));Edited by: P. Forstmann on 13 févr. 2010 09:08
Similar Messages
-
Error while running spatial queries on a table with more than one geometry.
Hello,
I'm using GeoServer with Oracle Spatial database, and this is a second time I run into some problems because we use tables with more than one geometry.
When GeoServer renders objects with more than one geometry on the map, it creates a query where it asks for objects which one of the two geometries interacts with the query window. This type of query always fails with "End of TNS data channel" error.
We are running Oracle Standard 11.1.0.7.0.
Here is a small script to demonstrate the error. Could anyone confirm that they also have this type of error? Or suggest a fix?
What this script does:
1. Create table object1 with two geometry columns, geom1, geom2.
2. Create metadata (projected coordinate system).
3. Insert a row.
4. Create spacial indices on both columns.
5. Run a SDO_RELATE query on one column. Everything is fine.
6. Run a SDO_RELATE query on both columns. ERROR: "End of TNS data channel"
7. Clean.
CREATE TABLE object1
id NUMBER PRIMARY KEY,
geom1 SDO_GEOMETRY,
geom2 SDO_GEOMETRY
INSERT INTO user_sdo_geom_metadata (table_name, column_name, srid, diminfo)
VALUES
'OBJECT1',
'GEOM1',
2180,
SDO_DIM_ARRAY
SDO_DIM_ELEMENT('X', 400000, 700000, 0.05),
SDO_DIM_ELEMENT('Y', 300000, 600000, 0.05)
INSERT INTO user_sdo_geom_metadata (table_name, column_name, srid, diminfo)
VALUES
'OBJECT1',
'GEOM2',
2180,
SDO_DIM_ARRAY
SDO_DIM_ELEMENT('X', 400000, 700000, 0.05),
SDO_DIM_ELEMENT('Y', 300000, 600000, 0.05)
INSERT INTO object1 VALUES(1, SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(550000, 450000, NULL), NULL, NULL));
CREATE INDEX object1_geom1_sidx ON object1(geom1) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
CREATE INDEX object1_geom2_sidx ON object1(geom2) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
SELECT *
FROM object1
WHERE
SDO_RELATE("GEOM1", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE';
SELECT *
FROM object1
WHERE
SDO_RELATE("GEOM1", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE' OR
SDO_RELATE("GEOM2", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE';
DELETE FROM user_sdo_geom_metadata WHERE table_name = 'OBJECT1';
DROP INDEX object1_geom1_sidx;
DROP INDEX object1_geom2_sidx;
DROP TABLE object1;
Thanks for help.This error appears in GeoServer and SQLPLUS.
I have set up a completly new database installation to test this error and everything works fine. I tried it again on the previous database but I still get the same error. I also tried to restart the database, but with no luck, the error is still there. I geuss something is wrong with the database installation.
Anyone knows what could cause an error like this "End of TNS data channel"? -
Tables with more than one cell with a high number of rowspan (ej. 619). This cell can not be print in a page and it must be cut. But I don’t know how indesign can do this action.
set the wake-on lan on the main computer
The laptop's too far away from the router to be connected by ethernet. It's all wifi.
No separate server app on the laptop, it's all samba
The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
Last edited by saft (2010-03-18 20:38:08) -
Spatial index creation for table with more than one geometry columns?
I have table with more than one geometry columns.
I'v added in user_sdo_geom_metadata table record for every column in the table.
When I try to create spatial indexes over geometry columns in the table - i get error message:
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA table
ORA-13203: failed to read USER_SDO_GEOM_METADATA table
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
ORA-06512: at line 1
What is the the solution?I'v got errors in my user_sdo_geom_metadata.
The problem does not exists! -
How can I talk with more then one person at a time?
How can I talk with more then one person at a time? With Faxe time? Is thier software needed to do this or can it be done with the basic package?
You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker -
How to read an internal table with more than one (2 or 3) key field(s).
how to read an internal table with more than one (2 or 3) key field(s). in ecc 6.0 version
hi ,
check this..
report.
tables: marc,mard.
data: begin of itab occurs 0,
matnr like marc-matnr,
werks like marc-werks,
pstat like marc-pstat,
end of itab.
data: begin of itab1 occurs 0,
matnr like mard-matnr,
werks like mard-werks,
lgort like mard-lgort,
end of itab1.
parameters:p_matnr like marc-matnr.
select matnr
werks
pstat
from marc
into table itab
where matnr = p_matnr.
sort itab by matnr werks.
select matnr
werks
lgort
from mard
into table itab1
for all entries in itab
where matnr = itab-matnr
and werks = itab-werks.
sort itab1 by matnr werks.
loop at itab.
read table itab1 with key matnr = itab-matnr
werks = itab-werks.
endloop.
regards,
venkat. -
I have a mac book pro and when I turned on iChat it would not let me video chat with more then one person even though I was able to in the past. It only showed an icon to video chat with one person. Please help!!!! ASAP
Hi,
Check the iChat Menu > Preferences > Video Section > Bandwidth setting.
iChat needs to see a Minimum of 128kbps to do 1-1 chats in Video
For 3 and 4 way chats it needs 384kbps
Set the Bandwidth to 500kbps if it is set lower.
Also check the speed you are getting from your Internet supplier.
9:28 PM Thursday; February 23, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
How can i use Itunes to update more than one IPad with more than one owner
How can i use Itunes to update more than one IPad with more than one owner? I own an IPad and my wife owns an IPad. I want to use my system to update both IPads. We have different Apple Accounts and different applications. Is this possible?
Of course, that is too easy. I am such a bonehead.
-
can catamorphism or anamorphism or other morphism generalize code to combinatorial level from one example or more then one example code
if they can not, which methods or algorithm can generalize logic or code to combinatorial level ?
computing nightmarecan catamorphism or anamorphism or other morphism generalize code to combinatorial level from one example or more then one example code
if they can not, which methods or algorithm can generalize logic or code to combinatorial level ?
computing nightmare -
How do i insert one string to more then one textField?
how do i insert one string to more then one textField?
var myString = "My String";
myTextField1.text = myString;
myTextField2.text = myString;
myTextField3.text = myString;
myTextField4.text = myString;
// etc... -
Transformations with more then one source data structure?
Hi,
is there a best practice to include more then one data source (e.g. DSO, InfoSource, ...) in a transformation?
My approach was to merge the needed sources by creating an InfoSet. Afterwords I took this InfoSet as source for the transformation.
Is this the recommended approach? Are there alternatives to this approach? Pros and cons?
Regards,
AxelHi,
as I unterstood a virtual characteristic is computed when you query the data. In our case we'd also like to export the data via open hub instead of only querying it, so the value would stay empty. Is this correct? Works a virtual characteristic with a third party analysis tool like Cognos?
So implementing a custom extractor in R/3 would be the recommendation?
Currently I've implemented the scenario via left outer joins in the InfoSet with an additional abap routine in the transformation to determine the right material number. The big downside of this approach is probably bad performance with big tables, that delta extraction isn't possible from an InfoSet and more data as needed for reporting has to be loaded (lookup tables). Right? The only upside I can see with this solution is that after joining the tables only a few if statements are needed in the ABAP-Routine to do the job. -
XML Publisher with more then one VO
Hi;
I have a requirement to show a custom PDF report on click of a button in a custom OAF page. so with the help of [http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework|http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework] I am able to prepare a xml publisher PDF report with single VO(select query) where as in my requirement I required to write more then one VO(select querys). Can anybody give some ideas how to proceed?
GsrC.hi;
i have multiple viewObject and i did what you said and i generated the XML file
but the problem i have that
the generated xml file was
<Msat>
<MasterVO>
<MasterVORow>
<BidValidUntil></BidValidUntil>
<AdvancePayment>5051</AdvancePayment>
<Duration>99</Duration>
<PaymentType>%</PaymentType>
<GroupName></GroupName>
</MasterVORow>
</MasterVO>
*<SupplierNameVO>*
*<SupplierNameVORow>*
*<Segment1></Segment1>*
*<VendorName></VendorName>*
*<VendorId></VendorId>*
*</SupplierNameVORow>*
*</SupplierNameVO>*
</Msat>
but i want to be in this form
<MSat>
<MasterVO>
<MasterVORow>
<BidValidUntil></BidValidUntil>
<AdvancePayment>5051</AdvancePayment>
<Duration>99</Duration>
<PaymentType>%</PaymentType>
<GroupName></GroupName>
*<SupplierNameVO>*
*<SupplierNameVORow>*
*<Segment1></Segment1>*
*<VendorName></VendorName>*
*<VendorId></VendorId>*
*</SupplierNameVORow>*
*</SupplierNameVO>* </MasterVORow>
</MasterVO>
</MSat>
how can i do that if each <suuplier>and <master>are from differnt views and when i tried to use XML>appendChild()
it gave me this error message
oracle.xml.parser.v2.XMLDOMException: cannot add a node belonging to a different document
do any one know the solution for this problem
thx -
Populating more than one table and more than one field
I need some suggestions and this forum has always been a great source of good advice.
I have a web form at the following location: http://www.webdevpractice.com/genoptix/CE/register.php
Here's what the web form needs to do:
Send a confirmation email listing seminars the visitor checked on the form.
Create a similar message on a confirmation page.
Populate 2 two tables.
Items 1 and 2 are working fine.
The advice I need is on how to populate two tables in the database.
There are three tables:
ACCOUNTS
account_id
first_name
last_name
medtech_id
job_title
npi
company
city
state
email
phone
contact
ATTENDANCE
attendance_id
account_id
seminar_id
SEMINARS
seminar_id
seminar
speaker_first_name
speaker_last_name
date
The web form contains data that need to go into the ACCOUNTS table and the ATTENDANCE table. The challenge is getting the account_id and seminar_id into the ATTENDANCE table. If all the information was inserted properly, I could write a query that revealed who was taking what seminar.
Inserting data into the ACCOUNTS table is not a problem. I will create another form to insert information into the SEMINARS so that should not be a problem. But inserting the account_id and the seminar_id is what I am wondering about. Also, can more than one record be inserted in a table? If an user checks more that one seminar, each seminar (seminar_id) would need to be inserted in the ATTENDANCE table as separate records along with the account_id. I'm thinking I may have to do this manually. Also, the values for each seminar are their dates and titles. I used these as values to send the confirmations.
I'm just looking for advice at this point. Is this doable?Bregent,
The table I am wondering about is the ATTENDANCE table. There are two fields in addition to the primary key: account_id and seminar_id. The field I am concern with is the seminar_id which comes from a group of checkboxs on the form. So, one form could create several records. For example, presently there are three seminars that are offered. If the visitor selects all three seminars, that would create three records in the SEMINARS table. So, it might look like this:
attendance_id account_id seminar_id
1 1 1
2 1 2
3 1 3
My PHP skills are basic. I've done other forms and use PHP in other ways. But I have never had to populate several rows in one table with an array of checkboxes nor have I be able to find an example of this.
So the advice I am seeking (and perhaps this is premature) is this:
Can one field from a table populate more than one record?
Should I set up checkboxs as a group or individually with a different name?
I am also considering setting up my tables differently so there is a table from each seminar--that may solve my problem. -
Oracle Data Miner - one project (workflow) more then one user ?
Hi,
Is it possible to have more then one DM user working on one DM project / workflow?
Example I have DMUSER1 and DMUSER2
DMUSER1 created project and some workflow. I need DMUSER2 to be able to modify that same workflow if possible simultaneously.
Something like in OWB where we can use more than one user on creating mappings.
How is that possible?.
Regards
KresoHi Attila,
You can find the transform package at the following link:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_dmtran.htm#i1013223
The ODM mining algorithms use techniques that are not exposed.
However, there are a lot of features in the db that are available to you to build your own.
As for an optimization package, I know there are some internal implementations but I am not aware of one in the db that is exposed.
Thanks, Mark -
Using remote with more then one computer.
Can i use remote with different computers? It works fine on mine but if i try to use it with another computer in the house it doesn't show up in itunes.
If you want to connect and use an iPod (other than a shuffle) on more than one computer you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply.
Using iPod with Multiple computers
Managing content manually on iPod
Note: When changing from automatic to manual, check the "manually manage music and videos" box in Summary then press the Apply button. "Don't" uncheck Sync Music in the Music tab, it will be unchecked by default when you choose the manual setting, if you uncheck it without setting the iPod to manual first you'll erase all the songs from your iPod
Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device. In that case use Safely Remove Hardware icon in the Windows system tray on your desktop or check this link: Safely Disconnect IPod
Maybe you are looking for
-
How do I delete a blank page and rearrange pages in Pages 5.0?
I have several blank pages in my document, there is nothing on the page - except the header and footer - and I can't delete the blank pages ... in the previous version you this by selecting the page thumbnail on the left hand side and using the delet
-
Sync Java Proxy Server response in XML
Hi ! We've this scenario: File1 <-> XI <-> Java Proxy <-> File2 Using a BPM, we made a Async/Sync workflow. It works ok. It uses a SYNC Java Proxy Server. The problem is that inside the java proxy, we query an http source that returns already XML for
-
Hi, I hope someone could help me there is a point i haven't undeerstood! I want to print data from a base to a jsp. So i have created my driver and a bean to access my base. I compile my bean and the driver without any pbm(they belong to a package).
-
I am programmer and want to open and close Firefox according to my needs. Opening with the right url is not a problem, but closing. If I simply kill the task, FF sees it as a crash and wants to start in safe mode everytime. So what to "tell" FF, that
-
I can't restore my iphone 3gs. receiving error code 23
Hi, I'm having a problem in restoring my iphone. How do I got this issue? I got it when I failed to create an Email exchange account then my phone hangs and after i restarted it. it went to restore mode the one with itunes and an USB picture. The 1st