Memory management – manually manage the SGAWhen you manually manage the SGA, you need to manually set the values for the following parameters:-db_cache_size-java_pool_size-large_pool_size-log_buffer-shared_pool_sizeOracle allocates memory for these components in granules units. SGASome of the views involved in tuning:V$memory_resize_opsSql> select * from V$memory_resize_ops; COMPONENT oper_type oper_mode PARAMETER initial_size target_size final_size STATUS start_tim end_time--------------------
Recently, I started to learn how to install Mongo in windows. It is not difficult to perform this operation. I still use it in Linux. But refer to some documents after installation. The title error was found when Mongo was started.
Finally, this problem is solved by setting the path again.
Solution: Enter the following command
[root@localhost mongodb]# ./bin/mongod -dbpath=/data/db
Then, the following page appears:
[root@localhost mongodb]# ./bin/mongod -dbpath=/data/dbTue
1. Access LogsIn the previous virtual host configuration file, there are two lines of log-related configuration, and the end of combined is the format type of the logErrorlog "Logs/111.com-error_log" Customlog "Logs/111.com-access_log" combinedThe following log formats are defined in the master configuration file for ApacheLogformat "%h%l%u%t \"%r\ "%>s%b \"%{referer}i\ "\"%{user-agent}i\ "" Combined Logformat "%h%l%u%t \"%r\ "%> ; s%b "common/usr/local/apache2.4/logs/111.com-access_log records
Recently began to learn MONGO in the window installation has mastered, the operation is not difficult, the use of the work or the use of Linux in more. However, refer to some documentation after the installation is complete. Found a header error at startup MONGO
Finally, the problem is resolved by re-setting the path
Workaround: Enter the following command
[Root@localhost mongodb]#./bin/mongod-dbpath=/data/db
The interface will then appear:
[Root@localhost mongodb]#./bin/mongod-dbpath=/data/db
-type wtmp file (written by linux-libc5 applications ).
-N
-N
-W
Display full user and domain names in the output
-R
The host name or IP address used to log on to the system is not displayed (the hostname field is omitted)
-T
Display information before YYYYMMDDHHMMSS
-X
Displays system shutdown, user logon, and logout history
Example:
1: view the help information of the last
information for last command?
1234567
[[emailprotected] ~]# man last[[emailprotected] ~]# last -hlast: invalid option -- hUsage: last [-num | -n num] [-f file] [-t YYYYMMDDHHMMSS] [-R] [-x] [-o] [-w] [username..] [tty..]
2: Display the last logged in System N records?
123456789101112131415161718192021222324252627
[[emailprotected] ~]#last -10root pts/1 :0.0 Wed Dec 18 09:54 still logged inroot pts/4 :0
Org.apache.hadoop.util.ToolRunner.run (toolrunner.java:70)
At Org.apache.hadoop.hbase.util.ServerCommandLine.doMain (servercommandline.java:127)
At Org.apache.hadoop.hbase.master.HMaster.main (hmaster.java:3135)
Issue: Start-hbase startup Hmaster Not start, view log the above error occurred. Operation category Read is a supported in the state standby this line of code can be seen, read does not support backup status. Check that the host Namenode my master is in a backup state.
Workaround: Sta
Tags: swap log modify Efault note pap scom href mysqlTitle, recently http://www.12reads.cn/MySQL often hangs, recently hangs the log: At time:wed Dec 7 09:15:01 CST 2016:mysql error STOP.
At time:wed Dec 7 09:30:01 CST 2016:mysql error STOP.
At time:wed Dec 7 10:00:02 CST 2016:mysql error STOP.
At Time:mon Dec 04:30:
This is a creation in
Article, where the information may have evolved or changed. Sender: Vimer (old to forget things, but do not forget Acacia), the letter area: Programming
Title: [Collection] D language and go language have a future? Reproduced
Sending station: The water wood Community (Wed Dec 14 21:11:33 2011), the station inside
☆─────────────────────────────────────☆
Zhicxv99me (miser) at (Sat 3 22:34:49 2011) Mentioned:
"The following text i
org.apache.hadoop.hive.contrib.serde2.RegexSerDe regular parser is built into hive, and we can use it directly. So the entire build statement can be written like this:[Java]View PlainCopy
CREATE TABLE Logs (
Host STRING,
Identity STRING,
User STRING,
Time STRING,
Request STRING,
Status STRING,
Size STRING,
Referer STRING,
Agent STRING)
ROW FORMAT SERDE ' org.apache.hadoop.hive.contrib.serde2.RegexSerDe '
With Serdeproperties (
"Input.regex" = "([^]*) ([^]*) ([^]*) (\
Seems to be the problem of wireless network card, temporarily do not affect the use of wireless network card after the boot can also be used normally.The hardware information is as follows:07:00.0 Ethernet controller:qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)08:00.0 Network controller:broadcom Corporation BCM43142 802.11b/g/n (rev 01)System Kernel Version:$ uname-aLinux myhost 3.13.0-44-generic #73-ubuntu SMP Tue Dec 00:22:43 UTC x86_64 x86_64
Check listener. log to confirm no problem# Find/-name listener. Log/Home/Oracle/APP/orahome_1/Network/log/listener. Log
The location is $ ORACLE_HOME/Network/log/listener. log.
Tnslsnr for IBM/aix risc system/6000: Version 10.2.0.4.0-production on 29-dec-2009 15:12:15
Copyright (c) 1991,200 7, Oracle. All rights reserved.
System parameter file is/home/Oracle/APP/orahome_1/Network/admin/listener. oraLog messages written to/home/Oracle/APP/orahome_1/Ne
In the event of a race condition, where only one thread can enter the critical section at the same time, synchronization is Required.There are two common types of synchronization primitives: lock/mutex, Semaphore.The lock is the simplest and lowest-level Mechanism.First look at a multithreaded example that does not use Locks: fromAtexitImportRegister fromTimeImportsleep, CTime fromThreadingImportcurrentthread, Thread fromRandomImportRandrangeclasscleanoutput (list):def __str__(self):return ','.
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.