Use the FileSize () function command to implement statistics for file size, requiring: 1, one output in GB, MB, KB, B, 2. The order of magnitude must be greater than 1 less than 1024 and retain two decimal places;
Commencement of construction:
Copy Code code as follows:
$len = FileSize ("1.RMVB");
$i = 4;
while ($i) {
if ($out = $len/pow (1024, $i) >1.0| | $i ==1) {
Switch ($i) {
Case 4: {printf ("%.2f TB", $out);
Case 3: {
Starting from 10 Gb, oracle began to provide Shrink commands. If our tablespace supports automatic segment space management (ASSM), we can use this feature to narrow down the segment, that is, reduce the HWM. Here we need to emphasize that this new 10g feature is only valid for the ASSM tablespace, otherwise the ORA-10635: Invalid segment or tablespace type will be reported.
Here, we will discuss how to recycle wasted space for an ASSM segment.
Simila
Quickly install Oracle Database 10 GB on RedHat AS3:
Su-root
Dd if =/dev/zero of = tmpswap bs = 1 k count = 900000
Chmod 600 tmpswap
Mkswap tmpswap
Swapon tmpswap
Check the tmp space and run the command: $ df/tmp
If the temporary space is insufficient, you can create or specify another file to store the temporary file as follows:
Su-root
Mkdir/tmp
Chown root. root // tmp
Chmod 777 // tmp
Export TEMP =/
Export TMPDIR =/
After installing Oracle, close O
Tomcat 6.0+Oracle 10 GB Data source connection testThe process is what we will introduce in this article. Next let's take a look at this part of content, hoping to help you.
The connection test procedure is as follows:
1. Copy the driver package \ product \ 10.2.0 \ db_1 \ jdbc \ lib under the Oracle directory to copy the ojdbc14.jar file to the lib directory under the tomcat directory;
2. server in the tomcat conf directory. in xml, insert the follow
Automatic expansion of Oracle 10 Gb tablespaceHow is it implemented? This article mainly introduces this part of content, hoping to help you.
Method 1: Management Interface em
Command:
ALTERTABLESPACE"TBS_NAME"
ADDDATAFILE'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\ex_data'
SIZE10240MAUTOEXTENDONNEXT50MMAXSIZEUNLIMITED;
Note: This command modifies the original tablespace.
Data File Name: ex_data
Oracle Directory: C: \ ORACLE \ PRODUCT \ 10.2.0
Oracle 10 Gb installation procedure1. decompress the file 10201_database_win32.zipand double-click setup.exe under the project. The installation interface is displayed as follows:2. Enter the password and confirm the password, for example, password. Click next and the following progress bar appears,Note: This password is the administrator password.3. Check the prerequisites and select the selection box shown in the red box, as shown in:4. Click "Next"
Import and export of a single data table in oracle 10 GB 1. Export tool exp is an executable file in the bin folder under the oracle root directory. The specific directory is/ORACLE_HOME/BIN/exp. This tool can be used to export tables in the database. The interactive procedure is as follows: 1. Start --> program --> Oracle DataBase 10g Express Edition --> Start the DataBase. After the execution, the path is automatically changed to the bin directory.
Sometimes to improve data security, we need to set one or more tables to read-only, that is, no DML (Insert, Update, Delete) operations can be performed on them. In Ora
Sometimes to improve data security, we need to set one or more tables to read-only, that is, no DML (Insert, Update, Delete) operations can be performed on them. In Ora
Sometimes to improve data security, we need to set one or more tables to read-only, that is, no DML (Insert, Update, Delete) operations can be performed on t
is 8.8 Gbps. The chip process adopts the 0.25um process.
3. Broadcom
As a leader in the data communication chip industry, Broadcom launched a GB hybrid switch chip solution that integrated MAC and PHY into the same chip a few years ago. The chip's network compatibility, stability, and performance specifications exceed those of other companies. According to different market positioning, Broadcom has released three chips for the Gigabit hybrid switch s
AlwaysOffBCDedit/set PAE plugin. First, click Install On the right to Install the Ramdisk driver, after Insatll is installed in the prompt box, you can create a Ramdisk. For example, my memory is 4 GB, Which is 4096 MB in total. The integrated video card uses 128 MB, 3326 M can be used in Windows 7 (view the Task Manager). Therefore, if 4096-128-3326 = 642 M www.2cto.com is idle, we can also say that there is 642 MB of space. In this case, we create
Oracle 10 Gb Deleted Data Query methods (1) as of timestamp eg. SQL code select * from t_table as of timestamp (sysdate-1/24) where... note: The table alias (2) as of scn SQL code SQL> select dbms_flashback.get_system_change_number from dual; GET_SYSTEM_CHANGE_NUMBER -------------------- 1859181 -- if you do not know the exact scn, try a smaller SQL statement> select count (*) from t_table as of scn 1800000; SQL> insert into t_table select * from t_ta
Oracle installation path/opt/oracle/product/10.2/db_1
Dbstart path/opt/oracle/product/10.2/db_1/bin/dbstart
Oracle comes with a script dbstart, which is used to create an automatic script for running Oracle 10 Gb under solaris 10. Before starting an oracle instance, run the script dbstart:
-bash-3.00$dbstart
ORACLE_HOME_LISTNERisnotSET,unabletoauto-startOracleNetListener
Usage:/opt/oracle/product/10.2/db_1/bin/dbstartORACLE_HOME
The p
, it is still possible to track the SELECT statement of a table to facilitate optimization.
10 Gb fine-grained Audit
In Oracle 9i Database, this policy can only audit select statements. However, in Oracle Database 10g, you can extend it to include insert, update, and delete. You can achieve this by specifying a new parameter:
Statement_types => 'insert, update, delete, select'
This parameter enables audit for all included statement types. You may eve
. Create a password file
6. Start the database to the nomount (Instance) Status
7. Execute the database creation script
8. Execute catalog to create a data dictionary.
9. Run catproc to create a package.
10. Run pupbld.
11. Create a spfile file from the initialization parameter file
12. Execute the Scott script to create the Scott mode.
After completing the above steps, you can use "SQL> alter database open;" to open the normal use of the database. Next, I will use the above steps as an experime
Oracle 10 Gb new feature -- selective compilation
Author: Fuyuncat
Source: Www.hellodba.com
Oracle10g provides a new feature that is very convenient for developers-selective compilation. That is, only part of the code in PL/SQL can be compiled through the condition. If you are familiar with C ++, you will feel very cordial about this feature, because it is very similar to the conditional Macros in C ++. When 9i is used, develo
Large Text File Viewer 5.2-Features
Features| Screenshots | download
Have you ever felt frustrated when you just want to look at the content of a large text file but it takes forever for notepad or word to open it?
This program was designed for viewing large (> 1 GB) text files.
It uses little memory and is able to open a gigabyte file instantly.
Background File indexing makes browsing even faster.
It opens files that are currently being writt
Download instantclient-basic-win32-10.2.0.4.zip
Assume that the installation directory of Oracle 10 Gb is D: \ oracle \ product \ 10.2.0 \ db1
First, extract instantclient-basic-win32-10.2.0.4.zip to the local disk D: \ oracle \ product \ 10.2.0 \ instantclient_10_2
Copy the D: \ oracle \ product \ 10.2.0 \ db1 \ Network \ admin \ tnsnames. ora file under the root directory of the database installation.
Go to the Oracle Client Directory D: \ o
, that is, the manager. You can reset the account password after the database is created.SQL> connectsystem/ManagerSQL> Start D:/Oracle/product/10.1.0/db_1/sqlplus/admin/pupbld. SQL
11. Initiated ParametersCreate a spfile File
SQL> Create spfile from pfile;
12. Execute the Scott script to create the Scott mode.
SQL> StartD:/Oracle/product/10.1.0/db_1/rdbms/admin/Scott. SQL
13. Open the database to a normal state
SQL> alter database open;
14. Connect to the database with Scott (password: Tiger) a
In. Retained for future studies. I hereby declare that the results of others do not belong to me.
Server: hpdl
580 GB
2 (Dual CPU
6g
Memory) win2003 Enterprise Edition + Oracle 9i
2.0.3
. 0
1. Add the startup parameter to boot.int.
3G
And PAE
Multi (0) disk (0) RDISK (0) Partition (1)/winnt = "Microsoft Windows 2003
Enterprise
Edition"
/
3G
/PAE/fastdetect
2. Add a string value in the registry [HKEY_LOCAL_M
Wglhosting provides 10 gb php space for free. Space details: UltimateFreeThebestfreewebhostingpackageonthenet! 10gigsofspace200gigsofbandwith Image: Probe demo: xiuyi. wglhosting. comtz. php space details:
Ultimate Free
The best free web hosting package on the net!
10 gigs of space
200 gigs of bandwith
Related images:
= 700) window. open ('/upimg/allimg/080815/0957170 .jpg'); "alt =" onload = "if (this. width> '200') this. width = '000000'; "border =
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.