CRUD for tables with large number of columns
Hello
I work for a government agency in Colombia, and we do a poll with about 1200 variables. Our database model has few paintings, but they have a large number of columns. Our Oracle 11 g database is, and we do not use Oracle APEX. I've read about APEX and it seems to be useful to generate quick forms and reports. However, I would like to know if it is possible to generate CRUD for tables with many columns, and that would be the best way to do it.
Thanks in advance.
Carlos.
With the help of 250 point on a single page is actually really bad for the user experience. I would probably be it cut into pieces and using several pages to guide the customer through it as a workflow.
You could also add some pop-up windows which includes some elements of your table, just saved on other pages. But I probably don't like that.
Tobias
Tags: Database
Similar Questions
-
The script generation is not supported for Table with XML or UDT column Types
I get this message trying to generate a script to create a table with an XMLTYPE column. We use the Oracle Developer Tools for Visual Studio to generate scripts as SQLDeveloper does still not support TFS integration. He was always pretty easy to generate scripts and maintain control of source code in this way (with the exception of materialized views). It was great, just right click and generate a script for the project and check it in. Unfortunately as the adoption of XML grows, we find passage to the SQL Developer more often to perform tasks not supported and then return to the VS IDE to manage source code control. Free of any chance that it will be supported in the future?
Yes, our plan is to support several types as time goes by.
You possibly can speed things along by voting or by filing a request for new feature here:
-
How to recover the large number of columns for all items at once
I have a table (T1) with a large number of columns (50). I am building a page on which I would like to consolidate these columns in some regions:
Region: has
Items i1 - i10
Region: B
I11 - i20 items
Region: C
I21 elements - i30
…
Etc.
The majority of the articles on this page are extracted from the same table (T1). So far, the type of each source element has the value SQL query and each item has the motion of the source is defined as:
SELECT column1 FROM t1 WHERE t1id =: global_item
What is the best practical approach to retrieve values for all items on this page? Is there a way to retrieve all the columns point at the same time, something like:
SELECT column1, Column2, Column3, column50 FROM t1 WHERE t1id is: global_item
Instead of:
I1 point source:
SELECT column1 FROM t1 WHERE t1id =: global_item
Point source i2:
SELECT Column2 FROM t1 WHERE t1id =: global_item
Point i3 source:
Column3 SELECT FROM t1 WHERE t1id =: global_item
…
Item i50 source:
SELECT column50 FROM t1 WHERE t1id =: global_item
For each item on this page, when they are displayed?
Thank you for your time.
DanielSet the source of static assignment type item and delete individual values of source of SQL query. Create a process before the header PL/SQL along the lines of
begin select column1 , column2 , column3 ... , column50 into :i1 , :i2 , :i3 ... , :i50 from t1 where t1id = :global_item; end;
OR
Create an automated process line go through the wizard for the table T1, then set the Source Type of the database column and the source values for each item in the name of the corresponding column in the T1.
-
Add a large number of columns to a shape
Is there an easier way to add a large number of columns to a form of how I do it?
What happens in general I find that a bunch of columns must be added to the table, what I do in the database. So I need to get these
columns added to an existing form. As I do that is to create a new block in the form of referencing the same table, just like the old block.
Delete all the columns in the new block that were in the old block.
Move all the triggers of old block of the old block to the new block. Move old items to the old block of the newblock.
Search for old block properties where clauses or whatever and who recreate in the new block...
and then delete the old block and rename the new block to the old name of block.
Phew! A lot of potential for error here.
I need to possibly adjust the canvas for items and of course to reorganize things.
Is there a better way?
(BTW it's forms 11.1.1.4)
Published by: Lake on May 5, 2011 10:15
Published by: Lake on May 5, 2011 10:20Maybe create a routine of jdapi to compare the elements of a block known based on a table with the data dictionary ( user_tab_cols )? As each piece of information is given in the database (data type, the column name,...) should not be too difficult to implement.
http://www.Oracle.com/technetwork/Developer-Tools/Forms/documentation/jdapi904019-131445.zip
see you soon
-
flow of Installer for tables with source schemas and destination is different
How to set up courses of water for tables with source schemas and destination is different? But the structure of the table is the same.
Please paste a small example too.
Thank you
BalaHello
I have a concrete example of this issue, I tested in my environment. Please follow the steps below to install this on your databases.
My global_name to database source is: REP102A. WORLD
My global_name to database target is: REP102B. WORLDSource table: ORDERS. ORDER_ENTRY
Target Table: MERCHANT NAVY. ORDER_ENTRYReplication will happen as follows:
ORDERS. ORDER_ENTRY (REP102A)-> SHIPPING. ORDER_ENTRY (REP102B)Needs to follow the steps below as the one proposed at each site. You may need to make the changes required for your environment.
SCRIPT:
=======* 1. Remove the configuration of the flow of SOURCE and TARGET sites: *.
CONNECT / as SYSDBA
RUN DBMS_STREAMS_ADM. REMOVE_STREAMS_CONFIGURATION;
DROP USER CASCADE STRMADMIN;* 2. Installation STRMADMIN user and streams queued on the Source database: *.
CONNECT / as sysdba
Strmadmin CREATE USER IDENTIFIED BY strmadmin;
GRANT dba, connect, resource, aq_administrator_role to strmadmin;
ALTER SYSTEM SET aq_tm_processes = 1;
BEGIN
DBMS_STREAMS_AUTH. () GRANT_ADMIN_PRIVILEGE
dealer-online "strmadmin."
grant_privileges => TRUE);
END;
/CONNECT strmadmin/strmadmin
BEGIN
DBMS_STREAMS_ADM. () SET_UP_QUEUE
queue_table-online "streams_queue_table."
queue_name-online "streams_capture_queue."
queue_user-online "strmadmin");
END;
/* 3. Installation STRMADMIN user and streams queued to the database target: *.
CONNECT / as sysdba
Strmadmin CREATE USER IDENTIFIED BY strmadmin;
GRANT dba, connect, resource, aq_administrator_role to strmadmin;
ALTER SYSTEM SET aq_tm_processes = 1;
BEGIN
DBMS_STREAMS_AUTH. () GRANT_ADMIN_PRIVILEGE
dealer-online "strmadmin."
grant_privileges => TRUE);
END;
/CONNECT strmadmin/strmadmin
BEGIN
DBMS_STREAMS_ADM. () SET_UP_QUEUE
queue_table-online "streams_queue_table."
queue_name-online "streams_apply_queue."
queue_user-online "strmadmin");
END;
/* 4. Create ORDERS. ORDER_ENTRY Table on the Source database: *.
CREATE USER controls IDENTIFIED BY;
GRANT connect, resource TO arrested;
CONNECT orders/ordersCREATE THE ORDERS TABLE. ORDER_ENTRY
(
order_id number (8) primary key,.
ORDER_ITEM varchar2 (30),
ship_no number (8)
);* 5. Create shipping. Target ORDER_ENTRY Table on the database: *.
CREATE USER IDENTIFIED BY expedition expedition;
GRANT connect, navigation resources;
CONNECT shipping/deliveryCREATE TABLE EXPEDITION TO FRANCE. ORDER_ENTRY
(
order_id number (8) primary key,.
ORDER_ITEM varchar2 (30),
ship_no number (8)
);* 6. On the target, add the rules to apply and create a dblink from destination to source: *.
CONNECT strmadmin/strmadmin
SET SERVEROUTPUT ON
DECLARE
v_dml_rule VARCHAR2 (80);
v_ddl_rule VARCHAR2 (80);
BEGIN
DBMS_STREAMS_ADM. () ADD_TABLE_RULES
table-name => ' EXPEDITION. ORDER_ENTRY',.
streams_type-online "apply."
streams_name-online "streams_apply."
queue_name-online "strmadmin.streams_apply_queue."
include_dml to-online true.
include_ddl-online fake,
include_tagged_lcr-online fake,
source_database => ' REP102A. WORLD ',.
dml_rule_name-online v_dml_rule,
ddl_rule_name-online v_ddl_rule,
inclusion_rule-online true);
DBMS_OUTPUT. Put_line (' apply rule DML for SHIPPING.) ORDER_ENTRY => ' | v_dml_rule);
END;
/CREATE DATABASE LINK rep102a.world CONNECT TO strmadmin IDENTIFIED BY strmadmin USING 'rep102a ';
-check the link works with:
SELECT * from [email protected];BEGIN
DBMS_APPLY_ADM. () ALTER_APPLY
apply_name-online "streams_apply."
apply_user-online "strmadmin");
END;
/* 7. The source adds the rules of capture, transformation, create a database link for target, add spread rules, then prepare the tables for instantiation: *.
CONNECT strmadmin/strmadmin
SET SERVEROUTPUT ON
DECLARE
v_dml_rule VARCHAR2 (80);
v_ddl_rule VARCHAR2 (80);
BEGIN
DBMS_STREAMS_ADM. () ADD_TABLE_RULES
table-name => ' ORDERS. ORDER_ENTRY',.
streams_type-online "capture."
streams_name-online "streams_capture."
queue_name-online "strmadmin.streams_capture_queue."
include_dml to-online true.
include_ddl-online fake,
include_tagged_lcr-online fake,
source_database => ' REP102A. WORLD ',.
dml_rule_name-online v_dml_rule,
ddl_rule_name-online v_ddl_rule,
inclusion_rule-online true);
DBMS_OUTPUT. Put_line ('Capture DML rule for ORDERS.) ORDER_ENTRY => ' | v_dml_rule);
-Add the schema to rename it to change ORDERS to NAVIGATION for this rule
DBMS_STREAMS_ADM. () RENAME_SCHEMA
nom_regle-online v_dml_rule,
from_schema_name-online "ORDERS."
to_schema_name-online 'EXPEDITION. "
operation => "ADD");
END;
/CREATE DATABASE LINK rep102b.world CONNECT TO strmadmin IDENTIFIED BY strmadmin USING 'rep102b ';
-check the link works with:
SELECT * from [email protected];-post-harvest enqueues the LCR will have schema as EXPEDITION via renamed of schema processing
-then add the rule of propagation for SHIPPING. ORDER_ENTRYSET SERVEROUTPUT ON
DECLARE
v_dml_rule VARCHAR2 (80);
v_ddl_rule VARCHAR2 (80);
BEGIN
DBMS_STREAMS_ADM. () ADD_TABLE_PROPAGATION_RULES
table-name => ' EXPEDITION. ORDER_ENTRY',.
streams_name-online "streams_prop."
source_queue_name-online "strmadmin.streams_capture_queue."
destination_queue_name-online "[email protected]."
include_dml to-online true.
include_ddl-online fake,
include_tagged_lcr-online fake,
source_database => ' REP102A. WORLD ',.
dml_rule_name-online v_dml_rule,
ddl_rule_name-online v_ddl_rule,
inclusion_rule to-online true.
queue_to_queue-online fake);
DBMS_OUTPUT. Put_line ("rule DML of Propagation for SHIPPING. ORDER_ENTRY => ' | v_dml_rule);
END;
/BEGIN
DBMS_CAPTURE_ADM. () PREPARE_TABLE_INSTANTIATION
table-name => ' ORDERS. ORDER_ENTRY',.
SUPPLEMENTAL_LOGGING-online 'key');
END;
/* 8. Set the instantiation scn for ORDERS. ORDER_ENTRY on the site target and start apply: *.
-Apply on site
CONNECT strmadmin/strmadmin
SET SERVEROUTPUT ON
DECLARE
iSCN NUMBER;
BEGIN
iSCN: = DBMS_FLASHBACK. [email protected] ();
DBMS_OUTPUT. Put_line (' instantiation SCN is: ' | iSCN);
DBMS_APPLY_ADM. () SET_TABLE_INSTANTIATION_SCN
source_object_name => ' ORDERS. ORDER_ENTRY',.
source_database_name => ' REP102A. WORLD ',.
instantiation_scn-online iSCN,
apply_database_link => NULL);
COMMIT;
END;
/BEGIN
DBMS_APPLY_ADM. START_APPLY ('streams_apply');
END;
/-Check if apply is enabled
SELECT apply_name, dba_apply State;* 9. Start capturing on source: *.
CONNECT strmadmin/strmadmin
BEGIN
DBMS_CAPTURE_ADM. START_CAPTURE ('streams_capture');
END;
/* 10. Wait capture change its status of 'CAPTURER the CHANGES' and check that the status of propagation is ENABLED: *.
CONNECT strmadmin/strmadmin
SELECT capture_name, State FROM v$ streams_capture;
SELECT propagation_name, dba_propagation State;* 11. Perform inserts in ORDERS. Table ORDER_ENTRY on the source site: *.
CONNECT orders/orders
INSERT INTO orders.order_entry VALUES (23450, 'Johnny Walker', 98456);
INSERT INTO orders.order_entry VALUES (23451, "Chivas Regal", 98457);
COMMIT;* 12. On the site apply, check the DELIVERY. ORDER_ENTRY and check if the data is replicated: *.
CONNECT shipping/delivery
SELECT * FROM shipping.order_entry;* 13. Check the application errors in the queue to apply: *.
CONNECT strmadmin/strmadmin
SELECT apply_name, local_transaction_id, error_number, error_message FROM dba_apply_error;Thank you
Florent -
How to create the table with the rows and columns using the layout?
One of my friends advised me to put my site on the mode of provision as it is better than the standard as he said
but I couldnot make an ordinary table with the rows and columns in mode available th
y at - there someone who can tell me how to?
Thank you very muchWednesday, April 18, 2007 21:01:38 + 0000 (UTC), "Mr.Ghost".
wrote: > A friend of mine advised me to put my whole site on the mode of disposal as its
> better than standard, as he saysYour friend won't. Don't listen to him any more. Mode of disposal creates
very fragile and rigid code pauses at the first opportunity.Gary
-
Reading a CSV with a large number of columns
Hello
I tried to read data from files large csv with 38 columns by reading a line using readline and scan using the scan linebuffer.
The file size can be up to 100 MB.
Scan does not seem to support the large number of areas.
Suggestions to the comma separated fields 38 reading. There is a header row in the file.
Thank you
Have you considered the use of the modifier "rep"? You can find examples in help, search for 'chain with real table ASCII Comma-separated numbers '.
-
Add a table with the number of lines and columns JS
Hello
Simple question: what is the syntax for adding a table with a specified number of rows and columns? I don't get it. (I don't know how to add them later, but I want to do when I create the table). Here is the entry in the ESTK:
Tables.Add (to: LocationOptions, reference: all, withProperties: Object): array
Creates a new table.
(optional): Data Type: LocationOptions, by default: LocationOptions.UNKNOWN
The location of the new table to the object within the container object or reference. (Optional)Reference: Data Type: no
The reference object. Note: Required when the value specifies before or after. Can accept: Table, XmlStory, XMLElement, TextFrame, text, character, Word, line, paragraph, TextColumn, PointInsertion, story, cell or TextStyleRange. (Optional)withProperties: Data Type: object
Initial values for the properties of the new Table (optional)Thank you
Ariel
After much experimentation, I found this works:
t = app.selection [0].tables.add (LocationOptions.AT_BEGINNING, undefined, {columnCount:2, headerRowCount:1, bodyRowCount:5, footerRowCount:3});})
-
Select tables with a number of corresponding columns
Hi guys
I need to find a list of tables with columns in common.
So basically I need a list of tables and tables that have 3 or more column in common with her, and what are these columns.
This could take the form of pairs of tables, IE table A table B on columns 1,2,3 games
Table of an array of matches C on columns 1,3,4
or it could be games table A table B and C columns 1,2,3 etc.
I think I do with PL/SQL, what I can do - but I was wondering if this kind of thing is possible with just an SQL statement - if any of you have done it before and you have some SQL, which would be a great help.
Thank you very much
ScottWell, most of the work is done.
'Just', you need to add an aggregation function to present the list of corresponding columns.In 11.2, it has LISTAGG:
SELECT a.table_name tab1, b.table_name tab2, count(*) match_count, listagg(a.column_name,',') within group(order by a.column_id) col_list FROM user_tab_columns a JOIN user_tab_columns b ON a.column_name = b.column_name AND a.table_name != b.table_name GROUP BY a.table_name, b.table_name HAVING count(*) > 2 ;
For older versions, other techniques are summarized here:
http://www.Oracle-base.com/articles/Misc/StringAggregationTechniques.php -
How to update the table with the number management
Hello
I need as there is a loc_tab of the created table as below,
CREATE TABLE loc_tab
(
Country_ID NUMBER,
country_code VARCHAR2 (3),
country_name VARCHAR2 (50).
State_ID NUMBER,
state_code VARCHAR2 (3),
state_name VARCHAR2 (50).
city_id NUMBER,
city_code VARCHAR2 (3),
city_name VARCHAR2 (50)
);
I inserted records like below,
Now, I wanted to update the table such that all ID columns are updated with running number.COUNTRY_ID COUNTRY_CODE COUNTRY_NAME STATE_ID STATE_CODE STATE_NAME CITY_ID CITY_CODE CITY_NAME IND INDIA TN TAMIL NADU CHN CHENNAI IND INDIA TN TAMIL NADU TRI TRICHY IND INDIA TN TAMIL NADU CMT COIMBATORE IND INDIA TN TAMIL NADU MDU MADURAI IND INDIA AP ANDHRA PRADESH HYD HYDERABAD IND INDIA AP ANDHRA PRADESH SEC SECUNDRABAD AUS AUSTRALIA QLD QUEENSLAND BRI BRISBANE AUS AUSTRALIA TAS TASMANIA HB HOBART AUS AUSTRALIA TAS TASMANIA CCE CITY OF CLEARANCE AUS AUSTRALIA TAS TASMANIA BUR BURNIE
Each ID columns should get incremented so that, for Country_ID column corresponding to "India" If country_id is 1, that there must be one for all the lines with the name as "India". Likewise for "Australia".
In the case of State, she also has the same logic with numbers repeated until the very name of the State comes.
For the city, it of course will hold separate ID only because the name of the city will not get duplicated.
This update must be done in the normal way using simple SQL such as no PLSQL don't like looping, etc... is involved.
Here are the contents of the table, and that's how the table should be updated,
Thank you and best regards,COUNTRY_ID COUNTRY_CODE COUNTRY_NAME STATE_ID STATE_CODE STATE_NAME CITY_ID CITY_CODE CITY_NAME 1 IND INDIA 1 TN TAMIL NADU 1 CHN CHENNAI 1 IND INDIA 1 TN TAMIL NADU 2 TRI TRICHY 1 IND INDIA 1 TN TAMIL NADU 3 CMT COIMBATORE 1 IND INDIA 1 TN TAMIL NADU 4 MDU MADURAI 1 IND INDIA 2 AP ANDHRA PRADESH 1 HYD HYDERABAD 1 IND INDIA 2 AP ANDHRA PRADESH 2 SEC SECUNDRABAD 2 AUS AUSTRALIA 1 QLD QUEENSLAND 1 BRI BRISBANE 2 AUS AUSTRALIA 2 TAS TASMANIA 1 HB HOBART 2 AUS AUSTRALIA 2 TAS TASMANIA 2 CCE CITY OF CLEARANCE 2 AUS AUSTRALIA 2 TAS TASMANIA 3 BUR BURNIE
Shiva
-
Performance issues with large number of nodes
I am creating an application to display graphics (large), for example:
But I ran into some performance issues, even for a relatively small number of nodes in the scene graph (+-2000 in the picture above). The graph is built, step by step, adding circles and paths to a StackPane. Circles and paths can be semi-transparant. For a small number of nodes, I get a solid 60 FPS, but this decreases over time to about 5 frames per second. As soon as I stop adding new nodes, the framerate shoot again up to 60 images per second. The framerate drop even when all the nodes are outside the viewport.
My questions are:
* Is Platform.runLater () call to 2000 times a minute too?
* This might just be a problem with my graphics card? (I have an Intel HD Graphics 3000)
* JavaFX pulse recorder says such things, are there meaningful information in that I'm missing?PULSE: 1287 [163MS:321MS]
T14 (0 + 0ms): col of CSS
T14 (0 + 5ms): layout pass
T14 (6 + 152ms): waiting for the minutes of the previous
T14 (158 + 0ms): copy the State for graphic rendering
T12 (159 + 0ms): dirty opts calculated
T12: Path of the slow form for null
T12 (159 + 160ms): painted
T12 (319 + 2ms): Presentable.present
T12 (321 + 0ms): completed the presentation of painter
Counters:
Background image of the region used cached: 14
NGRegion renderBackgroundShape slow path: 1
Nodes displayed: 1839
Nodes visited during rendering: 1840
Kind regards
Yuri
Basically, try some optimization of performance ranging from the simple to the complex. Each of the changes below may provide you with an increase in performance. Some will probably increase performance much more that others (depending on where is the real bottleneck). I would probably start by replace the paths to the lines and reduce the number of Platform.runLater calls (as adding nodes that fall within the viewport can be difficult only).
> The framerate drop even when all the nodes are outside the viewport.
Place the nodes in the graph, which fall inside the viewport.
> Is Platform.runLater () call to 2000 times a minute too?
Yes, there is no reason to call it more than 60 times a minute when the framerate of JavaFX is capped at 60 frames per second by default.
> This might just be a problem with my graphics card? (I have an Intel HD Graphics 3000)
Yes, it's a graphics system relatively low-end. But, look at the comment of developer below - your CPU and choice of graphic primitives can also affect rendering speed.
> Adding circles and the paths to a StackPane
You don't need a StackPane to this, a group is a container easier and probably better.
> may be semi-transparant
Remove transparency * may * cause acceleration.
----
You run may be:
https://JavaFX-JIRA.Kenai.com/browse/RT-20405 : improve the rendering of path performance
Maybe if you use lines rather than the paths, performance might improve.
A comment by a developer on this performance tweak application is:
«It is quite normal for applications that use arbitrary paths (if the node path objects, SVGPath, polyline, or polygon) because these paths are rendered in software.» As card circle, Ellipse, line and Rectangle very primitive forms easily to the operations that can be performed entirely on the GPU, which makes them essentially cheap. There is no need to compare the rendering of a complicated shape for rendering of simple primitives for this reason. »
----
Setting the cache indicators can help, but probably only if you animate nodes.
----
Present level of detail of your graph functionality so a chart with zoom out is not make as many nodes as a part of zoomed in.
----
You run any code important calculation on the JavaFX application thread that could stall it?
Can make you available a ftom so that others can reproduce your problems?
-
How to work with large number of files to a cloud export in Adobe's PDF format
I have about 1000 PDF files to be converted to Excel.
What means are optimal (i.e. with less manual intervention) in which I can do these tasks:
* Download
* convert
* Download
Pointers to a link will be useful. The FAQ page doesn't have this info: FAQ | Export of Adobe PDF
I found a way to download it via a web browser and convert them via a web browser (with the help of pointing and clicking in the GUI). These methods REQUIRE the browser to be open so that the download and conversion happens - and this leads to frequent crashes / freezing of the browser windows while download / convert several files at once.
How background sync (i.e. as in Dropbox or box etc, in which I save the files in a folder and it automatically syncs in the background) for uploading / downloading files?
It would be great if someone can point out a optimal workflow / recommended for (conversion) handling a large number of PDF files using Adobe Document Cloud export in PDF format
There is no best or recommended workflows. It is not designed for $ 20. Not even the product of Acrobat $500 would be 1000 PDFs without pain, but it would be a little better.
-
Create table with data in the column
Create a new table, just want to know if there is a way to add a new column to the table with a value in all areas of this column when new rows are added to that this column will always be the same value
As...
name | address | zip | assets
Active will always be Yes.
I do a trigger?Use the default...
create table (test)
name varchar2 (20).
address varchar2 (40),
zip number (7).
Active VARCHAR2 (3) DEFAULT NULL NOT 'yes'); -
Assemble the different tables with large amounts of data
Hello
I need to collect different types of tables:
Example "table1", with columns: DATE, IP, TYPEN, X 1, X 2, X 3
For "table0" with the DATE, IP, REFERENCE columns.
TYPEN in table1 to be inserted in REFERENCE in table0, but by a function that transforms it to another value.
There are several other tables like 'table1', but with slightly different columns, which must be inserted into the same table ("table0").
The amount of data in each table is pretty huge, so the procedure must be made into small pieces and effectively.
If / could I use data pump for this?
Thank you!user13036557 wrote:
How can I continue with this then?Should I delete the columns I don't need and transform the data in the first table, and then use data pump.
or should I just do a procedure traversing all ranks (into small pieces) "table1", then threading "table0"?
You have two options... Please test both of them, calculate the time to complete and to implement the best.
Concerning
Rajesh -
Tables with space from sizing columns
Oracle EE last everything
So I have a link data table as in:
Table is not partitioned and currently has about 69 million lines. ID, Network_id have your clues of normal base on them.describe links ; Name Null? Type ----------------------------------------- -------- ---------------------------- ID NUMBER NETWORK_ID NUMBER BEG_NODE_ID NUMBER END_NODE_ID NUMBER GEOM MDSYS.SDO_GEOMETRY LENGTH NUMBER(9,3) SPEED_LIMIT NUMBER(3) DETAIL_LEVEL NUMBER(3) IN_SYNCH NUMBER(1) CREATED DATE MODIFIED DATE CREATED_BY VARCHAR2(30) MODIFIED_BY VARCHAR2(30) MODSTAMP TIMESTAMP(6)
geom has a spatial index. So I guess my question is I'm starting to push the limits here for the performance of the spatial index?
In another thread here, I read something that oracle will not use a spatial index for certain types of transactions?
The geometry that is recorded in each line is G_TYPE 2002 (line or curve) for example:
Then John gave me this answer really great to know how to look for a point in a using bounding box of the:SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY( -97.35263, 32.70169, -97.35277, 32.70178, -97.35301, 32.70185, -97.35319, 32.70186, -97.35347, 32.70184) )
function. Now since this line is a series of points, can one still use the sdo_inside or would be:sdo_inside(geom, [create a 2003 geometry to describe a rectangle])
function is best?sdo_anyinteract(geom,[create a 2003 geometry to describe a rectangle])
Thanks in advance.Its a small example. I had not to build your dashboards and the sdo_geom_metadata and the spatial index, I used the SDO_GEOM. RELATE to the function rather than the space operator. The result is the same:
--test relation line with point (second vertex of line) -- INSIDE SELECT SDO_GEOM.RELATE (SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(-97.35263,32.70169,-97.35277,32.70178,-97.35301,32.70185,-97.35319, 32.70186,-97.35347, 32.70184)), 'INSIDE', SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-97.35277,32.70178,0), NULL, NULL), 0.01 ) rel FROM dual; REL -------------------------------------------------------------------------------- FALSE 1 row selected. -- TOUCH SELECT SDO_GEOM.RELATE (SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(-97.35263,32.70169,-97.35277,32.70178,-97.35301,32.70185,-97.35319, 32.70186,-97.35347, 32.70184)), 'TOUCH', SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-97.35277,32.70178,0), NULL, NULL), 0.01 ) rel FROM dual; REL -------------------------------------------------------------------------------- FALSE 1 row selected. -- ANYINTERACT SELECT SDO_GEOM.RELATE (SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(-97.35263,32.70169,-97.35277,32.70178,-97.35301,32.70185,-97.35319, 32.70186,-97.35347, 32.70184)), 'ANYINTERACT', SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-97.35277,32.70178,0), NULL, NULL), 0.01 ) rel FROM dual; REL -------------------------------------------------------------------------------- TRUE 1 row selected.
You will find the theory to UNAMA fine l.
Maybe you are looking for
-
How to cancel my subscription to Apple's music?
How can I cancel my subscriptio music Apple?
-
Firefox is not rendered transparent PNG correctly
I have a web page that offers a PNG with transparency, but Firefox doesn't make properly - it's a little blurry and pixel-y. Both chrome and Opera have made the fine PNG. (It's all in Ubuntu Maverick). The image is available at http://mathsci.kaist.a
-
It gave me a XP computer but do not know the password to connect.
Icant connect to administrator because my brother don't remember. I would like to upgrade to vista cd-rom * original title - my brother gave me this buy computer, he can't remember the password *.
-
Sansa Clip + starts charging fully charged once more again
My Sansa Clip + has been completely cut and I plug it into the computer to charge it. He has been in charge for about 3 hours and the animated indicator said he was almost completely reloaded. I take a quick shower and when I came back, I noticed tha
-
Unable to connect to the driver download Page
Hello When I click on the download button on the HP site, the connection times out. I get an error message that Internet Explorer (v.8) cannot display this page (words to that effect). Using Windows 7 (32 bit), I try to download the full version of