Data read from undo
hi,
how to find the data read from undo tablespace.
how to find the data read from datafile.
any select statement read from redo log or not. i think no,is it correct
thanks
with regards
user3266490 wrote:
hi,
thanks for reply.
What does it mean by "how to find data read" ?
that means how to find the a select statement whether read from data buffer cache or data file*
even if it is read from data file.first kept in buffer then return to userYes , data is always going to be read from teh buffer cache only , even if its going to be a physical read too.
In case you want to see that there was a PIO involved or logical IO( from teh cache), you can check so by seeing the stats for the query like below
SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 21 11:59:39 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 75498852 bytes
Database Buffers 88080384 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.
SQL> conn aman/aman
Connected.
SQL> set autot trace stat
SQL> select * from scott.emp;
14 rows selected.
Statistics
455 recursive calls
0 db block gets
83 consistent gets
10 physical reads <----------------------- This went to disk first to read the data
0 redo size
1415 bytes sent via SQL*Net to client
381 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
6 sorts (memory)
0 sorts (disk)
14 rows processed
SQL> select * from scott.emp;
14 rows selected.
Statistics
0 recursive calls
0 db block gets
8 consistent gets
0 physical reads <---------------No PIO, which means it was accessed truly from the cache and didn't involve disk IO at all.
0 redo size
1415 bytes sent via SQL*Net to client
381 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
14 rows processed
SQL>HTH
Aman....
Edited by: Aman.... on May 21, 2009 11:58 AM
Similar Messages
-
Weblogic 11G error = BEA-000449 Closing socket as no data read from it
In My Weblogic 11G, i am getting Warning msg in my log file saying Closing socket as no data read from it
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,089 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,088 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:21:37 AM IST> <Info> <JDBC> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1288637497701> <BEA-001128> <Connection for pool "IB_JDBC_Data_Source" closed.>
I have follow the following step
If you want to follow this solution. Go to Admin console -> Click on Domain->Configuration->Log Filters->create new Log filter.
I added this line in expression "(MESSAGE !='Closing socket as no data read from it during the configured idle timeout of 5 secs')"
Go to your server-(for each server you have to set it individually)->Logging->Advanced->Select this log filter for Standard Out or log file.
My Filter is "(MESSAGE !=Closing socket as no data read from it ')"
this is not working in weblogic 11G, any one have the solution to stop this msg.
Edited by: Amar_Shaw on Nov 3, 2010 1:40 PMHi Amar,
I think you have given the wrong string in the filter, you are getting "*Closing socket as no data read from it on 95.66.7.15:58,089 during the configured idle timeout of 25 secs*" and you have given in the filter "*Closing socket as no data read from it during the configured idle timeout of 5 secs*".
You can change it and see if that works for you.
Also the above option is just to suppress the issue which are getting which in this case is fine as its just a warning message, however you can even try to tune few of the follwoing parameters that too would help you to remove this warning message.
1. Set the parameter -Dweblogic.client.socket.ConnectTimeout=XXX, in the start-up script of the server which you are seeing this issue under JAVA_OPTIONS
Note: Where "XXX" is the value in ms.
Example:
-Dweblogic.client.socket.ConnectTimeout=500
2. Try tuning the duration time to a higher value from the below Console path
Server -> Protocols (tab) -> HTTP (sub-tab) -> Duration
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Middleware Magic | Come, Join Us and Experience The Magic… -
BEA-000449 Closing socket as no data read from it
This error message is filling up the server log files. It looks like some network problem. How can I find the cause ? This does not create a functional problem, but I am sure there will be a performance problem. Also, since this message is filling up the logs rapidly, I cannot see my regular application debug statements.
<Warning> <Socket> <myserver.mydomain.net> <my_managedserver_01> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1218554019557> <BEA-000449> <Closing socket as no data read from it during the configured idle timeout of 30 secs>
The timeout of 30 seconds is the value set in Login Timeout in server tuning tab.
Environment:
WebLogic Portal 10.0 MP1 (The domain is a server domain, not portal domain)
Red Hat linux 4
Intel Xeon
Message was edited by:
prakashpIn My Weblogic 11G, i am getting Warning msg in my log file saying Closing socket as no data read from it
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,089 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,088 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:21:37 AM IST> <Info> <JDBC> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288637497701> <BEA-001128> <Connection for pool "IB_JDBC_Data_Source" closed.>
I have follow the following step
If you want to follow this solution. Go to Admin console -> Click on Domain->Configuration->Log Filters->create new Log filter.
I added this line in expression "(MESSAGE !='Closing socket as no data read from it during the configured idle timeout of 5 secs')"
Go to your server-(for each server you have to set it individually)->Logging->Advanced->Select this log filter for Standard Out or log file.
this is not working in weblogic 11G, any one have the solution to stop this msg. -
CTRL-M (^M) characters in data read from sockets
Hi,
We have developed a software applications which opens upto 300 TCP connections and 4000 UDP sockets. The data from the TCP application is multiplexed to UDP sockets and viceversa.
We connect to the application using a TCP socket and send certain data to the application which in turns sends this data to all the 4000 UDP sockets. The data received from 4000 UDP sockets is in turn sent back to the TCP socket as responses.
We used telnet to connecct to thespecific TCP port on our application, sent a request to be sent to all 4000 UDP sockets and noticed ctrl-M characters in the data received from TCP socket. However we are sure we are not appending or adding this ctrl-m character while sending the data on TCP socket.
telnet host port >/tmp/abc
send a request
send next request
(after 10 mins, close connection)
cat -vet /tmp/abc >/tmp/xyz
There are ctrl-m characters in /tmp/xyz.
^M is observed only at the end of few lines and not on all lines. Successive repeatition of this test generates ^M in different lines but at the end of the line always.
Can anybody help me to know why these ^M characters are getting generated?
Note: We are completely working on Solaris and do not move contents across Windows and Unix. Our application is completely written on C++
Thanks.
Message was edited by:
shekhnamI think I've misunderstood something here. The problem you're having is with the response being filtered by Telnet or your client, not what telnet is sending to the server?
In that case I think the explanation is clear. Telnet is trying to display what comes back on a screen, and it is deleting and inserting newlines every now and then according to its internal whim so as to make the data wrap. I don't know if you can control that, but I also don't know if it matters as long as you have your own client application. You just have to stop treating Telnet as a viable test client. -
Putting data read from a StreamTokenizer into an array.
I need to put the data that I have read from a file using a streamtokenizer into an array, so that I can use it later on in my program.
If anyone can help I would be grateful!!Here's a link that should help. It even includes an example:
http://java.sun.com/docs/books/jls/first_edition/html/javaio.doc14.html -
Excel data read from users and upload in to Oracle DB using custom webpart
Hi Team,
I need to get the excel date from user using file upload control and read the data from the excel using custom webpart and validate the each rows whether having the values or not and need to upload the data to the oracle database.
Can you please let me know the best approach to read the data from excel using sharepoint custom webpart.
Thanks,
MylsamyHi,
According to your post, my understanding is that you want to read excel data from the uploaded file and insert the data into Oracle Database.
The following way for your reference:
1.Create a Visual Web Part using Visual Studio.
2. Add an asp.net upload control into the .ascx file.
<div>
<asp:FileUpload ID="fileupload" runat="server" />
<asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" Text="Upload" />
</div>
3. Add some logic methods into .ascx.cs file.
protected void btnUpload_Click(object sender, EventArgs e)
//read data and insert the data into Oracle database.
4.We can create a web service for adding data to Oracle database, then consume this web service in the visual web part.
More information:
http://msdn.microsoft.com/en-us/library/ff597539(v=office.14).aspx
http://manish4dotnet.blogspot.in/2013/02/upload-ans-read-excel-file-using-c.html
http://msmvps.com/blogs/windsor/archive/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010.aspx
Best Regards
Dennis Guo
TechNet Community Support -
Data read from text file(notepad) not enterd into particular field
Hi frends, I have used function "F4_FILENAME" and "GUI_UPLOAD" to upload a text file in notepad on my desktop to an internal table in SAP.after that i used the folowing code line to copy data from one table to other:
" insert tab2 from table itab accepting duplicate keys. "
But my problem is that in tab2 i have total 5 fields.In notepad file i have written following two words:
achal
mehra
now when i copy the data from itab to tab2 , it shows word "achal" in the field 1 of 1st row and "mehra" in field 1 of 2nd row only.
what i want is to store "a" in field1 "c" in field2 and so on in row 1.
similarly "m" in the second row and field1.
PLZ guide me.I am new to ABAP.thnx frend but dear ur code has syntax error.Actually I am new to ABAP. I am using following code as a part of my program :
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = d_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = ''
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
TABLES
DATA_TAB = itab
LOOP AT gt_file2 INTO lwa.
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED =9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
IF SY-SUBRC <> 0.
ENDIF.
loop at itab.
Write:/ ITAB.
endloop.
insert zlfa4 from table itab .
plz guide me where i shud use ur code and plz write the exact syntax for me if u can. -
Caching data read from database
I have a big performace problem in our J2EE application. We use jsp and servlets to process a request. Servlet gets the results from database which are stored in a vector of dataobjects and vector is stored in session. We display only 20 rows in jsp and provide page navigation to view more data by Next and Prev links. The problem is we want to store results in request object instead of session variable but then that data is not availabe for Next and Prev links. We don't want to do another search to view more data. Is there a way to cache the data so that while view more data by page navigation we don't need to hit database since request object would be cleared at that time. I am clueless. I hope I explained the problem properly. Any help on this would be highly appreciated
You're not clueless, you said it yourself.
To make info available over multiple requests, you need to use a session variable rather than the request. -
How to store the data read from excel using java code in Ms access database
Hi. I wrote a code to read the data from excel. May i know how can i save it to Ms access database using java. Also i have many excels. So i should not connect the database using DSN. So is there any other way to achieve this?
kramish wrote:
Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
just doing a quick Google came up with some pages:
http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
Kaj -
Data read from Memory use - ranked list
Dear Experts,
I am trying to read data from memory use -ranked list.
In general we use function pool to read the data but in case if we should read the data from a class can we do it.
{O:267}-IF_PT_HRS_D_IF~IM_CONTRACT_TES[1]-TES
in the above class in TES table we have data , we have to read data from TES .
In memory use ranked list it is like below
{O:451*\CLASS=CL_PT_HRS_IF}
Object
Regards,
Kartheek.Philip
This one is really tricky. Display value just shows the rank but it would hold the actual value when you try to do calculations.
We have had similar problem but it was not related to ranking.
One Simple approach could be
Make them use Wrokbooks and do this calculation by using a SUM formula in Excel. Excel will consider whta is being displayed as a value for that cell
One far complicated solution is you can use the Olympic ranks and Do your sum in a Macro.
What I mean is if you get the last rank to be 10 then you can write your program to do the sum as
1098765432+1.
This approach could be taken only if they are OK with Olympic ranking.
Edited by: Abhijit N on Dec 10, 2008 10:19 PM -
Data read from AI buffer missing samples at start
I'm using a USB-6251. The program sets up two AI channels (reading I and Q) on a single task and a DO channel on another task. The DO channel uses the ai\SampleClock as it's clock, so the two are synchronized. The DO creates a periodic rising edge digital pulse (a clock, basically) that is used as a trigger on an external function generator. The signal from the function generator, after passing through some external signal processing hardware, is eventually what is read in by the AI channel.
We know from scoping the relevant signals, that they appear to be synchronized correctly. That is to say, the analog signal to be read arrives at the AI channel of the DAQ more or less instananeously with the DO trigger being activated. If there is a delay, it is on the order of a few microseconds.
However, when I read in the AI buffer (FiniteSamples in a repeated fashion), the waveform I get back always has a section of samples at the start that appear to be backfilled from the first actually read data-point (see the attached image). This delay is on the order of milliseconds (it varies with each run).
I want to eliminate this delay entirely. The signal should be a sinusoid that starts at sample 0 and is continuous through until the last sample read.
I have put the code below.
Setup:
// Create the analog read task
analogReadTask = new Task("analogReadTask");
// Create the virtual channel for the I component
analogReadTask.AIChannels.CreateVoltageChannel(initParams.AddrI.ChannelAddress, "I", AITerminalConfiguration.Differential, -4, 4, AIVoltageUnits.Volts);
// Create the virtual channel for the Q component
analogReadTask.AIChannels.CreateVoltageChannel(initParams.AddrQ.ChannelAddress, "Q", AITerminalConfiguration.Differential, -4, 4, AIVoltageUnits.Volts);
// Configure the clock for the analog reads
analogReadTask.Timing.ConfigureSampleClock(string.Empty, initParams.SamplingRateHz, SampleClockActiveEdge.Rising, SampleQuantityMode.FiniteSamples, totalSamples);
// Create the mult-channel reader
analogReader = new AnalogMultiChannelReader(analogReadTask.Stream);
analogReader.SynchronizeCallbacks = false;
pulseWriterTask = new Task("pulseWriterTask");
// Create a digital output channel that provides the trigger to the U/S system
pulseWriterTask.DOChannels.CreateChannel(initParams.AddrUsTrigger.PortLineAddress, "US trigger", ChannelLineGrouping.OneChannelForEachLine);
pulseWriterTask.Timing.ConfigureSampleClock("/Dev1/ai/SampleClock", initParams.SamplingRateHz, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples, samplesPerPulse);
pulseWriterTask.Stream.Buffer.OutputBufferSize = samplesPerPulse;
pulseWriterTask.Stream.WriteRegenerationMode = WriteRegenerationMode.AllowRegeneration;
pulseWriter = new DigitalSingleChannelWriter(pulseWriterTask.Stream);
pulseWaveform = new DigitalWaveform(samplesPerPulse, 1, DigitalState.ForceDown);
pulseWaveform.Signals[0].States[0] = DigitalState.ForceUp;
analogReadTask.Control(TaskAction.Verify);
pulseWriterTask.Control(TaskAction.Verify);
Starting the read:
analogReadTask.Start();
// Start writing the digital pulse, however it will not begin
// until the ai/SampleClock starts, thus implicitly synchronizing the two tasks
pulseWriter.WriteWaveform(true, pulseWaveform);
analogReader.BeginReadWaveform(totalSamples, readerCallback, analogReadTask);
Result (should be a sinusoid from start to finish)
Solved!
Go to Solution.More information. The very first read is different from subsequent reads.
On the first read, I only see 11 trigger signals, even though we expect 16 (250-sample period for 4000 samples at 40Khz).
On subsequent reads, we see 16 trigger signals as expected, but still a small delay at the beginning of the read. -
Data Read from Infoprovider using BAPI
Hello Team
we are using SCM 7.0
We want a BAPI which can be used to fetch data from infoprovider (for selected Chars and CALMONTH) and display it on a Z Screen.
Can any one one please let me know the BAPI?
We tried FM RSDRI_INFOPROV_READ , BAPI /SAPAPO/DPBW_CUBE_READ in SE37, but it gives the error as - Error generating the test frame.kramish wrote:
Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
just doing a quick Google came up with some pages:
http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
Kaj -
How can an image be displayed by using raw data read from the serial port?
Hi there,
I am using an embedded camera to take photos. To operate it i send commands to it via the serial interface. I have received all of the image data back through the serial port and can view it as hex data in a string. The image data is 16bit colour RAW data at 160x120 resolution meaning i have 38400 bytes of data (160x120 = 19200. 19200*16 = 307200. 307200/8 = 38400). I want to be able to display this data as a picture, but cannot figure out how to do it. Can someone please point me in the right direction? i have been fiddling about with lots of the pixmap functions but no luck. Do i need to put this data in to a 2D array first?Yes, first convert it into a 2D array of pixel values. From there you can convert it into an image to display it in a picture control.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Scaled data output from AI Read floats to maximum after switching relay
Relay turns off motor. Sensor data read from MAX remains normal, same data read with AI READ jumps to negative value then floats to maximum value over >10 seconds. I am using LabVIEW 7.1 with an SCXI-1000. Re-running AI Config and AI Start resets the data to realistic levels (matching those read by MAX). Is there an error in using AI Read with LabVIEW 7.1?
Sounds like your AI input is unterminated. Unconnected input will cause input reading to drift/float. Check connections, contacts, wiring, relays, etc...
- tbob
Inventor of the WORM Global -
Need help : Reading from DAQ through TCP/IP ?!!
Hello
I have two machines running labview connected to a network. Basically,
I want to read data from a temperature sensor through a DAQ card
from one machine, and be able to plot the data in a chart in the
other machine. I'm trying to use TCP/IP feature to do that but it's not
working.
There is a VI in the tcp.lib "simple data client.vi " and
"simple data server.vi" that does the same thing except that
the data are of type double generated from a sine function and
a random number generator. So i tried to do the same but since
the data read from the DAQ has a thick brown line (not sure what
type) the task was not easy. In the server part i tried to broadcast
3 things through (tcp write.vi): The type of the data, the l
ength of the
string, and the data itself. On the client side i read (tcp read.vi)
these things and plot the data. But i'm not getting any output on the chart.
I had to use (Type Cast), (flatten to string) and (unfatten from string)
in order to get the right wiring. Both VIs run but there is no output
on the chart.
I know it's hard to explain in words, but if anyone is interested i can
give more detai or send the vis to him to look at them. They seem very simple and
straight forward but i don't know why they don't work.
Appreciate any help.
Thanks
SamiTry running the "Remote Device Access Server" (RDA) on hte machine that has the DAQ card in it. You'll find it in NI-DAQ folder under National Instruments in your Start Menu. (guessing you're running Windows here?)
With this running, you can start MAX on any machine on the network and access and configure the DAQ cards in the remote machine and program an applicaiton just as if the DAQ cards were local. You'll need to know either the remote machines IP address or network name.
I've used it quite a bit and have never had a problem. The Help inside MAX gives good details on how to set it up and use it.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Maybe you are looking for
-
Creation of solution is not possible in Solution_manager
I have connected the development system in SMSY Tcode.But i am unable to create solution in Solution_manager Tcode .I have tried to create new solution but it is not moving to next screen to create solution .Whether i have to apply any support packa
-
[SOLVED]Gnome "save as" menu very slow
I am experiencing terrible performance in Gnome while trying to save some file and choosing the directory for the file. It happens in every application (downloading files in Firefox, saving files created in any app etc.). This was the case with every
-
I am unable to create pdf using adobe printer to a redirected folder on a server running windows server 2003
-
Upgraded to Lion-internet not working, lost Itunes account
Internet/ wifi not working since I upgraded to Lion, I also lost itunes (being advised to install latest version.) I did back up the laptop prior to upgrading..... COME ON APPLE- THIS IS STUPID!!!!!
-
Multiuser pulseaudio - works for 2 of 4 users
Ok, I'm pulling my hair out here. I've one computer setup for 4 different users (one dwm, 3 on xfce). Pulseaudio is working for 2 users...the dwm and 1 of the xfce users. I can't for the life of me get sound working for the other 2 users!! Users are