Loading (point) features takes MapViewer 20 times sql exec time?

I have a map which contains only one theme which shows 14500 point geometries stored in a table (accessed via a view). Rendering the map takes a long time, more than 22 secs. Looking at the log from MapViewer it seems like the sql execution time is not the problem, also in a sql editor the query is fast. Labeling and rendering is fast too. CPU is not very busy while rendering the map, memory usage is under 70 MB. The problem seems to be loading the features after executing the sql query.
This is the logging:
06/01/24 08:46:23 Tue Jan 24 08:46:23 CET 2006 DEBUG [oracle.sdovis.theme.pgtp] [ STOFFEN_INSTALLATIES ] sql exec time: 100ms, total time loading 14593 features: 21401ms.
06/01/24 08:56:32 Tue Jan 24 08:56:32 CET 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 21221ms.
06/01/24 08:56:32 Tue Jan 24 08:56:32 CET 2006 FINEST [oracle.sdovis.RE] xfm: 0.0377536231884058 0.0 0.0 -0.0377536231884058 -2650.2018115942033 17432.848768115942
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.sdovis.VectorRenderer] time to render theme STOFFEN_INSTALLATIES with 14593 styled features: 951ms
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.sdovis.VectorRenderer] time to label theme STOFFEN_INSTALLATIES with 14593 styled features: 0ms
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 951ms
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 0ms
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 22182ms
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 60ms
06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 22242ms
22 seconds is too long for our application. Does anyone know what could be wrong and what I could do to improve this?
Thanks in advance,
Ida

22 secs seems too long.
I tried something similar on old Sun Sparc (Ultra 60) machines. db on one Sun box, MV on another. Both on same local network.
SQL> select count(1) from openls_dir_businesses where country_subdivision='MD' ;
COUNT(1)
24638
No indexes, no other optimizations
Fetching and rendering 24638 points took 19 secs or so.
Fetch time 10 secs, render time 9 secs.
Tue Jan 24 15:09:01 EST 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 10741ms.
Tue Jan 24 15:09:10 EST 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 9083ms

