Skip to content
Net Bako edited this page Nov 7, 2019 · 38 revisions

Product detail

Start and stop

  • Starting Oracle service
    • Switching Oracle Account
      • root@localhost#>su - oracle
    • execute sqlplus
      • oracle@localhost$>sqlplus / as sysdba
    • start oracle instance
      • SQL>startup
    • exit from sqlplus
      • SQL>quit
    • startup listener
      • `oracle@localhost$>lsnrctl start
    • referral docs

Backup and Restore

Useful SQL

SELECT 
      a.table_name
      ,a.num_rows
      , b.MB
FROM all_tables a
      , (Select Segment_Name,Sum(bytes)/1024/1024 MB From all_segments Group By Segment_Name) b
WHERE a.table_name = b.Segment_Name
ORDER BY a.num_rows desc, b.MB desc;
SELECT stu_no,activity,score,
 RANK() OVER (ORDER BY score) score_rank
FROM student
ORDER BY score_rank;

Client

Freeware

Shareware

Translate this page?

Data(DBMS, NoSQL)

Development

Tools

Management

OS

Hardware

Business

Hobby

Lifestyle

Giip(RPA Engine)

Clone this wiki locally