There is a SQL2012 library of the log reached about 100G, usually developers have not done a transaction log backup, and disk space is almost full. Therefore, it can only be truncated. However, since 2k8, SQL Server seems to no longer provide truncate_only and no_log functionality, and this server does not have enough disk space. Therefore, the only way to switch to the simple recovery mode is to truncate the completed transaction first. Then shrik th
MySQL master-slave instructions synchronization problem
Mysqldump: This tool is suitable for databases below 10G or several tablesPercona-xtrabackup Backup tool: For 100g-500gLVM Snapshots: Larger data volumes, or sub-database tables
Purpose of Master-slave replication
Read and write separation, reduce the main library load or data analysis;
Data security, do backup recovery;
Master-slave switch, do high-availabi
problem process
Based on the time history of the error and the point-in-time comparison of the various stages of the script output, the command executed by the script at that time is:
Sysbench--tables=100--table-size=4000000--threads=50--mysql-db=sbtest--time=300 oltp_delete cleanup
Re-execute the use case again and again without the same situation. But this error message can still be found with script execution. The initial suspicion is that the run and cleanup cannot be spaced too long before
Tags: Oracle archive log ScriptFirst, error messageA few days ago the website suddenly can't access, and reported the following error:Ora-27101:shared Memory realm does not existOra-01034:oracle Not Available 11gOra-24324:service Handle not initializedCause: Because the database archive log is full, you cannot continue to write data to the database.Second, check the archive log sizeSu-oracleSqlplus/as SYSDBAShow parameter recoverYou can see the archive log directory as:/u01/app/oracle/fast_recov
Environment Introduction:Vmware12+redhat linux7.5 x86_64+oracle 18CSystem InstallationCreate a virtual hostSystem partitionSelect a desktop environmentPerform the installation processDescription1, the system installation, grid installation directory space requirements greater than 100G (before the installation of 12c requirements)2, after the installation of a database server, directly with the full cloning of the way to replicate to another database
from the business, release the lock and system resources in time, use the connection pool and so on.Read-Write Optimization: Reading optimization and hotspot data is similar, mainly through in-memory cache data to achieve as little as possible to read the hard disk, as much as possible to read memory. Write optimization is mainly implemented by primary key and index. 2.3 Schema Design2.3.1 Control the number of libraries and tablesMySQL is a single-process multithreaded architecture database, w
--1, Open ArchiveStepsA. Conformance shutdown database (shutdown [immediate | transactional |normal])B. Boot to mount stage (startup Mount)C. Switch to archive mode (ALTER DATABASE archivelog[manual])d. Switch to the open stage (ALTER DATABASE open)E. Make a full backup of the dataShow Parameter SPFileAlter system set log_archive_dest_1= ' Location=/ggs/arch_data ' scope=spfile;Alter system set db_recovery_file_dest_size=100g scope=spfile sid= ' * ';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_cache_size=8 #*** MyISAM Specific Options # The maximum size of the temporary file MySQL is allowed to use while # recreating the index (during REP
First, write in front-want to say love you not easy in order to upgrade the database to SQL Server R2, took an existing PC to do the test, the database from the Official library restore (3 database size exaggerated to reach 100g+), and machine memory only poor 4G, not only to assume the DB Server role, but also as a Web server, it is conceivable that the fate of this machine and its tragic, as long as MS SQL Server started, memory usage soared to 99%.
Linuxamd64_12c_database_1of2.zip Unzip Linuxamd64_12c_database_2of2.zip CD Database ./runinstaller (If the virtual machine report your directory space is not enough, you need to increase the space, how to do see my next article, "VMware Linux Add hard Disk") 4 Follow-up work4.1. Configure Environment variablesCD ~ VI. bash_profile ########## for Oracle ########## Oracle_base=/u01/app/oracle Export Oracle_base Oracle_home= $ORACLE _base/product/12.1.0/dbhome_1 Export Oracle_home oracle_sid=orcl
Preface: Any optimization and modification are based on the business situation, there may be some wrong or inaccurate writing, welcome you to make bricks.1. When creating DB, the self-growth proposal is set to grow by MB (M), the step size is set according to the business volume, the general recommendation is to set the 100-200m (see picture), and try not to change the initial sizes, this default is good.If the data file (MDF) according to the default growth of 1m, while the business of the DB i
Tags: rac ora view and I restart default based on configuration analysisOracle RAC disk expansion Mining pit record:System environment: VMware ESXi Oracle RAC 11.2.0.4Yesterday, I expanded the ASM Disk group, the FRA disk group, and the data disk group, and I added a piece of hard disk 320g,200g to the data group, and 120g extended to the FRA group.Because Oracle uses raw bare devices, the first disk is extended normally, without shutting down.Pit 1:However, when you expand the FRA group, you ne
The test is done by a colleague, and this is just a collection. Test Description: 1, the amount of data is 3kw records, 11 fields per record, a primary key, the key is a character type, similar to: user****, followed by the value of the other 10 fields for the character type, 100 characters, the record length of about 1KB2, using YCSB for stress testing. Specific types of reference to the previous documents 3, 30 million data, to the current database can be cached into the db (subsequent test ca
# The maximum size allowed for each temporary table in memory. If the temporary table size exceeds this value, the temporary table is automatically converted to a disk Based table.Thread_cache_size=8 # The maximum number of threads cached. When the client connection is broken, the thread that handles the client task is put back into the cache if the total number of client connections is less than that value. In high concurrency situations, if the value is set too small, many threads are created
Bought 2 years of computer, installed a lot of software, not work space, light soft mirror has 100G, 2 points, I this is still top with it, can not stand, decisive re-install system, installed after eclipse whim, do not want to install what VC, not only the interface is poor, bug also many, although there are many enterprises with, Own use is also quite cool, is suddenly sentimental a bit, add the CDT pluginGood to the following:Eclipse and CDT This i
Tags: User last system new partition VPD Linu ffffff mode. comEnvironment Introduction:System: CentOS 6.9Scenario Description:When installing the system, no logical volume is used to create the partition, which causes the partition to be full and cannot be expanded online;(1) The current disk size 100g,50g create partition/dev/sda1, Mount/data, the remaining 50GB is unused;(2) When the/data/data is full, the remaining 50GB is extended to/dev/sda1 to a
Tags: mysql xtrabackupXtrabackup backing up the databaseDescriptionThe company used to back up the database with mysqldump, back up 100g+ data, plus the server is busy, backup speed like a snail. Online are said to use Xtrabackup more suitable for backup large database, and backup efficiency is high, try to use once, the result is significantly more than mysqldump backup and recovery speed is much fasterReference:http://467754239.blog.51cto.com/487801
A command to deep clean your MacAfter a period of time, the Mac found that the hard disk space was not enough, and wanted to find some disk cleanup tools, but found that it is actually charged.Let's do it by hand. The method is really simple.Just one command,cd /du|grep'\dG'|sortHe will list all folders over 1G, and then you can analyze them on a case-by-case basis. See which folders should not be that big.Through this method I found an inexplicable folder, Sunflower Remote Control client's log
divided into several small files, but multiple tables and indexes in the table space mixed storage, so that if a table after a large number of deletions, there will be a large number of gaps in the table space. For shared table space management, once the tablespace is allocated, it cannot be retracted. When a temporary index is created or the table space for creating a temporary table expands, it is not possible to remove the associated table or to shrink that part of the space.② standalone tab
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.