DBA VIEWS CONSTRAINTS
Hi Folks
In which DBA view I found the reference between tables, example:
I have three tables (emp,dept,sal) the emp has a primary key that is referenced by the tables dept and salary, but I only know the primary key name where I want to know the tables that reference the emp table?
Thanks and regards,
Wilson
ALL_CONS_COLUMNS, DBA_CONS_COLUMNS, USER_CONS_COLUMNS
and also for more details -
USER_CONS_OBJ_COLUMNS
ALL_CONS_OBJ_COLUMNS
DBA_CONS_OBJ_COLUMNS
DBA_CONSTRAINTS, ALL_CONSTRAINTS.
Hope this helps
-Ash
Similar Messages
-
Hi All,
OS:AIX
DB: 10g
When i am trying to access DBA views say:
select * from dba_users;I am getting a error saying table or view does not exist even though i am able to describe dba_users and i am also abe to query V$ views.
Need you inputs on this...
Regards.Hi Steven,
Here is the output:
oracle@scsuat:/home/oracle/scripts$ id
uid=204(oracle) gid=203(dba) groups=1(staff),100(usr)
oracle@scsuat:/home/oracle/scripts$ whoami
oracle
oracle@scsuat:/home/oracle/scripts$ env | grep ORA | sort
LD_LIBRARY_PATH=/testdata/oracle11g/ORACLE/oraclehome/lib
LIBPATH=/testdata/oracle11g/ORACLE/oraclehome/lib32:/lib:/testdata/oracle11g/ORACLE/oraclehome/lib
ORACLE_HOME=/testdata/oracle11g/ORACLE/oraclehome
ORACLE_SID=xyz
PATH=/testdata/oracle11g/ORACLE/oraclehome/bin:/testdata/oracle11g/ORACLE/oraclehome/OPatch:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.
TNS_ADMIN=/testdata/oracle11g/ORACLE/oraclehome/network/admin
oracle@scsuat:/home/oracle/scripts$
oracle@scsuat:/home/oracle/scripts$
oracle@scsuat:/home/oracle/scripts$
oracle@scsuat:/home/oracle/scripts$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Tue Dec 4 20:32:01 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning option
SQL> show user
USER is "SYS"
SQL> select * from dba_users;
select * from dba_users
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
BR
Sphinx -
I have added a constraing for my emp table
ALTER TABLE emp
add CONSTRAINT MyKey PRIMARY KEY (empno);
How can i view what are constraints for a table
How to view constraints?Query ALL_CONSTRAINTS
HR%xe> desc all_constraints
Naam
OWNER
CONSTRAINT_NAME
CONSTRAINT_TYPE
TABLE_NAME
SEARCH_CONDITION
R_OWNER
R_CONSTRAINT_NAME
DELETE_RULE
STATUS
DEFERRABLE
DEFERRED
VALIDATED
GENERATED
BAD
RELY
LAST_CHANGE
INDEX_OWNER
INDEX_NAME
INVALID
VIEW_RELATED
SELECT * FROM ALL_CONSTRAINTS WHERE TABLE_NAME = 'MY_TABLE'; -
Hi,
I have create a user with dba grant.
I can select data from dba views, but when I select from dba views into procedure, I have an error message PLS-00201 sys.dba_tables must be declare.
What is this ?
Thank in advance for your help
Nicolas.I found the answer. I need to give priviliges explicitly not through the role.
Topic close. -
In 10g what is the use of primary key constraint on view .
Data will come from base table. So constraints of base table will affect data.Hi Avinash,
It enables sophisticated Query Rewrites, see:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/constra.htm#sthref418
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:636499119911#13041565979243
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:636499119911#2695797455172
Edited by: hoek on Jun 28, 2009 12:54 PM YAL -
VIEWING CONSTRAINT NAME IN QUERY TOOL
hi ,
i am using oracle lite 10g database lite R3 in windows platform . Now i have done a fresh client setup and datadownload in my machine. i am using query tool to view the datas . how to get
the constraint names in the query tool of a particular table.Which tool are you using?
SELECT * FROM ALL_CONSTRAINTS WHERE TABLE_NAME = :TABLE_NAME -
In Oracle 8i (and prior), database triggers were not included in DBA_OBJECTS and DBA_SOURCE. As of Oracle 9i, I see that triggers are now included in those views. I thought this was great news, until I had trouble making sense of a particular query. I discovered that most of my triggers, while present in DBA_OBJECTS, were missing from DBA_SOURCE.
Are these views documented in detail somewhere? Is there some legitimate reason that some but not all triggers would be found in DBA_SOURCE?
Thanks in advance for any info you can provide.read note 284828.1
-
How to accesss dba objects (dba views) to find all last ddl times in Apex
Hi,
I want to access all the dba_objects.. all dba_views to find out last ddl's. I installated oracle application express and had created users ADMIN, DEV, both are under XXAPPS schema. How can I find out last ddl's on all db objects. I was not able to pull out objects list from alll schemas's. All schemas are not accesableI'm not sure why you are trying to do this unless you are intending to build some sort of database monitoring tool, but if you grant the SELECT_CATALOG_ROLE role to the parsing schema, you should be able to see all the DBA_ catalogue views.
Regards
Andre -
DBA view for Tables in Parallel mode
Is there a view where I can what tables in my DB were created in Parallel mode?
SQL> desc dba_tables
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
TABLESPACE_NAME VARCHAR2(30)
CLUSTER_NAME VARCHAR2(30)
IOT_NAME VARCHAR2(30)
STATUS VARCHAR2(8)
PCT_FREE NUMBER
PCT_USED NUMBER
INI_TRANS NUMBER
MAX_TRANS NUMBER
INITIAL_EXTENT NUMBER
NEXT_EXTENT NUMBER
MIN_EXTENTS NUMBER
MAX_EXTENTS NUMBER
PCT_INCREASE NUMBER
FREELISTS NUMBER
FREELIST_GROUPS NUMBER
LOGGING VARCHAR2(3)
BACKED_UP VARCHAR2(1)
NUM_ROWS NUMBER
BLOCKS NUMBER
EMPTY_BLOCKS NUMBER
AVG_SPACE NUMBER
CHAIN_CNT NUMBER
AVG_ROW_LEN NUMBER
AVG_SPACE_FREELIST_BLOCKS NUMBER
NUM_FREELIST_BLOCKS NUMBER
DEGREE VARCHAR2(10)
INSTANCES VARCHAR2(10)
CACHE VARCHAR2(5)
TABLE_LOCK VARCHAR2(8)
SAMPLE_SIZE NUMBER
LAST_ANALYZED DATE
PARTITIONED VARCHAR2(3)
IOT_TYPE VARCHAR2(12)
TEMPORARY VARCHAR2(1)
SECONDARY VARCHAR2(1)
NESTED VARCHAR2(3)
BUFFER_POOL VARCHAR2(7)
ROW_MOVEMENT VARCHAR2(8)
GLOBAL_STATS VARCHAR2(3)
USER_STATS VARCHAR2(3)
DURATION VARCHAR2(15)
SKIP_CORRUPT VARCHAR2(8)
MONITORING VARCHAR2(3)
CLUSTER_OWNER VARCHAR2(30)
DEPENDENCIES VARCHAR2(8)
COMPRESSION VARCHAR2(8)
DROPPED VARCHAR2(3)DEGREE -- Describes the Degree of Parallelism.
-Anantha -
I find no mention in the Reference manual (https://docs.oracle.com/cd/E11882_01/server.112/e40402/toc.htm) of DBA_SNAPSHOTS
Yet ......
Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SQL> edit
Wrote file afiedt.buf
1 select owner,
2 object_name,
3 object_type
4 from dba_objects
5 where object_name LIKE 'DBA_SNAPSHO%'
6* order by 1,2,3
SQL> /
OWNER OBJECT_NAME OBJECT_TYPE
PUBLIC DBA_SNAPSHOTS SYNONYM
PUBLIC DBA_SNAPSHOT_LOGS SYNONYM
PUBLIC DBA_SNAPSHOT_LOG_FILTER_COLS SYNONYM
PUBLIC DBA_SNAPSHOT_REFRESH_TIMES SYNONYM
SYS DBA_SNAPSHOTS VIEW
SYS DBA_SNAPSHOT_LOGS VIEW
6 rows selected.
SQL>
I'm just sayin' . . . .Cjmurray-Oracle wrote:
The developer responsible for those views had the following response: "Snapshots is the old name for materialized views introduced in 8i. For materialized view information, please look at the DBA_MVIEWS view. I checked the Oracle doc and verified that DBA_SNAPSHOTS and DBA_SNAPSHOT_LOGS views were documented in Oracle 8, 8i, 9i and removed in 9.2."
Then would it not make sense to put an entry to that effect in the docs:
=========================================================
DBA_SNAPSHOTS
DBA_SNAPSHOTS is the old name for materialized views introduced in 8i. The view is still in the database but has been superseded by DBA_MVIEWS. See also DBA_MVIEWS
=========================================================
I understand that this could (and probably is) now considered an undocumented feature (or undocumented artifact?). It just seems odd that I stumbled across this view and could find no explanation at all. Given that it is a public synonym, I didn't even have to be 'digging' to come across it.
Just out of curiosity, if it has been superseded, is it still maintained for backward compatibility? When would something like that be finally removed from the database, vs. just removing any mention of it from the docs? -
Dba views regarding directory and their grant
Hi all,
I want to see users having read, write grant on directories in my database. I am using 10gR2 database. I tried many views but I am not getting the proper view to see the grants(for users) given on directories. how to see this of object privilege? Please suggest...
I have another query. I have few customized roles in my Database. Among them when I am trying to see what roles are granted to that customized role. I used role_role_privs to see the granted role to customized role. It is showing no rows selected. But when I see through TOAD it is showing me two roles are granted to that customized role. Can anybody suggest why is this happening?
Thank you,..Welcome to the forum!.
SQL> conn sys@orclsb as sysdba
Enter password: ******
Connected.
SQL> SELECT * FROM dba_directories WHERE directory_name='SAUBHIK';
OWNER DIRECTORY_NAME
DIRECTORY_PATH
SYS SAUBHIK
C:\
SQL> SELECT * FROM dba_tab_privs WHERE table_name='SAUBHIK';
GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRA HIE
SCOTT SYS SAUBHIK SYS READ NO NO
SCOTT SYS SAUBHIK SYS WRITE NO NO
SQL> -
Any DBA views storing history of Dropped schemas?
DB Version: 10gR2 and higher
username, created columns in DBA_USERS view display info about the schemaS which currently exist in the DB.
Is there a Dictionary view which stores the history of Dropped schemas?user872043 wrote:
DB Version: 10gR2 and higher
username, created columns in DBA_USERS view display info about the schemaS which currently exist in the DB.
Is there a Dictionary view which stores the history of Dropped schemas?No -
Ora-2270 Error while adding foreign key constraint on top a view
While adding a constraint, referencing a foreign key column from a view raises error. However, it works fine over a table.
Here's the sample script:
create table t_temp (
sample_id number,
text varchar2(40))
alter table t_temp add constraint temp_pk
primary key (sample_id);
create view tempvw as select sample_id,text from t_temp;
create table t_sample (
uniq_id number,
sample_id number,
sample_text varchar(40));
=========
ALTER TABLE t_sample ADD CONSTRAINT FK_sample_temp
FOREIGN KEY (sample_id) REFERENCES t_temp (sample_id);
This works fine.
=========
==============
The following raises ERROR....
ALTER TABLE t_sample ADD CONSTRAINT FK_sample_temp1
FOREIGN KEY (sample_id) REFERENCES tempvw (sample_id);
Error starting at line 1 in command:
ALTER TABLE t_sample ADD CONSTRAINT FK_sample_temp1
FOREIGN KEY (sample_id) REFERENCES tempvw (sample_id)
Error report:
SQL Error: ORA-02270: no matching unique or primary key for this column-list
02270. 00000 - "no matching unique or primary key for this column-list"
*Cause: A REFERENCES clause in a CREATE/ALTER TABLE statement
gives a column-list for which there is no matching unique or primary
key constraint in the referenced table.
*Action: Find the correct column names using the ALL_CONS_COLUMNS
catalog viewWhat exactly are you trying to accomplish by having a
referential integrity constraint on a view (which is
not allowed). PKs and FKs are allowed on views. DISABLE NOVALIDATE is the only allowed state for them. View constraints are used for query rewriting: http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/qradv.htm#sthref1457
Regards,
Dima -
Constraint in Materialized View misbehave
Enviroment
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
s.o : windows 7. on laptop Intel core i7.
create table product_type
( product_type_id varchar2(3) constraint product_type_pk primary key,
product_type_name varchar2(100) constraint product_type_name_nn not null,
move_inv varchar2(1) default 'Y' constraint product_type_move_inv_nn not null,
generate_abc varchar2(1) default 'N' constraint product_type_generate_abc_nn not null,
constraint product_type_move_inv_check check (move_inv in ('Y','N')),
constraint product_type_gen_abc_check check (generate_abc in ('Y','N'))
create table product_class
( product_type_id varchar2(3) constraint product_class_type_id_nn not null,
product_class_id varchar2(3) constraint product_class_id_nn not null,
product_class_name varchar2(50) constraint product_class_name_nn not null,
inv_negative varchar2(1) default 'N' constraint product_class_inv_negative_nn not null,
constraint product_class_pk primary key (product_type_id,product_class_id),
constraint product_class_by_product_type foreign key (product_type_id) references product_type(product_type_id),
constraint product_class_inv_negative_chk check (inv_negative in ('Y','N'))
create materialized view log on product_type with rowid, primary key , sequence (move_inv) including new values;
create materialized view log on product_class with rowid, primary key , sequence (inv_negative) including new values;
create materialized view prd_type_val_prd_class
refresh fast on commit as
select count(*) tot_rows
from product_type pt
join product_class pc
on ( pt.product_type_id = pc.product_type_id )
where pt.move_inv = 'N' and pc.inv_negative = 'Y';
alter table prd_type_val_prd_class add constraint rows_in_prd_type_val_prd_class check( tot_rows < 1 );
-- sentence 1, expected to works
insert into product_type values('SAR','FARMA','N','N');
commit; --- WORKS fine.
-- sentence 2, expected to works
insert into product_class values('SAR','LIQ','LIQUID' ,'N');
commit; --- WORKS fine
-- sentence 3, expected to fail due materialized view constraint
insert into product_class values('SAR','CAP','CAPSULES','Y');
commit; ---> SHOW the materialized view constraint Error FINE!!!!!!
update product_type set move_inv = 'Y'; -- Update product type to allow sentence 3 to be ok
commit; ---> works fine
--- Re execute sentence 3 ----> success FINE!
---sentence 4, WORKS unexpected. --- it suppose to show the error, due materialized view constraint as did in sentence 3 (first try)
update product_type set move_inv = 'N';
commit; --- WORKS :( since this point ON the materialized view constraint error is show no More.... :(
insert into product_class values('SAR','TAB','TABLETS','Y');
commit;
insert into product_class values('SAR','ABC','ABCZXY','Y');
commit;
select count(*) tot_rows
from product_type pt
join product_class pc
on ( pt.product_type_id = pc.product_type_id )
where pt.move_inv = 'N' and pc.inv_negative = 'Y';
tot_rows
3
Any Idea why is this not working as expected??? maybe I'm missing something or is this a glitch???? hope is not.
thank youluis,
I don't understand why your mv failed, but I tried it in a way I would do it, using an empty MV rather than one with a single rwos with 0 in it. i.e.:
create materialized view prd_type_val_prd_class
refresh fast on commit
as
select pt.product_type_id
,pc.product_type_id pc_bc_product_type_id
,pc.product_class_id
,pc.rowid pc_row_id
,pt.rowid pt_row_id
from product_type pt
, product_class pc
where pt.bc_product_type_id = pc.bc_product_type_id
AND pt.move_inv = 'N' and pc.inv_negative = 'Y';and changed the constraint to keep it empty:
alter table prd_type_val_prd_class add constraint rows_in_prd_type_val_prd_class check(1=0);Is it seemed to pass all your tests -
After posting something here a few days back about the myriad views needing to be digested for the Fund.I Exam, I have just gleaned this lot from the Couchman book. No doubt some of the pros out there may well correct me, but this is simple what I have collected from the book, in the last 3 hours. Cheers.
Dictionary Views
Data Dictionary
Which users are in the database password file:
V$PWFILE_USERS
Where values set in the init.ora file can be viewed – all parameters:
V$PARAMETER
Script used to create the objects that comprise the data dictionary:
catalog.sql
To grant a special role to users so they can look at DBA views:
SELECT_CATALOG_ROLE
Information about all database objects in the database:
DBA_OBJECTS
Information about all tables in the database:
DBA_TABLES
Information about all indexes in the database:
DBA_INDEXES
Information about all views (including dictionary views) in the database:
DBA_VIEWS
Information about all sequences in the database:
DBA_SEQUENCES
Information about all users in the database:
DBA_USERS
Information about all constraints in the database:
DBA_CONSTRAINTS
Information about all table columns that have constraints on them:
DBA_CONS_COLUMNS
Information about all columns that have indexes on them in the database:
DBA_IND_COLUMNS
Information about all columns in all the tables in the database:
DBA_TAB_COLUMNS
Information about all the roles in the database:
DBA_ROLES
Information about all object privileges in the database:
DBA_TAB_PRIVS
Information about all system privileges granted to all users in the database:
DBA_SYS_PRIVS
Displays all PL/SQL source code in the database:
DBA_SOURCE
Information about all triggers in the database:
DBA_TRIGGERS
Information about object privileges granted to roles
ROLE_TAB_PRIVS
Information about system privileges granted to roles
ROLE_SYS_PRIVS
Information about roles granted to roles
ROLE_ROLE_PRIVS
Information about all tablespaces in the database:
DBA_TABLESPACES
Information about all profiles in the database:
DBA_PROFILES
For all parameters?
V$PARAMETER
General information about the database mounted to your instance:
V$DATABASE
Most information about the performance of the database is kept here:
V$SYSSTAT
Most information about the performance for individual user sessions is stored here:
V$SESSION , V$SESSTAT
Information about online redo logs (2)
V$LOG, V$LOGFILE
Information about datafiles
V$DATAFILE
Basic information about control files, and the two columns it has:
V$CONTROLFILE. STATUS / NAME
An object you can query to obtain a listing of all data dictionary objects (4)
CATALOG, CAT, DICTIONARY, DICT.
When the control file was created, Sequence Number, most recent SCN:
V$DATABASE
Information stored in different sections of the control file, Sequence Number:
V$CONTROLFILE_RECORD_SECTION
To see the names and locations of all control files in the db? (2)
V$PARAMETER. V$CONTROLFILE
Tablespace and Datafiles
Temporary Segments:
Name, tablespace location, and owner of temporary segments:
DBA_SEGMENTS
Size of temporary tablespaces, current number of extents allocated to sort segments, and sort segment high-water mark information. Space usage allocation for temporary segments:
V$SORT_SEGMENT
Types of sorts that are happening currently on the database
V$SORT_USAGE
To see the username corresponding with the session:
V$SESSION
Information about every datafile in the database associated with a temporary tablespace:
DBA_TEMP_FILES
Similar to DBA_TEMP_FILES, this performance view gives Information about every datafile in the database associated with a temporary tablespace:
V$TEMPFILE
Storage Structures
A summary view, contains all types of segments and their storage parameters, space utilization settings:
DBA_SEGMENTS
Tablespace quotas assigned to users:
DBA_TS_QUOTAS
Segment name, type, owner, total bytes of extent, name of tablespace storing the extent:
DBA_EXTENTS
The location and amount of free space by tablespace name:
DBA_FREE_SPACE
The location of free space in the tablespace that has been coalesced:
DBA_FREE_SPACE_COALESCED
Information about datafiles for every tablespace
DBA_DATAFILES
Performance view for information for datafiles for every tablespace
V$DATAFILE
To see the total amount of space allocated to a table?
DBA_EXTENTS
Table creation timestamp, information about the object ID:
DBA_OBJECTS
High water mark, all storage settings for a table, and statistics collected as part of the analyze (for row migration) operation on that table
DBA_TABLES
Information about every column in every table:
DBA_TAB_COLUMNS
To determine how many columns are marked unused for later removal?
DBA_UNUSED_COL_TABS
To find the number of deleted index entries ?
INDEX_STATS
To determine the columns on a table that have been indexed:
DBA_ID_COLUMNS
The dynamic view to show whether the index is being used in a meaningful way?
V$OBJECT_USAGE
To see whether a constraint exists on a particular column?
DBA_CONS_COLUMNS
To see the constraints associated with a particular table:
DBA_CONSTRAINTS
To find the username, ID number, (encrypted) password, default and temporary tablespace information, user profile of a user, password expiry date:
DBA_USERS
To all objects, which objects belong to which users, how many objects a user has created?
DBA_OBJECTS
Resource-usage parameters for a particular profile:
DBA_PROFILES
Identifies all resources in the database and their corresponding cost:
RESOURCE_COST
Identifies system resource limits for individual users:
USER_RESOURCE_LIMITS
Shows all system privileges:
DBA_SYS_PRIVS
Show all object privileges:
DBA_TAB_PRIVS
Shows all privileges in this session available to you as the current user:
SESSION_PRIVS
Views for audits currently taking place are created by this script:
cataudit.sql
a list of audit entries generated by the exists option of the audit command:
DBA_AUDIT_EXISTS
A list of audit entries generated for object audits:
DBA_AUDIT_OBJECT
A list of audit entries generated by session connects and disconnects:
DBA_AUDIT_SESSION
A list of audit entries generated by statement options of the audit command:
DBA_AUDIT_STATEMENT
A list of all entries in the AUD$ table collected by the audit command:
DBA_AUDIT_TRAIL
To determine the roles available in the database, the names of all the roles on the database and if a password is required to use each role:
DBA_ROLES
Names of all users and the roles granted to them:
DBA_ROLE_PRIVS
All the roles and the roles that are granted to them:
ROLE_ROLE_PRIVS
Which system privileges have been granted to a role:
DBA_SYS_PRIVS
All the system privileges granted only to roles:
ROLE_SYS_PRIVS
All the object privileges granted only to roles:
ROLE_TAB_PRIVS
All the roles available in the current session:
SESSION_ROLES
Which object privilege has been granted to a role:
DBA_TAB_PRIVS
To display the value of the NLS_CHARACTERSET parameter:
NLS_DATABASE_PARAMETERS
DAYou can also find a lot of stuff by doing:
SELECT *
FROM dictionary;
Maybe you are looking for
-
Can I have several Time Machines in Mavericks?
I have several boot partitions over several disks. Am I allowed to have more than one Time Machine partition - each backing up different drives? The same question was ever asked against Snow Leopard here, and the answer was no, "You can't have more t
-
How can i get the music from my old generation ipod touch on to my new windows computer
I have an old generation ipod touch 8GB with itunes version 3.1.1 and i want to get the music that is on it on to my new computer. some of the music was downloaded from websites while some of it was rippped from CDs and my computer.
-
Hi all, I have a tcode ysd_gr. When I execute it, it has one select option & I entered the values as *.csv. It gave 6 csv files(only file names) & I want to retreive data from one file. So I need to find the file path. The functional consultants told
-
Feasbile to use TC as backup and sync platform?
Hi, I got a Macbook (1,5 year old) and an iMac (less than 1 year old), a time capsule (500gb) (which I also use for Time Machine backups) and some other stuff. The big deal is that I use the two Mac's as "one" computer, which means that I would like
-
Setting fixed size screen resolution in Arch VirtualBox guests...
Hello everyone., I've installed an Arch Linux 64-bit guest os in Windows 7 64-bit host. And i've also installed guest additions succesfully. Now I need to restrict X to 720x1280 (720p) screen size for screen capturing. I've already tried few methods