lect name from v$databa; |
lect db_unique_name from v$databa; |
lect dbid from v$databa; |
和女孩子聊天话题lect to_char(created,'yyyy/mm/dd hh24:mi:ss') from v$databa; |
lect log_mode from v$databa; |
lect open_mode from v$databa; |
lect databa_role from v$databa; |
lect value from v$parameter where name='spfile'; |
lect value from v$parameter2 where name='control_files'; |
cmd lsnrctl status |
lect "表空名", round(total, 2) 表空间大小, round(free, 2) 表空间剩余大小, round(total - free, 2) 表空间使用大小, round((total - free) / total, 4) * 100 "使用率%" from (lect tablespace_name, sum(bytes) / power(1024, 3) free from dba_free_space group by tablespace_name) a, (lect tablespace_name, sum(bytes) / power(1024, 3) total from dba_data_files group by tablespace_name) b where = ; |
lect name from v$tablespace; |
lect name from v$datafile; |
lect name from v$tempfile; |
lect group#, bytes/1024/1024||'M' from v$log; |
lect file_name,autoextensible from dba_data_files where autoextensible='SYS'; |
lect urname,default_tablespace,temporary_tablespace from dba_urs;c语言结构体 |
Select * From dba_role_privs; --授予用户和其他角色的角色 Select * From dba_sys_privs; --授予用户和其他角色的系统权限 Select * From dba_tab_privs; --数据库中对象的所有授权 Select * From ur_role_privs; --查看当前用户的角色 |
lect urname from dba_urs order by created; |
desc dba_objects lect owner, object_type, count(*) from dba_objects group by owner, object_type order by owner, object_type; |
lect owner, sum(bytes) / 1024 / 1024 / 1024 "space(g)" from dba_gments group by owner order by owner; |
lect status from v$instance; |
lect host_name from v$instance; |
lect instance_name from v$instance |
lect value from v$parameter where name='rvice_names'; |
lect version from v$instance; |
lect to_char(startup_time,'yyyy/mm/dd hh24:mi:ss') from v$instance; |
lect sid, rial#, urname from v$ssion; |
lect * from v$sgastat; lect pool,count(pool),sum(bytes)/1024/1024 from v$sgastat group by pool; |
lect ,wraps,extends,shrinks,optsize,waits,xacts,aveactive,hwmsize from v$rollstat r, v$rollname n where =; |
lect value from v$parameter where name = 'process'; |
a、以sysdba身份登陆PL/SQL 或者 Worksheet b、查询目前连接数 c、更改系统连接数 alter system t process=1000 scope=spfile; d、创建pfile create pfile from spfile; e、重启Oracle服务或重启Oracle服务器 |
lect value from v$parameter where name = 'ssions'; |
lect value from v$parameter where name = 'db_block_size'; |
lect value from v$parameter where name = 'cursor_sharing'; |
lect value from v$parameter where name = 'db_file_multiblock_read_count'; |
lect value from v$parameter where name = 'undo_tablespace'; |
lect value from v$parameter where name = 'undo_retention'; |
珠行万里游戏规则lect value from v$parameter where name = 'undo_management'; |
lect value/1024/1024||'M' from v$parameter where name = 'sga_target'; |
lect value/1024/1024||'M' from v$parameter where name = 'sga_max_size'; |
lect value/1024/1024||'M' from v$parameter where name = 'pga_aggregate_target'; |
lect value from v$parameter where name = 'timed_statistics'; |
lect value from v$parameter where name = 'spfile'; |
本文发布于:2023-07-10 10:51:43,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/fan/89/1075528.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |