Activity of a DBA
Hi there,
Here is a simple question...
what will be the activity of a dba as soon as he enters the office?
The question may looks very simple but it has been asked in an interview which i attended.
how can startup a database if one of my redo log is missing?but i have all the control file and datafiles?
please write me the answer..
Thanks in advance.
Balu.
Hi,
An Apps DBA has specific experience with Oracle Applications in module wise such as MFG,FND or AD. This usually means having some understanding of the business domain as well as being able to navigate around a schema of 8000+ tables.
Bear in mind that although there is currently a lot of demand for Apps DBAs this is not guaranteed to last. Also, I suspect being an Apps DBA is a bit duller than being a regular DBA because you're less likely to be involved in novel, groundbreaking projects. (Any Apps DBAs out there who spend their entire workling lives with their posteriors hanging over the edge of a cliff shoudl feel free to contradict me).
I don't think it's possible to set out to be an Apps DBA except by being taken ion by a company that uses Apps. If you're just starting out you may need to take whatever job gets offered to you. But if you have the financial wherewithal to hold out for an Apps job then good luck to you,
Rgds,
S.Jai
Shanthi Gears (LTD)
Similar Messages
-
RPE-02248 SQLPLUS activity disabled from DBA for security reasons
Hi,
that's the error message I get when I try to run a process flow containing a SQLPlus activity.
The message seems pretty clear.
Only question is: and now??
I can't find any reference to this error anywhere...
Oracle 11 on Windows Vista.
Kind regards,
CorradoChange the setting of
property.RuntimePlatform.0.NativeExecution.SQLPlus.security_constraint
from DISABLED to NATIVE_JAVA in Runtime.properties found in
<OWB_HOME>\owb\bin\admin (where the control center service is running not the client) then restart the control center service.
(Using information from metalink note 377491.1)
Regards,
Robert -
Type of command is not allowed to be executed: DBA Cockpit
Hi there,
I found this error everytime i execute command at DBA Cockpit: SQL Command line
Type of command is not allowed to be executed.
FYA, i logged on as user that has SAP_NEW & SAP_ALL profiles. And no issue when i run the command on isql (console version) as syb[SID].
Appreciate for your reply.Hi Deepak,
1) Check with use <SID> go
Tried, Same output.
2) Please also check whether all the latest dba_cockpit corrections have been implemented.
I hv applied sap notes 1245200 1088717.
Tried use <SID> go , Same output.
Applied sap notes :
Note 1245200 - DBA: ICF Service-Activation for WebDynpro DBA Cockpit
Note 1088717 - Active services for Web Dynpro ABAP in transaction SICF
I have 2 systems; Installed with ASE 15.7 SP65 & ASE 15.7 SP101. both having same issue. -
ORA-02068, ORA-03135 - Connection Lost to Database - cancel session?
The situation:
We have an Oracle instance that we have no control over (3rd party maintained) and is shutdown on a nightly basis to do a cold back up. I'll call DB-A (8.1.7.4).
We have processes that run in Peoplesoft that selects from a view in database HR-B (10.2.0.3) that references tables in DB-A via a database link.
Peoplesoft does it's own "thread-pooling" and Oracle sessions that are created remain in an inactive state and get re-used as SQL statements are issued.
Problem:
As selects are made to the view with links to DB-A a valid session is created and remains inactive once the SQL is complete. During the night DB-A is shutdown and then started back up after the cold backups. In the morning a select is issued against the view to DB-A and tries to reuse the same session that was previously used. But since the DB-A was bounced the SQL statement gets an ORA-2068 and 0RA-03135 communication error. A second attempt seems to reestablish communication and is successful (using the same session). Adding to this problem is that multiple sessions could have been created and get reused by other processes and get the same error... so just adding retry process to a few applications does not seem feasible nor does it mean success.
Possible Solution and question:
Once DB-A is shutdown I would like to cancel any sessions in HR-B that may either be in a "bad" state, i.e. result in a communication error because it had last accessed DB-A. This way a new session would be created the next time a call is made to access data from DB-A... I've proven this to be successful via SQLPlus. Does anyone know if there is a V$ view that would show a session in a "bad" state like this? Or I would like to find sessions that executed SQL that referenced DB-A from HR-B and cancel those sessions. Does anyone have a suggestion? Thanks in advance.I believe what you are looking for is: sqlnet.expire_time
You can put this in your sqlnet.ora file and set it for a time you want it to check for 'sniped' sessions, (or sessions that have been disconnected externally for some reason).
Reference a quote from D. Burleson's site:
The sqlnet.expire_time parameter is used to set a time interval, in minutes, to determine how often a probe should be sent verifying that client/server connections are active.
http://www.dba-oracle.com/t_connect_time_idle_expire_timeout.htm
HTH,
ji li -
DBACockpit Scheduling Failed but Job Finished
Folks,
I'm having some unusual activity on the DBA Cockpit. Each hour I have 4 jobs running (15 minutely trans log backups), and on the whole they work fine. However, randomly, I get scheduling failures.
A successful run looks like...
Whereas a failure looks like this...
with the next job being....
The backup gets done, but I get the Scheduling failure and the subsequent success tab. In some ways it's not an issue as the backup is running, but I'm confused as to why it's happening.
Any ideas?
Thanks
MikeHi Mike,
Did you happen to apply all the latest corrections for dba_cockpit available for your SAP system release.
Regards,
Deepak Kori -
DBA Activity ....
HI All,
One of our DBA is going for vacation emergency purpose.. i need to replace for a week.. what are all the thinks i need to ask him.. Am comfortable with the activities what he is doing.
He is performing following activities:
1) Database Activities like Monitoring , Performance Tuning , etc
2) RMAN Backup methods
3) Oracle 11i Apps
4) Application Server 10g.
5) Temenous Application DB
6) BV(Bank Vision ) Database
7) OPEN 2 Database ( for ATM)
ThanksHelios- Gunes EROL wrote:
Hi;
He is performing following activities:
1) Database Activities like Monitoring , Performance Tuning , etc
2) RMAN Backup methods
3) Oracle 11i Apps
4) Application Server 10g.
5) Temenous Application DB
6) BV(Bank Vision ) Database
7) OPEN 2 Database ( for ATM) All those topic requiere experience(senior one) . I suggest just ask him what you need to check daily,what is most important for your company and say him "keep phone on"
I agree, focus on the day-to-day business to keep the servers and services up and running, and don't bother with performance tuning (unless anything goes horribly wrong...)
RMAN-logs needs to be checked, so that the backup is working as intended, and for performance monitoring, just to make sure that nothing grinds to a halt.
The performance in this case could probably just as well be monitored on the hardware, rather than in Oracle.
And probably the most important note, for your sake as much as for the company's - he should really keep his phone on...
Good luck!
//Johan
Edited by: Johan Nilsson on Mar 22, 2011 5:21 AM -
Audit DBA Activity, skip table from logical standby!
Dear All,
My database is 10gR2 on windows 2003 server.
I want to know if I can put some audit on the commands: execute dbms_logstdby.skip() to skip tables from Logical standby and also the same on unskipping the objects exec dbms_logstdby.unskip.
Thanks, ImranHi,
Given that your Database is 10g, the auditing options were extended to included DML from only SELECT in 9i, but not audit on procedures. You could double check the Fine Grained Auditing options in 10g, but I don't think this extends to DBMS_ packages.
I would consider writing a trigger or a small job that monitors the DBA_LOGSTDBY_SKIP view for additional entries. This is the only workaround that I can suggest that might fit your needs. -
Error ODS activation - sql error when accessing a table.
Hi,
sometimes occurs an error by activation ODS. I have proces chain and when is loaded second packet an error occurs. In monitor>>
-RSMPC 128, datapacket 3 is wrong, with status number 9
-RSMPC 131
-RSDRO 108 - communcation error (sql error when accessing a table)
In sm21>
-sql error when accessing a table
-The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
either caught nor passed along using a RAISING clause, in the procedure <b>"UPDATE_ATAB"</b> "(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The database system recognized that your last operation on the database
would have led to a deadlock.
Therefore, your transaction was rolled back
to avoid this.
ORACLE always terminates any transaction that would result in deadlock.
The other transactions involved in this potential deadlock
are not affected by the termination.
I have BW 3.5.
Thank You very much.There are a few different scenarios that I can think of where this might come up that all involve what might resulting in parallel (concurrent)processes:
Loading packets in parallel - that is there are X number of processes loading packets concurrently. This could be set in your IMG settings system wide or in the InfoPackage for just this datasource. You seem to indicate that you don't have this.
Database parallel processing - RSAMDIN - ORA_PARALLEL_DEGREE ( there was a different RSADMIN parm for older versions - forget what SP the change came with).
You have multiple InfoPackages for the datasource, each loading what should be a different range of data, and they run atthe same time.
You could be loading from two different datasources to the ODS at the same time.
If any of these are true, I would look at bumping the INITRANS setting up. Your DBA will probably need to do this for table and its indices. There is a Note - 831234 that allows you to create a parameter in RSADMIN that will specify a INITRANS value (e.g. 20) rather than using the default. The ODS would need to be activated to pick this new setting up for the table to be altered.
You could also look at the Processing settings for the InfoPackage and change to PSA first, then target to see if that helps.
Or if you are loading from two different datasources at the same time, you might adjust your schedule so that doesn't happen.
Pizzaman -
Removing the responsbility of user maintenance from the DBA
Suppose you were working with a customer whose DBAs refuse to be involved with user maintenance, i.e. creation and deletion of users, password maintenance, role and privilege assignment etc. What technology and/or approach would you recommend?
Some random thoughts along this line:
1. Ask the DBA to create one user with CREATE USER and ALTER USER privileges, and give that user access to SQL*Plus so that he can run the queries to create and maintain users himself. Obvious downside: Someone else has to know SQL, at least a few SQL statements, or have a custom user interface built for them that wraps the SQL statements. Is this really such a bad solution?
2. LDAP or OID. I don't understand enough about either of these two technologies to truly be able to discuss the pros and cons. How exactly do they work in a Windows network envionment, perhaps one with or without Active Directory and/or Windows Groups? Can they really allow someone other than the DBA to create users, maintain passwords and maintain roles and privileges? If so, doesn't the person in charge of assigning roles and privileges to users have to have CREATE USER or ALTER USER privileges anyway? Really, why would this be such an improvement over solution #1?
3. Any other approaches and/or experiences along this lines anyone wouldn't mind sharing?
Appreciating any and all insights,
DTXCFTHanks sybrandb.
On #2, suppose the application is set up in such a way that by default all of the security is handled in the database, i.e. when the application is installed and the scripts run to create the database it creates roles like these:
cst_role_product_editor
cst_role_product_admin
cst_role_product_viewer
cst_role_order_viewer
cst_role_order_admin
cst_role_order_editor
cst_role_store_viewer
cst_role_store_editor
cst_role_store_admin
in other words, for each object type in the database (stores, products, orders, coupons, catalogs etc.) all of these roles are created at the database level, and by default, each individual user has to be created using a CREATE USER command with the proper roles assigned.
If I take an application like this to the client and they say they want to implement LDAP and/or OID, when the people who create these users outside the database as you mention,
1) Does it create any additional actual Oracle users, and
2) Can LDAP and OID handle actually assigning these users to specific Oracle roles?
And one more question - can you explain what exactly is a proxy account to a rookie like me who thinks proxy sounds like the name of a night club you'd find in Las Vegas?
Sorry to impose so much but I do appreciate the help. -
Month end closing question from a DBA
Hi all,
I am a DBA not a functional setup person/Business Analyst; so excuse me if my question is not put in business terms.
We have an 11.5.10.2 that operates in US, Canada, Peru, China and Australia. Each of these have their own Set of Books. When the time comes to do month end closing, our finance people tell all incl our US and other countries branches to stop the following transactions on the system while month end closing is going on:
• Inventory
o Pick, pack and ship for SO’s and Internal Req’s
o Receiving of PO’s, Internal Req’s and OSP
o Subinventory transfers
o Consignment consumption
o Inventory adjustments
• WIP
o WIP moves and completions
• Accounts Receivable
o Cash applications
o Invoicing of any shipping activity past cutoff o Manual invoices and credits
• Accounts Payable
o Invoice entry and cancellation
o Manual or batch payment runs
Question that I have is: how can month end closing be done where each of these countries could freeze these activities for their last day of month when last day of month starts obviously earlier in Australia and China compared to US, Canada and Peru? As of now, they all seem to follow the last day of the month procedure as the US. It takes about 7 hours for the whole process to run.
All comments/suggestions welcome.
Thanks,
Edited by: DBA115102 on Mar 4, 2011 7:14 PMHello.
SQL> select p.period_name, ae.event_status_code, p.closing_status, h.AE_HEADER_ID
2 from ap_ae_headers_all h, ap_accounting_events_all ae, gl_period_statuses p
3 where ae.accounting_event_id = h.accounting_event_id
4 and h.period_name = p.period_name
5 and p.application_id = 200
6 and p.closing_status = 'C'
7 and ae.event_status_code = 'CREATED';
no rows selected
SQL>
As you can see, i cannot find similar situation. My database has data since 1998. Perhaps we are using different APPS versions, mine is 11.5.10.2
Octavio -
Scalability Issues - Too Many Active Sessions?
Hello,
I'm having an issue with an application I built for one of the campuses at the college I work at. The application is a queuing system where there are stations for students to check in, admin stations where staff can see these students and "call" them, and displays outside each employees office that shows the student that was called. There are about 20 of these last type of display panels. I have the following code in my page footer to poll the DB for the most recent called student for a specific room:
<script type="text/javascript">
<!--
var refresh_region = function( workstation_in, div_in ) {
$.get(
'wwv_flow.show',
{"p_request" : 'APPLICATION_PROCESS=F_NEXT_STUDENT',
"p_flow_id" : $v('pFlowId'), //app id
"p_flow_step_id" : $v('pFlowStepId'), //page id
"p_instance" : $v('pInstance'), //session id
"x01" : workstation_in
function(data) {
$(div_in).html(data);
setTimeout(function() { refresh_region( workstation_in, div_in ) }, 5000);
refresh_region( '&P7_WORKSTATION_IN.', '#next_student_div' );
//-->
</script>The OnDemand process, F_NEXT_STUDENT runs the following query and returns the result:
select a.FIRST_NAME || ' ' || a.LAST_NAME
into full_name
from ONESTOP_QUEUE a
where a.WORKSTATION_ID_CALLED = in_workstation_id
and a.STATUS = 'CALLED'
and a.QUEUE_ID = (
select min( c.QUEUE_ID )
from ONESTOP_QUEUE c
where c.WORKSTATION_ID_CALLED = in_workstation_id
and c.STATUS = 'CALLED');However, when all of these display panels are turned on (and I use code like this in other pages for similar purposes) the application becomes sluggish and eventually unresponsive. At first we had the application running off a box with Oracle XE. We eventually migrated to a full blown 11g install with APEX Listener and GlassFish. My DBA says everything looks ok on the DB side so I've been trying to dig in other areas to see where the bottleneck may be. After inspecting the Active Sessions report in APEX, I saw that there's a ton of connections being generated (> 30,000). This doesn't seem like a good thing to me and I'm trying to figure out what I'm doing wrong.
At first I was using $.post() instead of $.()get. I was also using setInterval() instead of a setTimeout() loop. However, none of these changes seemed to really help the situation much. I'm at a loss for how else to improve the performance of this application. Any suggestions on what I can try?
Most of the app's functionality is on apex.oracle.com
WORKSPACE: SCCC_TEST
USER/PASS: TEST/test
Direct URL to the page (I pass in the worksation ID): http://apex.oracle.com/pls/apex/f?p=65890:7:0::::P7_WORKSTATION_IN:ADMISSIONS_1
Thanks in advance for any help.Hi Patrick,
UPDATE as of 3PM Eastern:
This afternoon all users lost the ability to connect to the application. My DBA is still reviewing logs but it seems that the error isn't on the DB side. The application came back up after he restarted the Apex listener. We found a bunch of the following error in the Glassfish server.log file:
[#|2013-02-25T14:34:39.021-0500|WARNING|oracle-glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=11;_ThreadName=Thread-2;|GRIZZLY0023: Interrupting idle Thread: http-thread-pool-80(73).|#]The max threads is currently set to 100.
After we came back up I went to page 4350:45 and cleared out all sessions. After a couple minutes I rechecked the number of sessions on this page:
Total Sessions: 27,674
Distinct Users over all sessions = 2
Sessions older than 15 minute(s) = 4Seems like way too many sessions to have after just a couple minutes.
End UPDATE
Again, thank you for taking the time to reply. Everything seems to be working fine for the past couple days, but I figured I'd provide some current data, especially since I'm still curious about all these "sessions".
Are we talking about page 4350:45 which shows the following information
Total Sessions: 9
Distinct Users over all sessions = 4
Sessions older than 1 day(s) = 0
Where does it show 17,400 sessions for you? It almost appears that your daily APEX jobs are not running which do normally purge old APEX sessions automatically. See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35129/dbms_jobs001.htm
Yes, this was the page I was referring to. I just checked it now and it showed me the following:
Total Sessions: 10,236
Distinct Users over all sessions = 2
Sessions older than 1 day(s) = 0And it does appear that the APEX jobs are running since there are no sessions older than 1 day... unless I'm interpreting this information incorrectly.
Also, I was able to get some more data regarding page loading using the Debug info:
14763 7751818952614 nobody 101 7 show 46 4 seconds ago 0.0000
14760 7751818952614 nobody 101 7 show 46 9 seconds ago 0.5300
14757 7751818952614 nobody 101 7 show 46 14 seconds ago 0.0150
14754 7751818952614 nobody 101 7 show 46 19 seconds ago 0.0160
14751 7751818952614 nobody 101 7 show 46 24 seconds ago 0.0160
14748 7751818952614 nobody 101 7 show 46 29 seconds ago 0.0160
14745 7751818952614 nobody 101 7 show 46 34 seconds ago 0.0160
14742 7751818952614 nobody 101 7 show 46 39 seconds ago 0.0160
14739 7751818952614 nobody 101 7 show 46 44 seconds ago 0.0160
14736 7751818952614 nobody 101 7 show 46 49 seconds ago 0.0160
14733 7751818952614 nobody 101 7 show 46 54 seconds ago 0.0160
14730 7751818952614 nobody 101 7 show 46 59 seconds ago 0.0000
14727 7751818952614 nobody 101 7 show 46 64 seconds ago 0.0160
14724 7751818952614 nobody 101 7 show 46 69 seconds ago 0.0160
14721 7751818952614 nobody 101 7 show 46 74 seconds ago 0.0160
14718 7751818952614 nobody 101 7 show 46 79 seconds ago 0.0160
14715 7751818952614 nobody 101 7 show 46 84 seconds ago 0.0150
14712 7751818952614 nobody 101 7 show 46 89 seconds ago 0.5300
14709 7751818952614 nobody 101 7 show 46 94 seconds ago 0.0000
14706 7751818952614 nobody 101 7 show 46 99 seconds ago 0.0150
14703 7751818952614 nobody 101 7 show 46 104 seconds ago 0.0150
14700 7751818952614 nobody 101 7 show 46 109 seconds ago 0.0150
14697 7751818952614 nobody 101 7 show 46 114 seconds ago 0.0150
14694 7751818952614 nobody 101 7 show 46 119 seconds ago 0.0160
14691 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5310
14688 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14685 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5150
14682 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14679 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14676 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14673 7751818952614 nobody 101 7 show 46 3 minutes ago 0.0000
14670 7751818952614 nobody 101 7 show 46 3 minutes ago 0.5930
14667 7751818952614 nobody 101 7 show 46 3 minutes ago 0.5300
14664 7751818952614 nobody 101 7 show 46 3 minutes ago 0.5460So I'm seeing a page load time of ~0.016 or ~0.53. When I click on the details for one of the longer page view, I get the following:
0.00000 0.00000 S H O W: application="101" page="7" workspace="" request="APPLICATION_PROCESS=F_NEXT_STUDENT" session="7751818952614" 4
0.00000 0.04700 Reset NLS settings 4
0.04700 0.03100 alter session set NLS_LANGUAGE="AMERICAN" 4
0.07800 0.03100 alter session set NLS_TERRITORY="AMERICA" 4
0.10900 0.01600 alter session set NLS_CALENDAR="GREGORIAN" 4
0.12500 0.03100 alter session set NLS_SORT="BINARY" 4
0.15600 0.00000 alter session set NLS_COMP="BINARY" 4
0.15600 0.00000 ...NLS: Set Decimal separator="." 4
0.15600 0.00000 ...NLS: Set NLS Group separator="," 4
0.15600 0.00000 ...NLS: Set g_nls_date_format="DD-MON-RR" 4
0.15600 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM" 4
0.15600 0.03100 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.18700 0.00000 NLS of database and client differs, characterset conversion needed 4
0.18700 0.01600 ...Setting session time_zone to -05:00 4
0.20300 0.03100 Reset NLS settings 4
0.23400 0.03100 alter session set NLS_LANGUAGE="AMERICAN" 4
0.26500 0.01600 alter session set NLS_TERRITORY="AMERICA" 4
0.28100 0.03100 alter session set NLS_CALENDAR="GREGORIAN" 4
0.31200 0.03100 alter session set NLS_SORT="BINARY" 4
0.34300 0.00000 alter session set NLS_COMP="BINARY" 4
0.34300 0.00000 ...NLS: Set Decimal separator="." 4
0.34300 0.00000 ...NLS: Set NLS Group separator="," 4
0.34300 0.00000 ...NLS: Set g_nls_date_format="DD-MON-RR" 4
0.34300 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM" 4
0.34300 0.01600 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.35900 0.03100 ...Setting session time_zone to -05:00 4
0.39000 0.03100 Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM 4
0.42100 0.01600 Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH:MIPM 4
0.43700 0.03100 Setting NLS_TIMESTAMP_TZ_FORMAT to application timestamp time zone format: DD-MON-YYYY HH:MIPM 4
0.46800 0.00000 ...NLS: Set g_nls_date_format="DD-MON-YYYY HH:MIPM" 4
0.46800 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH:MIPM" 4
0.46800 0.00000 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-YYYY HH:MIPM" 4
0.46800 0.00000 NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en 4
0.46800 0.00000 Application 101, Authentication: PLUGIN, Page Template: 61331314513900454147 4
0.46800 0.00000 Authentication check: No Authentication (NATIVE_DAD) 4
0.46800 0.00000 ...fetch session state from database 4
0.46800 0.01600 fetch items (exact) 4
0.48400 0.00000 ... sentry+verification success 4
0.48400 0.00000 ...Session ID 7751818952614 can be used 4
0.48400 0.01500 ...Application session: 7751818952614, user=nobody 4
0.49900 0.03100 ...Setting session time_zone to -05:00 4
0.53000 0.00000 Session: Fetch session header information 4
0.53000 0.00000 Run APPLICATION_PROCESS= request 4
0.53000 0.00000 ...Execute Statement: begin sys.htp.p( F_NEXT_STUDENT( in_workstation_id => apex_application.g_x01 ) ); end; 4
0.53000 0.00000 Stop APEX Engine detected 4
0.53000 - Final commit 4Again, not sure if I'm reading this correctly but it seems that the steps that are taking the most time seem to be related to NLS settings... and I have translating turned off. This is consistent with all of the longer page views. As a side note, my DBA did turn archive log mode back on this weekend.
Again, everything seems to be running smoothly at the moment so the above data is more to help satisfy my curiosity about the inner workings of Apex.
Regards,
Tadeusz
Edited by: tdsacilowski on Feb 25, 2013 3:04 PM -
SQL Injection -- DBA role..
Hi all,
I'm working as a SQL Server DBA,Now a days we are facing issue with attacks(SQL Injection),most of attacks are taken care by Firewalls but still some attacks hitting Database.
As a DBA How to check whether database got effected
Please help me by providing hints and tips to analysis SQL injection.
Thanks in advanceThere is no easy ways to detect sql injection. You should analyze activity against databases and work with developers to address it.
Basically, you can capture sql_completed/rpc_completed events in XEvent or SQL Trace and review them. Anything, which is not parameterized, could be the subject of injection attach (it depends on Client Code and implementation).
As the side note, script below provides you the list of the databases together with number of cached execution plans that were used just once. SQL Injection targets non-parameterized queries. So the databases with large number of single-used plans are more
likely to be affected. In any case, do not rely on output much - large number of single-used plans could be just the sign of bad design rather than being affected. As I said, you need to review client app code just to be sure.
select
epa.value as [DB ID],
db_name(convert(int,epa.value)) as [DB Name],
count(*) as [Single Use Plans]
from
sys.dm_exec_cached_plans p
cross apply sys.dm_exec_plan_attributes(plan_handle) AS epa
where
p.usecounts = 1 and
p.objtype in ('Adhoc','Prepared') and
epa.attribute = 'dbid'
group by
epa.value
option (recompile)
Thank you!
Dmitri V. Korotkevitch (MVP, MCM, MCPD)
My blog: http://aboutsqlserver.com -
i have problem with dba sutdio the help is out and i would like to know if someone can give me the new version of dba , if not can you tell me what i can do ?
THANKHi All
I am also having the same problem. And i followed the same steps. But the help is still not working.
1) CRM_BSP_F1_HELP is active in SICF
2) And these are the values for the CRM_HELP entry in PlainHtmlHttp tab.
a) Variant = CRM_HELP
b) Platform = Windows NT
c) Area = IWBHELP
d) Server Names = help.sap.com
e) Path = saphelp_crm40/helpdata
f) Language = EN
g) Default = true
Everything looks good, but the popup still throws "Pages cannot be displayed" error.
In the properties of the popup, i find the Address as
res://C:\WINDOWS\system32\shdoclc.dll/dnserror.htm#http://http://help.sap.com/saphelp_crm40/helpdata/EN/c9/5bda36c65a3b0ae10000009b38f839/content.htm
I think its putting "http://" twice for the link. And that creates the problem. Do you guys know any solution for this problem.
Any help appreciated.
Thanks
Sasi
Message was edited by: Sasidhar Reddy -
Solution Manager EHP 1 SP22 - DBA Cockpit Configuration Wizard
Hi,
When trying to "Configure DBA Cockpit" in Managed System Configuration ,I got the below error .
We are on Oracle 10.2.0.4.0 and Solution Manager SP22.
Database history :Not supported for this DB platform
Extractors activation :The DB performance warehouse is not available, thus the DB extractors were not activated
Please let me know if i need to perform any more additional steps.
Thanks in advance.....
Srini"Database Performance Warehouse was not set up"
"Not supported for this DB platform"
For Oracle databases there is no support for Database Performance Warehouse in EHP1. With EHP2 the Oracle platform will be supported as well with some reports in the Solution Manager UI.
Basically the database performance warehouse is a project to collect and extract performance data to the SAP Solution Manager BI system. Once the data was loaded in to this BI you can use DBA Cockpit for detailed analysis. In EHP2 of SAP Solution Manager you will be able to also use the SAP Solution Manager UIs to analyze the database performance and workload.
If you are more interested in this feature you are very welcome to have a look at some articles available in SDN:
https://www.sdn.sap.com/irj/sdn/db6
For now you have full support for DB2 for LUW and MS SQL Server platforms and a more limited set of reports for SAP MaxDB and DB2/z.
I hope this clarifies your question. -
Active users and connections in v$session
How can I write an SQL script or query to find the following :
1. The total number of times a user called BRIGG connects to the database in a day(24 hour period)
2. The STATUS in V$SESSION could be ACTIVE or INACTIVE. I needed to track as to how many times, the user BRIGG was ACTIVE on a given day(24 hour period)
Thanks1.
You can audit user logons with the database trigger and then run sql over your own audit table (http://www.dba-oracle.com/art_builder_sec_audit.htm)
or
you can use oracle audit trail (http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/audit.htm#1108)
to audit brigg's session using
audit session by brigg;
Check out this article - http://www.securityfocus.com/infocus/1689
2. I don't think there is straightforward way to do it. You can wite the procedure or script to
select sysdate,status,username from v$session where username ='BRIGG' ;
run it at desired interval (i.e every second) and capture the output in the table for the later analysis.
What are you trying to achive by 2? I don't see a lot of sense in monitoring ACTIVE/INACTIVE status of the session - what kind of infromation are you trying to extract from it? May be there is another way ...
Mike
Maybe you are looking for
-
Pass Parameters from JSP to PL/SQL
I have a JSP portlet which consists of a few pages. Meaning, I move from one page to the next by using the "next_page" param from the JPDK. In one of my JSP pages, in its <form> tag, I have the action set to call a PL/SQL procedure (in the form of "p
-
My new flash player crashes on my computer
my new flash player crashes on my computer
-
Getting NLS setting issues when calling procedure
Hi, Can anybody suggest me what could the problem in the below issue?. i am invokeing procedure using DBAdapter. My soa version is 11.1.1.5. When i am calling procedure first time it is working fine. But when i am invoke second time it is showing bel
-
hello... how can i simplify these codes below to a simpler version with minimum features possible? is it possible to eliminate the title bar? import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import javax.swing.*; impo
-
Time machine died!! - plz help
My time machine has died. No light. Thought it was the fuse which I have replaced. What are my options? Brought from Apple 1TB Feb 2009. Have I lost my backups? please help Ash