I’m a programmer that’s being thrown to the DBA/Sysadmin island all by myself with a volleyball that I named Wilson. I’m trying to survive here.
I’m supposed to create a database for an application. The server where this will be running previously had a database for a pretty similar app. I don’t know much about Oracle so I reused the ZFS filesystems and left them how they were created (because honestly, I didn’t knew why they were created that way, but I’m pretty sure it was for a good reason).
app/oradata_smart_ora1 858M 12.2G 858M /oradata/SMART/ora1
app/oradata_smart_ora2 7.18M 18.0G 7.18M /oradata/SMART/ora2
app/oradata_smart_ora3 7.18M 36.0G 7.18M /oradata/SMART/ora3
app/oradata_smart_ora4 60.6K 400G 60.6K /oradata/SMART/ora4
app/oradata_smart_redo1 400M 2.61G 400M /oradata/SMART/redo1
app/oradata_smart_redo2 200M 2.80G 200M /oradata/SMART/redo2
app/oradata_smart_redo3 200M 2.80G 200M /oradata/SMART/redo3
Since I reused the filesystems I created my database and placed the controlfiles in the same places where the old database files were (/oradata/SMART/ora1,/oradata/SMART/ora2,/oradata/SMART/ora3).
Thinking like MySQL works I created app/oradata_smart_ora4 60.6K 400G 60.6K /oradata/SMART/ora4
specifically to store the database there.
The databases startups and mounts no problem. Now is where I’m stuck. I’ve read this, this,this,this,this and much more but I still have doubts.
Note that this server will manage with millions/billions records throughout its lifetime.
- Now that my Database is created, whats the next step? Create the Schema or Tablespace?
- Tablespace Questions: Tablespace datafile(s) is where actual data from tables is stored? how many are needed? Default or Temporary? How much space will I need for it? Autoextend?
I’m really sorry for all these questions but I really want to do this right while following the best practices for Oracle. If you need more information for your answer let me know.