【IT168 服务器学院】1. ORA-01536:表空间不足 问题的解决
ORA-01536: space quota exceeded for tablespace
方法一:SQL> alter user test quota unlimited on testtablespace;
User altered.
方法二:SQL> alter user test default tablespace testtablespace
2 quota 0 on system
3 quota 500M on testtablespace
4 /
User altered.
方法三:SQL> GRANT UNLIMITED TABLESPACE TO test;
Grant succeeded.
参考:http://www.mbsky.com/InfoView/Article_3855.html
2.java.sql.SQLException: ORA-00020: maximum number of processes (150) exceeded
解决办法:
加大oracle的连接数
SQL> alter system set processes=300 scope=spfile;
System altered.
重起数据库后该设定才会生效。
SQL> shutdown immediate ;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 252777592 bytes
Fixed Size 451704 bytes
Variable Size 218103808 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
job_queue_processes integer 10
log_archive_max_processes integer 2
processes integer 300
相关文章
- 凌晨突发的数据库重大故障,我排查了一整天陶然 · 2025-03-31
- 为什么总是很难客观评价某个国产数据库产品任朝阳 · 2025-03-20
- GenAI时代,从收并购看Databricks、Snowflake等企业的智能化进阶之路任朝阳 · 2025-03-03
- Redgate报告显示数据库管理行业将迎来整合之年任朝阳 · 2025-02-28
- MongoDB 收购 Voyage AI 以减少 AI 应用程序中的幻觉李代丽 · 2025-02-25
- AI重塑软件开发架构,企业如何跟进AI?任朝阳 · 2025-02-13
- 李国良教授团队:LLM for Data Management任朝阳 · 2025-01-23
- Data+时代下的数据库云平台:从管理运维到智能化开发协同新格局任跃婷 · 2025-01-07
- 国产数据库的机遇与挑战卢敏 · 2024-12-30
- 什么是对互联网“在线业务友好”的数据库服务?任朝阳 · 2024-12-18