Cached tables...
Hi everybody,
I use Oracle 10g v2 database on XP platform. In order to make some tests , i want to cache 4 tables whose rows and row lengths -querying the num_rows,avg_row_len from user_tables - are as follows:
Table A:
NUM_ROWS AVG_ROW_LEN NUM_ROWS*AVG_ROW_LEN
97 36 3492
Table B:
NUM_ROWS AVG_ROW_LEN NUM_ROWS*AVG_ROW_LEN
233 40 9320
Table C:
NUM_ROWS AVG_ROW_LEN NUM_ROWS*AVG_ROW_LEN
1 70 70
Table D:
NUM_ROWS AVG_ROW_LEN NUM_ROWS*AVG_ROW_LEN
6 23 138
So totally , i need at least-estimated average memory space- 13020bytes in the KEEP buffer pool ,in order to keep the above tables cached.
So , should i set the DB_KEEP_CACHE_SIZE init parameter to 15Kb..???
The Oracle Doc points out about the range of its value...
"Minimum: 0 (values greater than zero are automatically modified to be either the user-specified-size rounded up to granule size or 4MB * number of CPUs * granule size, whichever is greater)"
My computer has 2-CPU.
Something else...
By default , the initial value is 0. By setting a value other than 0 , is it get influenced any other type of memory pool(shared pool,db buffer cache) size??? or it simply the value i set is added to the total SGA memory????
Thanks ,for your interest...
Simon
if you are not using multi block size tablespaces which these tables you will alter to keep pool setting DB_KEEP_CACHE_SIZE = "total blocks" will do, in order to check the efficiency of your new pool you can view the statistics from the advisor.
Similar Messages
-
How to achieve transport of value mapping replication cache table values ?
During the migration of our interface from XI3.0 to PI 7.11,
I need to transport the value mapping replication cache table values present in cache monitoring of runtime workbench in
XI 3.0 PRD to PI 7.11 DEV .
Please let me know the ways to acheive this so that I can have the same values present in PI 7.11 Value Mapping Cache table as maintained in XI 3.0.
Please point me into correct direction.
Regards
PSClick on "Tools" option, select "Export Configuration Objects" -> "Individual Objects" -> Choose the "Value Mapping Group" type, and then select the value mappings you want to transport.
-
Force mapping to a specific MAC address a multicast IP address in ARP cache table with netsh
Hi all,
I would like to know if there is any solution (netsh option, registry entry, whatever...) to force mapping a given MAC address to a multicast IP address (224.x.y.z) in my ARP cache table.
I am doing the following:
netsh.exe interface ip add neighbors "Ethernet" "224.224.xxx.yyy"
"00-80-EE-UU-VV-WW"
But the entry in the ARP table is substitued by the calculated multicast MAC@ corresponding to my multicast IP@ :
netsh.exe interface ip show neighbors "Ethernet"
Interface 12 : Ethernet
Internet Address
Physical Address Type
224.0.0.22
01-00-5e-XX-YY-ZZ
static
224.224.yyy.zzz
01-00-5e-UU-VV-WW
static
(For information, calculation of the Multicast MAC Address is described in RFC1112§6.4 -> The MAC@ equals 01-00-5e + the last 23 digits of the multicast MAC Address)
My problem is that I'm not using an Ethernet network but an AFDX (used on Airbus A380, Boeing 787 Dreamliner, by the NASA...). This network topology is a deterministic Ethernet. The network must know accurately where each network packet is going. Thus...
the multicast MAC@ cannot be accepted and packet destinated to that MAC@ are not going anywhere.
So, I must match accurately my multicast IP@ to my MAC@ (00-80...).
It used to work with Windows XP (which was not doing any "magical" MAC@ substitution on multicast IP@), but since Windows Vista, netsh is doing the substitution described above. Is there any way to disable this substitution or force my IP
to MAC mapping in ARP table? And of course, I'm not using XP anymore ;)... but a tablet with Windows 8.1.
Thanks for any help.
Cheers,
Olivier.Hi,
The article you pointed me to is just an explanation of what I said in my original post : "Multicast MAC Address is described in RFC1112§6.4".
But, as I said in my original post, this is true ONLY for Ethernet network. And I am NOT on an Ethernet network.
So MAC address automatic calculation for my IP address done by Windows/netsh/arp is wrong in my case. The calculation Windows is doing is correct ONLY for Ethernet network. Since I am not on Ethernet, I don't want these calculations, and I'm looking for
a solution to disable them.
So, the underlying question is : "Is Microsoft/netsh/arp able to handle other network's type than Ethernet ?"
Thanks,
Olivier Dupré. -
Creating cache tables in the database
I was told there are 2 ways to create the cache tables/triggers/etc. in a database.
1. Modify the ld_cache.sql file shipped with ALDSP 2.5 to use our names for the cache objects and manually run the SQL against the database.
2. In the ALDSP console, click the "Enable cache" checkbox and add the table name for a data service which uses the cache.
I've done this successfully with method #1. I just got an error with method #2.
Is method #2 a correct way to create the cache objects (for the first time) in a database?
Thanks,
MichaelThis is running in production mode on ALDSP 2.5, WLS 8.1.6, Sun JDK 1.4.2_11.
Error is
com.bea.ld.CacheException: Cache is not active
at com.bea.ld.server.cache.DBCache.checkStatus(DBCache.java:671)
at com.bea.ld.server.cache.DBCache.getTotalFunctionCacheCount(DBCache.java:631)
at com.bea.ld.ServerBean.getTotalFunctionCacheCount(ServerBean.java:655)
at com.bea.ld.Server_ydm4ie_EOImpl.getTotalFunctionCacheCount(Server_ydm4ie_EOImpl.java:262)
at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) -
I would like to submit the following information to the forum board for feedback. I had the strangest entry hit my cache table in the past hour. At this point I do not know if I have a missing link in my security or if it is time for a program patch. The first entry is the table entry. From there I began a “Whois” search. I have provided three searches for review. The security team may want to have a look.
93.248.250.17.in-addr.arpa
Record Name . . . . . : 93.248.250.17.in-addr.arpa
Record Type . . . . . : 12
Time To Live . . . . : 84614
Data Length . . . . . : 4
Section . . . . . . . : Answer
PTR Record . . . . . : swquery.apple.com
C:\>cd whosip
C:\WhosIP>cd whosip
C:\WhosIP\whosip>whosip -r 93.248.250.17
WHOIS Source: RIPE NCC
IP Address: 93.248.250.17
Country: Germany
Network Name: DE-TELEKOM-20080212
Owner Name: Deutsche Telekom AG
From IP: 93.192.0.0
To IP: 93.255.255.255
Allocated: Yes
Contact Name: Deutsche Telekom LIR Role Account
Address: Deutsche Telekom AG, Internet Services, Ammerlaender Heerstrasse 1
38, DE 26129 Oldenburg, Germany
Email: [email protected]
Abuse Email:
Phone: +49 441 234 4530
Fax: +49 441 234 4589
WHOIS Record:
% This is the RIPE Whois query server #1.
% The objects are in RPSL format.
% Rights restricted by copyright.
% See http://www.ripe.net/db/copyright.html
% Information related to '93.192.0.0 - 93.255.255.255'
inetnum: 93.192.0.0 - 93.255.255.255
org: ORG-DTA2-RIPE
netname: DE-TELEKOM-20080212
descr: Deutsche Telekom AG
country: DE
admin-c: DTAG-RIPE
tech-c: DTAG-RIPE
status: ALLOCATED PA
notify: [email protected]
mnt-by: RIPE-NCC-HM-MNT
mnt-lower: DTAG-NIC
mnt-routes: DTAG-RR
mnt-domains: DTAG-NIC
changed: [email protected] 20080212
source: RIPE
organisation: ORG-DTA2-RIPE
org-name: Deutsche Telekom AG
org-type: LIR
address: Deutsche Telekom AG, DT TS
Zentraler Service
Ammerlaender Heerstrasse 138
D-26129 Oldenburg
GERMANY
phone: +49 441 234 4530
fax-no: +49 441 234 4589
e-mail: [email protected]
admin-c: AK250-RIPE
admin-c: BB3803-RIPE
admin-c: BP32-RIPE
admin-c: DTAG-RIPE
admin-c: ES4155-RIPE
admin-c: HI56-RIPE
admin-c: HB3076-RIPE
admin-c: IB1248-RIPE
admin-c: KK281-RIPE
admin-c: LB470-RIPE
admin-c: LF1459-RIPE
admin-c: MBT1-RIPE
admin-c: PA3357-RIPE
admin-c: RF2686-RIPE
admin-c: RV32
admin-c: SL7866-RIPE
admin-c: SH4639-RIPE
admin-c: VZ56-RIPE
mnt-ref: DTAG-NIC
mnt-ref: RIPE-NCC-HM-MNT
mnt-by: RIPE-NCC-HM-MNT
changed: [email protected] 20040415
changed: [email protected] 20040901
changed: [email protected] 20041104
changed: [email protected] 20041104
changed: [email protected] 20041112
changed: [email protected] 20041112
changed: [email protected] 20041112
changed: [email protected] 20041119
changed: [email protected] 20041126
changed: [email protected] 20041130
changed: [email protected] 20050201
changed: [email protected] 20050207
changed: [email protected] 20050214
changed: [email protected] 20050215
changed: [email protected] 20050316
changed: [email protected] 20050426
changed: [email protected] 20050503
changed: [email protected] 20050509
changed: [email protected] 20050509
changed: [email protected] 20050509
changed: [email protected] 20050510
changed: [email protected] 20050510
changed: [email protected] 20050601
changed: [email protected] 20050609
changed: [email protected] 20050704
changed: [email protected] 20050704
changed: [email protected] 20050915
changed: [email protected] 20050921
changed: [email protected] 20051116
changed: [email protected] 20060103
changed: [email protected] 20060105
changed: [email protected] 20060116
changed: [email protected] 20060201
changed: [email protected] 20060201
changed: [email protected] 20060201
changed: [email protected] 20060201
changed: [email protected] 20060208
changed: [email protected] 20060209
changed: [email protected] 20060223
changed: [email protected] 20060227
changed: [email protected] 20060227
changed: [email protected] 20060310
changed: [email protected] 20060310
changed: [email protected] 20060310
changed: [email protected] 20060310
changed: [email protected] 20060314
changed: [email protected] 20060314
changed: [email protected] 20060314
changed: [email protected] 20060314
changed: [email protected] 20060314
changed: [email protected] 20060320
changed: [email protected] 20060321
changed: [email protected] 20060321
changed: [email protected] 20060327
changed: [email protected] 20060330
changed: [email protected] 20060404
changed: [email protected] 20060615
changed: [email protected] 20060623
changed: [email protected] 20060626
changed: [email protected] 20060626
changed: [email protected] 20060626
changed: [email protected] 20060703
changed: [email protected] 20060922
changed: [email protected] 20061012
changed: [email protected] 20061013
changed: [email protected] 20061023
changed: [email protected] 20061025
changed: [email protected] 20061106
changed: [email protected] 20061114
changed: [email protected] 20061205
changed: [email protected] 20061213
changed: [email protected] 20061229
changed: [email protected] 20070110
changed: [email protected] 20070116
changed: [email protected] 20070118
changed: [email protected] 20070118
changed: [email protected] 20070131
changed: [email protected] 20070320
changed: [email protected] 20070326
changed: [email protected] 20070329
changed: [email protected] 20070402
changed: [email protected] 20070524
changed: [email protected] 20070530
changed: [email protected] 20070530
changed: [email protected] 20070530
changed: [email protected] 20070531
changed: [email protected] 20070604
changed: [email protected] 20070604
changed: [email protected] 20070604
changed: [email protected] 20070605
changed: [email protected] 20070627
changed: [email protected] 20070629
changed: [email protected] 20070702
changed: [email protected] 20070710
changed: [email protected] 20070810
changed: [email protected] 20070810
changed: [email protected] 20070813
changed: [email protected] 20070814
changed: [email protected] 20071011
changed: [email protected] 20071101
changed: [email protected] 20080117
changed: [email protected] 20080229
changed: [email protected] 20080229
changed: [email protected] 20080304
changed: [email protected] 20080901
changed: [email protected] 20081121
changed: [email protected] 20081124
changed: [email protected] 20081124
changed: [email protected] 20081125
changed: [email protected] 20090103
changed: [email protected] 20090220
changed: [email protected] 20090220
source: RIPE
role: Deutsche Telekom LIR Role Account
address: Deutsche Telekom AG
address: Internet Services
address: Ammerlaender Heerstrasse 138
address: DE 26129 Oldenburg
address: Germany
phone: +49 441 234 4530
fax-no: +49 441 234 4589
e-mail: [email protected]
admin-c: RV32
admin-c: KK281-RIPE
tech-c: RV32
tech-c: BP32-RIPE
tech-c: MBT1-RIPE
tech-c: AK250-RIPE
tech-c: KK281-RIPE
tech-c: HI56-RIPE
tech-c: LB470-RIPE
tech-c: IB1248-RIPE
tech-c: SH4639-RIPE
tech-c: VZ56-RIPE
tech-c: ES4155-RIPE
tech-c: LF1459-RIPE
tech-c: SL7866-RIPE
tech-c: RF2686-RIPE
tech-c: PA3357-RIPE
tech-c: BB3803-RIPE
tech-c: HB3076-RIPE
nic-hdl: DTAG-RIPE
mnt-by: DTAG-NIC
changed: [email protected] 20090220
source: RIPE
% Information related to '93.192.0.0/10AS3320'
route: 93.192.0.0/10
descr: Deutsche Telekom AG
Internet Service Provider
origin: AS3320
member-of: AS3320:RS-PA-TELEKOM
mnt-by: DTAG-RR
changed: [email protected] 20080213
source: RIPE
***Broadbandreports.com whois search:*************
OrgName: RIPE Network Coordination Centre
OrgID: RIPE
Address: P.O. Box 10096
City: Amsterdam
StateProv:
PostalCode: 1001EB
Country: NL
ReferralServer: whois://whois.ripe.net:43
NetRange: 93.0.0.0 - 93.255.255.255
CIDR: 93.0.0.0/8
NetName: 93-RIPE
NetHandle: NET-93-0-0-0-1
Parent:
NetType: Allocated to RIPE NCC
NameServer: NS-PRI.RIPE.NET
NameServer: SEC1.APNIC.NET
NameServer: SEC3.APNIC.NET
NameServer: TINNIE.ARIN.NET
NameServer: SUNIC.SUNET.SE
NameServer: NS3.NIC.FR
NameServer: NS-EXT.ISC.ORG
NameServer: NS.LACNIC.NET
Comment: These addresses have been further assigned to users in
Comment: the RIPE NCC region. Contact information can be found in
Comment: the RIPE database at http://www.ripe.net/whois
RegDate: 2007-03-27
Updated: 2007-04-03
# ARIN WHOIS database, last updated 2009-02-27 19:10
# Enter ? for additional hints on searching ARIN's WHOIS database
*******MarkMonitor.com whois search:***************
% This is the RIPE Whois query server #3.
% The objects are in RPSL format.
% Rights restricted by copyright.
% See http://www.ripe.net/db/copyright.html
% Note: This output has been filtered.
% To receive output for a database update, use the "-B" flag.
% Information related to '93.192.0.0 - 93.255.255.255'
inetnum: 93.192.0.0 - 93.255.255.255
org: ORG-DTA2-RIPE
netname: DE-TELEKOM-20080212
descr: Deutsche Telekom AG
country: DE
admin-c: DTAG-RIPE
tech-c: DTAG-RIPE
status: ALLOCATED PA
mnt-by: RIPE-NCC-HM-MNT
mnt-lower: DTAG-NIC
mnt-routes: DTAG-RR
mnt-domains: DTAG-NIC
source: RIPE # Filtered
organisation: ORG-DTA2-RIPE
org-name: Deutsche Telekom AG
org-type: LIR
address: Deutsche Telekom AG, DT TS
Zentraler Service
Ammerlaender Heerstrasse 138
D-26129 Oldenburg
GERMANY
phone: +49 441 234 4530
fax-no: +49 441 234 4589
e-mail: [email protected]
admin-c: AK250-RIPE
admin-c: BB3803-RIPE
admin-c: BP32-RIPE
admin-c: DTAG-RIPE
admin-c: ES4155-RIPE
admin-c: HI56-RIPE
admin-c: HB3076-RIPE
admin-c: IB1248-RIPE
admin-c: KK281-RIPE
admin-c: LB470-RIPE
admin-c: LF1459-RIPE
admin-c: MBT1-RIPE
admin-c: PA3357-RIPE
admin-c: RF2686-RIPE
admin-c: RV32
admin-c: SL7866-RIPE
admin-c: SH4639-RIPE
admin-c: VZ56-RIPE
mnt-ref: DTAG-NIC
mnt-ref: RIPE-NCC-HM-MNT
mnt-by: RIPE-NCC-HM-MNT
source: RIPE # Filtered
role: Deutsche Telekom LIR Role Account
address: Deutsche Telekom AG
address: Internet Services
address: Ammerlaender Heerstrasse 138
address: DE 26129 Oldenburg
address: Germany
phone: +49 441 234 4530
fax-no: +49 441 234 4589
e-mail: [email protected]
admin-c: RV32
admin-c: KK281-RIPE
tech-c: RV32
tech-c: BP32-RIPE
tech-c: MBT1-RIPE
tech-c: AK250-RIPE
tech-c: KK281-RIPE
tech-c: HI56-RIPE
tech-c: LB470-RIPE
tech-c: IB1248-RIPE
tech-c: SH4639-RIPE
tech-c: VZ56-RIPE
tech-c: ES4155-RIPE
tech-c: LF1459-RIPE
tech-c: SL7866-RIPE
tech-c: RF2686-RIPE
tech-c: PA3357-RIPE
tech-c: BB3803-RIPE
tech-c: HB3076-RIPE
nic-hdl: DTAG-RIPE
mnt-by: DTAG-NIC
source: RIPE # Filtered
% Information related to '93.192.0.0/10AS3320'
route: 93.192.0.0/10
descr: Deutsche Telekom AG
Internet Service Provider
origin: AS3320
member-of: AS3320:RS-PA-TELEKOM
mnt-by: DTAG-RR
source: RIPE # FilteredThis updates my report.
The problem remains with iPhone version 1.1.1.
I can replicate it consistently. Whenever I change from WiFi to EDGE or vice-versa and the IP address of a URL according to the new network's name server changes accordingly from an inside to an outside IP address or vice-versa, when I again seek to access the same URL the iPhone queries the previous IP address, rather than getting the IP address from the new network's name server. The problem does not exist if I enter the IP address directly into Safari's address bar.
In my case, the URL is http://utilika.org. Its IP address according to the EDGE name server is 71.216.5.118. Its IP address according to my internal WiFi network's name server is 192.168.1.3.
If I change between the networks and want the iPhone to ask the new network's name server for the same URL's IP address, I can accomplish this by powering the iPhone off and then on again.
It would be an intelligent feature for the iPhone to notice when there is a change from one network to another and to realize that the new network's name server may not yield the same IP address as the old one, so it would perform a new DNS query when the user again requests the same URL. -
Question relate to cache table?
We plan to "cache" some tables to SGA or DB_keep_cache_size. some questions need to clarify:
1. what different between:
alter table user.table_name cache;
alter TABLE USER.TABLE_NAME storage (buffer_pool keep);
2. if I using either way to cache table, how to check table already "cache"?
Thanks.Hi,
Please see these docs/links.
Using Multiple Buffer Pools
http://download.oracle.com/docs/cd/E11882_01/server.112/e10821/memory.htm#PFGRF94279
Note: 76374.1 - Multiple Buffer Pools
Note: 135223.1 - Oracle Multiple Buffer Pools Feature
Regards,
Hussein -
Siebel Marketing/OBIEE and cache tables
Dear,
Could someone explain to me the mechanism of the cache tables on OBIEE/SIEBEL Marketing.
For example, the MC_ASSET_MK table contains two columns GUID and QUALIFIED_ID. I understand the meaning of the QUALIFIED_ID column. But what is the meaning of the GUID column. Is it a foreign key to another table ? Which table ?
What is the difference between the two tables MC_ASSET_MK and MC_ASSET_SR ?
Thank you very much.Creating Segments in Siebel Marketing Using Siebel Analytics Create Segment View
The create segment view is for users of the Siebel Marketing operational application, Version 7.7, integrated with Siebel Analytics.
Use the create segment view to display a Create Segment link in the results. Users can click this link to create a segment in their Siebel Marketing operational application, based on the results data.
For more information, see the online help for the Marketing Segmentation interface.
To add or modify a Siebel Analytics create segment view
In Siebel Answers, create or modify the request with which you want to work, and then perform one of the following actions:
To add a new create segment view, click the Results tab and choose Other Views > Create Segment from the views drop-down list.
To edit an existing create segment view, click the Results tab, choose Compound Layout from the views drop-down list, and then click the Edit View button for the create segment view.
When you are done, you can save the request with the create segment view -
Hi all,
I use this the function SAPurgeCacheByTable to purge a cache table but i get an error.
the way the function is used is the following :
Call SAPurgeCacheByTable('SH','SH', NULL, 'PRODUCTS');
I put null for catalog
but also i tried that Call SAPurgeCacheByTable('SH',NULL,'SH','PRODUCTS');
I always get the error message 'statement preparatrion failed error towards null'
Any suggestion
thanksInstead of NULL just use ''
SAPurgeCacheByTable('SH','','SH','PRODUCTS');
Michael -
How to purge data cache table using command line
Hi:
Is there a way to purge the data cache table using command line?
thanks!Thanks, Mike.
I'm thinking about the ldconsole provided with ALDSP.
The ldconsole has a link for purging the cache. Is there anything I can leverage from there? Is it a JMX component that I can call? -
JPA 3.0 - Does JDeveloper cache table/schema definition ?
Folks !
I am trying to get JDeveloper 10.1.3.1 to generate JPA/EJB 3,0 entity beans from a dozen or so online tables and it seems to be a hit or miss affair. It seems JDeveloper caches Schema information somewhere and doesn't regenerate classes properly as I change my table design by adding more foreign keys etc. I deleted old classes, deleted and recreated JDBC Connection - but no help. I suspect its keeping the schema information somewhere hidden (for subsequent off line generation) that I can't find and delete.
What am I missing here ? You help will be greatly appreciated.
thanks,Hi,
I found issue but not able to solve right now.
This problem is because of some Persistent cache tables are created using Force UTF-16 Codepage option in Persistent Cache datastore and cannot integrated to server not using this option.
When I set this option in server, it works but it is not working for those which created without Force UTF-16 Codepage option. I re-created Persistent Cache tables again using this option to consistent across but it does not work. Even change Persistent Cache table name and somehow showing same error.
It is running in Windows Server 2008, German OS.
Any suggestion to the problem is appreciated. -
Three questions regarding DB_KEEP_CACHE_SIZE and caching tables.
Folks,
In my Oracle 10g db, which I got in legacy. It has the init.ora parameter DB_KEEP_CACHE_SIZE parameter configured to 4GB in size.
Also there are bunch of tables that were created with CACHE turned on for them.
By querying dba_tables table , with CACHE='Y', I can see the name of these tables.
With time, some of these tables have grown in size (no. of rows) and also some of these tables are not required to be cached any longer.
So here is my first question
1) Is there a query I can run , to find out , what tables are currently in the DB_KEEP_CACHE_SIZE.
2) Also how can I find out if my DB_KEEP_CACHE_SIZE is adqueataly sized or needs to be increased in size,as some of these
tables have grown in size.
Third question
I know for fact, that there are 2 tables that do not need to be cached any longer.
So how do I make sure they do not occupy space in the DB_KEEP_CACHE_POOL.
I tried, alter table <table_name> nocache; statement
Now the cache column value for these in dba_tables is 'N', but if I query the dba_segments tables, the BUFFER_POOL column for them still has value of 'KEEP'.
After altering these tables to nocache, I did bounce my database.
Again, So how do I make sure these tables which are not required to be cached any longer, do not occupy space in the DB_KEEP_CACHE_SIZE.
Would very much appreciate your help.
Regards
AshishHello,
1) Is there a query I can run , to find out , what tables are currently in the DB_KEEP_CACHE_SIZE:You may try this query:
select owner, segment_name, segment_type, buffer_pool
from dba_segments
where buffer_pool = 'KEEP'
order by owner, segment_name;
2) Also how can I find out if my DB_KEEP_CACHE_SIZE is adqueataly sized or needs to be increased in size,as some of these tables have grown in size.You may try to get the total size of the Segments using the KEEP BUFFER:
select sum(bytes)/(1024*10124) "Mo"
from dba_segments
where buffer_pool = 'KEEP';To be sure that all the blocks of these segments (Table / Index) won't be often aged out from the KEEP BUFFER, the total size given by the above query should be less than the size of your KEEP BUFFER.
I know for fact, that there are 2 tables that do not need to be cached any longer.
So how do I make sure they do not occupy space in the DB_KEEP_CACHE_POOL.You just have to execute the following statement:
ALTER TABLE <owner>.<table> STORAGE(BUFFER_POOL DEFAULT);Hope this help.
Best regards,
Jean-Valentin -
Hi,
is there any queries to find which tables has to keep in db_cache_size, db_keep_cache_size and db_recycle_cache_size;Well, let's see:
Rajeysh seems to have missed the point, entirely. V$DB_OBJECT_CACHE is about what's cached in the library cache. That's nothing to do with the buffer cache.
eric has shown how to put a table in the keep pool or cache, but provides no information as to how to query which cache a particular table is currently in.
And Rafi provides a to a good AskTom discussion, but it's pretty lengthy, and I'm not entirely certain it actually answers the question being answered.
The answer to the question that was actually asked is:
select buffer_pool from dba_tables where owner='&owner' and table_name = '&table_name';Hope that helps,
-Mark -
C++ insert into SWT cache table
I' having problems with 'insert into' sentence...
I created SWT cache group. From my c++ application I can't insert any row to this table. It doesn t report any error, the application just stops.
From ttisql I can insert it normally.
I use ttclasses.
try
conn.Insert_Promet(ID_MEDIJA, &ST_ZAPORNE_LISTE, &ST_ZAPORNE_LISTE, stat);
conn.TerminateIfRequested();
conn.Commit(stat);
catch(TTStatus st)
cerr << "Error inserting row " << ID_MEDIJA << ":" << endl << st;
conn.Rollback(stat);
Thanks for replay!I think we need to see the code in your Insert_Promet method plus all other relevant code. There is undoubtedly somethinbg wrong in your code somewhere...
Chris -
Why changes on cached tables can't be propagated to the Oracle tables?
Dear all
I have a Oracle database that i want cache its tables in two Timesten databases operated in two different PCs in a local network. There are all kinds of cache groups. When some changes are applied in
TimesTen databases, propagation to oracle tables fails. This problem occur on global and SWT cache groups. My guess is something wrong about the TimesTen grid.
Error is: [TimesTen][TimesTen 11.2.1.4.0 ODBC Driver][TimesTen]TT5025: Commit failure in Oracle. Transaction must be rolled back in TimesTen. -- file "sqlAPI.c", lineno 3277, procedure
"sb_sqlCompileMulti1()"
OS: windows xp sp3
Timesten version: 11.2.1.4.0
My Oracle: 11g
Regards
shahrokh
Edited by: Shahrokh on Jun 13, 2012 8:54 PMIt difficult to give you a recommendation without knowing the detail.
If you have some level of node affinity in the TimesTen clients then Grid is the perfect solution. How do you know it's not fast enough without testing it?
If you only have occasional updates to the data in the TimesTen clients then using Read-Only cache groups with PASSTHROUGH is the perfect solution. Updates happen on the TimesTen connection but are passed through to Oracle where at the next AUTOREFRESH they are propagated from Oracle to both TimesTen clients. But if you have a large volume of updates this is not a practical solution. If you do have a large volume of updates then you could send the updates directly to Oracle but this of course requires the application to have a connection to TimesTen and a connection to Oracle.
Without more detail I suggest you try these 2 simple approaches to see which one works for you.
What you are asking for is to replicate a change from a TimesTen database to an Oracle database then to another TimesTen database. This is very difficult to achieve with any replication technology. Others in this forum may have other ideas?
Tim -
Populating the cache with VPD tables fails
Using the Add Tables wizard I am trying to add tables to an Oracle Database cache. The tables have had RLS policies applied using the DBMS_RLS package. The Add Tables wizard fails with an ORA-28112 error (failed to execute policy function).
Are there any known problems with cacheing tables of a virtual private database?
Of course we want to cache an entire table, not just a portion as defined by that table's security policy. We have a procedure call that can cause the security policy to return a null predicate (effectively turning off security for all tables). We have set up a logon trigger to run this procedure for the user that populates the cache (we have done this successfully for other users), but we still get the error.
Any help?
Cache system:
SPARC/Solaris 8
9iAS 1.0.2.1
Oracle EE 8.1.7.0
Origin database:
SPARC/Solaris 8
Oracle EE 8.1.7.0
Thanks,
SteveSteve,
In my opinion you should look first into the trace files. They are generally located under
USER_DUMP_DEST directory. I believe that this error normally generates a trace file. So in the trace file you can see that it was trying to do and what happened. Also this may be happening due to some permission problems as well e.g. logged user versus policy user etc.
HTH
Prakash
null
Maybe you are looking for
-
Oracle Enterprise Manager Agent deployment (Installation and Configuration) Error
Hello, I am trying to create an agent on a linux server using Oracle Enterprise Manager 12.1.0.3. The user is created with root privilege on the server, by change /etc/sudoers entry username the same as the root entry. After that I tried to add host
-
S everyone else still getting play back errors with LP8?
Hope this is resolved, i use a M-Powered copy of Pro Tools to track against a 2 mix of the Logic Session, and i barely get the tracks i did in LP6 to play with out a error, i can not run any midi, i got more tracks in previous version to play back th
-
Media Encoder keeps putting a glitch in my .m2v file
It happens in different points in the movie.The glitch is actually one frame from different chapters or the same chapter in the movie. Audio is fine. I've tried encoding thru encore then right from the premiere timeline and even opening up media enco
-
Starting from external hard drive
Ok so I have installed the operating system on my external hard drive. Then when I turn on my computer and hold alt(option) the external hard drive icon comes up and then I select it and then my computer freezes. Does anyone know why this could be ha
-
How to Export/Import specific/selected table columns (can database view be
All, I like to export and import some selected columns and rows of a table from one oracle database to another database. For example, I like to export the following SQL's result data to another oracle database. select ename, sal from emp where dno =