Missing action 88 in table sys.audit_actions
dear all,
this select give me a result of some rows: select * from sys.aud$ where action# = 88;
In the table sys.audit_actions is no row with the action 88.
What does the action 88 describe?
Thanks a bunch.
user10911131 wrote:
Hi
I found some rows in the table aud$ with 88 and didn't know what is 88.
After than I found a link with all "missing" actions.Do you not want to share ?
And please, I probably do not understand or I missed something but could you tell me how you set audit on ALTER VIEW event :
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> audit alter view;
audit alter view
ERROR at line 1:
ORA-00956: missing or invalid auditing option
SQL> audit alter table;
Audit succeeded.Nicolas.
Similar Messages
-
How to get missing records from one table
I have one table with many records in the table. Each time a record is entered the date the record was entered is also saved in the table.
I need a query that will find all the missing records in the table.
so if I have in my table:
ID Date Location
1 4/1/2015 bld1
2 4/2/2015 bld1
3 4/4/2015 bld1
I want to run a query like
Select Date, Location FROM [table] WHERE (Date Between '4/1/2015' and '4/4/2015') and (Location = bld1)
WHERE Date not in
(Select Date, Location FROM [table])
and the results would be:
4/3/2015 bld1
Thank youDo you have a table with all possible dates in it? You can do a left join from that to your above mentioned table where the right side of the join is null. If you don't have a table with all possible dates you could user a numbers table.
Below is one way to achieve what you want with a numbers table...
DECLARE @Table table (ID Int, DateField Date, Location VarChar(4))
DECLARE @RunDate datetime
SET @RunDate=GETDATE()
IF OBJECT_ID('dbo.Numbers') IS NOT NULL
DROP TABLE NUMBERS
SELECT TOP 10000 IDENTITY(int,1,1) AS Number
into Numbers
FROM sys.objects s1
CROSS JOIN sys.objects s2
ALTER TABLE Numbers ADD CONSTRAINT PK_Numbers PRIMARY KEY CLUSTERED (Number)
INSERT INTO @Table (ID, DateField, Location)
VALUES ('1','20150401','bld1')
,('1','20150402','bld1')
,('1','20150404','bld1');
WITH AllDates
as
SELECT DATEADD(dd,N.Number,D.StartDate) as Dates
FROM Numbers N
cross apply (SELECT CAST('20150101' as Date) as StartDate) as D
select *
from AllDates AD
left join @Table T on AD.Dates = T.DateField
where ad.Dates between '20150401' and '20150404'
AND T.ID IS NULL
LucasF -
Unable to extend table SYS.yyy_xx1$ by 8192 in tablespace SYSTEM
While trying to compile a package with lots of objects i am getting the below error message.
Oracle 11gr2
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.yyy_xx1$ by 8192 in tablespace SYSTEM
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
How can i resolve the issueResult of query
select -- file_name
blocks
, maxblocks
, status
, autoextensible
from dba_data_files
where tablespace_name = 'SYSTEM';
4194302
4194302
AVAILABLE
YES
4194302
4194302
AVAILABLE
YES
4194302
4194302
AVAILABLE
YES
262144
0
AVAILABLE
NO
524288
0
AVAILABLE
NO
524288
0
AVAILABLE
NO
524288
0
AVAILABLE
NO
524288
0
AVAILABLE
NO
524288
524288
AVAILABLE
YES
524288
524288
AVAILABLE
YES
518400
524288
AVAILABLE
YES
517120
524288
AVAILABLE
YES
655360
0
AVAILABLE
NO
655360
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO
262144
0
AVAILABLE
NO -
Unable to extend table SYS.VIEW$ by 256 in tablespace
Hi,
I am getting the error
"unable to extend table SYS.VIEW$ by 256 in tablespace "
and
"ORA-00604: error occurred at recursive SQL level 1
ORA-01654: unable to extend index SYS.I_DEPENDENCY1 by 256".
while upgrading.
My database contains only 600 MB free.
Is this the problem bcoz of the database size or ant other. i am unable to understand
If it is bcause of database,please let me know how to confirm.
Thanks.ORA-01654: unable to extend index string.string by string in tablespace string
Cause: Failed to allocate an extent of the required number of blocks for an index segment in the tablespace indicated.
Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated. -
Insert old missing data from one table to another(databaase trigger)
Hello,
i want to do two things
1)I want to insert old missing data from one table to another through a database trigger but it can't be executed that way i don't know what should i do in case of replacing old data in table_1 into table_2
2)what should i use :NEW. OR :OLD. instead.
3) what should i do if i have records exising between the two dates
i want to surpress the existing records.
the following code is what i have but no effect occured.
CREATE OR REPLACE TRIGGER ATTENDANCEE_FOLLOWS
AFTER INSERT ON ACCESSLOG
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
V_COUNT NUMBER(2);
V_TIME_OUT DATE;
V_DATE_IN DATE;
V_DATE_OUT DATE;
V_TIME_IN DATE;
V_ATT_FLAG VARCHAR2(3);
V_EMP_ID NUMBER(11);
CURSOR EMP_FOLLOWS IS
SELECT EMPLOYEEID , LOGDATE , LOGTIME , INOUT
FROM ACCESSLOG
WHERE LOGDATE
BETWEEN TO_DATE('18/12/2008','dd/mm/rrrr')
AND TO_DATE('19/12/2008','dd/mm/rrrr');
BEGIN
FOR EMP IN EMP_FOLLOWS LOOP
SELECT COUNT(*)
INTO V_COUNT
FROM EMP_ATTENDANCEE
WHERE EMP_ID = EMP.EMPLOYEEID
AND DATE_IN = EMP.LOGDATE
AND ATT_FLAG = 'I';
IF V_COUNT = 0 THEN
INSERT INTO EMP_ATTENDANCEE (EMP_ID, DATE_IN ,DATE_OUT
,TIME_IN ,TIME_OUT,ATT_FLAG)
VALUES (TO_NUMBER(TO_CHAR(:NEW.employeeid,99999)),
TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_IN
NULL,
TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'), -- TIME_IN
NULL ,'I');
ELSIF V_COUNT > 0 THEN
UPDATE EMP_ATTENDANCEE
SET DATE_OUT = TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_OUT,
TIME_OUT = TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'), -- TIME_OUT
ATT_FLAG = 'O'
WHERE EMP_ID = TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
AND DATE_IN <= (SELECT MAX (DATE_IN )
FROM EMP_ATTENDANCEE
WHERE EMP_ID = TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
AND DATE_OUT IS NULL
AND TIME_OUT IS NULL )
AND DATE_OUT IS NULL
AND TIME_OUT IS NULL ;
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS THEN RAISE;
END ATTENDANCEE_FOLLOWS ;
Regards,
Abdetu..INSERT INTO SALES_MASTER
( NO
, Name
, PINCODE )
SELECT SALESMANNO
, SALESMANNAME
, PINCODE
FROM SALESMAN_MASTER;Regards,
Christian Balz -
Display of missing values in a table view.
Hi everyone,
I have a table view with 7 columns and 10 rows which displays only those values which are missing in the DataBase Table.
Is it possible to show only the missing values as '-' in a table view, the table view is having 7 different fields.
Also when the value is inserted at run time the corresponding field should be updated accordingly and the value will no longer be displayed in the table view as '-'
please advice.
Regards
Neo.Welcome to SDN.
do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.
loop thru the itab which you are passing to tableview and for the blank cells pass '-'.
<i>Also when the value is inserted at run time</i>
so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .
search the forum on how to read the user entered value from the table view so that you can update the dbtable.
Regards
Raja -
Hi,
In the alert log file it is occuring below error on some interval.The database version is 10.2.0.4.0.
ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_
ACTIVE_506486335_9939 by 128 in tablespace SYSAUX
Thanks,
Quadri
Edited by: Quadri on Feb 6, 2010 6:52 AMHello,
You wrote:
Can i delete some rows to release the space from the SYS.WRH$_ACTIVE_SESSION_HISTORY table?To purge the Table SYS.WRH$_ACTIVE_SESSION_HISTORY, you may first query the Snapshot History
with the query below:
select snap_id, begin_interval_time from sys.dba_hist_snapshot order by snap_id;Then, you choose the range of snapshot you want to delete, and you execute the following Procedure:
exec dbms_workload_repository.drop_snapshot_range ( low_snap_id => snap_id_1, high_snap_id=> snap_id_2 );But, if the delete will free space inside the Table, it won't release space to the SYSAUX Tablespace.
You wrote:
For system tablespace can i add or resize the datafile if it needs?Yes as any Tablespace. But your error message was on the Tablespace SYSAUX. So this is the reason why it
was not necessary to extend the Tablespace SYSTEM.
Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on Feb 6, 2010 6:33 PM -
ORA-1688: unable to extend table SYS.WRH
Hi,
on 10g R2 I have following error in alertlog :
ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_3192442214_8801 by 128 in tablespace SYSAUX
here :
I found :
BEGIN
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22,
high_snap_id => 32, dbid => 3310949047);
END;
Should wxe do it regularly ? Oracle does'nt it regularly ? In DB control can we drop the snapshots ?
Any other suggestion for ORA-1688: unable to extend table SYS.WRH error ?
Thank you.user522961 wrote:
Hi,
on 10g R2 I have following error in alertlog :
ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_3192442214_8801 by 128 in tablespace SYSAUX
here :
I found :
BEGIN
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22,
high_snap_id => 32, dbid => 3310949047);
END;
Should wxe do it regularly ? Oracle does'nt it regularly ? In DB control can we drop the snapshots ?
Any other suggestion for ORA-1688: unable to extend table SYS.WRH error ?
Thank you.Why are you starting a duplicate thread from one you started 7+ hours earlier?
ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY -
REG:ORA-01653: unable to extend table SYS.OBJ$ by 128 in tablespace SYSTEM
Hi
My database is
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
I get the following error
ORA-00604: error occurred at recursive SQL level 1 ORA-01653: unable to extend table SYS.OBJ$ by 128 in tablespace SYSTEM
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01653: unable to extend table SYS.OBJ$ by 128 in tablespace SYSTEM
When query the dba_data_files system tablespace
TABLESPACE_NAME AUTOEXTENSIBLE FILE_NAME MAXBYTES/1024/1024/1024 BYTES/1024/1024/1024 SYSTEM YES DATA/maq1/datafile/system.260.709848331 31.9999847412109375 0.65447998046875 SYSTEM NO DATA200/maq1/datafile/system.310.729819887 0 0.9765625
2 rows selected
Please adviceHello,
ORA-00604: error occurred at recursive SQL level 1 ORA-01653: unable to extend table SYS.OBJ$ by 128 in tablespace SYSTEM
TABLESPACE_NAME AUTOEXTENSIBLE FILE_NAME MAXBYTES/1024/1024/1024 BYTES/1024/1024/1024
SYSTEM YES +DATA/maq1/datafile/system.260.709848331 31.9999847412109375 0.65447998046875
SYSTEM NO +DATA200/maq1/datafile/system.310.729819887 0 0.9765625
If you have enough space on the Disk for the first Datafile to extend, it's a rather strange behaviour.
In this case, I suggest you to open a SR on My Oracle Support.
On Solaris, a similar bug was reported (in 9.2.0.8 release):
Bug 7196775: ERROR ORA-01653 OCCURS WHILE INSERTING RECORDS IN TABLE WITH DATAFILE AUTOEXTENDElse, you may try to extend manually the Datafiles so as to get enough free space inside the Tablespace SYSTEM.
Hope this help.
Best regards,
Jean-Valentin -
ORA-01653: unable to extend table SYS.ARGUMENT$ by 13 in tablespace SYSTEM
I have created new database manually.
when I am @?/rdbms/admin/catproc.sql putting this sql to run.
for sometime it says created, granted. but after some part it give me the error.
ORA-01653: unable to extend table SYS.ARGUMENT$ by 13 in tablespace SYSTEM
Please help me on this.
Thank you in advance.Your query does not provide SYSTEM tablespace size. It provides list of tablespaces. And it can't be a complete list since I do not see UNDO and TEMP tablespaces. In any case, based on the output you did not create any user tablespaces, so all tables you are creating went to SYSTEM tablespace and eventually you ran out of space. You need to create user tablespaces if you do not have any. You need to change non-system users and set default tablespace to non-system tablespaces. Even if you do have non-system tablespaces, tables will be created in user default tablespace unless you explicitly specify one. You need to move existing user tables/indexes to non-system tablespaces.
SY.
P.S. In order to get SYSTEM tablespace size you need to run:
select sum(bytes)/1024/1024 tablespace_size_in_mb
from dba_data_files
where tablespace_name = 'SYSTEM'; -
ORA-01653: unable to extend table SYS.SOURCE$ by 64 in tablespace SYSTEM"
Hi,
While creating a package the , I got the following error.
"ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.SOURCE$ by 64 in tablespace SYSTEM"
Could anyone please explain, how to solve this problem.
Thank you,
Regards,
Gowtham Sen.solution: increase the size of the system tablespace.
the text of all pl/sql objects is stored in the database by sys. packages, procedures, and functions are stored in sys.source$ (which is part of the USER_SOURCE view definition). so, you've created a lot of pl/sql, and the table wants to extend, but there isn't room.
this is a major problem, because it means that nothing in system can extend. add another datafile, or put the tablespace on autoextend. -
ORA-1653: unable to extend table SYS.TEST_MAIL by 128 ..
Hi guys,
Im trying to configure OEM on Windows to automatically sent out alert emails for event metrics,
but for some reason its not sending any after my setup.
Thu Aug 13 13:59:07 2009
ORA-1653: unable to extend table SYS.TEST_MAIL by 128 in tablespace TEST
Thanks in advanceTEST tablespace has run out of space.
You could either add more datafiles for TEST tablespace or turn on the autoextention for the files already part of TEST tablespace.
BTW, why are you creating objects as SYS? -
[nQSError: 14044] Missing join between logical tables
Hi All,
I have three physical tables:
A- Dimension (Contact) B- Helper (Con-Prod) C- Dimension (Product). 'A' joins to facts.
Relationships are:
A:B=1:M and B:C=N:1
Currently a column of B table has been implemented as MLOV. As a result now I have one additional MLOV physical table 'D' that joins to 'B' (Since its B.MLOV_WID=D.MLOV_WID , its not a foreign key join).
The Logical Layer has three Logical tables: A, B and C as in the Physical Layer. B table has got one new LTS for 'D'.
Now the Problem is when I take a column that is sourced from D and another from C, it generates an error in Answers: Missing join between logical tables B and C. I have verified that the Logical and Physical joins exist.
I think this is something with the Logical level setup. So here's some more information on hierarchy setup. I have one Hierarchy (Contact) for all those Logical tables. I have setup Level for the MLOV column. I don't have level setup for most of the non-MLOV columns.
Can you please share your thoughts? I would like to avoid implicit join method.Hi,
It seems like you are pulling a report from 2 tables with NO physical join.
Please check the physical layer diagram and join the 2 tables.
Thanks,
Vineeth -
Msg 2511, Level 16, State 2, Line 1
Table error: Object ID 41, index ID 1, partition ID 281474979397632, alloc unit ID 281474979397632 (type In-row data). Keys out of order on page (1:187), slots 9 and 10.
CHECKDB found 0 allocation errors and 1 consistency errors in table 'sys.syscolpars' (object ID 41).
CHECKDB found 0 allocation errors and 1 consistency errors in database 'db_name'.
repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (adv_tvs).
Help required on the above error mentionedHi Rapunzel,
The minimum repair suggested is repair_rebuild you can try that. As per mssage there is corruption in your database and it can only be corrected by either repairing or Restoring from known good backup.For doing repair the database must be in single-user
mode.
Please read
dbcc checkdb repair_rebuild option
Since DBCC CHECKDB with any of the REPAIR options are completely logged and recoverable, Microsoft always recommends a user use CHECKDB with any REPAIR options within a transaction (execute BEGIN TRANSACTION before running the command) so that the user can
confirm he/she wants to accept the results of the operation. Then the user can execute COMMIT TRANSACTION to commit all work done by the repair operation. If the user does not want to accept the results of the operation, he/she can execute a ROLLBACK TRANSACTION
to undo the effects of the repair operations.
REPAIR_REBUILD does not repair errors involving FILESTREAM data.
How big is database. If it is small and backup also is corruption free you should consider restoring from backup
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Picking of latest action from PA0000 table
Hi Experts,
I need to pick only the latest 18 & 19 actions from the table PA0000 for a given employee, although it may have many 18 & 19 actions , what should be the criteria to pick up the records from the database table.
Thanks in Advance,
Regards,
Irfanu have to put logic like this
<b>select distinct
pa0001~pernr
pa0001~ename
pa0001~abkrs
pa0001~werks
pa0001~persg
pa0001~persk
pa0001~begda
pa0001~endda
pa0000~begda as begdt
pa0000~endda as enddt
pa0000~aedtm
pa0000~massn
pa0000~massg
pa0000~stat2
pa0000~stat3
from pa0000 inner join pa0001 on
pa0000pernr = pa0001pernr
into corresponding fields of table itab
where pa0000~aedtm in s_aedtm
and pa0001~abkrs in s_abkrs.
itab1[] = itab[].
loop at itab1.
if itab1-endda ge itab1-begdt and itab1-begda le itab1-enddt.
else.
delete itab1.
endif.
endloop.</b>
Regards
Prabhu
Maybe you are looking for
-
Regarding the performance comparision of application/web servers
i want the details of performance comparision of application/web servers and which is the best, efficient and easy to use.
-
Decode an XML from WebServices
Hello ! : I need to do an application in Java. This application will receive and XML from WebServices. But, I never did anything like that. So,I have some questions about this : 1- The webservice will return the execution of an RFC, so, how get Java
-
WDTHEME root paramater and button,command field hiding
Dear Experts, Can any one let me know how to add WDTHEME root parameter to the application URL where i'm opening TCODE and also pls let me know how to hide buttons in the specific tcode window as shown in below snapshot. Here i'm opening SM30 transac
-
ITS Mobile screen sizes too small on iPhone device
Hi Everybody, I am facing the some problems relating to screen sizes on iphone mobile. The ITS service and the templates were working fine at the desktop level..But, in iPhone,screen sizes are too small to view.We need to zoom it and enter.I have tri
-
Why can't I share or send files from my iphone to my macbook pro using Bluetooth?
I cannot believe Apple has not fixed this problem. This should be intergrated in their OS. And it is not. Shame on Apple.