Oracle Coherence database sync while table refresh
Hello,
I am using Oracle Coherence to cache a database table for read only puposes. However, my question is that this table needs to be fully refreshed every night and during this time I want to retain the cache in Oracle Coherence and do not want it to be recycled as well since it has to be available 24X7. Is there a way to do that? I am thinking of using a custom CacheStore class that will have its own local cache of the table or the other approach will be to look up in the shadow table while the primary table is being refreshed? Are there any other optimum ways to do this? The primary consideration for me is fast response.
Any help will be appreciated.
Thanks,
Jay
Hi Jay,
No, I am not suggesting to stop or start the JVMs. Everything will continue run as it was running ...
The Nightly refresh process that loads the data will load in non-active version of the cache (dataCache). Once the load is completed, it will update the MarkerCache (markerCache) with this version. All the client requests will follow something like this:
//Lookup in markerCache which version of the data cache is active
NamedCache markerCache=CacheFactory.getCache("markerCache");
String str=markerCache.get("dataCacheName");
//The cache which has the refreshed and updated data (dataCachev1 or dataCachev2)
NamedCache dataCache=CacheFactory.getCache(str);
For the nightly refresh process, you will do something like this:
NamedCache markerCache=CacheFactory.getCache("markerCache");
String str=markerCache.get("dataCacheName");
if ("dataCachev1".equals(str)){
NamedCache newDataCache=CacheFactory.getCache("dataCachev2");
//load the data{ }
//update the marker Cache with this newly loaded cache; from now on the client will start using this newly loaded cache
markerCache.get("dataCacheName","dataCachev2");
// wait for few minutes to let all the old request complete
//destroy the old cache
CacheFactory.getCache("dataCachev1").destroy();
} else{
//do the reverse for dataCachev1 and dataCachev2
}The only thing you need to note is that there might still be some requests using the dataCachev1 when it is destroyed so you need to handle the exception gracefully at the client application.
Please note, that you should optimize the code to minimize the time spent in lookup of the markerCache by using Maplisteners as appropriate.
Hope this helps!
Cheers,
NJ
Similar Messages
-
While creating MViews in oracle 9i database connecting to table in an orac
Hi all,.
While creating MViews in oracle 9i database connecting to table in an oracle 11g database....
Eg : create materilized view testmview as select * from testtable@db_linkname
ORA-03113: end-of-file on communication channel
any idea
Regards,
ShijuThere would be a trace file written on the 11g database server. Please review the trace file.
Your 9.2 environment must be running 9.2.0.4 or higher. The 9.2.0.4 is the minimum patchset level required for it to be supported connecting to an 11g (11.1 or 11.2) database.
See "Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]" on support.oracle.com
Hemant K Chitale -
Oracle 9i - Database closed while normal use
Hi all,
I have big problem with my 9i database. One of my sid get closed (sort of shutdown) while we're using it. I have no trace in alert, and no trace dumped.
I don't what to do ? I have tried new allocation of space memory... Dont' work.
It shutdown (no trace of this shutdown ot any error in alert) and I just restart it and it go ok for a while. When it get closed, there's no special things running on it, just normal activity.
Do you have any idea on what I must do to know a little bit more from where the problem is ?
ThanksNothing interesting on the events on the server. That's my problem.
It's a local storage. No bay. just raid 0 + 1
Here is a part of my alert
ARC1: Evaluating archive log 2 thread 1 sequence 16918
ARC1: Beginning to archive log 2 thread 1 sequence 16918
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16918.ARC'
Tue Dec 12 09:58:53 2006
ARC1: Completed archiving log 2 thread 1 sequence 16918
Tue Dec 12 10:16:20 2006
Thread 1 advanced to log sequence 16920
Tue Dec 12 10:16:20 2006
Current log# 1 seq# 16920 mem# 0: E:\ANTI\REDO\REDO01.LOG
Tue Dec 12 10:16:21 2006
ARC0: Evaluating archive log 4 thread 1 sequence 16919
Tue Dec 12 10:16:21 2006
ARC0: Beginning to archive log 4 thread 1 sequence 16919
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16919.ARC'
Tue Dec 12 10:16:31 2006
ARC0: Completed archiving log 4 thread 1 sequence 16919
Tue Dec 12 10:17:12 2006
Thread 1 advanced to log sequence 16921
Current log# 3 seq# 16921 mem# 0: E:\ANTI\REDO\REDO03.LOG
Tue Dec 12 10:17:12 2006
ARC1: Evaluating archive log 1 thread 1 sequence 16920
ARC1: Beginning to archive log 1 thread 1 sequence 16920
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16920.ARC'
ARC1: Completed archiving log 1 thread 1 sequence 16920
Tue Dec 12 10:18:10 2006
Thread 1 advanced to log sequence 16922
Current log# 2 seq# 16922 mem# 0: E:\ANTI\REDO\REDO02.LOG
Tue Dec 12 10:18:10 2006
ARC0: Evaluating archive log 3 thread 1 sequence 16921
ARC0: Beginning to archive log 3 thread 1 sequence 16921
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16921.ARC'
ARC0: Completed archiving log 3 thread 1 sequence 16921
Tue Dec 12 10:33:38 2006
Thread 1 advanced to log sequence 16923
Tue Dec 12 10:33:38 2006
Current log# 4 seq# 16923 mem# 0: E:\ANTI\REDO\REDO04.LOG
Tue Dec 12 10:33:39 2006
ARC1: Evaluating archive log 2 thread 1 sequence 16922
Tue Dec 12 10:33:39 2006
ARC1: Beginning to archive log 2 thread 1 sequence 16922
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16922.ARC'
ARC1: Completed archiving log 2 thread 1 sequence 16922
Tue Dec 12 10:46:37 2006
Thread 1 advanced to log sequence 16924
Current log# 1 seq# 16924 mem# 0: E:\ANTI\REDO\REDO01.LOG
Tue Dec 12 10:46:37 2006
ARC0: Evaluating archive log 4 thread 1 sequence 16923
ARC0: Beginning to archive log 4 thread 1 sequence 16923
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16923.ARC'
Tue Dec 12 10:46:47 2006
ARC0: Completed archiving log 4 thread 1 sequence 16923
Tue Dec 12 10:47:40 2006
Thread 1 advanced to log sequence 16925
Current log# 3 seq# 16925 mem# 0: E:\ANTI\REDO\REDO03.LOG
Tue Dec 12 10:47:40 2006
ARC1: Evaluating archive log 1 thread 1 sequence 16924
ARC1: Beginning to archive log 1 thread 1 sequence 16924
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16924.ARC'
Tue Dec 12 10:47:50 2006
ARC1: Completed archiving log 1 thread 1 sequence 16924
Tue Dec 12 10:48:23 2006
Thread 1 advanced to log sequence 16926
Current log# 2 seq# 16926 mem# 0: E:\ANTI\REDO\REDO02.LOG
Tue Dec 12 10:48:23 2006
ARC0: Evaluating archive log 3 thread 1 sequence 16925
ARC0: Beginning to archive log 3 thread 1 sequence 16925
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16925.ARC'
Tue Dec 12 10:48:33 2006
ARC0: Completed archiving log 3 thread 1 sequence 16925
Tue Dec 12 10:48:42 2006
Thread 1 advanced to log sequence 16927
Current log# 4 seq# 16927 mem# 0: E:\ANTI\REDO\REDO04.LOG
Tue Dec 12 10:48:42 2006
ARC1: Evaluating archive log 2 thread 1 sequence 16926
ARC1: Beginning to archive log 2 thread 1 sequence 16926
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16926.ARC'
Tue Dec 12 10:48:52 2006
ARC1: Completed archiving log 2 thread 1 sequence 16926
Tue Dec 12 10:49:00 2006
Thread 1 advanced to log sequence 16928
Current log# 1 seq# 16928 mem# 0: E:\ANTI\REDO\REDO01.LOG
Tue Dec 12 10:49:00 2006
ARC0: Evaluating archive log 4 thread 1 sequence 16927
ARC0: Beginning to archive log 4 thread 1 sequence 16927
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16927.ARC'
Tue Dec 12 10:49:11 2006
ARC0: Completed archiving log 4 thread 1 sequence 16927
Tue Dec 12 10:49:21 2006
Thread 1 advanced to log sequence 16929
Current log# 3 seq# 16929 mem# 0: E:\ANTI\REDO\REDO03.LOG
Tue Dec 12 10:49:21 2006
ARC1: Evaluating archive log 1 thread 1 sequence 16928
ARC1: Beginning to archive log 1 thread 1 sequence 16928
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16928.ARC'
Tue Dec 12 10:49:32 2006
ARC1: Completed archiving log 1 thread 1 sequence 16928
Tue Dec 12 10:49:51 2006
Thread 1 advanced to log sequence 16930
Current log# 2 seq# 16930 mem# 0: E:\ANTI\REDO\REDO02.LOG
Tue Dec 12 10:49:51 2006
ARC0: Evaluating archive log 3 thread 1 sequence 16929
ARC0: Beginning to archive log 3 thread 1 sequence 16929
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16929.ARC'
Tue Dec 12 10:50:01 2006
ARC0: Completed archiving log 3 thread 1 sequence 16929
Tue Dec 12 10:56:17 2006
Thread 1 advanced to log sequence 16931
Current log# 4 seq# 16931 mem# 0: E:\ANTI\REDO\REDO04.LOG
Tue Dec 12 10:56:17 2006
ARC1: Evaluating archive log 2 thread 1 sequence 16930
ARC1: Beginning to archive log 2 thread 1 sequence 16930
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16930.ARC'
Tue Dec 12 10:56:27 2006
ARC1: Completed archiving log 2 thread 1 sequence 16930
Tue Dec 12 10:56:36 2006
Thread 1 advanced to log sequence 16932
Current log# 1 seq# 16932 mem# 0: E:\ANTI\REDO\REDO01.LOG
Tue Dec 12 10:56:36 2006
ARC0: Evaluating archive log 4 thread 1 sequence 16931
ARC0: Beginning to archive log 4 thread 1 sequence 16931
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16931.ARC'
Tue Dec 12 10:56:46 2006
ARC0: Completed archiving log 4 thread 1 sequence 16931
Tue Dec 12 10:56:51 2006
Thread 1 advanced to log sequence 16933
Current log# 3 seq# 16933 mem# 0: E:\ANTI\REDO\REDO03.LOG
Tue Dec 12 10:56:51 2006
ARC1: Evaluating archive log 1 thread 1 sequence 16932
ARC1: Beginning to archive log 1 thread 1 sequence 16932
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16932.ARC'
Tue Dec 12 10:57:01 2006
ARC1: Completed archiving log 1 thread 1 sequence 16932
Tue Dec 12 11:11:02 2006
Thread 1 advanced to log sequence 16934
Tue Dec 12 11:11:02 2006
Current log# 2 seq# 16934 mem# 0: E:\ANTI\REDO\REDO02.LOG
Tue Dec 12 11:11:03 2006
ARC0: Evaluating archive log 3 thread 1 sequence 16933
Tue Dec 12 11:11:03 2006
ARC0: Beginning to archive log 3 thread 1 sequence 16933
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16933.ARC'
ARC0: Completed archiving log 3 thread 1 sequence 16933
Tue Dec 12 11:47:35 2006
Thread 1 advanced to log sequence 16935
Tue Dec 12 11:47:35 2006
Current log# 4 seq# 16935 mem# 0: E:\ANTI\REDO\REDO04.LOG
Tue Dec 12 11:47:36 2006
ARC1: Evaluating archive log 2 thread 1 sequence 16934
Tue Dec 12 11:47:36 2006
ARC1: Beginning to archive log 2 thread 1 sequence 16934
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16934.ARC'
Tue Dec 12 11:47:46 2006
ARC1: Completed archiving log 2 thread 1 sequence 16934
Tue Dec 12 12:34:33 2006
Thread 1 advanced to log sequence 16936
Current log# 1 seq# 16936 mem# 0: E:\ANTI\REDO\REDO01.LOG
Tue Dec 12 12:34:33 2006
ARC0: Evaluating archive log 4 thread 1 sequence 16935
ARC0: Beginning to archive log 4 thread 1 sequence 16935
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16935.ARC'
Tue Dec 12 12:34:43 2006
ARC0: Completed archiving log 4 thread 1 sequence 16935
Tue Dec 12 13:33:55 2006
Thread 1 advanced to log sequence 16937
Tue Dec 12 13:33:55 2006
Current log# 3 seq# 16937 mem# 0: E:\ANTI\REDO\REDO03.LOG
Tue Dec 12 13:33:56 2006
ARC1: Evaluating archive log 1 thread 1 sequence 16936
Tue Dec 12 13:33:56 2006
ARC1: Beginning to archive log 1 thread 1 sequence 16936
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16936.ARC'
Tue Dec 12 13:34:06 2006
ARC1: Completed archiving log 1 thread 1 sequence 16936
Tue Dec 12 14:23:58 2006
Thread 1 advanced to log sequence 16938
Tue Dec 12 14:23:58 2006
Current log# 2 seq# 16938 mem# 0: E:\ANTI\REDO\REDO02.LOG
Tue Dec 12 14:23:59 2006
ARC0: Evaluating archive log 3 thread 1 sequence 16937
Tue Dec 12 14:23:59 2006
ARC0: Beginning to archive log 3 thread 1 sequence 16937
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16937.ARC'
ARC0: Completed archiving log 3 thread 1 sequence 16937
Tue Dec 12 15:01:00 2006
Thread 1 advanced to log sequence 16939
Tue Dec 12 15:01:00 2006
Current log# 4 seq# 16939 mem# 0: E:\ANTI\REDO\REDO04.LOG
Tue Dec 12 15:01:01 2006
ARC1: Evaluating archive log 2 thread 1 sequence 16938
Tue Dec 12 15:01:01 2006
ARC1: Beginning to archive log 2 thread 1 sequence 16938
Creating archive destination LOG_ARCHIVE_DEST_1: 'G:\ANTI\ARCHIVE\A16938.ARC'
Tue Dec 12 15:01:11 2006
ARC1: Completed archiving log 2 thread 1 sequence 16938
Dump file d:\oracle\admin\anti\bdump\alert_anti.log
Tue Dec 12 15:09:43 2006
ORACLE V9.2.0.4.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.2 Service Pack 1, CPU type 586
Tue Dec 12 15:09:43 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 2
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
processes = 300
timed_statistics = FALSE
shared_pool_size = 402653184
sga_max_size = 1418275328
shared_pool_reserved_size= 20132659
large_pool_size = 134217728
java_pool_size = 0
pre_page_sga = FALSE
trace_enabled = FALSE
nls_date_format = DD/MON/RR
control_files = D:\ORACLE\ORADATA\ANTI\control01.ctl, D:\ORACLE\ORADATA\ANTI\control02.ctl, D:\ORACLE\ORADATA\ANTI\control03.ctl, I:\ORACLE\ORADATA\ANTI\control04.ctl, I:\ORACLE\ORADATA\ANTI\control05.ctl, I:\ORACLE\ORADATA\ANTI\control06.ctl
db_block_size = 8192
db_cache_size = 822083584
compatible = 9.2.0.0.0
log_archive_start = TRUE
log_archive_dest_1 = location=G:\anti\archive
log_archive_dest_2 =
log_archive_dest_state_2 = defer
log_archive_format = A%S.ARC
log_buffer = 32768
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = MANUAL
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = anti
cursor_space_for_time = TRUE
session_cached_cursors = 50
utl_file_dir = *
job_queue_processes = 10
hash_join_enabled = TRUE
hash_area_size = 1048576
background_dump_dest = D:\Oracle\admin\anti\bdump
user_dump_dest = D:\Oracle\admin\anti\udump
core_dump_dest = D:\Oracle\admin\anti\cdump
sort_area_size = 524288
db_name = anti
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 209715200
statistics_level = TYPICAL
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Tue Dec 12 15:09:46 2006 -
Mobile Database Server - Client doesn't sync all tables
Hi,
I have several tables which I want to sync with my mobile client (Android with Berkely DB). When I start a manual sync, some tables are always empty on the mobile device. Other tables works fine. I don't get any errors or messages.
Has anybody an idea why this happens?
My System:
Oracle Database Express 12c (12.1.0.2.0)
Oracle GlassFish Server 3.1.2.2 (build 5)
Oracle Mobile Database 11.3.
Android with BDB
Thanks in advance!start by verifying your publication items and make sure they are correct.
thanks
mike -
How to create a table in Oracle Lite database?
Hi,
I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
Regards
KhaleelHI James,
Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
--khaleel -
What are MD_ tables in Oracle 12c database? What is their purpose?
I just set up an Oracle 12c database with the purpose of migrating an existing Oracle 11.2.0.2 database. Our application developers are a bit confused when it comes to the schemas suddenly having MD_ tables they did not create. Any help is appreciated.
I just set up an Oracle 12c database with the purpose of migrating an existing Oracle 11.2.0.2 database. Our application developers are a bit confused when it comes to the schemas suddenly having MD_ tables they did not create. Any help is appreciated.
Did you do this using sql developer and the migration workbench to create a repository?
See if anything in this article rings a bell:
http://oraexplorer.com/2008/06/oracle-sql-developer-migration-workbench/#sthash.gNFtpafS.dpbs
Next, you will need to create a repository. An database account, which has CREATE SESSION, RESOURCE, and CREATE VIEW must be created first. Then logon into SQL Developer as that account. From the tool, create a repository from Migration menu > Repository Management > Create Repository. This process creates a bunch of MD* and MIGR* tables and packages.
I ask because you said you 'set up an Oracle 12c database' but then implied your developers are accessing it.
Most people experimenting with 12c create a multitenant database which has a CDB and one PDB that contains the sample schemas.
You typically would NOT allow developers access to the CDB; that is for admin purposes only. So, hopefully, if you developers access anything it is ONLY the sample PDB or a PDB that you have created from the seed.
Make sure you, and your developers RTFM about the new multitenant architecture or you will all get horribly confused when you try to do simple things like create users or issue grants. All of that works VERY differently in 12c.
See chapters 17 and 18 of the Database Concepts doc
http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm
Pay particular attention to the discussion of 'common' and 'local' users. And a hidden 'gotcha' is that the PDBs will NOT be started/opened by default when you do a 'startup' of the database. If you create common users those users will NOT be created in PDBs that are not open; so there is the potential to have to do perform a lot of manual maintenance if you need to add those users to PDBs that weren't open at the time you added the users. -
Query to find biggest table in oracle ERP database?
Hi
I would like to see the biggest table in Oracle ERP database, can anybody provide me the query?
Thanks
AteeqHi
Thanks. Actually, last week all of a sudden 1GB growth of database happen in one day. In our Oracle ERP instance, every user is attaching many documents to purchase orders. So our management is interested to know which table or file system directory is having this much of growth? We want to restrict the users for not uploading every document with purchase order as it will fill-up our server hard disk soon.
Regards
Ateeq -
Bidirectional Database Sync b/w SQL server and ORACLE
Hi,
We have a Oracle 10g database and we have multiple SQL Server 7.0 databases.
1. The data changes made at Oracle database should be in sync with Sql Servers and vice versa depending upon several Conditions and vice versa (Sql Server - Oracle)
2.This has to happen automatically (not manually) at some particular interval of time everyday.
3. Only the “Delta” data(added/modified/deleted) has to be updated in both databases.
Does Oracle streams provide the above. If so how do we implement it.
We found Database Sync but it is uni directional from Oracle to SQL server.
Is there any other tool available other than Oracle Streams
Thanks...If the data is available in Oracle of what value is there in duplicating it in another product. Just learn how to do heterogeneous queries and leave the data where it is.
-
Importing all tables and users from Oracle 8i database to Oracle 10g
Hi friends,
It would be highly appreciated if someone would kindly advise steps needed to
import full Oracle 8i database ( with all users, tables, table spaces
and other components ) to Oracle database 10g .
Thanks and regardshi
ur exp ur database from oracle 10g. from exp cmd instead of expdp cmd bcoz oracle 10g. expdp cmd is not compitable with oracle 8.
simple give cmd>exp cmd if u want exp complete database from oracle 10g..
if u have any problem go reference oracle database utilities ....
and then imp in oracle 8 using imp cmd cmd>imp cmd bcoz here u want imp complete database....
i hope u do ur work successfully...
regards
Mohammadi -
List user tables in oracle 9i database
Hi,
Im new bi to oracle database...,
Will anyone provide me the command to list the user tables in oracle 9i database.??.
im using linux redhat 4.0... and oracle 9i database....
thanks,
vasanth....user12864080 wrote:
Hi,
Im new bi to oracle database...,
Will anyone provide me the command to list the user tables in oracle 9i database.??.
im using linux redhat 4.0... and oracle 9i database....
thanks,
vasanth....
SELECT ... FROM USER_TABLES;=================================================
Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
Go to tahiti.oracle.com.
Drill down to your product and version.
<b><i><u>BOOKMARK THIS LOCATION</u></i></b>
Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
Do the same with the SQL Reference Manual.
Do the same with the Utilities manual.
You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
Then set yourself a plan to dig deeper.
- Read a chapter a day from the Concepts Manual.
- Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them in the Reference Manual.
- Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
- When you have finished reading the Concepts Manual, do it again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
================================= -
ADF table refresh on update of database field in the background
Hi,
I have an ADF Read Only table based on Toplink mapping for a database table. In my scenario, one of the columns (Name) gets updated in the background (through DB adapter from ESB.
The problem is the ADF table does not refresh to reflect the updated name, on navigating to other pages and coming back (basically page reload).
The updated name does not reflect until I logout of the session.
I have used the explicit refresh option for the "findALL" method used by the ADF table. I have also tried setting "NoIdentityMap" option in Toplink Identity Map.
Please let me know how can I get the table refreshed. I'm using JDev 10.1.3.1 with Toplink.
Rgds
VikasI have same problem, and I tried af:poll . It only works when I insert a new record or delete a new record. It doesn't work when I update records.
I followed this example from Frank Nimphius
http://thepeninsulasedge.com/frank_nimphius/2007/09/18/adf-faces-using-afpoll-to-refresh-a-table/
Plus the selection action is not work at all. (My case is multiple selection).
I just want to know is it possible using af:poll conponment to autorefresh ADF table when I update a record ?
JDeveloper 10.1.3.3
Message was edited by:
xpp -
ORA-01034: ORACLE not available error while creating ASM or database
Hi all,
I am using oracle database 10gR2 on windows 2000 pro system.
I have Installed oracle software and there was no issue with that but now I am facing ORA-01034: ORACLE not available error while trying to create asm instance or even while creating database through dbca.
I have tried creating the asm instance manually and it was succeeded. Also database creation was successful through manual steps.
Any idea guys?? How to resolve this issue??Hi FK,
On Windows, it can sometimes mean that the services are not running. I have a check here:
http://www.dba-oracle.com/t_check_verify_windows_services.htm
Have you tried using oradim?
http://www.dba-oracle.com/tips_oradim_utility.htm
The oradim utility provides more than just the ability to start and stop Windows databases. Windows oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms.
The oradim utility is used on the Windows platform to perform these tasks.
C:\oracle9i\bin\oradim -startup -sid ORCL92 –usrpwd manager
-starttype SRVC,INST -pfile C:\oracle9i\admin\ORCL92\pfile\init.ora
• startup – Indicates that the specified instance should be started.
• sid – The SID of the database to start.
• usrpwd – The password for the database user.
• starttype – Specifies whether to start the instance, the service, or both
Hope this helps. . .
Don Burleson
Oracle Press author -
Locating user tables in an Oracle 11g database
Excuse my ignorance on this subject
But our company has an Oracle 11g database that drives one of our business applications. I am not an oracle admin and there is very little documentation on the application itself, however the application seems to have its own set of explicit login (username and password) credentials so I am guessing they are hashed somewhere in the database tables.
My question would be – are there any default oracle tables where user credentials would typically be? or tips on tracking down where the password hashes may be? Or can this differ from application to application? Any tips welcome. Apologies for the naivity of the question. My goal is to identify which database accounts can query the table the hashes are in, as we have some users who can access the database for data analysis purposes - but I dont want them to have access to the table.user599292 wrote:
EdStevens wrote:
user599292 wrote:
Excuse my ignorance on this subject
But our company has an Oracle 11g database that drives one of our business applications. I am not an oracle admin and there is very little documentation on the application itself, however the application seems to have its own set of explicit login (username and password) credentials so I am guessing they are hashed somewhere in the database tables.
My question would be – are there any default oracle tables where user credentials would typically be? or tips on tracking down where the password hashes may be? Or can this differ from application to application? Any tips welcome. Apologies for the naivity of the question. My goal is to identify which database accounts can query the table the hashes are in, as we have some users who can access the database for data analysis purposes - but I dont want them to have access to the table.The information relative to the user accounts is revealed in the view DBA_USERS, which normal users should not have a need to see. However, the passwords are stored in a true hash. It cannot be used directly, and cannot be reversed. So being able to see the hashed password does not in itself constitute a security risk.
When a user is being authenticated, the procedure that oracle uses is NOT to 'decrypt' the stored password to see if it matches the password presented by the user. Rather, the password presented by the user is hashed, and that hash value is compared against the stored value.My concern was if they could extract those password hash values, there are many free password crackers where if they run dictionary values against those hash values and if any match they then have some passwords to gain perhaps elevated access in the application.Such a method would have to assume a password, know how oracle 'salts' the password, hash the result, then compare to the hashed values from the table. If you employ even a modicum of password complexity enforcement, I doubt that your developers are going to have access to the kind of computing capacity that would be required to get a positive result within your lifetime.
You need to do three things
First and foremost, adhere to the principle of 'least privilege'. Do not grant a user account any privileges that are not required for that account to complete it's business task. That includes access to any tables or views. Be wary of any "--ANY---" privileges.
Second, use the password complexity function to enforce a reasonable level of password complexity.
Third, Set the user's profile to expire the pasword after 'x' number of days and prevent the reuse of a password until after 'y' iterations. -
Converting between tables in an Oracle Lite Database
We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
Both the structures reside in the same database.
Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
Anyone got any better ideas?
Cheers, MattWe have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
Both the structures reside in the same database.
Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
Anyone got any better ideas?
Cheers, Matt -
Import command error while importing in oracle 8i database.
Hi,
Trying to import a schema using imp utility in oracle 8i using sucessfully exported dump file in oracle 11g. But getting below errors.
IMP-00010: not a valid export file, header failed verification
IMP-00000: Import terminated unsuccessfully
Please provide any solution for this above error so that i can import a schema in Oracle 8i database.
Thanks.dump file created in 11g database can't be imported in lower 8i version.
Restrictions When Using Different Releases of Export and Import
The following restrictions apply when you are using different releases of Export and Import:
Export dump files can be read only by the Import utility because they are stored in a special binary format.
Any export dump file can be imported into a later release of the Oracle database.
The Import utility cannot read export dump files created by the Export utility of a later maintenance release. For example, a release 9.2 export dump file cannot be imported by a release 9.0.1 Import utility.
Whenever a lower version of the Export utility runs with a later release of the Oracle database, categories of database objects that did not exist in the earlier release are excluded from the export.
Export files generated by Oracle9i Export, either direct path or conventional path, are incompatible with earlier releases of Import and can be imported only with Oracle9i Import. When backward compatibility is an issue, use the earlier release or version of the Export utility against the Oracle9i database.
Thanks
Kuljeet Pal Singh
Edited by: Kuljeet Pal Singh on Mar 19, 2012 7:43 PM
Maybe you are looking for
-
How do I move music libary from my iphone 4s to i cloud ?
How do I move my music libary from iphone 4s to i cloud ? Some of the music was bought thru itunes but most was downloaded .
-
Why do I get this messge when I try to download Mtn Lion? "We could not complete your purchase. OS X Mountain Lion is not compatible with this computer." I am currently running Lion and have updated all Apps and Software. I have version 10.7.5.
-
My blackberry Q5 won't get unlock after many tries. Indeed I have tried many times to unlock my phone with the IMEI number by following the instructions with a professionnal from a mobile store. I got from my carrier the unlock number (MEP code) that
-
What is the best photo editor for mavericks
am looking for a photo editor similar to Photo Shop that will work on my Macbook pro that is not too complicated. I
-
Why? Firefox can't find the file at ....
== Issue == Firefox is crashing or closing unexpectedly == Description == Why do I get this message all day long? I never did before. Firefox can't find the file at jar:file:///C:/Program Files/Mozilla Firefox/chrome/en-US.jar!/locale/browser-region/