To understand the role of each file, you must master the basic concepts of Oracle.
I. backup and recovery of Oracle basic files
1. logfile diversification and Backup Recovery
Log query
Select * from v $ logfile;
Select * from v $ log;
Manually switch logs
Alter system switch logfile;
Manual checkpoint
Alter system checkpoint;
Alarm Log File
Show paramter dump
$ ORACLE_BASE/admin/orcl/bdump
Tail-f alert *. log
Diversified log
Python Implementation of reading files by line [reading small files and large files ],
This example describes how to read files by row in Python. We will share this with you for your reference. The details are as follows:
Small file:
# Coding = UTF-8 # author: walker # date: 2013-12-30 # function: read small
Open File: Fopen:fopen (Filename,mode);//fopen ("Test.txt", "R");Open mode: R read-only open, the file pointer to the file header r+ read-write mode open, the file pointer to the file header W write method, point to the file header, if not present, try to create w+ Read-write mode, point to the file header, if it does not exist then try to create a write mode open, point to the end of the file, if not exist then try to create a + read-write mode open, point to the end of the file, if not present
To open multiple files:1.vim has not started yet:Enter in terminalVim file1 file2 ... filen can open all the files you want to open2.vim has startedInput: Open FileA file can be opened again, and the contents of the file will be displayed in Vim at this time.
: E.. /myfile.pl
1. Vim Document name Open document in normal way2. Vim +n document name after opening the document, position the nth row3. Vim, after
In Windows CE, the SDK contains other files (add additional. H files and. Lib files)
Method: when generating the SDK, choose platform> SDK> Configure SDK and select splash screen from the opened SDK setting, if you select Show OEM splash screen at SDK installat and select a BMP image in the text box below, you can display the set image when installing the SDK. S
SWF files cannot access local resources. Only SWF files in the file system and trusted local SWF files can access local resources. [reprint]
Article category: Flash ProgrammingError message: securityerror: Error #2148: SWF file D: \ demo \ test \ index.swf cannot access local resources D: \ demo \ test \ bin-Debug \ textlayout_4.0.0.10485.swf. Only the SWF
(dires[i));Panax Notoginseng //recursion of the function, appeared - Showeveryfile (Dires[i], newnodes.nodes); the } + A //when a function is applied to the deepest depths, it is called when it is ready to come out one layer at a time . the string[] files =directory.getfiles (path); + for(inti =0; I ) - { $ nodes. ADD (Path.getfilename (
How to delete files forcibly-deleted files cannot be recovered, and files can be deleted forcibly
The normal deletion method is shift + delete or clear the recycle bin. files can be recovered, so how to delete the files cannot be recovered.
I chose 360 strong deletion.
To publish to WebLogic, you can configure it in webcontent \ WEB-INF \ weblogic. xml.The configuration is as follows:Xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"Xsi: schemalocation = "http://java.sun.com/xml/ns/j2eeHttp://java.sun.com/xml/ns/j2ee/web-app_2_4.xsdHttp://www.bea.com/ns/weblogic/90Http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd>
----------------------------------------------------------------- classloader loading sequence at Tomcat startup List of Tomcat class
In the "MFC" to use the file read and write, Theapp global variables to the real login account management System (click Open link), although also used to open and save the file, but this is when the user opens and closes the dialog box automatically. Now set an "open" button with a "Save" button, you can give users the freedom to choose the location of the saved files, enter the file name, but the saved file format can only be specified by us. Ifo, be
Php file include static files. is the effect the same as Accessing static files directly? nbsp; lt ;? Php nbsp; { nbsp; does the inc php file include static files with the same effect as Accessing static files directly?
{include'/123.html');}?>
I wrote this code in index. php on the homepage file and mounted th
In the project to download the file and call the system software to open, the file is the server, the following are some code snippets:Download files using the ProgressBar and HTTP protocols:If you do not have this file, create and download it first, and if you have one, open it:private void Playmeida () {File2 = new File (Savepath + "/" + filename);if (!file2.exists ()) {New Thread () {public void Run () {try {Down_file (path, savepath);} catch (Clie
1. View all users in the current database: Select username from dba_users;2. View the user logged in for the current session: Show users or select username from user_users;3. View all tables for a user: SELECT * from Dba_tables where owner= ' username ';--username to capitalize or select table_name from dba_tables where owner= ' Netfolder ‘;4, check the location of control files, and other information: SELECT * from V$controlfile;5. View users and the
How to compress files, how to encrypt compressed files, and how to encrypt compressed files
We often encounter File compression and file encryption in our daily lives and work. Sometimes, they simply don't want others to see it; sometimes, they provide downloads but cannot share them, and they are used to get profits. So how to compress a file or a folder? At th
Package Jar files into Linux executable files and linuxjar files
Because I don't want to write java-jar jarfile, I want to directly write./jarfile to run the program.
#!/bin/bash - #===============================================================================## FILE: shell_pack.sh# # USAGE: ./shell_pack.sh # # DESCRIPTION: # # OPTIONS:
The struts2 File Upload is actually implemented through the interceptor, but the interceptor is defined as the default interceptor, so you do not need to manually configure it.
1) by default, Struts. multipart. maxsize = 2097152 in the default. properties file is specified2097152That is, 2 m, calculated by 2097152/(1024*1024) = 2 m
Then we can change its default value. As long as we create a new struts. properties file under the src directory, specify the upload size as follows:
Only 10 MB c
Open File: Fopen:fopen (Filename,mode);//fopen ("Test.txt", "R");Open mode: R read-only open, the file pointer to the file header r+ read-write mode open, the file pointer to the file header W write method, point to the file header, if not present, try to create w+ read The Write method, pointing to the file header, if it does not exist, attempts to create a write mode open, points to the end of the file, if it does not exist, tries to create a + read-write mode open, points to the end of the fi
What file is a GIF file?
GIF is divided into static GIF and animated GIF two kinds, is an image file with our psd,jpg is just the same as the storage algorithm.
What tool does the GIF file open?
GIF files do not need specific software to open, if we just see can be directly double-click the picture to preview, if we want to edit the picture need to use special tools such as Firwork,ps to deal with.
How do you make GIF
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.