Linux crontab命令
Tomcat日志拆分
Oracle简单命令使用
ORACLE简单命令笔记
EXP命令:
将数据库SampleDB完全导出,用户名system 密码manager 导出到E:/SampleDB.dmp中
exp system/manager@TestDB file=E:/sampleDB.dmp full=y将数据库中system用户与sys用户的表导出
exp system/manager@TestDB file=E:/sampleDB.dmp owner=(system,sys)将数据库中的表 TableA,TableB 导出
exp system/manager@TestDB file=E:/sampleDB.dmp tables=(TableA,TableB)将数据库中的表tableA中的字段filed1 值为 “王五” 的数据导出
exp system/manager@TestDB file=E:/sampleDB.dmp tables=(tableA) query=\" where filed1='王五'\"exp username/password@ip:port/servername file=F:/test/test.dmp tables=(TABLE1,TABLE2) query=\"where ID='1'\"导出分区表
Oracle分区笔记
Oracle数据表分区笔记
When to Partition a Table什么时候需要分区表,官网的2个建议如下:
(1)Tables greater than 2GB should always be considered for partitioning.
(2)Tables containing historical data, in which new data is added into the newest partition. A typical example is a historical table where only the current month’s data is updatable and the other 11 months are read only.
用nexus本地搭建maven仓库
用nexus本地搭建maven仓库
下载nexus-2.12.0-01-bundle.zip压缩包,解压安装。
在命令行窗口,进入/nexus-2.12.0-01目录,输入
nexus命令,出现如下(可以将nexus加入环境变量,方便使用):
执行nexus install将Nexus安装为Windows服务。可将服务启动方式设为手动:
以后通过nexus start即可启动Nexus ,通过nexus stop退出Nexus:
在浏览器中访问
http://localhost:8081/nexus/
右上角使用用户名:admin ,密码:admin123 登录。在本地搭建的maven仓库中添加jar包:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0 -Dpackaging=jar -Dfile=ojdbc14.jar
Log4j笔记
Activity 的几种启动模式
Activity 的启动模式
android:launchMode
<application
android:name=""
android:label=""
android:launchMode="standard">
...
</application>