Spatial data cache only 2048MB ??

Why spatial data cache can be only less then 2048MB ??
If I set up any value larger then this, it shows a negative numer of cache size in get_stats xml request (the same in logs when Mapviewer is starting).

This is likely a bug. It assumes a 2gb limit.

Similar Messages

  • Spatial Data Cache Setting

    Hi all,
    If I disable the cache, I mean if I set max_cache_size to 0 on mapviewerConfig, Will it affect mapviewer performance or speed?
    I have developed sample application to move a point data on web using mapviewer. After updating SDO_GEOMETRY column on database, I will refresh the map. The map will show moved point data only if I set max_cache_size to 0 on mapviewerConfig. Is there any mapviewer API is available to clear spatial data cache?
    Thanks,
    Sujnan

    This is likely a bug. It assumes a 2gb limit.

  • Mapviewer - Spatial Data Cache

    I am trying to clear the spatial data cache in two different versions (mv10 & mv11ea) of Mapviewer without success. To confirm that the cache is being cleared I have enabled the report_stats as below in the mapViewerConfig.xml for both versions
        <spatial_data_cache   max_cache_size="64"
                              report_stats="true"
        />After a few requests I note the following in the log:
    Cache group PARCEL_VIEW_SHAPE_82473_PDT_GEOM statistics:
       capacity: 262144
           size: 145988
    load factor: 0.95
        # of chains: 88837
    max chain depth: 8
    avg chain depth: 1.6433242905546113
    empty bucket %: 0.6611137390136719
    total mem size : 28169KBKnowing (assuming) that this cache group is populated by a single theme that references the PARCEL_VIEW table I then issue the following via the Admin section of the Mapviewer control.
    <?xml version="1.0" standalone="yes"?>
    <non_map_request>
      <clear_theme_cache data_source="vicmap" theme="THEME_PARCEL" />
    </non_map_request>Then, after waiting patiently for the next set of statistics to appear in the log (BTW, is there a way to change the frequency from 10 minutes to something more regular?) I notice that the information for the cache group has not changed.
    Am I following the correct steps here? If I wish to clear the spatial cache, should I be monitoring these statistics?
    All advice most welcome.
    Ross.

    Hi Ross,
    we'll review the statistics reported and check why it is not changing. The frequency is currently hard-coded (5 minutes), and there is no parameter on the configuration file to change that. We may consider this in the future.
    Joao

  • Disabling Spatial data cache for one theme?

    How can I accomplish this. I have a crude editing application and this cache is preventing the updates from being seen in the ThemeBasedFOI under oracle maps. The ThemeBasedFOI.refresh() seems to have no effect.
    I have confirmed that disabling the entire cache resolves the problem, but I have another application that needs this cache on the mapviewer, so turning off the whole cache isn't a good option.
    So, can I mark a single theme to be ignored in this cache?

    You can set the caching mode for each geometry theme individually (NONE, NORMAL (default) or ALL). Using MapBuilder, go to the Advanced panel on the theme editor, and select NONE as caching mode.
    Joao

  • Spatial data and 8i versions?

    Is the Spatial Data option only available with the 8i Enterprise edition or is it also available with the 8i Standard edition?

    Spatial is only available
    with Enterprise edition.
    null

  • Spacial Data Cache stats

    The mapviewer 10.1.2 UG talks about turning on the report_stats option in the conf file to dump out the cache stats every 5 minutes. Where does this data dump to? I assumed it would be the default log file, but I don't see this happening. What am I missing?

    Thanks, I switched the logging to finest and now I'm seeing the information being written. Another question, everytime is reports, it always reports:
    MapViewer Spatial Data Cache info (upper limit=524288kb):
    In Memory Cache Size: 0 kb
    Nothing ever seems to be saved in cache. Why is this?

  • Keep Oracle Spatial data in Coherence Caches?

    Can I keep Oracle Spatial data in Coherence Caches?

    You can store the Oracle Spatial data in Coherence caches. But creating Spatial indexes in Coherence neeeds too much effort, I guess. How do you create the Spatial geocoding package, map symbols, map styling rules and Spatial network model?
    Edited by: junez on 07-Jan-2010 12:24

  • Spatial data warehouse

    hello,
    i'm doing a research in spatial data warehouse, does anyone who had doing the same thing? and are there any article that explain about it? (especially the ETL process).
    Does OWB support spatial data type?
    thanks
    hadi

    Hi Hakan,
    it's not easy to give a quick answer here.
    a) you want to compare warehouse tables with spatial tables
    To answer this very well you should define what is a warehouse table and what is a spatial table. In this forum you will get for spatial tables the definition "A spatial table is a table with one or more columns of type SDO_GEOMETRY". How do you define a spatial table and how do you define a warehouse table?
    b) you ask for performance
    Performance is not depending only on table type. Performance is depending on a lot of steps. For example on the work which has to be done to answer the question, can data read from buffer cache or must they be read from physical devices, execution plan .....
    I don't know if there is a official statement from Oracle which is usefull to answer your query.
    Can you ask a little bit particular please?
    In my experience there it is not adviseable to store tables in different databases (instances) when I have to query it together. If you split the tables in different instances, the execution has much more overhead because you have to talk to 2 instances and it will very hard for the optimizer to find the best execution plan.
    Regards
    U. Martin

  • Web Application - Data caching of enterprise data

    Sorry in advance if this is off-topic but I can't find anywhere else to post this type of question.
    I am looking for information/suggestions such as books, technology or design methodology for my enterprise web applications. These sites are currently up and functional using only JSP, servlets and regular Java classes stored in a web application session to provide data caching and access. We are using Weblogic Server 6.1 running on an AIX Unix system at this time. I'm not sure that this is the best design architecture as our web sessions are getting too large but I can't think of any other Java technology to use and I need some help. Here's an overview of our environment and our needs.
    Our core data is held in a mainframe based IMS system. Some DB2 is also used. Access to this data is through IMS COBOL transactions which we can execute with IMS Connect. We also use some JDBC to get to the DB2 tables directly where available.
    Some overall application data is cached when the web application is deployed. We use singleton classes which are created and refreshed at deployment and they then refresh themselves from the sources every 24 hours.
    Each time a user logs in we execute several IMS transactions and JDBC calls to cache user specific data in regular Java classes which are then simply placed in the users web session where we access them from JSP, servlets and other Java classes. The fields in these Java classes range from any type of primitive field to TreeMaps of other Java classes. As the data is cached it is sorted and other fields are calculated and stored in these classes. As the user progresses through the system we then may have to do several other IMS transaction and JDBC calls to collect other types of data. All of this is then also added to the users session. Most of this in inquiry. We do allow transactions but those are built from user input and data already cached and are then we just execute the IMS transactions with the input.
    As our application has grown these Java classes have gotten larger and larger. And since these are simply stored in server memory in the web sessions then these are also getting huge. I'm concerned that this is not the best way for this application to be architected. Is there something else we should be doign? I simply don't understand how Entity Java Beans could be used but then again I don't know much about them. I wouldn't think that caching the data to a local database and accessing it from there would be any more efficient and would probably just slow down the system from all the I/O.
    Any help or direction would be greatly appreciated.

    The best book you can buy is 'Professional Java Server Programming, j2ee edition' by Wrox. It is by far the best reference I've used. Another quick reference consideration might be the j2ee book provided by codenotes... its quick and to the point.

  • Best Practice for Storing Spatial Data in Multiple Projections?

    From what I've been able to determine MS SQL can't do reprojections is that correct? Assuming it is, the state of Washington requires that our GIS data be managed in Washington Stat Plane South
    but for our web mapping sites need the data in Web Mercator.  Is it OK then to have two geometry columns in a spatial enabled table, say a county table, one in WSPS and the other in WM? 
    I’m coming at this from a 30 year background in GIS using ESRI software. 
    Usually we would store the shape / geometry in one projection and project it to other on the fly when needed. 
    That way there is only one definitive source.  I don’t see a way to do this in MS SQL.

    Hi Scott.
    Storing two columns of spatial data is fine in SQL Server. And you are correct that there is no built-in reprojection in SQL Server, most folks do that as part of data loading. There was talk of porting parts of ogr2ogr to SQLCLR, but I don't think anyone
    did that.
    Cheers, Bob

  • BAM Report and Active data cache

    I am having problems with reports that have automatic active data retrieval.
    It does not work.
    If I load the report it extracts the data correctly from an external data source. If I Reprompt or refresh it brings back changed data from the data source.
    It does not automatically poll for changes even though it is set in the report properties.
    If I stop and start the Active data cache service it starts polling and reconnecting, but not resynching the data.
    In the Active data cache log I have the following entries :
    2005-12-01 09:36:54,062 [3576] ERROR - ActiveDataCache Viewset not found:
    2005-12-01 09:36:54,078 [3576] WARN - ActiveDataCache Exception occurred in method GetChangeList
    Stack trace:
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.GetViewset(String strViewsetID)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.GetChangeList(String strViewsetID, Int32 iTimeout)
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.GetChangeList(String strViewsetID, Int32 iTimeout)
    Has anyone any ideas on what the problem is ?
    Thanks

    Sriram
    Can you identify your company and project.?
    a) Maximum capacity of ADC == maximum capacity of your underlying Oracle DB used by BAM as repository.
    b) Retention period - infinite - data is there in BAM ADC (also in BAM repository) till you manually delete it (there is no automatic delete of old data)
    c) Yes ADC stores its data internally in the Oracle database (aka BAM repository)
    d) No - we generally donot publish ADC internals. This is a known decision since end users will only work either to put data into ADC or plot reports/dashboards from BAM GUI. You have to be very specific on what your are trying to acheive and we can suggest possible alternates.

  • BAM Active data Cache Capacity

    what is the maximum capacity of the active data cache?
    what is the retention period of active data cache?
    does ADC store the data in the internal oracle data base?
    Please provide the documents for the internal implementation of ADC?
    Sriram.S

    Sriram
    Can you identify your company and project.?
    a) Maximum capacity of ADC == maximum capacity of your underlying Oracle DB used by BAM as repository.
    b) Retention period - infinite - data is there in BAM ADC (also in BAM repository) till you manually delete it (there is no automatic delete of old data)
    c) Yes ADC stores its data internally in the Oracle database (aka BAM repository)
    d) No - we generally donot publish ADC internals. This is a known decision since end users will only work either to put data into ADC or plot reports/dashboards from BAM GUI. You have to be very specific on what your are trying to acheive and we can suggest possible alternates.

  • How to check if table or index bound to data cache loaded in memory?

    In my system, thare are many named data caches created and certain objects bind to those data cache.
    For example, I have a large table mytab which is bound to data cache mycache.
    When I issue a sql like select * from mytab where x=y, run it at first time is is very slow.  run it again and again. then it very fast. it means data loaded in cahce and ready for same query.
    Question:
    1. How can I know if the table mytab has been loaded in data cache mycache?
    2. How to load mytab into data cahce mycache one time for all query in the feature?

    one way to monitor is:
    select CacheName,DBName,OwnerName,ObjectName,IndexID,sum(CachedKB) as "CachedKb"
    from master..monCachedObject
    group by CacheName,DBName,OwnerName,ObjectName,IndexID
    order by CacheName,DBName,OwnerName,ObjectName,IndexID
    But, you should understand that caches have a finite size, and caches contain "pages" of objects including data pages, index pages, and LOB pages.  Also, caches may have different pool sizes, so a page can be in only one cache pool.  So, if you want  a table and all of it's indexes, text/image pages  to be loaded into a dedicated cache, you need a large enough cache to fit all of those pages, and decide which buffer pool you want them in (typically either the 1 page pool, or the 8 page pool).
    Then, simply execute SQL (or dbcc) commands that access all of those pages in the manner you wish to find them in the cache.  For example, two statements, one that scans the table using 2k reads, and another that scans the index (mytab_ind1) using 2k reads.
    select count(*) from mytab plan '( i_scan mytab_cl mytab) ( prop mytab ( prefetch 2 ) ( lru ) )'
    select count(*) from mytab plan '( i_scan mytab_ind1 mytab) ( prop mytab ( prefetch 2 ) ( lru ) )'
    etc etc.
    used count(*) to limit result sets of examples

  • _WLS_ADMIN000000.DAT Caching Issue

    Hi all,
    I have a strange situation here. My intention is to point my application to a new database. My application is deployed using an .ear file in weblogic 11g and reads database connection properties from a properties file placed in the classpath of the weblogic server.
    Now, I kept the old database up and changed the properties file in Weblogic with the new database server details and restarted the weblogic server and it worked. Then I reverted back my changes to point my application to the old database using the same procedure.
    Then, I turned off my old database and then tried doing the same and while I was trying to start my application from weblogic console,it failed saying "Could not establish a Network Connection", though the new database which I was trying to point was up and running.
    Then I found a file _WLS_<domain_name>_ADMIN000000.DAT in the path ".../weblogic/<domain_name>/servers/payments_admin/data/store/default that was caching the old database details and then I removed the file and restarted the server.
    Now here are the inferences I can draw from this...
    1. While the old database is up and running, the application starts with those old cached details in the .DAT file and still points to the new server.
    2. When the old database is down, the application tries to connect to the old database and hence fails.
    3. So the application uses .DAT file only while starting and then points to the new database.
    I just want to verify if my findings are correct or am I missing something here.
    Please suggest.
    Thanks in advance.
    Regards,
    Pritam

    Pl do not post duplicates - _WLS_ADMIN000000.DAT Caching Issue

  • Weblogic _WLS_ADMIN000000.DAT caching issue

    Hi all,
    I have a strange situation here. My intention is to point my application to a new database. My application is deployed using an .ear file in weblogic 11g and reads database connection properties from a properties file placed in the classpath of the weblogic server.
    Now, I kept the old database up and changed the properties file in Weblogic with the new database server details and restarted the weblogic server and it worked. Then I reverted back my changes to point my application to the old database using the same procedure.
    Then, I turned off my old database and then tried doing the same and while I was trying to start my application from weblogic console,it failed saying "Could not establish a Network Connection", though the new database which I was trying to point was up and running.
    Then I found a file _WLS_<domain_name>_ADMIN000000.DAT in the path ".../weblogic/<domain_name>/servers/payments_admin/data/store/default that was caching the old database details and then I removed the file and restarted the server.
    Now here are the inferences I can draw from this...
    1. While the old database is up and running, the application starts with those old cached details in the .DAT file and still points to the new server.
    2. When the old database is down, the application tries to connect to the old database and hence fails.
    3. So the application uses .DAT file only while starting and then points to the new database.
    I just want to verify if my findings are correct or am I missing something here.
    Please suggest.
    Thanks in advance.
    Regards,
    Pritam

    Pl do not post duplicates - _WLS_ADMIN000000.DAT Caching Issue

Maybe you are looking for