How can I tuning Oracle Cluster to faster write data?
I have oracle 10G 4 nodes.
I found oracle write slowly. And more Cluster waiting
so I use one node, that I found write faster.
tell me , How can I tune oracle cluster to write faster.
Please provide more information. There is too little information to answer the question.
Database: 10G: which exact version?
Operating system on which the RAC instances are running?
What kind of shared storage is used?
How are the database machines connected to the central storage?
How did you measure the write slowness?
(please mind that user sessions do not wait for dirty blocks to be written to disk. these blocks are put on the 'dirty list' and written by a seperate process called the database writer. user session do wait on redo writes (by default) however, which is meta-information about the transactions)
What do you mean by 'And more Cluster waiting'?
Similar Messages
-
How can FMS create a text file and write data into it in the Server application folders?
Recently, I writed a programe about creating a text file and writing data into it in the server application folder. My code is as following:
var fileObj = new File("/MyApp/test.txt");
if( fileObj != null)
if(fileObj.open( "text", "append"))
fileObj.write( " ———— Chat Info Backup ————\r\n" );
fileObj.close( );
trace("Chat info backup document :" + fileObj.name + " has been created successfully!");
But when I run it, FMS throw the error as following: File operation open failed ; TypeError: fileObj has no properties.
Can you help me ? Thanks in advance.
Supplement: The text file named test.txt doesn't exist before create the fileObj, an instance of File Class.Is MyApp the name of the application directory, or is it a child of the application directory? If myApp is the app name, just use test.txt as the path flag in the file constructor.
-
How can i install oracle 10g on linux cluster
Dear all:
please advice How can i install oracle 10g on linux cluster service ..
thanks ,,Without RAC, you can only have one instance manage the database. One instance = one set of processes communicating via IPC.
Unless you know of a way to have processes use memory-based IPC across nodes, you need to pick a node and install & run the database software on that node. -
We have used oracle ASM, We found user I/O wait.
WAIT_CLASS TIME_WAITED
Concurrency .084788
System I/O 4.900719
User I/O 113.646004
Configuration .020531
Other 2.664671
Application .001342
Cluster 3.870542
Idle 1481.93262
Commit .106001
Network .112187
we think that want to tuning ASM
How can we tuning ASM?Hi,
ASM is basically an Oracle integrated volume manager. There is not much to tune here, but there are some things you will need to consider when designing your disks layout.
1. A disk group will perform as it's weakest link, meaning that mixing fast disks and slow disks in the same diskgroup is not a good idea. You want to make sure that all the disks that are part of a disk group, are of the same size and performance characteristics.
2. The more disks you have in a disk group, the better the performance you'll get, since your data blocks will be spread over more physical disks. Most storage companies recommend at least 4 disks per disk group as a minimum.
3. ASM balances the IO bottlenecks automatically, and every night an automatic rebalance operation spreads the blocks based on their IO stats. This is done automatically.
4. You can consult with your storage manufacture for additional ways to improve performance. If you are running on EMC, I suggest you'll read the following document, specifically on the "double striping" concept. Double striping means that the LUNS (which are later discovered as ASM disks) are striped on x physical disks, and you then add a few disks to a diskgroup, which generates additional striping. For more details on EMC:
http://www.oracle.com/technology/products/database/asm/pdf/asm-on-emc-5_3.pdf
If you have a different vendor, check the other best practices at the bottom of this link:
http://www.oracle.com/technology/products/database/asm/index.html
Thanks,
Idan. -
How Can I print Oracle Report 9i directly To Printer on the local network?
Dear All;
How Can I print Oracle Report 9i directly To Printer on the local network?
or to any other computer ? or to my default printer without prevoiues know the printer name i mean found it in my connected printer?
plear help me?
Best Wishes1. Check documentation for DESNAME and DESTYPE
2. See 1 as long as they are a shared resource
3. Think you must know the name, but please check or documentation
Regards,
Martin
PS. There's a Reports Forum here which would be a better option for posting this question -
How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
I'm using this code:
Public Class McheckpaymentNew
Private cn As New ADODB.Connection
Private rs As New ADODB.Recordset
Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Try
cn.ConnectionString = "DSN=database; UID=user; PWD=password"
cn.Open()
rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
Catch ex As Exception
MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
End
End Try
End Sub
End ClassHow can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
I'm using this code:
Public Class McheckpaymentNew
Private cn As New ADODB.Connection
Private rs As New ADODB.Recordset
Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Try
cn.ConnectionString = "DSN=database; UID=user; PWD=password"
cn.Open()
rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
Catch ex As Exception
MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
End
End Try
End Sub
End Class -
How can i start oracle databases? i am using Oracle 8.1.6 for linux.
when i run dbstart,it gives me following message:
Database "ora4cweb" warm started.
but when i use sqlplus,it says:
ORA-01034: ORACLE not available
i made a mistake ,i shutdown my linux before i shutdown oracle databases,how can i start oracle databases now?thanks in advance.try it without the scripts...
login to linux as oracle
start server manager
svrmgrl
connect internal
startup
select sysdate from dual;if that works
exitcheck listener
lsnrctl
statif nothing running type
start
exitnull -
How can I get Oracle 8.0.5.1
Hi,
I have a trial version of Oracle 8.0.5.0 for Red Hat 5.2. How can
I download Oracle 8.0.5.1?
Thanks,
Edmar
nullI am not sure if u can patch it, I understand that in 8051 there
is some additional features or packages. What I will do (or try,
not sure if this work.)is down load the whole 8051, run the
installer, let the installer tell me what my current system
contain, and what the new package have and then install the
additional package. Of course I will have to backup my db first.
John Salvo (guest) wrote:
: Can u patch from pre-production 8.0.5 to 8.0.5.1?
: Nathan Phan (guest) wrote:
: : technet.oracle.com
: : Edmar Catunda (guest) wrote:
: : : Hi,
: : : I have a trial version of Oracle 8.0.5.0 for Red Hat 5.2.
How
: : can
: : : I download Oracle 8.0.5.1?
: : : Thanks,
: : : Edmar
null -
How Can I make the following query faster
Hi Guru
I want your valuable suggestion to make the following query faster.I did not write all required columns list. I gave here all those columns where I have conditon like decode,case when,or subquery
(SELECT CASE WHEN REPORTED_BY IS NULL THEN
(SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.EMP_NO_RADIO)
ELSE (SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.REPORTED_BY) END RADIOLOGIST_NAME,
(SELECT TEAM_NAME FROM DC_TECHTEAMMST WHERE TEAM_NO = M.GROUP_NO) GROUP_NAME,
CASE WHEN M.RESULT_ENTRY_LOCK_BY IS NOT NULL THEN 'R'
WHEN M.REPORT_DONE = 'D' THEN 'D'
WHEN M.REPORT_DONE = 'P' THEN 'P'
WHEN M.REPORT_DONE = 'F' THEN 'F'
WHEN NVL(M.IMG_CAPTURED,'X') NOT IN ('B','Y') OR M.QA_RESULT = 'F' THEN 'S'
WHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') NOT IN ('B','P') THEN 'Q'
wHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') IN ('B','P') THEN 'C'
END STATUS,
(SELECT DECODE(NVL(V.DELIVERY_STATUS,'N'),'E',3,'U',2,1)
FROM FN_VOUCHERCHD V WHERE V.VOUCHER_NO = M.VOUCHER_NO AND V.ITEM_NO = M.TEST_NO) DELIVERY_STATUS,
trunc((start_time-order_end)*24,0)||' hr'||':'||
decode(length(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)),2,to_char(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0))
,1,to_char('0'||trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)))||' mi' duration_order_capture,
DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',NVL(R.NAME,R.name_lang_name||' '||R.name_lang_fname)) PAT_NAME,
FNC_PATIENTAGE(R.REG_NO,'',R.CONFIDENTIAL_PATIENT) pat_age,
DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',R.PATIENT_SEX) PAT_SEX
FROM DC_MODALITYAPPOINTMENT M,DC_TESTMST T,OP_REGISTRATION R
WHERE M.ACCESSION_NO IS NOT NULL AND NVL(M.CANCEL_FLAG,'N') = 'N'
AND (NVL(T.SP_GEN,'S') = 'S' OR NVL(M.DOC_REQ_GEN,'N') = 'Y')
AND M.TEST_NO IS NOT NULL AND M.TEST_NO = T.TEST_NO AND M.REG_NO = R.REG_NO)
How can I make the above query faster.
Query condition or indexing whatever is preferable please guide me.
The approximate data of tables
DC_MODALITYAPPOINTMENT 2,000,000
A lot of updating is going on some columns of this table.all columns are not in the select list, Insertion is happend in batch process by back-end trigger of another table.
Primary key based one column,
OP_REGISTRATION 500,000
Daily insertion on this table around 500 records,updation is not much.
Primary key based one column 'reg_no'
DC_TESTMST
Total records of this table not more than 1500.This is setup table. Insertion and updation is not much on this table also
I have to create a view based on this query .
and I have to create another view to serve another purpose.
In the 2nd view I need this query as well as I need another query by using union all operator based on a table(dc_oldresult)
which have 1,600,000 records.There is no DML on this table
SELECT NVL((SELECT USER_DEFINE_TEST_NO FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ),SV_ID) USER_D_EXAM_NO,
(SELECT TEST_TYPE FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ) EXAM_TYPE,
NVL((SELECT TEST_NAME FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1),'Exam Code: '||sv_id) EXAM_NAME,
(SELECT PAT_NAME FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_NAME,
(SELECT PAT_AGE FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_AGE,
(SELECT PAT_SEX FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_GENDER
FROM DC_OLDRESULT
WHERE HN IS NOT NULL AND SV_ID IS NOT NULL AND UPPER(ACTIVE) = 'TRUE'
Should I make join DC_OLDRESULT, OP_REGISTRATION and DC_TESTMST? or The eixisting subquery is better?
I use OP_REGISTRATION and DC_TESTMST in both query
Thanks in advance
MokaremWhen your query takes too long ...
-
How can i migrate oracle database data to DB2 database
Hi
how can i migrate oracle database data to db2 database.
can anyone provide me solution.BTW why do you want to migrate oracle database data to db2 database? Any specific project requirement like Parallel run with Oracle database (e.g data replication)? Or any other issues - Cost? Manageability? Availability? Business requirements?
Do you need to do a day-to-day data transfer or it is for permanent migration? -
How can I monitor Oracle StoredProcedure Running Progress
How can I monitor Oracle StoredProcedure Running Progress ?
Because My stored Procedure run a long time ,
How can I do by calling (parent) program?
To monitor the StoredProcedure run step ??
Thanks !
nullFranco Lin (guest) wrote:
: How can I monitor Oracle StoredProcedure Running Progress ?
: Because My stored Procedure run a long time ,
: How can I do by calling (parent) program?
: To monitor the StoredProcedure run step ??
: Thanks !
my approge
create pl proc
CREATE OR REPLACE PROCEDURE ASIDENTL(
P_NAME VARCHAR2 ,
P_ACTION VARCHAR2 )
IS
-- @(#) klema 99/06/22 init
/* Hint
as sys
grant select on sys.v_$session to public;
kot <user> app
grant execute on ASIDENTL to <user> ;
begin
sys.dbms_application_info.set_module( P_NAME, P_ACTION);
end asidentl;
snip for long run-code
for cc in c loop
n := n + 1;
asidentl( 'myProc'
, to_char( n ) -
How Can I Copy Oracle Directories
How Can I Copy Oracle Directories to other database version (9i to 10g) with grants?
If somebody could gave me suggestions.
Rgds,
RhaTo get the script for all directories created in database
SELECT DBMS_METADATA.GET_DDL('DIRECTORY',DIRECTORY_NAME) FROM DBA_DIRECTORIES;
and to get the script for the Privileges on the above listed directories
select 'GRANT ' || PRIVILEGE || ' ON ' || TABLE_NAME || ' TO ' || GRANTEE || ';'
FROM DBA_TAB_PRIVS
WHERE TABLE_NAME IN (SELECT DIRECTORY_NAME FROM DBA_DIRECTORIES);
Then these scripts can be run wherever required
Regards -
How can I prevent oracle from locking accounts after failed logins?
how can I prevent oracle from locking accounts after failed logins?
Thankssvarma wrote:
So what is the difference between the profile settings ...FAILED_LOGIN_ATTEMPTS and the parameter settings SEC_MAX_FAILED_LOGIN_ATTEMPTS?
Prior to 11g we only used profiles to control failed_login_attempts.. Then why we need thsi new parameter now?http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/initparams221.htm#I1010274
http://download.oracle.com/docs/cd/E11882_01/server.112/e17222/changes.htm#UPGRD12504
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_6010.htm#SQLRF01310
As documented ...
FAILED_LOGIN_ATTEMPTS is a property of a profile, and will lock an account
SEC_MAX_FAILED_LOGIN_ATTEMPTS is an initialization parameter and will drop a connection but says nothing about locking accounts. -
How can I get oracle.dms.* API Javadoc
Hi, every Oracle system expert,
I am going to developing a servlet to get the all the performance matrics from the AggreSpy(a per-packeged servlet in Oracle9iAS).
Is any one know how can I get oracle.dms.* package, How can get dms API.
dms - dynamic monitoring service is a monitoring framwork of the Oracle9iAS.
I have search everywhere on the Oracle web site, still cannot found. but I haven't install Oracle9iAS yet.
Does it should be somewhere in the Oracle_home/lib
Thanks in advance!
ElyEly,\\why don't you ask this question in one of the Oracle Application Server forums ?
Frank -
HOW CAN I GET ORACLE DEMO PROJECT, SAMPLE PROJECTS.....
how can i get oracle sample projects on forms and reports...........
give me the link so i can download it and look at it how it works
thanksYou're looking for Microsoft Access. Try www.microsoft.com.
Using Oracle Forms requires an Oracle database instance. It is client-server architecture. It is not a matter of merely downloading example-install.exe, installing it, and being on your way looking at "how everything works".
That is what you are seemingly expecting. And in that case, you do not want to use Oracle. You want to use a mickey mouse little file based database tool like MS Access.
Maybe you are looking for
-
I subscribed to apple itunes match and for some reason it won't load onto my ipad. Do anyone know how to get it to download
-
How can i print my files from mi iphone 5 throught the airport express?
How can i print my files from mi iphone 5 throught the airport express?? i have the last iOS version installed and also the last firmware version of the printer. the printer is already connected to the USB airport express and when i look for printers
-
HT201317 i lost my ipad and i want to retrieve my photos in icloud, how do i do this?
sorry it was stolen not lost...
-
Connecting Panasonic PV GS35 camcorder
I have a 2011 Macbook Pro. I am trying to connect my Panasonic PV GS35 camcorder to download videos but weh Mac doesn't recognize it. Using a Firewire 800 cable.
-
IPhone 3GS Sleep button falling off
Recently i went to press my sleep button and it was dodgy and didnt put my iphone to sleep and when i put my iphone down on my desk the sleep button fell off please can you help me what to do?