Ethernet switches are expanding their applications to the network core. This is mainly from two aspects: one is that Ethernet switches have the function of routers, not even, there are more than three layers of switches; the second is the maturity of the physical layer technology and the Exchange technology makes the Ethernet break through the area of the LAN, and can implement the network across a wide range of regions, such as Single-mode fiber transmission distance can reach more than 40 kilo
Error Case:
Create a tablespace with a size of 20G in the DB2 database of the AIX system, with the following specific SQL:
create REGULAR TABLESPACE HTDC_DATA PAGESIZE 8 K MANAGED BY DATABASE USING ( FILE ’/db2_tag/TABLE_SPACES/HTDC_DATA/HTDC_DATA.dat’ 20G) EXTENTSIZE 16 OVERHEAD 10.67 PREFETCHSIZE 16 TRANSFERRATE 0.04 BUFFERPOOL BPHTDC dropPED TABLE RECOVERY OFF
Error code: SQLCODE 0968C
Error message: File System is full. (File system is full)
Problem reason: The maximum file size allowed
Ethernet switches are expanding their applications to the network core. This is mainly from two aspects: one is that Ethernet switches have the function of routers, not even, there are more than three layers of switches; the second is the maturity of the physical layer technology and the Exchange technology makes the Ethernet break through the area of the LAN, and can implement the network across a wide range of regions, such as Single-mode fiber transmission distance can reach more than 40 kilo
First, environment preparation 1, operating system installation: CentOS 6.5 64-bit minimal installation. 2. Configure IP, DNS, Gateway, hostname 3, configure firewall, open 80, 3306 port vim/etc/sysconfig/iptables-a rh-firewall-1-input-m State--state new-m tcp-p t CP--dport 80-j Accept #允许80端口通过防火墙-A rh-firewall-1-input-m State--state new-m tcp-p TCP--dport 3306-j accept #允许3
306 port through the firewall special prompt: If these two rules added to the last line of firewall configuration, causin
1.tpc-ds download address is as follows
Http://www.tpc.org/tpc_documents_current_versions/current_specifications.asp
1. Installation dependencies
Yum-y install gcc gcc-c++ libstdc++-devel Bison BYACC Flex
2. Installation
Unzip A3083c5a-55ae-49bc-8d6f-cc2ab508f898-tpc-ds-tool.zip
CD V2.3.0/tools
Make
3. Generating data
Generate 10T Data
./dsdgen-scale 10000-dir/dfs/data
Background data generation
100G data generation (can be different machines si
global information synchronization, secure information encryption and backup, make Youdao Cloud Collaboration Enterprise Edition become the necessary tool for you to manage enterprise and carry out effective communication.
How to get the Enterprise Edition
You can get 30 days of trial time by participating in the trial, and if you need to purchase an Enterprise Edition, please contact our sales Email: youdaogroup@service.netease.com
Number of Accounts
Monthly per account
UsersSelect username from dba_users;To modify the password for an Oracle userALTER USER Nmosdb identified by Nmosoptr;To view the path to a data fileSelect Tablespace_name,file_id,bytes/1024/1024,file_name from Dba_data_files order by file_id;View all table space sizesSelect Tablespace_name,sum (bytes)/1024/1024 from Dba_data_files Group by Tablespace_name;Table space size already in useSelect Tablespace_name,sum (bytes)/1024/1024 from Dba_free_space Group by Tablespace_name;Create a large file
Given the speed of recovery and disk loading to memory, the data that a single TimesTen database can cache is typically no more than 100G, and if you need to cache large data, you can generally use multiple timesten to achieve data partitioning or sharding (sharding).Although the TimesTen has the concept of the cache grid, which is the global cache group, it is generally a manual partitioning approach that is directed to the specified TimesTen through
to the slave from the library, we will synchronize the POS location node from this Binlog file with the Master Repository master from the library slave. View the Binlog file name and POS location node of the Master library master as follows: Show master status; Show Master Status\g; /usr/local/mysql/bin/mysqlbinlog/usr/local/mysql/data/mysql-bin.000003 With the above two, we can clearly see the current main library binlog is the Mysql-bin.000003,pos position node is 1616. Five, Export Ilanni d
intervals, ""a "," D ")include400Gdata, ""d "," F ")include100Gdata, we can also2do a similar deal to get the interval ""F "," J ")and ""J "," N "). Now we just need to put the Shard1on the ""d "," F ")data movement to shards4, The Shard2of ""J "," N ")data is moved to the Shard3. So we just need to move200Gdata. If you want to add a new Shard, you can fetch it from the top of each shard 100G data and move it to a new shard, so that you only need to
Label:From Disk partition to Postgresqlinstallation [Email protected] mnt]# Fdisk/dev/sdb Welcome to Fdisk (Util-linux 2.23.2). Changes'll remain in memory only, until the decide to write them. Be careful before using the Write command. Command (M for help): N Partition Type: P Primary (0 primary, 0 extended, 4 free) E Extended Select (default P): Using Default Response P Partition number (1-4, default 1): First sector (2048-1953525167, default 2048): Using Default Value 2048 Last sector, +secto
)
#缺点:
#单表增加过大, such as more than 100G
#结论:
#共享表空间在Insert操作上少有优势. Others do not have a separate table space to perform well. When enabling a stand-alone tablespace, make reasonable adjustments: Innodb_open_files
innodb_open_files=500
#限制Innodb能打开的表的数据, if the tables in the library are particularly numerous, please add this. This value is 300 by default.
innodb_buffer_pool_size=64m
#InnoDB使用一个缓冲池来保存索引和原始数据, not like MyIS
Dblink
SELECT * from Dba_db_links; and other databases have link to this database2. Target Database operations
CREATE TABLE Space
Like what: Sql>create smallfile tablespace "jkzx" datafile SIZE 100G autoextend on;
Set up users and permissions, roles
Like what: Sql>create user JSJK identified Byjskjdefault tablespace jkzx;Sql>grant Connect,resource to JKZX;
Build Dblink (just build public users)
Creat
Tag:sql optimization oracle execution Plan database How to limit CPU utilization? How to scan the big table most quickly. If the large table has a primary key, COUNT (*) will go to the primary key, and Oracle only needs to scan the primary key to complete. Assuming that the table does not have a primary key, then count (*) can only walk the full table scan, the data is very slow. Here, use full (a) to force the whole table to simulate. --Find the partition table above
Oracle Cluster physical configuration requirements and limitations1, Oracle Clusterware supports up to nodes in a cluster on configurations running Oracle Database 10grelease 2 (10.2) A nd later releases.After the 10.2 release, Oracle's cluster supports clusters of up to 100g nodes.2. Network configuration:Minimum 2 net cards per node (one for a public network and one for a private network)Oracle does not support direct connections between cluster nod
From: http://blog.chinaunix.net/uid-20546441-id-1746200.html I'm adding "prerequisites" to some of the issues that are encountered with virtual machine compilation Linux Android source full virtual machine disk space around 100G (60G used to store code and compiled files) swap 30G or so, if too small will lead to missing files after compilation "Concrete steps" theoretically, as long as the next version of the Windows SDK, It comes with fastboot and A
long transaction. innodb_log_file_size=53m # The size of each INNODB transaction log. Typically set to Innodb_buffer_pool_size of 25% to 100% innodb_thread_concurrency=9 # InnoDB kernel max concurrent Threads # MyISAM related Parameters Myisam_max_sort_file _size=100g # MySQL allows the maximum size of temporary files to be used when rebuilding indexes myisam_sort_buffer_size=68m Configuration Description:
Basedir = Path
U
Achivelog============================ Alter system set db_recovery_file_dest= ' F:\ORACLE\recovery_area ' Scope=both;Alter system set db_recovery_file_dest_size=100g Scope=both; Select Big Table ================================ Select table_name,blocks*8192/1024/1024 size_m from User_tables ORDER by size_m desc nulls last; Create DB Link ===================================== Create Public database link ORCL_AAConnect to username identified by "1234"
New Year's Day holiday received a call from Ali Wu, was told that MySQL checked to the extreme SQL optimization: 1 million raw data, of which 500,000 repeats, the deduplication of the 500,000 data written to the target table only 9 seconds. This is a staggering number, and it will take some time to know that only the insert 500,000 records. Then came the interest, his own experiment, thinking, summed up to do it.I. Questions raisedThe source table T_source structure is as follows:item_id int,Cre
table.
There can be many # of them.
tmp_table_size=35mmax_allowed_packet = 16M
# How many threads we should keep in a cache for reuse. When a client # disconnects, the client ' s threads is put in the cache if there aren ' t # more than Thread_cache_size Threa DS from before. This greatly reduces # The amount of thread creations needed if you had a lot of new # connections.
(Normally this doesn ' t give a notable performance # improvement if you have a good thread implementation.)
Thread_
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.