Thursday 24 July 2014

JD Edwards oracle create new schemas owners and tablespaces

Just say you want to create a new copy of control tables for some reason, that could be any reason…  Testing some new menus (wait if you still use menus or tasks, you’re not on the right track – ONLY E1pages should be used for JDE navigation).

Anyway, it’s nice to remember how to run your oracle commands for getting this done.  This is an example on 11G with windoze.


CREATE SMALLFILE TABLESPACE "FBACTLI" DATAFILE 'D:\ORACLE\ORADATA\BROWNES\FBACTLI.DBF' SIZE 1000M AUTOEXTEND ON NEXT 1000K MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ;
CREATE SMALLFILE TABLESPACE "FBACTLT" DATAFILE 'D:\ORACLE\ORADATA\BROWNES\FBACTLT.DBF' SIZE 1000M AUTOEXTEND ON NEXT 1000K MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ;

 

-- USER SQL
CREATE USER FBACTL
DEFAULT TABLESPACE FBACTLT
TEMPORARY TABLESPACE TEMP
identified by HelloPass ;

-- ROLES
GRANT “JDE_ROLE” to FBACTL ;

-- SYSTEM PRIVILEGES

-- QUOTAS
ALTER USER FBACTL QUOTA UNLIMITED ON FBACTLT;
ALTER USER FBACTL QUOTA UNLIMITED ON FBACTLI;

You then create a new data source and make sure that you set up the owner to have the correct tablespace defined.  This is from the data source application (gh9011 –> data sources) P986115, choose you data source

image

Then enter the tablespaces for the indexes and tables (note that I’m creating two at the moment, so the screen shot might be for FIACTL)

image

You’ll then be good to go to copy things into the new schema.

2 comments:

Richard Drouillard said...

I'm relatively new to JDE so I apologize if this question has a super obvious answer. I'm curious as to why you are advocating E1Pages over Tasks/Relationships?

I'm mostly thinking of simplicity for the end-users. I'm thinking that if a user doesn't have access to a program, it's completely hidden from them in the menu, but in E1Pages, it would be greyed out and could lead to cluttered screen.

Shannon Moir said...

Hey Richard, with the latest release you can hide items in e1pages. see this http://shannonscncjdeblog.blogspot.com.au/2014/07/hide-e1page-items-that-you-do-not-want.html