* | grep ASCII | cut-d ":"-F1 | grep ASCII | cut-d ":"-f1'The xargs version is used to explain the concept. Linux can use several methods to complete the same task. Please use the method that best suits your situation.By using this method, you can quickly rename files in the directory.$ Ls | xargs-t-I MV {}{}. Bak-The I option tells xargs to replace {} with the name of each item {}. The-T option indicates that xargs prints the command before executing it.Another useful operation is when you use
At the Google I/O conference held last week, Google officially announced the second generation of TPU, also known as Cloud TPU or TPU 2. However, Google has not introduced its new chip in detail, showing only a few photos.
The next platform released an article today, based on Google's images and details, takes you to the TPU2 of Google. The quantum bits are compiled as follows:
The first thing to say is that Google is unlikely to sell TPU chips, motherboards or servers to the public. For the mom
1. Oracle tracking File
There are three types of Oracle trace files: one is the background alarm log file, which records the activity of background processes during database startup, shutdown, and running, such as creating tablespaces, creating rollback segments, some alter commands, log switching, and error messages. When the database fails, you should first check the file, but the information in the file is not necessarily related to any error status. The background alarm LOG file is saved in
; true and binds => true do not need to be explained.Tkprof)
The trc file after tracing can be found in the DIAGNOSTIC_DEST directory, but the trc file generated by direct tracing is not readable. you need to use an oracle tool to process the following: tkprof.
For example, the trc file name is orcl_ora_1234_wjf.trc.
Then we need to exit sqlplus at the system lev
/opt/app/oracle11/diag/rdbms/vas/vas/hm 1 Default Trace File /opt/app/oracle11/diag/rdbms/vas/vas/trace/vas_ora_10952.trc 1 Active Problem Count 2 1 Active Incident Count 1711 rows selected.1.2 ADRCI Tool
The ADR is fully based on the file system. You can use ADRCI to query the content of the ADR. You can also package the event and problem information in a ZIP
A friend's company's database encountered an exception and there was no backup. After the database is opened, crash will be quickly cleared. The following alert log information:Tue Jul 08 22:53:03 2014SMON: enabling cache recovery[2, 13803] Successfully onlined Undo Tablespace 2.Undo initialization finished serial: 0 start: 7751194 end: 7751284 diff: 90 (0 seconds)Verifying file header compatibility for 11g tablespace encryption ..Verifying 11g file header compatibility for tablespace en
1. Oracle tracking FileThere are three types of Oracle trace files: one is the background alarm log file, which records the activity of background processes during database startup, shutdown, and running, such as creating tablespaces, creating rollback segments, some alter commands, log switching, and error messages. When the database fails, you should first check the file, but the information in the file is not necessarily related to any error status. The background alarm log file is saved in t
] oracle.sysman.assistants.util.sqlengine.sqlfatalerrorexception:ora-03113: End-of-file on communication channel
As can be seen here, ASM instances cannot be logged (ORA-01012 and ORA-03113), and the ASM log is parsed based on such errors
Reconfiguration complete
Fri 24 12:49:29 2015
LCK0 started with pid=22, OS id=46913
Errors in File/u01/app/grid/diag/asm/+asm/+asm1/trace/+asm1_lmd0_46887.trc (incident=81):
ora-04031:unable to allocate 7072 bytes of
A friend found me, said he did the wrong operation of the production library, resulting in database anomalies, please I help processing, the/U01 directory modified users and permissions, resulting in the database can not log on, but the business continues
Error Operation command
Mkdir-p/u01/app/gridMkdir-p/u01/app/11.2.0/gridChown-r grid:oinstall/u01Mkdir-p/u01/app/oracleChown oracle:oinstall/u01/app/oracleChmod-r 775/u01Try Sqlplus Login Database ORA-12547[Oracle@www.xifenfei. COM admin]$ sql
Label:Today, I learned a little bit about the RML utilities tool, and I think this tool is really good to use with SQL Server Profiler tools. Tool forThe Replay Markup Language (RML) utility for SQL Server: https://support.microsoft.com/zh-cn/kb/944837 RML Utilities for SQL Server (x86) –https://www.microsoft.com/en-us/download/details.aspx?id=8161RML Utilities for SQL Server (x64) –https://www.microsoft.com/en-us/download/details.aspx?id=4511 Some machines will prompt for installation: Microsof
PL/SQL DEVELOPER, you can use the following script to query the trace log information.
Copy codeThe Code is as follows:
Select t. VALUE | '/' | LOWER (RTRIM (I. INSTANCE, CHR (0) | '_ ora _' |
P. SPID | '. trc' TRACE_FILE_NAME
FROM
(Select p. SPID
From v $ mystat m, V $ session s, V $ PROCESS P
Where m. STATISTIC # = 1
And s. SID = M. SID
And p. ADDR = S. PADDR
) P,
(Select t. INSTANCE
From v $ thread t, V $ PARAMETER V
Where v. NAME = 'thread'
AND
$ session where username is not null;
Then, you can trace the selected session ID and serial port SQL statements, as shown in the following command.
EXECUTE sys. dbms_system.set_ SQL _trace_in_session (10,264 2, TRUE );
After tracing SQL statements, we can perform operations on the client, and the SQL statements used in these operations will be recorded until we end SQL statement tracing.
After the client completes the operation, use the following command to end SQL statement tracing.
EXECUTE s
until we end SQL statement tracing.
After the client completes the operation, use the following command to end SQL statement tracing.
EXECUTE sys. dbms_system.set_ SQL _trace_in_session (10,264 2, FALSE );
After the synchronization ends, an latest file is generated in the Oracle server folder. for files with the trc suffix, we can use the Search Everything tool to find the most recently produced files. trc
One rhel5.8 file system read-only caused by ORA-00354: corruptredologblockheader
An rhel5.8 file system read-only caused by ORA-00354: upt redo log block header
Wed Jun 03 03:31:24 CST 2015 Thread 1 advanced to log sequence 396 (LGWR switch) Current log #3 seq #396 mem #0: /u01/app/oracle/oradata/orcl/redo03.logWed Jun 03 19:05:48 CST 2015 Thread 1 advanced to log sequence 397 (LGWR switch) -----------------> you can see from this point: sequence 397 is the current redo log Current log #1 seq #3
them for editing.It also has several options. The most useful may be the-p option, which makes the operation interoperable:$ file * | grep ASCII | Cut-d ":"-F1 | Xargs-p VIVI Alert_dba102.log DBA102_CJQ0_14493.TRCDBA102_MMNL_14497.TRCDBA102_RECO_14491.TRC DBA102_RVWR_14518.TRC?...The xarg here requires you to confirm before running each command. If you press "Y", the command is executed. You will find this
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.