Any parameter to measure the Performance between two server
Currently I am running more 20 dvlp database in 2 cpu 2 GB RAM Windows2000
server
We are curently in process of upgrading the infarasturcutre
We are moving the DB the a 2003 STD R 2 server with 4gb Ram and 2 processor
I ahve configure everything in the new server except Moving of Dbs from old to NEW server
versions 8,9 10gr2
But starngley i feel the new server performs slowly when compared to old server not frpm DB point of view but while copying between different disks in the same NEW server
It takes long time than usual across our office
Tomorrow i will be moving a few DBS to the new machine
Everythinh s going to be same in the Init.ora.No change in SGA or INIT parameters execept the driectory structure
i want run the DBs in OLD and NEW machine and compare the response time
Willbe sufficent enough to give an idea whether the new server is performing better or worse
Any susgestions
Message was edited by:
Maran Viswarayar
I don't think so, it depends on the way you conduct
your testing environment, how you build it, and
what's the goal of this test. I wouldn't name it
synthetic test, I name it standarized test
environment.Just to be clear, I have nothing against doing synthetic tests, and I don't intend "synthetic" to be in any way derogatory. This sort of testing can be quite valuable. You just need to be careful about extrapolating the performance of this sort of testing to the performance that your application will actually achieve. Since the workload your application is performing is generally going to be quite different than the synthetic workload you're describing, the comparison may not be direct.
OS performance metrics can be gathered directly with
the OS party. But knowing exactly how your database
will perform in your specific environment ... You'll
have to make up a testing environment.All true. Knowing how your database will perform, particularly on I/O intensive operations, though, doesn't tell you how a particular application running in your database may perform. Your application may, for example, be CPU bound or may be doing very non-random IO operations.
Given that the original poster is seeing odd disk behavior, and his primary concern is with the IO subsystem, I would suggest starting the test there.
Performance problems have always been multifactorial,
and this always makes a tuning approach to be
obscure. Unless a professional has enough practical
experience, it becomes a black box problem where
interactig subsystems will make it difficult the goal
of finding the most meaningful performance thread and
its interactions.Very true
I have used this test approach and it has assisted me
in obtaining an environment free of subjectivities
where I have been able to benchmark Oracle behaviour
on different platforms.
This kind of test has also helped me in creating
controled stressing situations where I can
proactively plot potential bottlenecks and meassure
different rdbms architectural aspects such as
transactional mechanism, sorting, undo segments,
latches, networking, etc. just to name a few, at
different load scenarios.Synthetic test loads are excellent for this sort of database performance investigation, agreed.
It is sometimes difficult to find hundreds of
volunteers to test the application to find the point
of maximum sessions with minimum response time. This
testing approach has been useful in hiring a variable
number of virtual volunteers that are willing to test
the environment any time. So it has also allowed me
to create useful reports, such as the "users load vs.
response time" which helped me in predicting my
system operational ceilings, and it has been pretty
accurate.If we're talking about testing application performance, rather than testing generic database performance, I'd maintain that you shouldn't need any volunteers. You should have scripts that replicate the key business operations the application does and you should have a harness that can start up arbitrary numbers of concurrent sessions (admittedly, you may need a handful of volunteers to launch these scripts from a sufficient number of laptops).
It all depends on the way you define your test
environment.100% agreed.
Justin
Similar Messages
-
Is there any css to vary the distance between two items in apex
Hi,
Is there any css to vary the distance between two items ie two columns horizontally / vertically in apex application at page line level
Regards,
PavanHi ,
I done what u suggested above but i ll tel u clearly
i have name,plot no,street,city,distict,state,country,phone no,pincode items.. i need to align this items like
--------------------------------------------------------------------------main region----------------------------------------------------------------------------
--left region-------------------------------------------middle region------------------------------------------------------right region-------------------
name,___________
plot no,_________
street,________
city,___________ distict,_________
state,__________ country,_________ nothing in it
phone no,__________ pincode_________
to achieve this wat i have to do
Thanks,
pavan -
LabVIEW/SignalExpress: How can I automate measuring the time between two pulses?
Hi everyone, bit of a newbie here so please bear with me.
I'm a student at a university conducting a muon decay experiment with an oscilloscope connected to some photomultipliers. To summarize, if a muon enters the detector it will create a very small width pulse (a few ns). Within a period of 10µs it may decay, creating a second pulse. The oscilloscope triggers on the main pulse 5-15 times per second, and a decay event happens roughly 1-2 times per minute. I am trying to collect 10 hours of data (roughly 1500-2000 decay events) and measure the time it takes for each decay.
I've been able to set recording conditions in SignalExpress that starts recording on the first pulse and stops recording on the last. The Tektronix TDS 1012 oscilloscope however feeds 2500 points of data from this snapshot into a text file (for use in excel or other software). Even if I perfectly collected the data, I would have 100,000+ data points and it would be too much to handle. I don't know how (or if it's possible) to reduce the sample size.
To conclude, using Labview or SignalExpress, I would like to be able to have the software
1. Differentiate between the single pulse detections and double pulse decay events
2. Record only when two pulses appear on the oscilloscope
3. Measure the time between these two pulses and ONLY that to minimize the amount of data recorded.
Any help would be GREATLY appreciated, thanks!Hi wdavis8,
I am not that familiar with Tektronix, but there should be a place in the dialog that you go through when you create the action step to acquire date to specify a sampling rate. That would allow you to reduce the number of data points you are seeing, but may reduce the quality of the data.
If it’s just a matter of that much data being hard to dig through when you have that many points, you could do some analysis on the data after the fact, and then create a new file with only the data you want to look at. For example, you could identify the peaks in the data, and based on the distance between them or the difference in magnitude, selectively write data to a new file.
Here is some information about peak detection in LabVIEW:
http://www.ni.com/white-paper/3770/en/
You could also do some downsampling on the data to get fewer data points:
https://decibel.ni.com/content/docs/DOC-23952
https://decibel.ni.com/content/docs/DOC-28976
Those are just a few quick ideas.
Kelsey J
Applications Engineer -
How to write a VI to measure the difference between two analog inputs (voltage)
I'd like to measure the difference voltage between two analog inputs.
Could someone write me a VI for it, please?
I'm new with Labview....
Thanks a lot!!!On the numeric palette, there is a function called subtract. As the
help for it says, it 'Computes the difference of the inputs.'.
Since
this is such a simple process, you need to provide some details on why
you can't do this. You can wire just about any data type into the
inputs. Post your code if you need further help.
Message Edited by Dennis Knutson on 04-05-2009 08:23 AM
Attachments:
Subtract.PNG 1 KB -
How to measure the shift between two resembling images using LabVIEW?
I am running an experiment in which I use a microscope to map the surface of a laboratory sample and due to some small drift consecutive image appear displaced. In order to correct for the drift I need to first measure it, which I can do by recording two images and finding the shift between. Because of some small random noise which adds to each image, the features in two consecutive images are not completely identical, but they do resemble each other very well. Do you have any suggestions on how to measure this image shift (in both x and y) using LabVIEW (I have version 8.20)?
Hi, thanks for the answer, I´ll try to see if a 2D cross-correlation will work. I also attached two typical images with a small shift between them (there is also some change in background between them, but I belive the shift should still be measurable).
Attachments:
Image1.png 285 KB
Image2.png 267 KB -
Hello
I'm trying to measure the time in seconds between each two successive rising edges on a digital input .
Till now I have managed to detect the rising edge ,increment a counter with each rising edge ,and snap the time at which the rising edge happenned
all I need now is to subtract the current rising edge time from the previous rising edge time in order to calculate (T) which can be 1/frequency and display it in realtime to the user.
but I don't know how to do this
Can somebody please help me !!!
note: the time that I'm measuring ranges between 200 ms - 2 seconds
Solved!
Go to Solution.
Attachments:
Counter without time.vi 11 KBCheers for that. It's always a good idea to post your SubVIs as well - the problem could be in one of those.
To help you out:
You already know how to use shift registers so why not use one again for time? Create a new shift register for the time then simply compare the "rising edge time" to the the previous time stored in the shift register and then write the new time to the shift register.
Just a few other pointers:
1. You'll want to initialise your shift registers ie wire a constant to the left hand register outside of the loop. This will cause the register to be reset each time the program is run. This is so that your counter will start from zero each time you run your code.
2. You don't need to use the "greater than?" compare function with boolean as they can only be true or false (1 or 0)! The "Equal?" function is what you should use here.
3. Lastly, it's a small thing but you can use the same tunnel that feeds into a case structure in each of the cases - no need to create two tunnels for the true and false cases, use the same one.
-CC
"If anyone needs me, I'll be in the Angry Dome!" -
The measurement of the phase between two sine signals with NI 6251
Hi, I am working with NI 6251. I need to measure the phase between two sine signals. I used "Tone Measurements" on each signal and then substracted there phases, but the result was incorrected. Please, help me to solve this problem.
You should have a look at the Signal Processing VIs
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Hello
I'm trying two measure the time in seconds between each two successive rising edges on a digital input .
Till now I have managed to detect the rising edge ,increment a counter with each rising edge ,and snap the time at which the rising edge happenned
all I need now is to subtract the current rising edge time from the previous rising edge time in order to calculate (T) which can be 1/frequency and display it in realtime to the user.
but I don't know how to do this
Can somebody please help me !!!
Solved!
Go to Solution.
Attachments:
Counter without time.vi 11 KBWoah!
Sorry Apok, but your code is becoming way too complicated/messy. I don't think that all of those shift registers or boolean conversion/operators are needed at all.
If you want to measure the timing between two button presses then this is a different (much less complicated) way. It simply records the timing of the button press into a shift register then compares the two.
Spoiler (Highlight to read)
Of course this is a very quick and basic solution just to show you that it can be much simpler than you are making it (remember to use the mechanical actions of the buttons to get the behaviour you want).
A better way would be to use an event structure looking at value changes of the buttons to determine the timings between clicks.
-CC
"If anyone needs me, I'll be in the Angry Dome!"
Attachments:
Time between clicks.vi 9 KB -
Dears,
I have IBM Flex server with built in storage,
HOW to to make Cluster between two server 2012 Datacenter with share storage and Hyper-V role then install Exchange 2013 on each server datacenter then make DAG between Exchange servers?
If there any prerequisites of the Share storage types ?and any configuration guide to deploy Cluster between two Server 2012 datacenter ?Microsoft Failover Clusters require shared storage. If you wish to create a failover cluster with local storage, you need to use third party software to mirror the disks and present it to the hosts (siog.com, datacore.com, starwind.com). If you
use third party software, you will need to follow their instructions for configuring the environment.
Questions on how to configure Exchange environments are better asked in an Exchange forum.
.:|:.:|:. tim -
Measuring the performance of Networking code
Lately I've had renewed interest in Java networking, and been doing some reading on various ways of optimizing networking code.
But then it hit me.
I dont know any way of benchmarking IO/Networking code. To take a simple example, how exactly am I supposed to know if read(buf,i,len) is more efficient than read() ? or how do I know the performance difference between setting sendBufferSize 8k and 32k? etc
1)
When people say "this networking code is faster than that", I assume they are referring to latency. Correct? Obviously these claims need to be verifiable. How do they do that?
2)
I am aware of Java profilers ( http://java-source.net/open-source/profilers), but most of them measure stuff like CPU, memory, heap, etc - I cant seem to find any profiler that measures Networking code. Should I be looking at OS/System level tools? If so, which ones?
I dont want to make the cardinal sin of blindly optimizing because "people say so". I want to measure the performance and see it with my own eyes.
Appreciate the assistance.
Edited by: GizmoC on Apr 23, 2008 11:53 PMIf you're not prepared to assume they know what they're talking about, why do you assume that you know what they're talking about?Ok, so what criteria determine if a certain piece of "networking code" is better/faster than another? My guess is: latency, CPU usage, memory usage - that's all I can think of. Anyway, I think we are derailing here.
The rest of your problem is trivial. All you have to do is time a large download under the various conditions of interest.1)
hmm.. well for my purpose I am mainly interested in latency. I am writing a SOCKS server which is currently encapsulating multiplayer game data. Currently I pay an apprx 100 latency overhead - I dont understand why.. considering both the SOCKS client (my game) and SOCKS server are localhost. And I dont think merely reading a few bytes of SOCKS header information can potentially cause such an overhead.
2)
Let's say I make certain changes to my networking code which results in a slightly faster download - however can I assume that this will also mean lower latency while gaming? Game traffic is extremely sporadic, unlike a regular HTTP download which is a continuous stream of bytes.
3)
"timing a large download" implies that I am using some kind of external mechanism to test my networking performance. Though this sounds like a pragmatic solution, I think there ought to be a formal finely grained test harness that tests networking performance in Java, no? -
How to measure the performance of sql query?
Hi Experts,
How to measure the performance, efficiency and cpu cost of a sql query?
What are all the measures available for an sql query?
How to identify i am writing optimal query?
I am using Oracle 9i...
It ll be useful for me to write efficient query....
Thanks & Regardspsram wrote:
Hi Experts,
How to measure the performance, efficiency and cpu cost of a sql query?
What are all the measures available for an sql query?
How to identify i am writing optimal query?
I am using Oracle 9i... You might want to start with a feature of SQL*Plus: The AUTOTRACE (TRACEONLY) option which executes your statement, fetches all records (if there is something to fetch) and shows you some basic statistics information, which include the number of logical I/Os performed, number of sorts etc.
This gives you an indication of the effectiveness of your statement, so that can check how many logical I/Os (and physical reads) had to be performed.
Note however that there are more things to consider, as you've already mentioned: The CPU bit is not included in these statistics, and the work performed by SQL workareas (e.g. by hash joins) is also credited only very limited (number of sorts), but e.g. it doesn't cover any writes to temporary segments due to sort or hash operations spilling to disk etc.
You can use the following approach to get a deeper understanding of the operations performed by each row source:
alter session set statistics_level=all;
alter session set timed_statistics = true;
select /* findme */ ... <your query here>
SELECT
SUBSTR(LPAD(' ',DEPTH - 1)||OPERATION||' '||OBJECT_NAME,1,40) OPERATION,
OBJECT_NAME,
CARDINALITY,
LAST_OUTPUT_ROWS,
LAST_CR_BUFFER_GETS,
LAST_DISK_READS,
LAST_DISK_WRITES,
FROM V$SQL_PLAN_STATISTICS_ALL P,
(SELECT *
FROM (SELECT *
FROM V$SQL
WHERE SQL_TEXT LIKE '%findme%'
AND SQL_TEXT NOT LIKE '%V$SQL%'
AND PARSING_USER_ID = SYS_CONTEXT('USERENV','CURRENT_USERID')
ORDER BY LAST_LOAD_TIME DESC)
WHERE ROWNUM < 2) S
WHERE S.HASH_VALUE = P.HASH_VALUE
AND S.CHILD_NUMBER = P.CHILD_NUMBER
ORDER BY ID
/Check the V$SQL_PLAN_STATISTICS_ALL view for more statistics available. In 10g there is a convenient function DBMS_XPLAN.DISPLAY_CURSOR which can show this information with a single call, but in 9i you need to do it yourself.
Note that "statistics_level=all" adds a significant overhead to the processing, so use with care and only when required:
http://jonathanlewis.wordpress.com/2007/11/25/gather_plan_statistics/
http://jonathanlewis.wordpress.com/2007/04/26/heisenberg/
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
How do i compare the similarities between two or more text files?
The subject says it all. I am familiar with a number of the diff tools that are available, but I have yet to find a tool or app that will find the similarities between two text files. Any suggestions?
From http://hints.macworld.com/article.php?story=20030217061153119
"FileMerge highlights the sections that differ in each file..."
I need to find similarities. I was thinking something along the lines of the similarity-tester package in Ubuntu:
http://unix.stackexchange.com/questions/1079/output-the-common-lines-similaritie s-of-two-text-files-the-opposite-of-diff/94532#94532
Preferably a GUI tool, but command line is OK if I can figure out the proper syntax. -
How to get the difference between two columns in a column group
Hi All,
My first time here and really new to programming. I would like to get the difference between 2 columns that are inside
a column group.
Here is my sample table below: The Column Group is PeriodNumber and can only choose 2. like 1 and 2.. I would like to have a third row which will simply calculate the difference between the amounts in PeriodNumber 1 and 2.
PeriodNumber
Account 1 2
1) Cash 10,000 15,000
2) Receivables 12,000 11,500
3) Equipment 5,000 5,500
Total Assets 27,000 32,000Hi yabgestopa,
From your description, you want to get the difference between two columns in a column group. After testing it in my environment, we can use custom code to achieve your requirement. For more details, you can refer to the following steps:
Copy the custom code below and paste it to your report. (Right-click report>Report Properties>Code)
Dim Shared Num1 As Integer
Dim shared Num2 As Integer
Public Function GetAmount(Amount as Integer, Type as String)
If Type = "1" Then
Num1=Amount
Else
Num2=Amount
End If
Return Amount
End Function
Public Function GetDif()
Return Num1-Num2
End function
Right-click the second column to insert a third column with Outside Group-Right.
Then use the expressions below in the matrix.
=Code.GetAmount(Fields!Amount.Value,Fields!PeriodNumber.Value)
=code.GetAmount(Sum(Fields!Amount.Value),Fields!PeriodNumber.Value)
=Code.GetDif()
The report looks like below.
If you have any questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to measure the performance of a SQL query?
Hello,
I want to measure the performance of a group of SQL queries to compare them, but i don't know how to do it.
Is there any application to do it?
Thanks.You can use STATSPACK (in 10g its called as AWR - Automatic Workload Repository)
Statspack -> A set of SQL, PL/SQL, and SQL*Plus scripts that allow the collection, automation, storage, and viewing of performance data. This feature has been replaced by the Automatic Workload Repository.
Automatic Workload Repository - Collects, processes, and maintains performance statistics for problem detection and self-tuning purposes
Oracle Database Performance Tuning Guide - Automatic Workload Repository
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#PFGRF02601
or
you can use EXPLAIN PLAN
EXPLAIN PLAN -> A SQL statement that enables examination of the execution plan chosen by the optimizer for DML statements. EXPLAIN PLAN causes the optimizer to choose an execution plan and then to put data describing the plan into a database table.
Oracle Database Performance Tuning Guide - Using EXPLAIN PLAN
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm#PFGRF009
Oracle Database SQL Reference - EXPLAIN PLAN
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9010.htm#sthref8881 -
The connection between two Tuxedo machines
We want to locate our servers(services) onto different machines, we want to know
:whether the connection,between two machines, is built up at the first time the
servers booted and kept persistently connectted, or just build up the connection
when there comes a request.Remote machines connect to one another lazily. If you have machines A
(master), B and C, then B and C do not connect until a request is made
between B and C. All machines connect to the master at boot time.
roopesh wrote:
>
The connection is persistent and is not request based.
The machines communicate using BRIDGE.The DBBL which runs
on the primary master machines keep doing sanity checks
and health of BBL at all the machines connected and if
any BBL does not respond for the specified time(set by
DBBLWAIT) in RESOURCES section.then that machine gets partitioned by DBBL.
for more info you can read tuxedo documentation.
Thanks
Roopesh
"YANG YI" <[email protected]> wrote:
We want to locate our servers(services) onto different machines, we want
to know
:whether the connection,between two machines, is built up at the first
time the
servers booted and kept persistently connectted, or just build up the
connection
when there comes a request.
Maybe you are looking for
-
How do I search and work in the map module without losing my selection
I'm going through my old photographs that predate geotracking and adding my best guess as to their locations via the map module but I'm getting frustrated. My biggest angst is the selections. In the library module, I look around and find a set of p
-
Outlook 2011 with Time Machine Back up ??
I am using Timemachine backup by using Lacie usb harddisk. I am not sure if my Outlook 2011 documents are being backed up? How can i make sure about that?
-
Implementing security for a custom Java Webdynpro
We have a webdynpro that was developed and forces a user to log in w/their UME credentials. I've been trying to find out where/how to implement specific security to the app (as in, which roles/groups can access it). In the security provider of the
-
How do i get desktop icons out of the hide mode???
my baby got on my computer and started pressing the keyboard and now my icons are hidden. i have only had my computer for 6 days so i have no idea how to get the icons from the hide mode. when i put the cursor down to the bottom of the desktop the ic
-
Very simple question about JTextArea
I know how to append text to JTextArea. textBox.append("the text to be appended") but how do I clear the textBox stev