当前位置:网站首页>Recommendations for agileplm database parameter optimization
Recommendations for agileplm database parameter optimization
2022-06-30 02:15:00 【namelessmyth】
Requirements describe
stay AgilePLM As the number of users and applications increases, some database problems will be encountered during the maintenance of , It is recommended that you adjust the parameters of the database in advance . Prevent problems from happening . Avoid unnecessary losses to the production environment .
The main problem
- AgilePLM Oracle The default number of links is 150, It needs to be dynamically adjusted according to the number of users and applications .
- AgilePLM Oracle The memory setting of the needs to be dynamically adjusted according to the parameters of the physical machine .
Solutions
Oracle maximum connection
The recommended maximum number of connections is closely related to the following parameters .
Number of concurrent users
First, determine the number of concurrent users of the system , The number of concurrent users refers to the number of users who log in to the system at the same time .
The total number of registered users of an enterprise's internal management system may be 1000, This is called the number of potential users .
this 1000 Of registered users may have 500 Users log in to the system every day to use the system . This is the number of concurrent users .
The maximum number of connections should be greater than the number of concurrent users . In the case above , The maximum number of connections is >=500.
Number of applications
The number of applications is connected to the same Oracle Number of systems on the database . stay AgilePLM In the process of implementation , Additional systems are often developed to provide additional functionality . Each system has its own database connection pool . for example :
- Agile application ( Include file servers )
- Data synchronization system (CRM,ERP,MES etc. )
- Web operating system ( to Agile Provide operation menu or )
- Event program system ( If you do not connect to the database in the event program, you do not need to consider )
The maximum number of connections should be a multiple of the number of applications .
for example : With the same number of concurrent users , If the number of previous connections is 150 It can meet the needs of daily use , If the application number is like the example above, there is a 4 individual , The maximum number of connections should be at least 600 individual .
A larger number of connections requires a larger memory setting as a support , Therefore, if the connection number is adjusted and an error is reported, the memory setting needs to be adjusted .
Memory settings
Memory settings refer to Oracle Of SGA,PGA, Shared pool and other related settings .
Oracle 9i introduce pga_aggregate_target, It can be done automatically PGA Adjustment ;
Oracle 10g introduce sga_target, It can be done automatically SGA Adjustment ;
Oracle 11g These two parts are integrated , introduce memory_target, Can automatically adjust all memory , In other words, just adjust this parameter Oracle It will automatically help us adjust all memory related parameters . that memory_target Adjust to what size is appropriate ?
memory_target
If a server has only one database installed and only one instance is running . that memory_target The maximum size that can be adjusted to physical memory 80%. But if there are other applications or instances, you need to reduce the memory occupied by other applications .
Operation steps
A lot of knowledge has been mentioned above , Here are the actual operation steps .
matters needing attention
Once the database parameters are adjusted in the following way , about windows Please do not use the system service mode to restart the operating system . Otherwise, the parameters will be reset and need to be adjusted again . Friends who know how to adjust permanently can also leave a message to tell me .
First, make sure that the database uses spfile Mode start
-- All of the following commands are best placed in one sqlplus Execute... On the command line .
-- Check whether the database is 100 million spfile start-up , If values Corresponding value , Said is spfile Starting up . Otherwise it's not
show parameter spfile;
create spfile from pfile;
shutdown immediate;
startup;
--------------------- Memory parameter adjustment ---------------------------
-- View shared pool size
show parameter shared;
-- see target size
show parameter target;
show parameter sga;
-- First the sga and pga,target Modulation 0, Otherwise it will affect memory_target Set up
alter system set sga_target=0 scope=spfile;
alter system set pga_aggregate_target=0 scope=spfile;
--memory_target Will automatically adjust sga_target and pga_aggregate_target
alter system set memory_target=10g scope=spfile;
--------------------- Maximum connections adjustment ---------------------------
-- View the current number of connections
select count(*) from v$process;
-- See the maximum number of connections
show parameter processes;
show parameter session;
-- Modify the maximum number of connections ,session The number will be adjusted automatically
alter system set processes = 600 scope = spfile;
-- Restart to make the changed settings take effect
shutdown immediate;
startup;边栏推荐
- Jenkins continuous integration environment construction VII (Jenkins parametric construction)
- dhu编程练习
- dhu编程练习
- Summary of DOM
- DDoS threat situation gets worse
- After the blueprint node of ue5 is copied to UE4, all connections and attribute values are lost
- How does payment splitting help B2B bulk commodity transactions?
- day33
- 網上炒股安全麼?炒股需要開戶嗎?
- Using face_ Recognition library reports an error reason: cudnn_ STATUS_ NOT_ SUPPORTED
猜你喜欢

图解 Google V8 # 19 :异步编程(二):V8 是如何实现 async/await 的?

【MySQL 04】使用MySQL Workbench 8.0 CE 备份及恢复Linux中的MySQL数据库

DMX configuration

What is idempotency? Detailed explanation of four interface idempotence schemes!

【MySQL 04】使用MySQL Workbench 8.0 CE 備份及恢複Linux中的MySQL數據庫

DMX的配置
![[protection mode] segment descriptor](/img/23/19b12c496da437fbf03829b7b4e3b8.jpg)
[protection mode] segment descriptor

33Mysql

【银河麒麟V10】【桌面】火狐浏览器设置主页不生效

How to create a CSR (certificate signing request) file?
随机推荐
[graph neural network] overview of graph classification learning [2]: graph classification based on graph neural network
冒泡排序
DDoS "fire drill" service urges companies to prepare
If you want to install a set of monitoring, what is the process? How much is it?
001_ layout
[protection mode] segment descriptor
[graph neural network] summary of graph classification study [3]: evaluation of graph classification methods and future research directions
SCP remote copy command record
DMX的配置
dhu编程练习
dhu编程练习
希尔排序
[naturallanguageprocessing] [multimodality] ofa: unified architecture, tasks and modes through a simple sequence to sequence learning framework
After the blueprint node of ue5 is copied to UE4, all connections and attribute values are lost
DHU programming exercise
012_ switch
208. implement trie (prefix tree) - attach detailed notes
Realization of a springboard machine
(4) Blender source code analysis flash window display process
Is it safe to open an account in Sinosteel futures?