Users on the application and the database
Hi all
Today a doubt struck in mind, same as I do my own research it doesn't. Well, my doubt is
Gmail, facebook, OTN as these applications will undergo millions of uses, is what it means at the level of the database as we have same count of users...?
How it will work. could you please let me know...
Thank you
Dedicated server means that there will be a dedicated process running on the server for each session opened by a customer. The client application servers can open hundreds or thousands of connections at the base, all having the same shared database user to Oracle, to serve users accessing the site. You would not channel all users through a single database connection and a single server process.
Justin
Tags: Database
Similar Questions
-
Reg: verification of users in the database pending
I need to check the users in the database pending. In the primary database, I got the result by querying dba_users. But how to check standby db, without opening the database.
Is it possible with any views?No, you can't.
Assuming that physical standby, you can only query dynamic views of performance when it is in MOUNT.
I like the answer of sb92075. Its a copy of the same database. We're in a mode where you can search for users, and we're in a mode where you can not.
Make sure that your databases are synchronized and interrogate primary school.
Best regards and thanks!
mseberg
-
How to know all queries executed by users of the database?
Hi all
I am new to Oracle. I created a database (version 10.2) and several users in this database. I would like to know how to record in a database table all queries executed by users of the database.
Thank you.I would like to know how to record in a database table all queries executed by users of the database.
activate SQL_TRACE for each session, but such an effort cost more than any advantage gained.
-
safety of the user in the database
Hello
I have a following requirement:
Oracle version: oracle 8i (8.1.7.0.0)
I need to create a schema (user) and it will contain data of staking and none of the other user in the database should not acess that presents data to users,
How I can implent suggestions are appreciated.
Thank you
Prakash GRPrakash - we found the 'problem' - permission.
In order to do a full export the user has select on all tables.
Oded
-
last logon of the user to the database
Hello
I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?
Thank you.
user8869798 wrote:
Hello
I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?
Thank you.
What version of Oracle?
With 12 c, it's to (drum roll, please...) DBA_USERS.
12 c, it is not in any table/view documented .
-
creating user using the database link
Hello
I have 11g installed on one of the server
I created the database BUGAU to bugau.us.oracle.com link
link works fine
"Select * from table@"Bugau "gives the expected result
I ran the Sub statement to my server using the dblink.but do not know how to use the dblink to that effect. Please sat down
CREATE USER ABC IDENTIFIED BY welcome TEMPORARY by DEFAULT TABLESPACE USERS_001 temp123 TABLESPACE;
GRANT DEFAULT TO abc;
ALTER USER abc PROFILE LEVEL_1;
Thank you
ArchanaBravid wrote:
You cannot create a user on a remote database using a database link.
You can, but it is not a good design:
SQL> exec dbms_utility.exec_ddl_statement@orcl('CREATE USER ABC IDENTIFIED BY ABC'); PL/SQL procedure successfully completed. SQL> exec dbms_utility.exec_ddl_statement@orcl('GRANT CREATE SESSION TO ABC'); PL/SQL procedure successfully completed. SQL> connect abc@orcl/ABC Connected. SQL>
Of course, the user in the database unite ORCL must have EXECUTE on DBMS_UTILITY privilege.
SY.
-
How to change the password for all users in the database
Hi buddies!
Could someone tell me how to change the password for all users in the database? I want to set the same password for all users.
Thank you.
Nith
Published by: user645399 on March 1, 2011 14:23Write the file spooling
asMake sure that all profiles has password_verify_function with a NULL value
then
Select 'edit user' | username: ' identified by
;' from dba_users; you will get the output... you just run.
-
trace level of the user in the database.
Hello
I need emergency assistance. I wanted to take the trace of a perticular user sessions in the database. Could you please provide me with the steps to generate the trace of the user when the user connecting. In my case, when the connection of the user by the application, there are many session generated in the database. So I wanted to take the trace to the user level. I have Oracle 9i server.
Thanks and greetingsProbably the best for you would be to create a database trigger after the logon.
CREATE OR REPLACE TRIGGER set_trace after logon on DATABASE
BEGINIf the user = ('username') then
run immediately "alter session set sql_trace = true";
immediate ' alter events set "trace 10046 name context of session forever, level 12". "
end if;EXCEPTION
WHILE OTHERS THEN
-Consider recording the error and then re-raise
NULL;
END set_trace;/
You can read this thread as well:
Oracle 9i - SQL Trace & Bind Variables -
Create read only user to the database
Hi all
I need to create read only the user to one of the databases so that he should have the select query on all tables, views etc...
Can I create a user of this type with the role OEM_MONITOR at once?
Please advice
Concerning
ArunNo.:
SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for Linux: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production SQL> create user toem identified by toem; User created. SQL> grant oem_monitor to toem; Grant succeeded. SQL> select count(*) from hr.jobs; COUNT(*) ---------- 19 SQL> connect toem/toem Connected. SQL> select count(*) from hr.jobs; select count(*) from hr.jobs * ERROR at line 1: ORA-01031: insufficient privileges SQL>
Grant select ANY TABLE might work, but note it is generally regarded as a bad security practice:
http://download.Oracle.com/docs/CD/E11882_01/network.112/e10574/guidelines.htm#CHDHFIFGEdited by: P. Forstmann on March 8, 2010 21:31
-
drop more than one user in the database
Hi How can I deposit more user user at the same time for example, I have users who got the prefix UCM how can I make use I drop all the user with this prefix
Drop user cascade ucm_tets
where username like UCM %
There is no such thing, but you can use:
Select "user menu". u.username |' waterfall;' u dba_users
where u.username like '% UCM % '.
----
Ramin Hashimzade
-
Hi all
I had incompatibility number n/b dba_indexes and dba_segments index. Please find the details below.
SQL > select SEGMENT_TYPE, count (*) from dba_segments where owner = group 'VIM_SCH01' of SEGMENT_TYPE.
LOBINDEX 11
LOBSEGMENT 11
TABLE 68
INDEX 52-> I see 52 index are here
SQL > select count (*) from dba_indexes where owner = 'VIM_SCH01 '; --> See 63 index here for the same user in dba_indexes
63
SQL > select count (*) from dba_tables where owner = "VIM_SCH01"; -> showing the same number of tables from dba_segments
68
Why it's showing the different number for the index.
Thank you
Bhavani.
No doubt, because your LOBINDEX 11 segments are has index in DBA_INDEXES. You have 52 index and 11 LOB for a total of 63. Corresponds to DBA_INDEXES entries.
You can validate the fact that. Run something like
SELECT index_name FROM dba_indexes WHERE owner = 'VIM_SCH01' MINUS SELECT segment_name FROM dba_segments WHERE owner = 'VIM_SCH01' and segment_type = 'INDEX'
Which will return 11 index names in DBA_INDEXES but not in DBA_SEGMENTS with a segment_type of the INDEX. If you compare these indices against the 11 sectors LOBINDEX, I expect you to see them at the height.
Justin
-
query to display objects for all users in the database
Hi all
I want to make a query that Lee display. result for all users in a database.
Total number of #tableau #Indexes #Packages #Procedure #Functions #Sequences #Views # other username
ABC 11 5 1 1 1
1 1 1 0Something like this would work in 10g and before:
SELECT OWNER , SUM(CNT) AS "TOTAL" , MAX(DECODE(OBJECT_TYPE,'TABLE',CNT,0)) AS "#TABLE" , MAX(DECODE(OBJECT_TYPE,'INDEX',CNT,0)) AS "#INDEX" , MAX(DECODE(OBJECT_TYPE,'PACKAGE',CNT,0)) AS "#PACKAGE" , MAX(DECODE(OBJECT_TYPE,'PROCEDURE',CNT,0)) AS "#PROCEDURE" , MAX(DECODE(OBJECT_TYPE,'FUNCTION',CNT,0)) AS "#FUNCTION" , MAX(DECODE(OBJECT_TYPE,'SEQUENCE',CNT,0)) AS "#SEQUENCE" , MAX(DECODE(OBJECT_TYPE,'VIEW',CNT,0)) AS "#VIEW" , MAX(CASE WHEN OBJECT_TYPE NOT IN ('TABLE','PACKAGE','INDEX','PROCEDURE','FUNCTION','SEQUENCE','VIEW') THEN CNT ELSE 0 END) AS "#OTHER" FROM ( SELECT OWNER , OBJECT_TYPE , COUNT(*) AS CNT FROM ALL_OBJECTS GROUP BY OWNER , OBJECT_TYPE ) GROUP BY OWNER ORDER BY OWNER;
11 g, you can use the PIVOT operator to do the same.
You can change this by changing the statements of DECODING of CASE statements if you can use the LIKE operator to catch all objects such as VIEWS and VIEWS MATERIALISEES.
For example:
MAX(CASE WHEN OBJECT_TYPE LIKE '%VIEW%' THEN CNT ELSE 0 END
HTH!
-
Functionality of help for the users of the database
Hello
I was wondering if anyone knows a good way to implement a feature to aid in your dashboards.
Users that work with our global dashboards do not have much experience with IT, so I want to make a shortcut function.
This might be a question mark to each report to explain what it does and how you do it, or maybe a clue F1 help as you get with Outlook.
Someone has ideas or could signal a good option for me?
THX,
Erik
Published by: user10703465 on November 6, 2009 07:01If you have your sample sale and RPD webcat with you that comes with your install (10.1.3.4) you can see the dashboard it. They have implemented the functionality of help with a link and a report.
Any ways I will explain
Create a sample report with a dummy object and go directly to your static text and you can include text that you ever need as how to use dashboards or what this dashboard used for etc etc. Save the report
Now, go to the dashboard page and add the object link on the left and to the simple reference component destination this request. Type 'Help' in the legend.
You can simply use FMAP available to the image if you have one. Referecing of the sample as shown below
FMAP:views / Help.gif
You can download the images online and make sure that store you them under
File C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res
It may be useful
Thank you
Prash -
Report of control to the users in the database or journal?
Hi experts, I want to control reports in PIF, for example how many times users view a report? I want to know if a report to use for some users by checking the users.
Is it possible?, I searched the documentantion then I didn t see nothing.
I would like something to see for example:
_____________________________
Database OR log_
_______________________________
March 23, 2010 *.
__users | report | times
_________________
Richard | report3. 5
Benitori | Report2. 2
Charles | report3. 3
_______________________________
At, after that I will create statistics, usage reports.
Thank you.1. If users schedule reports appropriate for the output, then you have table, which will give its stats like that.
2. otherwise, if they by clicking on the view button, they see reports, you don't have that, now as out of the box.
But according to the report, you must add these as a check in the reports feature.First, is useful if they are planning.
Secondly, that you write a logic to get it. -
GNAT's access to any user in the database
Hi all
I need to create a user account that can grant a privilege object on any schema object to a required user. I know that a DBA can do that. But without the DBA role, y at - it another way to do it in Oracle 11 g 2 (worm: 11.2.0.3). Please share your ideas
Thank you
Thanks, Justin. Your answer is useful
-
Customization of the user for users of the data base and without security ADF
JDeveloper version - 11.1.1.7.0
I want to implement personalization by the user on the database of users and without ADF security. I followed the link in storing the repository in a file system but its same showing below the user interface for all users.
http://Sameh-Nassar.blogspot.IE/2012/03/apply-MDS-to-Oracle-ADF-application.html
Please guide me on how to do this for users of the database. Please share any other useful links, as appropriate.
Customization of the user (SDM) does not care the security of applications. You can also apply to the MDS in your ADF application if you use the ADF security or custom security. The main idea is the class of customization (like MyUserCC) has the method call getValue this method should return the user name. When the user login stores the user id in the session and the method getValue returns the user session ID as:
public String[] getValue(RestrictedSession restrictedSession, MetadataObject metadataObject) { try { String user = (String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("userId"); // userId is the session variable that store the login user id if(user == null) { return new String[]{""}; } return new String[]{user}; } catch (Exception e) { e.printStackTrace(); } return new String[]{""}; }
Maybe you are looking for
-
No way to Dim the brightness of the display on the iMac to 2014
I bought an iMac 27 inch nine in August 2014. Model no. A1419. It has been manufactured in 2013. As far as I can remember, there has never been the brightness slider in the display preferences and unction keys have never dimmed the screen. Initially,
-
You had to restore factory. First saved all my files. Installed the files that are now on my desktop in a folder. I open them, but that the reference to for example photoshop there are photoshop files but not the actual program itself! Same thing wit
-
On windows 2008 hyperV Server NETWORK load balancing
I have IBM Blade servers there team switches running Windows server on HyperV, when I try to configure the NETWORK load on the servers of 2008r2 balancing two Windows LB is not workingworkig?
-
LaserJet Pro M127fw MFP: LaserJet Pro M127fw MFP - Firmware install without USB
My USB connection is broken at the plate, but it doesn't matter since I use the printer wirelessly. Now I have discovered that there is a frimware update, but the statement says I have to connect to the printer by USB... Is it possible to update the
-
Regedit: Initialization failed (0xc000007b)
Hi all, a lot of posts about this but can't find answers. When I run Regedit I get an application error: "the application could not initialize properly (0xc000007b). Click OK to terminate the application". I'm running Windows Vista Ultimate, which