Similar Messages

  • Understanding MapViewer log - total time loading X features

    Hi All,
    I'm interested in finding out more about how to understand the following lines from the log file.
    What I'm unsure about is what "total time loading features" means. For example Theme_14 has a sql exec time of 1797ms, however the total time loading 3 features is 21233ms.
    I'm assuming the total time includes the sql exec time. However there is about 20 seconds extra. Understanding this time should allow me to make changes to reduce it.
    What is MapViewer doing in that time? / What are the components that make up the "total time loading features"?
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_1 ] sql exec time: 63ms, total time loading 0 features: 63ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_2 ] sql exec time: 422ms, total time loading 0 features: 422ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_3 ] sql exec time: 422ms, total time loading 7 features: 422ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_4 ] sql exec time: 422ms, total time loading 0 features: 422ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_5 ] sql exec time: 516ms, total time loading 0 features: 516ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_6 ] sql exec time: 500ms, total time loading 0 features: 500ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_7 ] sql exec time: 516ms, total time loading 0 features: 516ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_8 ] sql exec time: 422ms, total time loading 5 features: 422ms.
    Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_9 ] sql exec time: 516ms, total time loading 0 features: 516ms.
    Mon Apr 21 14:57:31 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_10 ] sql exec time: 218ms, total time loading 0 features: 218ms.
    Mon Apr 21 14:57:31 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_11 ] sql exec time: 437ms, total time loading 12 features: 453ms.
    Mon Apr 21 14:57:31 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_12 ] sql exec time: 766ms, total time loading 16 features: 1141ms.
    Mon Apr 21 14:57:32 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_13 ] sql exec time: 906ms, total time loading 1 features: 1735ms.
    Mon Apr 21 14:57:51 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_14 ] sql exec time: 1797ms, total time loading 3 features: 21233ms.
    Mon Apr 21 14:57:51 EST 2008 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 21233ms.
    Your time is appreciated. Any other comments are also welcome.

    Hi,
    the "total time loading features" includes the whole process to prepare the theme data. It includes the SQL execution time plus the data fetching plus some other minor tasks which do not affect much the final total time. So basically look for the SQL exec time and the fetching/loading of data. In your case, the fetching/loading of THEME_14 geometries is taking too long. Also the SQL exec time for just 3 features seems high. For the fetching, check if the geometries are too detailed (too may points), and for the SQL check if you can improve it (the log, in finest mode, also shows the query executed).
    Joao

  • Error while rendering point features

    Hi MapViewer folks,
    I am havinf hard time figuring out why I am receiving that error:
    SEVERE: MAPVIEWER-01006: Invalid style type for Point features.
    on a theme (point, line and polygon) using an advanced style.
    Here are my style definition.
    Marker style
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <desc/>
    <g class="marker" style="stroke:#9933FF;fill:#9933FF;width:50;height:50;font-family:Dialog;font-size:12;font-fill:#FF0000">
    <circle cx="0" cy="0" r="0.5"/>
    </g>
    </svg>
    Line style
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <desc/>
    <g class="line" style="fill:#9933FF;stroke-width:5">
    <line class="base"/>
    </g>
    </svg>
    Area style
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <desc/>
    <g class="area" style="line-style:L.INFC_PROJECT">
    <image x="0" y="0" width="9999" height="9999" type="gif" href="dummy.gif"/>
    </g>
    </svg>
    Advanced style
    <?xml version="1.0" ?>
    <AdvancedStyle>
    <CollectionStyle>
    <style name="A.INFC_PROJECT" shape="polygon"/>
    <style name="L.INFC_PROJECT" shape="line"/>
    <style name="M.INFC_PROJECT" shape="point"/>
    </CollectionStyle>
    </AdvancedStyle>
    And the theme definition...
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="GEOM_ID" caching="ALL">
    <rule>
    <features style="V.INFC_PROJECT"> (APP_SESSION =:1) </features>
    </rule>
    </styling_rules>
    Here is the MapViewer log content...
    Jul 13, 2009 8:11:39 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper(AEC) begins...
    Jul 13, 2009 8:11:39 PM oracle.lbs.foi.FOIServlet sendGZippedResponse
    FINEST: Sending FOI response in gzip format.
    Jul 13, 2009 8:11:39 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper() succeeded.
    Jul 13, 2009 8:11:39 PM oracle.sdovis.LoadThemeData run
    FINER: LoadThemeData running thread: Thread-47
    Jul 13, 2009 8:11:39 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    FINEST: [ ACTIVE_PROJECTS ]: -Infinity,-Infinity,NaN,NaN
    Jul 13, 2009 8:11:39 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    FINEST: Theme query [ ACTIVE_PROJECTS ]: SELECT GEOM_ID, sdo_cs.transform(GEOM,8265), 'V.INFC_PROJECT', null, 'null', -1, 'rule#0' FROM ACTIVE_PROJECTS WHERE 's'='s' AND (APP_SESSION =:1)
    Jul 13, 2009 8:11:39 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    FINER: [ ACTIVE_PROJECTS ] Fetch size: 100
    Jul 13, 2009 8:11:39 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    INFO: [ ACTIVE_PROJECTS ] sql exec time: 0ms, total time loading 1 features: 0ms.
    Jul 13, 2009 8:11:39 PM oracle.lbs.mapserver.core.MapperPool freeMapper
    FINER: freeMapper() begins...
    Jul 13, 2009 8:11:39 PM oracle.lbs.foi.ThemeRenderingThread render
    FINER: 1 features loaded.0
    Jul 13, 2009 8:11:39 PM oracle.lbs.foi.FOIImageRenderer renderPoiImage
    SEVERE: MAPVIEWER-01006: Invalid style type for Point features.
    Jul 13, 2009 8:11:39 PM oracle.lbs.foi.ThemeRenderingThread render
    FINER: Total time rendering foi data:0
    Jul 13, 2009 8:11:39 PM oracle.lbs.foi.FOIServlet doPost
    FINEST: ---- begin FOI response ----
    {"foiarray":[]}
    ---- end FOI response ----
    Is someone already had that issue?
    My geometries are valid. I have tried the MapViewer SQL (available in log) and everything works fine. I do not have problem rendering line and polygon features
    Many thanks
    Karl

    Hi Karl,
    in this case, the use of a CollectionStyle for FOI point features in Oracle Maps is not yet supported, and then you get the error message. You may need to use a different styling approach. Does your table have a mixing of polygon, line and point geometries?
    Joao

  • HT1657 I have just got a iPad yesterday and I'm having a problem  I have just bought a tv series in iTunes and downloaded it on to my iPad but every time I go to watch it it comes up (could not load movie) then takes me back to the episode list ? Can you

    I have just got a iPad yesterday and I'm having a problem
    I have just bought a tv series in iTunes and downloaded it on to my iPad but every time I go to watch it it comes up (could not load movie) then takes me back to the episode list ? Can you tell me how to solve this problem please

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Failed in the execution of the ODCIINDEXINSERT routine while loading points

    I used SQL*Loader from 11.2 client to load million records into a 11.2 spatial table (points with longitude and latitude) and I got the following error:
    SQL*Loader: Release 11.2.0.1.0 - Production on Fri Oct 12 10:17:57 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    ORA-39776: fatal Direct Path API error loading table CISDWSYS.VEHICLE_LOCATION_FACT
    ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
    ORA-22054: underflow error
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    Load completed - logical record count 45000.The table has a spatial index on VEHICLE_LOCATION column with MDSYS.SDO_GEOMETRY data type. Both table and spatial index are partitioned “monthly” by MESSAGE_DATETIME column. The database is 11.2 (11gR2), the client and SQL*Loader is version 11.2.
    My control file is:
    options (direct=yes, bindsize=20971520, readsize=20971520)
    Load data
    Append
    into table VEHICLE_LOCATION_FACT
    fields terminated by ","
    (VEHICLE_LOCATION_MESSAGE_ID  CONSTANT 222,
    MESSAGE_DATETIME Date 'YYYY-MM-DD HH24:MI:SS',
    ROUTE_NUMBER,RUN_NUMBER,VEHICLE_NUMBER,BADGE_NUMBER,
    TRIP_DIRECTION,GPS_LONGITUDE_NUMBER,GPS_LATITUDE_NUMBER,DIVISION_NUMBER,
    VEHICLE_LOCATION COLUMN OBJECT
         SDO_GTYPE Integer EXTERNAL,
         SDO_SRID  CONSTANT 8265,
         SDO_POINT COLUMN OBJECT
           ( X     FLOAT EXTERNAL,
             Y     FLOAT EXTERNAL
    )I noticed that number for "Load completed - logical record count" is not always same. For example, when data file size is around 300 MB the logical record count is 45000 and when the data file size is 500 MB then logical record count is 110000. The data in both files is of the same nature, just vehicles GPS locations (points).
    The control.log file is
    SQL*Loader: Release 11.2.0.1.0 - Production on Fri Oct 12 10:17:57 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Control File:   Load_Vehicle_Locations_2.ctl
    Data File:      CIS_VehLoc_L05120603gps.txt
      Bad File:     CIS_VehLoc_L05120603gps.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Continuation:    none specified
    Path used:      Direct
    Table VEHICLE_LOCATION_FACT, loaded from every logical record.
    Insert option in effect for this table: APPEND
       Column Name                  Position   Len  Term Encl Datatype
    VEHICLE_LOCATION_MESSAGE_ID                               CONSTANT
        Value is '222'
    MESSAGE_DATETIME                    FIRST     *   ,       DATE YYYY-MM-DD HH24:MI:SS
    ROUTE_NUMBER                         NEXT     *   ,       CHARACTER           
    RUN_NUMBER                           NEXT     *   ,       CHARACTER           
    VEHICLE_NUMBER                       NEXT     *   ,       CHARACTER           
    BADGE_NUMBER                         NEXT     *   ,       CHARACTER           
    TRIP_DIRECTION                       NEXT     *   ,       CHARACTER           
    GPS_LONGITUDE_NUMBER                 NEXT     *   ,       CHARACTER           
    GPS_LATITUDE_NUMBER                  NEXT     *   ,       CHARACTER           
    DIVISION_NUMBER                      NEXT     *   ,       CHARACTER           
    VEHICLE_LOCATION                  DERIVED     *           COLUMN OBJECT       
    *** Fields in VEHICLE_LOCATION
    SDO_GTYPE                            NEXT     *   ,       CHARACTER           
    SDO_SRID                                                  CONSTANT
        Value is '8265'
    SDO_POINT                         DERIVED     *           COLUMN OBJECT       
    *** Fields in VEHICLE_LOCATION.SDO_POINT
    X                                    NEXT     *   ,       CHARACTER           
    Y                                    NEXT     *   ,       CHARACTER           
    *** End of fields in VEHICLE_LOCATION.SDO_POINT
    *** End of fields in VEHICLE_LOCATION
    ORA-39776: fatal Direct Path API error loading table CISDWSYS.VEHICLE_LOCATION_FACT
    ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
    ORA-22054: underflow error
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    Table VEHICLE_LOCATION_FACT:
      0 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
      Date cache:
       Max Size:      1000
       Entries :       192
       Hits    :     44808
       Misses  :         0
    Bind array size not used in direct path.
    Column array  rows :    5000
    Stream buffer bytes:  256000
    Read   buffer bytes:20971520
    Total logical records skipped:          0
    Total logical records rejected:         0
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:        9
    Total stream buffers loaded by SQL*Loader load thread:        9
    Run began on Fri Oct 12 10:17:57 2012
    Run ended on Fri Oct 12 10:18:34 2012
    Elapsed time was:     00:00:37.16
    CPU time was:         00:00:00.32I’m confused by this reported “underflow error” because all data in the data file are correct values. When I drop the spatial index and load the records by using the same control file, same data file and the same table, I don’t get any error and later I recreate the spatial index without errors. That should mean that the values in the data file are good, no “under” values.
    Also, when I don't use "DIRECT=yes" loading in the control file, then SQL*Loader loads all records with no errors, but it takes hours which is too long.
    I want to avoid to have to drop the spatial index every morning before the data loading process, because it is a very large table and it takes 45-60 minutes to recreate that index partition, and that much time delay is not good.
    Can anyone please provide an advice or point to some link with examples of how to use “sqlldr” to load large number of records into a spatial table with spatial index?
    Thank you,
    Milan

    Hi Milan,
    take a look to "Oracle Database Data Cartridge Developer's Guide" [http://docs.oracle.com/cd/E11882_01/appdev.112/e10765/dom_idx.htm#autoId50] (here is the 11g rel2 version but is the same with 9i)
    Domain Indexes and SQLLoader*
    SQLLoader conventional path loads and direct path loads are supported for tables on which domain indexes are defined, with two limitations:
    -The table must be heap-organized.
    +-The domain index cannot be defined on a LOB column.+
    To do a direct path load on a domain index defined on an IOT or on a LOB column, perform these tasks:
    -Drop the domain index
    -Do the direct path load in SQL*Loader.
    -Re-create the domain indexes.
    doesn't seem to be possible to use "direct path method" with spatial (domain) indexes
    i hope for you that there is a workaround ...
    good luck,
    CarlT

  • I have a external Hard drive of 1TB. I want to transfer HD movies to it from my MAC but it can only take 4 gb at a time, now i have to format it which is the best format in this situation NTFS or exFAT, as i use windows part ion as well??

    I have a external Hard drive of 1TB. I want to transfer HD movies to it from my MAC but it can only take 4 gb at a time, now i have to format it which is the best format in this situation NTFS or exFAT, as i use windows part ion as well?? plzz help
    Merry Christmas

    Repartition and format the drive for a Mac:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • Can only load a limited number of songs at a time

    this is a brand new issue no my ipod video that has me worried the hard drive is going. but.... i've never had ANY problems with playback, watching videos, photos, anything. i load all music and videos manually, with the only sync being for certain photo albums. the problem is that if i load a small number of stuff - anything less than 100 songs is fine - no problems. but if i try to load a lot of stuff at once, it starts loading them in order, then inevitably fails at some point. i get the following error window:
    "attempting to copy to the disk "iPod" failed. the disk could not be read from or written to."
    in the past, i've loaded 1,000 files for more at one time with no problems.
    because it only happens on large loads, i'm wondering if it's an overheating issue. but i've reset the ipod, reformatted the hard drive, gone into disk mode and ran disk utility (which found no problems at all), run through diagnostic mode on the ipod (which found no issues). i'm at a loss here. it's a big pain in the backside to have to load over 3,000 songs a hundred at a time.
    whaddya think?
    thanks.

    i found the problem. ipod doesn't like my new combo usb/firewire hub. plugged directly into USB card on computer, problem went away. yay.

  • Confused about Mapviewer and SQL in OBIEE 11g.

    I read in another post that you cant use mapviewer unless you have an oracle database.
    Here is my confusion. The mapviewer product comes with OBIEE 11g, Correct?
    If I use Google Maps, and load the map information into an SQL data base, why wouldnt I be able to get it to work?
    I cant believe that Oracle, who makes a big deal about how OBIEE can work with "Any data source", would provide a key function
    that would only work with an Oracle data base, thereby purposely excluding many of their customers from using that key function.
    Someone please clear this up for me because we need to use maps and we use SQL Server 2008  for our data warehouse.

    Hi katherine,
    FILTER(count(distinct("customer info dimesion"."customerID")) USING ("TradeType Dimesion"."TradeType" = '001'))I think your formula there is mistake like many braces...instead type this in your f(x)
    =>Filter(count(distinct customer_id) USING trade type='001')
    This filter function is same like a case statement,if you filter still gives error write a case statement
    CASE WHEN TradeType Dimesion.TradeType='001' THEN count(distinct customer info dimesion.customerID) ELSE 0 END
    Will it be helpful?,follow this etiquette http://forums.oracle.com/forums/ann.jspa?annID=939
    By,
    KK

  • Why can't I rotate multiple points in puppet warp at the same time?

    You can rotate single points in puppet warp, and you can shift+click to select multiple points and move them at the same time but I see no way to rotate multiple points as one group using puppet warp.  This would be a very helpful feature I think should be added.

    Please post Bug Reports and Feature Requests over at
    http://feedback.photoshop.com/photoshop_family/

  • SQL Developer Stability - Real Time SQL Monitoring

    I always get excited when a new release of SQL Developer comes out with all kinds of new features then I am quickly disappointed by the instability.
    The 2.1 Real Time SQL Monitoring is a great example. It has such great promise but it is not stable, the refresh doesn't work, if you scroll it wipes out the display so I have to exit and re-enter. Is anyone having more success with this tool than me? Are there Java Settings I need to consider? I already learned that if running the query in question from SQL Developer it has to be in an unshared workspace or SQL Monitor won't come up.
    Prior to going to native OCI connectivity my Connections Schema Tree was also very flaky, I work with huge delivered PeopleSoft HR Schemas most of the time.

    The file associations thing means you don't have access to the registry to associate file types. Probably connected to the Vista security model. Try registering the filetypes for use by sqldeveloper through explorer.
    This other problems generally means you don't have write access to the sqldeveloper system directory.

  • Load a table in a PL/SQL variable

    Hi!
    I'm using Oracle 8i and I'm interested in load a table from my database in a PL/SQL variable.In addition,I'm using Nested Table Type for loading a database table in a variable.When I load the table in the variable, I try doing a SQL query to the variable (is a nested table) but it doesn't work.There is some solution?
    In the following lines there is an example about what I'm trying:
    PACKAGE Types AS
    TYPE cursor_type IS REF CURSOR;
    END Types;
    CREATE TABLE EXAMPLE(
    ID NUMBER(4),
    VAL Number(3)
    CREATE or replace TYPE My_Row_Type AS OBJECT
    ID NUMBER(4),
    NStreet Number(3)
    CREATE OR REPLACE PACKAGE PROVA AS
    TYPE My_Tab_Type IS TABLE OF My_Row_Type;
    PROCEDURE GetEXAMPLE (p_recordset OUT types.cursor_type);
    END PROVA;
    CREATE OR REPLACE PACKAGE BODY PROVA AS
    PROCEDURE GetEXAMPLE (p_recordset OUT types.cursor_type) AS
    v_tab My_Tab_Type := My_Tab_Type();
    BEGIN
    FOR cur_row IN (SELECT * FROM EXAMPLE) LOOP
    v_tab.extend;
    v_tab(v_tab.Last) := My_Row_Type(cur_row.ID,     cur_row.NStreet);
    END LOOP;
    -- Open REF CURSOR for outout.
    OPEN p_recordset FOR
    SELECT *
    FROM Table(Cast(v_tab As My_Tab_Type));
    END GetEXAMPLE ;
    END PROVA;
    When I execute the procedure GetEXAMPLE, Oracle shows me the following error:
    ERROR en línea 1:
    ORA-00600: código de error interno, argumentos: [15419], [severe error during
    PL/SQL execution], [], [], [], [], [], []
    ORA-06544: PL/SQL: error interno, argumentos: [pfrrun.c:pfrbnd1()], [], [], [],
    ORA-06553: PLS-801: error interno [0]

    Create your My_Tab_Type as a SQL Object Type, instead of a PL/SQL Table Type:
    SQL> CREATE TABLE example
      2    (id     NUMBER (4),
      3       nstreet NUMBER (3))
      4  /
    Table created.
    SQL> INSERT INTO example VALUES (1234, 123)
      2  /
    1 row created.
    SQL> INSERT INTO example VALUES (2345, 234)
      2  /
    1 row created.
    SQL> COMMIT
      2  /
    Commit complete.
    SQL> CREATE OR REPLACE TYPE My_Row_Type AS OBJECT
      2    (id     NUMBER (4),
      3       nstreet NUMBER (3));
      4  /
    Type created.
    SQL> CREATE OR REPLACE TYPE My_Tab_Type AS TABLE OF My_Row_Type;
      2  /
    Type created.
    SQL> CREATE OR REPLACE PACKAGE types
      2  AS
      3    TYPE cursor_type IS REF CURSOR;
      4  END types;
      5  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE prova
      2  AS
      3    PROCEDURE GetExample
      4        (p_recordset OUT types.cursor_type);
      5  END prova;
      6  /
    Package created.
    SQL> SHOW ERRORS
    No errors.
    SQL> CREATE OR REPLACE PACKAGE BODY prova
      2  AS
      3    PROCEDURE GetExample
      4        (p_recordset OUT types.cursor_type)
      5    AS
      6        v_tab My_Tab_Type := My_Tab_Type();
      7    BEGIN
      8        FOR cur_row IN (SELECT * FROM example) LOOP
      9          v_tab.EXTEND;
    10          v_tab(v_tab.LAST) := My_Row_Type(cur_row.id, cur_row.nstreet);
    11        END LOOP;
    12        -- Open REF CURSOR for output.
    13        OPEN p_recordset FOR
    14        SELECT *
    15        FROM TABLE(CAST(v_tab AS My_Tab_Type));
    16    END GetExample;
    17  END prova;
    18  /
    Package body created.
    SQL> SHOW ERRORS
    No errors.
    SQL> VARIABLE g_ref REFCURSOR
    SQL> EXEC prova.GetExample (:g_ref)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
            ID    NSTREET                                                          
          1234        123                                                          
          2345        234                                                          
    2 rows selected.

  • Top sql elasped time, how true is that

    hi guys,
    i am viewing an addm report and is concern about a top sql activity.
    i have an sql having top elasped time.
    <i>
    2,372      2,275      128,690,535      0.00      4.28      fphtjnquzzpud      [email protected] (TNS V1-V3)      SELECT USER_ID FROM SUBSCRIBER...
    </i>
    q1) what is the meaning of elasped time ?
    the time taken per execution of an sql statement ?
    q2) is the elasped time in the report shown above = sum of all the the elapsed time per execution of the sql ?
    if that the case, the most/frequently i run a SQL statement, the higher the elasped time it will be and thus higher db time.
    but how can we say that it is an inefficient sql since it has the most elasped time just because it is run way too frequently then other sqls ?
    Please advise
    Regards,
    Noob

    Hi,
    It is
    in the below addmrpt.sql the time which show 20393 is the elapsed time of the sql..
    SQL statements consuming significant database time were found.
       RECOMMENDATION 1: SQL Tuning, 24% benefit (20393 seconds)
          ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
             "9tkc7559d5drs".
             RELEVANT OBJECT: SQL statement with SQL_ID 9tkc7559d5drs and
             PLAN_HASH 1303522576But in awrrrpt.sql the elapsed time showing is for the total number of times the sql is executed in the DB.
    ^LSQL ordered by Elapsed Time       DB/Inst: STEELP/STEELP1  Snaps: 13011-13012
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
      Elapsed      CPU                  Elap per  % Total
      Time (s)   Time (s)  Executions   Exec (s)  DB Time    SQL Id
         6,761      1,869            1     6761.3    11.2 4hsz1t5dsmhy4
    Module: XXLOTDETSo check the addmrpt report.
    thanks.
    baskar.l

  • Loading point optimization

    Hi,
    My client wants to schedule  the loading point and loading time automatically. For example, if the loading time is 4 hours and if you create two sales orders continuously, then it should propose the loading time with the gap of 4 hours during delivery schedule in order to eliminate the unnecessary waiting time of trucks. How to achieve this. Pl share your inputs.
    Regards
    Sankar

    Hello Sankar
    You may resort to delivery scheduling- see below-  and maintain loading time for the Shipping Point in hours. Let me caution you that SAP is not a scheduler/Optimizer though.
    SPRO/IMG/Sales and Distribution/Basic Functions/Delivery Scheduling and Transportation Scheduling

  • TS1702 My app store does not load the featured apps, also in charts. Everytime i open the app store, the screen remains blank. Im using ipad3, ios6.

    My app store does not load the featured apps. The screen remains empty everytime I open it.

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Shipping Point Vs Loading Point

    A little clarity is needed btn the two...I think shipping point could be equated to a control office where all deliveries have to go through. Loading point is a physical location that deals with specialized (eg within car spare parts divison - sensors, belts, lights...etc) handling and could be at every plant location where goods are loaded onto the shipping vessel. How accurate is my understanding of the subject?

    Hi,
    <b>Shipping point</b> : The physical location (for example, a warehouse or collection of loading ramps) from which you ship the item.
    Use
    You can predefine shipping/receiving points in the system, based on different combinations of
    plants
    shipping conditions
    loading groups
    During delivery processing, the shipping/receiving point is the most important criterion that you use to select deliveries.
    A delivery can be shipped from one shipping point only or received at one receiving point only.
    If you want to provide more detailed information about a shipping point you can specify a loading point (for example, one of a number of different loading ramps).
    Example
    If, for example, you want to ship refrigerated goods to a certain customer by rail, the system proposes a shipping point with a suitable location and equipment for loading refrigerated goods onto rail cars.
    Procedure
    The system can propose a shipping/receiving point. If valid alternatives are predefined in your system, you can change the shipping/receiving point manually.
    You can define a user-specific default value for the shipping point in the user parameter VST.
    <b>Loading point</b> The exact physical location where the loading of a delivery item takes place (for example, the number of a specific loading bay).
    A loading point is a subdivision of a shipping point.
    The loading point can be entered manually in the delivery header.
    First enter the shipping points for which you want to define loading points.
    To define the loading points for this shipping point, enter a two- character, alphanumeric key and a description. In addition, you can enter a short text for each loading point to indicate the area of responsibility.
    Hope it helps. Pl reward if useful.
    Thanks & Regards
    Sadhu Kishore

Maybe you are looking for

  • Aggregation issue Bex report

    Hi all, I am facing the following aggregation issue at reporing level. BW system 3.5 Cube1 Material, Company code, Cost center, Material, Month,   Volume KF Cube2 Material, Company code, Cost center, Material, Month,   Price KF Multi provider Materia

  • How do you boot a Mac Pro hardrive as an external drive on an iMac?

    Hi All, I hope you can help me. I have a Mac Book Pro. The mother board has died but the hard drive is still working fine according to the technicians. I decided not to repair the Mac Book Pro as its quite old and I wanted a bigger screen so I got a

  • Images too low-rez

    When I place an image in the CS4 version it's fine but the same image in CS6 is low-rez. What gives?

  • Join 2 tables with 2 criteria

    hello i'm trying to join 2 tables with 2 criteria one criteria is  "numero de matricule" and the other is "date"  in one table i have many times the same "matricule"  it depends of "date de validité" validity date ex table 1 n°mat - periode - montant

  • How can i re-install Photoshop?

    Application Manager says to me that Photoshop is already installed, but I can't find it in my Mac. How can I download Photoshop again? Please help me, thanks. Marco.