PRM(ParnassusData Recovery Manager)基于JAVA语言开发,得益于JVM Java虚拟机,PRM可以无需反复编译就在几乎所有支持JAVA的操作
PRM(ParnassusData Recovery Manager)基于JAVA语言开发,得益于JVM Java虚拟机,PRM可以无需反复编译就在几乎所有支持JAVA的操作平台上运行,包括但不限于:AIX、Solaris、HPUX、Linux和Windows。
PRM在开发过程中充分考虑了老系统平台,最低可以兼容到JAVA 1.4版本,这意味着那些无法安装新JDK/JRE的老操作系统也可以运行PRM。
例如在2003年出品的Red Hat Enterprise Linux AS release 3 (Taroon)上安装了JRE 1.4.2
root@rh3 root]# uname -a
Linux rh3 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
[root@rh3 root]# cat /etc/issue
Red Hat Enterprise Linux AS release 3 (Taroon)
Kernel \r on an \m
[root@rh3 root]# java -version
java version "1.4.2_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_19-b04)
Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)
[root@rh3 root]#
[root@rh3 root]# which java
/usr/bin/java
10年前出品的RHEL 3同样可以正常运行PRM:
java –jar prm.jar
虽然PRM可以正常在JRE 1.4.2上运行,但为了获得最佳性能和最佳体验,诗檀推荐用户安装JDK 1.6以上版本,建议为JDK 1.7。
Linux-6-64下安装Oracle 12C笔记
在CentOS 6.4下安装Oracle 11gR2(x64)
Oracle 11gR2 在VMWare虚拟机中安装步骤
Debian 下 安装 Oracle 11g XE R2
JDK下载
Linux和Windows上的JDK 1.7较为容易下载,而AIX上的JDK由IBM自行提供,下载较为麻烦。这里提供部分JDK 1.7的下载路径:
AIX JAVA SDK 7
Linux JDK 7 64bit
Linux JDK 7 32bit
Solaris JDK 7 x86-64bit
Solaris JDK 7 x86-32bit
Solaris JDK 7 Sparc
都在:
PRM 启动参数
常规情况下PRM使用prm.sh(Unix/Linux) 或 prm.bat(Windows)启动,即:
$ ./prm.sh
[root@rh3 prm_3002]# cat prm.sh
echo "It's recommended that you can use JDK 1.6 or higher version"
echo "Download latest JDK "
java -Xms1024M -jar prm.jar
prm.sh在调用prm.jar JAVA程序包时会加上-Xms1024M参数
但如果用户所运行的JAVA环境不是JDK 1.6以上版本则可能出现如下的一些问题:
1. prm.sh启动遇到 “Incompatible initial and maximum heap sizes specified”问题
[root@rh3 prm_3002]# ./prm.sh
It's recommended that you can use JDK 1.6 or higher version
Download latest JDK
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified
" Incompatible initial and maximum heap sizes specified”该报错是因为当前所运行的JAVA环境不支持-Xms1024M参数,如果不想升级JAVA环境的话,可以执行运行:
$ java –jar prm.jar
2.PRM在RedHat自带的gcj java 1.4.2下运行时遇到如下问题:
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw1
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw2
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw3
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw4
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw5
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw6
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw7
~
gc warning: Repeated allocation of very large block (appr.size 512000):
May lead to memory leak and poor performance.
这是因为Redhat自带的GCJ 1.4.2的GC垃圾回收存在问题所导致的,建议使用Oracle JDK 1.6或以上版本, 使用redhat free software foundation 的gcj确实可能发生该问题。
3. Prm.bat启动过程中遇到” Error: no `server' JVM at `D:\Program Files (x86)\Java\jre1.5.0_22\bin\server\jvm.dll'.”问题
这是因为用户的JAVA运行环境中仅仅安装了JRE,,因为jRE在1.5中是没有-server选项的所以出现了如上问题。
可以通过升级到JDK 1.6以上版本解决,也可以去掉-server选项来运行,即:
java –jar prm.jar
本文永久更新链接地址:

InnoDBBufferPool reduces disk I/O by caching data and indexing pages, improving database performance. Its working principle includes: 1. Data reading: Read data from BufferPool; 2. Data writing: After modifying the data, write to BufferPool and refresh it to disk regularly; 3. Cache management: Use the LRU algorithm to manage cache pages; 4. Reading mechanism: Load adjacent data pages in advance. By sizing the BufferPool and using multiple instances, database performance can be optimized.

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

MySQL is worth learning because it is a powerful open source database management system suitable for data storage, management and analysis. 1) MySQL is a relational database that uses SQL to operate data and is suitable for structured data management. 2) The SQL language is the key to interacting with MySQL and supports CRUD operations. 3) The working principle of MySQL includes client/server architecture, storage engine and query optimizer. 4) Basic usage includes creating databases and tables, and advanced usage involves joining tables using JOIN. 5) Common errors include syntax errors and permission issues, and debugging skills include checking syntax and using EXPLAIN commands. 6) Performance optimization involves the use of indexes, optimization of SQL statements and regular maintenance of databases.

MySQL is suitable for beginners to learn database skills. 1. Install MySQL server and client tools. 2. Understand basic SQL queries, such as SELECT. 3. Master data operations: create tables, insert, update, and delete data. 4. Learn advanced skills: subquery and window functions. 5. Debugging and optimization: Check syntax, use indexes, avoid SELECT*, and use LIMIT.

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.

MySQL is an open source relational database management system that is widely used in Web development. Its key features include: 1. Supports multiple storage engines, such as InnoDB and MyISAM, suitable for different scenarios; 2. Provides master-slave replication functions to facilitate load balancing and data backup; 3. Improve query efficiency through query optimization and index use.

SQL is used to interact with MySQL database to realize data addition, deletion, modification, inspection and database design. 1) SQL performs data operations through SELECT, INSERT, UPDATE, DELETE statements; 2) Use CREATE, ALTER, DROP statements for database design and management; 3) Complex queries and data analysis are implemented through SQL to improve business decision-making efficiency.

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool