How do design database object

Please let me know how to designed table,index,views,sysnonyms,sequence
1. What is considered to design those object from bussiness point of view and how it influnced it?
2. What are the oracle paremeter need to be considered to design those object and how it benifit/degrade?
3. Anything which you think it is important?
4. Do we have any tool to do this JOB?
Please help me understanding this.
Thank you.

Hi,
go through the following link.It may be helpful to u.
http://stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10799/adobjdes.htm
Thank you

Similar Messages

  • How to move database objects from one user to another user

    Could someone help how to move database objects from one user to another user
    Thanks in advance

    Thanks a lot for the reply.
    Actually I wanted to know whether there is any command to change the owner ship of the table.
    For ex table1 belongs to user1. can the owner of table1 to be changed to owner2.
    directly using an oracle command. I knew that it can be done using import and export, since the table was 200 million thought the rename command would be faster instead of import and export.
    Thanks Billy for letting me know that it is not possible using oracle query.

  • How to display database object DDL...

    I am used to working with Teradata and on that database you can
    use the command show table <tablename> and it will display the
    DDL that was used to create that table. I know of the describe
    command used on Oracle via SQLPLUS. But the describe command
    doesn't show the DDL. Is there some command that will show me
    the DDL statement that was used to create the table, user, etc...

    No i dont know one but if you have sql*navigator, just right-
    click on the table and choose 'extract ddl' in the popup menu.
    Hope this helps,
    Roger.

  • How to design a 3D database in SDO

    Hi,
    I need to design a 3D database in Oracle9i SDO. As we know, this SDO support the 2D GIS seamlessly. How to design a 3D database in Oracle9i SDO,
    Could any person have some experiences. Thanks!
    Best regards!

    Hello All!
    Due to my diplom thesys I have to create a real 3D (not 2 1/2D) database in Oracle. You seem to have a little experience in this subject and I hope you can tell me whether my plan is possible or not...
    The data I'd like to store in the database is/are BRep, means a 3D-Objekt composed of many coplanar 2D-planes. I think storing the data won't be the problem because I can store the vertices of the 2d-polygons with x,y,z values. The queries will be the main problem. I have to query all types of intersection, neighborhood and some distance between the objects.
    I know, SDO_RELATE is the only filter which supports three dimensions, but there's something I don't understand:In the spatial user's guide it says:
    "the SDO_RELATE operator, can be used to determine with certainty if objects interact spatially".
    WHAT does this mean in case of 3D? True if the two objects intersect, false if not?
    Hongwei: How is your project doing? maybe we can exchange some experience...
    Many Questions, hoping for some help...;-)
    regards from germany,
    Markus Reuter

  • Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?

    TimesTen Release 11.2.1.9.6 (64 bit Linux/x86_64)
    Command> dssize;
    PERM_ALLOCATED_SIZE:      51200000
      PERM_IN_USE_SIZE: 45996153
    PERM_IN_USE_HIGH_WATER:   50033464
    TEMP_ALLOCATED_SIZE:      2457600
    TEMP_IN_USE_SIZE:         19680
    TEMP_IN_USE_HIGH_WATER:   26760
    Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?
    tried to use ttsize function, but it gives some senseless results – for example, for the biggest table, tokens, it produces following output (that this table is 90GB in size – what physically cannot be true):
    Command> call ttsize('tokens',null,null);
    < 90885669274.0000 >
    1 row found.

    Are you able to use the command line version of ttSize instead? This splits out how much space is being used by indexes (in the Temp section of the TT memory segment), which I think is being combined into one, whole figure in the procedure version of ttSize you're using. For example:
    ttSize -tbl ia my_ttdb
    Rows = 4
    Total in-line row bytes = 17524
    Total = 17524
    Command> create index i1 on ia(a);
    ttSize -tbl ia my_ttdb;
    Rows = 4
    Total in-line row bytes = 17524
    Indexes:
    Range index JSPALMER.I1 adds 5618 bytes
      Total index bytes = 5618
    Total = 23142
    Command> call ttsize ('ia',,);
    < 23142.0000000000 >
    1 row found.
    In 11.2.2 we added the procedure ttComputeTabSizes which populates system tables with detailed table size data, and was designed to be an alternative to ttSize. Unfortunately it still doesn't calculate index usage though, and it isn't in 11.2.1.

  • How to invoke Reverse Engineer database objects utility

    Hi,
    I am using oracle designer 6.0 with patch 7 and oracle 8.1.7
    can you please guide me how to get the database object ( like table defition ) into the orale designer application.
    Regards,
    Gouri

    Gouri,
    In the Design Editor, select the
    'Generate' -> 'Capture Design of' -> 'Server Model...'
    menu item.
    - Suresh

  • How to store java objects in the database

    Hi,
    I am trying to store HttpSession state across Application Servers. Basically I am trying to build a sort of application cluster server on my own. I thought the best way to do this was to periodically store the HttpSession object from an application server in a database.
    I created a table in Oracle 8i with a blob column. I use a PreparedStatement.setObject() method to store the HttpSession object in the database. My problem is, I don't know how to get the object back from the database.
    Since ResultSet.getBlob returns the Blob locator, I need to read the BinaryInputStream to get all my data back. This tells me that getBlob basically works only for things like files, and cannot be used for Java objects.
    Is there any way around this? Your input would be much appreciated.
    Regards,
    Somaiah.

    Thanks for the quick reply vramakanth.
    Do I have to use a type map if I do this? Also does such a type map exist for the HttpSession class?
    Thanks,
    Somaiah.

  • How to open a database object for view/edit using a command (v. 3.2.20.09)

    How can I open a database object for view or edit using a command in Oracle SQL Deveveloper?
    I find browsing or search for object in a large database to be slow and too cumbersome.

    Shift-F4 (pop-up descrribe) on a table name in the worksheet will let you view table details, but there is no quick edit.
    You can use filters on the object browser to reduce the number of visible objects.

  • How to design a client object???

    hello,Michael Wooten
    thank for your help, now I know the list of Java data types for the parameters
    and return values, and their corresponding SOAP data types.
    but how to design a client object, f.e: this object is value Object in ejb, their
    have some gets and sets methods, these set methods, their return type is void
    in java, but now in web service,how to deal with these prolem?
    like ejb, we have ejb's design pattern, for web service, do we have their design
    pattern also?
    thanks :-)

    Hi littlehill,
    In general, you want to think of the input parameters (and return values) for
    a web service method as "hierarchical state", not objects :-)
    The main motivation for taking this approach is to reduce the likelihood of interoperability
    issues with other (noteably non-Java) SOAP packages. The JavaBean model provides
    a simple, easy to implement mechanism for creating "hierarchical state", because
    it allows nesting. Using this nested JavaBean approach, you should be able to
    create an object graph that represents your "value object", but again the key
    here is to not thinking of them (the value objects) as objects, but state ;-)
    Each SOAP (or Web Services) toolkit will have a different approach and API for
    writing SOAP clients, unless it supports JAX-RPC. This being the case, it is a
    bit difficult to come up with an "across the board" design for a web service client
    ;-) In the case of Java-based SOAP toolkits, most developers prefer to "stay in
    the object world" as opposed to dealing with XML parsing APIs. To accommodate
    this desire, most Java-based SOAP toolkits have a "XML-to-Java, Java-to-XML" type
    mapping mechanism to handle the complexities of this task. If you don't want to
    muck around with type mappings, you should look around for a product that can
    generate Java classes from XML Schema, and vis-versa. WLS 7.0 does a better good
    of this than WLS 6.1, so you might want to check it out. I've also had a fair
    amount of success with the Exolab Castor data binding package (http://castor.exolab.org/sourcegen.html).
    It has a very comprehensive implementation of "XML Schema Part 1: Structures"
    and "XML Schema Part 2: Datatypes", is open-source, and works quite well. When
    you get down to it, a good XML Schema processor is key to saving yourself lots
    of frustration and coding.
    Regards,
    Mike Wooten
    "littlehill lee" <[email protected]> wrote:
    >
    hello,Michael Wooten
    thank for your help, now I know the list of Java data types for the parameters
    and return values, and their corresponding SOAP data types.
    but how to design a client object, f.e: this object is value Object in
    ejb, their
    have some gets and sets methods, these set methods, their return type
    is void
    in java, but now in web service,how to deal with these prolem?
    like ejb, we have ejb's design pattern, for web service, do we have their
    design
    pattern also?
    thanks :-)

  • Traitement modules versus database object in Designer 9i

    Hello!
    In our environment, there was Designer 9i installed with non-enabled versioning. So, there is only one Global shared workarea, and all the applications system are granted to public who has all rights, and the developers maintain all the application (database objects and modules).
    Now, we want to revoke the insert, delete and update privileges on database object to the developers.
    The developers continue to maintain their modules and only the DBA, would be able to modify the database objects.
    What is the best way to do it?
    Thanks,
    Malika

    Malika,
    Then you should move the database objects to another workarea and grant only edit priviliges to your DBA - and these objects should be shared to your 'normal' development workarea (where the developers have all privs).
    But why the h*** should you want to do this? Packages, procedures and functions are database objects and should be developed by developers. Imho also views, tables, triggers etc should be developed by developers and not DBA's. A DBA is another kind of expertise than developer. If you try to make the developer's life (work) difficult, they will look for workarounds - and find them. And so making your project less productive and more complex.
    Keep the problem you are trying to solve in mind!
    HTH
    Roel

  • How to get the List of Database Objects (Table/View) for a given APEX Page.

    Hi,
    I have an application and that consist of pages like page1,2,3,.....
    *1.* I want a report which can give me the list of all the Pages1,2,3,....
    I am using the following query to acheive this.... THIS IS FINE..
    select a.workspace, a.owner, a.application_name, b.page_id, b.page_name
      from apex_applications a,
           apex_application_pages b
    where a.workspace = b.workspace
       and a.application_id = b.application_id*2. Now, I want for each individual page*, the list all the database objects (tables/views), which that page is using.
    I am using ALL_DEPENDENCIES , but I am not getting the result.
    So, want to know if there any view/table, where I can get the Application Pages & there database object list...
    Thanks,
    Deepak

    Hari,
    Thanks for the response.
    The view APEX_APPLICATION_PAGE_DB_ITEMS will only give me the table name related to any Page Items defined to that page..It will not give me all the database objects..
    suppose we have a Page, having a report based on multiple tables and there is no Page items defined on that page, we will not have any value in this ....DB_ITEMS table. same thing if we have define some PL|SQL(using some table/view) in a Process, that will not be populated in .....DB_ITEMS table. I want some thing like all the database objects (table/views/function/procedure/.....) for a particular Page ID.
    Thanks,
    Deepak

  • How to document my database objects

    I need to document my database objects with respect to:
    What objects I have , relationship with in tables , keys in tables Etc…
    This document should be good enough to explain the business flow (data flow) in DB
    What I am looking is :: A good template or approach any idea or suggestion.
    --ER diagrams is 1 thing in my mind any other thing anyone what to suggest
    --Coding standard is something different
    thanks in advance;

    Why not use the Oracle Data Dictionary as repository for the core info about your tables and columns and relationships? See the COMMENT command in Oracle® Database SQL Reference.

  • How to install Oracle Database objects for BPA repository?

    Hello,
    I have installed Oracle database (10.2.0.1) EE.
    I have run the following command to install BPA repository and site manager.
    ./install_bpr10.1.3.4.271679.sh -bpr_type BS_SM -jvm ./bpa10.1.3.4/jdk1.5.0/ -dbserver rstnxlin011.oracle.com -dbport 1521 -dbinstance pva011
    Where are the database object creation scripts? I am sure I still have to create ARIS objects in the database.
    Mustafa

    Within my installation i could find the scripts on Disk 2 (where the windows installation of the Repository resides) in the folder DBMS/Oracle.

  • How to delete/mark obsolete database objects from ODI model?

    Hi,
    ODI never deletes objects while reverse engineering.
    So is it way to automate deletion or marking obsolete database objects (dropped or renamed fields, constraints) from an ODI model?
    Does someone use ODI Java API (http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e17060/overview-tree.html) or direct updating SNP_% repository tables to do it?

    I can help you with marking obsolete database objects.
    In the model, there is an option "Display the metadata changes in the Model Tree". Check this.
    This will show you what has changed or is obsolete.

  • From a Technical Architect point of view, how to design a web application?

    Hi to all,
    I am writing this issue here because I this question is not related on how to program, but on how to design a web application. That is, this question is not related to how to program with the technologies in J2EE, but how to use them correctly to achieve a desired outcome.
    Basically I know how to develop a simple web application. I like to use SpringFramework with AcegiSecurity and Hibernate Framework to persist my data. I usually use JBoss to deploy my web applications, however I could easily use Tomcat or Jetty (Since I am not using EJB�s).
    However I have no idea on how to develop (or a better word would be �design�) a website which is divided into different modules.
    Usually when you develop a website, you have certain areas that are public, and other areas that are not. For example, a company would want anyone on the Internet to download information about the products they are selling, however they would only want their employees to download certain restricted information.
    Personally I try to categorise this scenario in to common words; Extranet and Intranet.
    But � (and here starts the confusion in my mind) should I treat these two as two projects, or as one project? The content to be displayed on the Extranet is much different then the content to be displayed on the Intranet and definitely clients should not be allowed to the Intranet.
    First approach would be to treat them as the same project. This would be perfect, since if the company (one day) decides to change the layout of the website, then the design would change for both the Intranet and the Extranet version. Also the system has a common login screen, that is I would only need to have employees to have a certain Role so that they have access to the intranet, while clients would not have a certain Role and thus they would not be allowed in. But what about performance and scalability? What if the Intranet and Extranet have to be deployed on the different Hardware!?
    The second approach is to threat them as two separate projects. To keep the same layout you just copy & paste the layout from one project to another. However we would not want to have two different databases to store our users, one for the employees and the other one for the clients. Therefore we would build a CAS server for authentication purposes. Both the Intranet and the Extranet would use the same CAS server to login however they could be deployed on different hardware. However what if we want to change the design. Do we really want to have to just copy and paste elements from one project to another? We all know how these things finish! �We do not have time for that � just change the Extranet and leave the Intranet as it is!�
    The third approach (and this is the one I like most) is to have a single project built into different WAR files. The common elements would be placed in all WAR files. However in development you would only need to change once and the effects would show in the different war files. The problem with this approach is that the project will be very big. Also, you will still need to define configuration files for each one of them (2 Web.config, 2 Spring-Servlet.config, 2 acegi-security.config, etc).
    Basically I would like something in the middle of approach 2 and approach 3! However I can identify what this approach is. Also I can not understand if there is even a better approach then these three! I always keep in mind that there can always be more then two modules (that is not only Intranet and Extranet).
    Anyways, it is already too long this post. Any comments are more then welcome and appreciated.
    Thanks & Regards,
    Sim085

    Hi to all,
    First of all thanks for the interest shown and for the replies. I do know what MVC or Multi-layered design is and I develop all my websites in that way.
    Basically I have read a lot of books about Domain-Driven Design. I divide my web applications into 4 layers. The first layer is the presentation layer. Then I have the Facade layer and after that I have a Service layer (Sometimes I join these two together if the web application is small enough). Finally I have the Data Access layer where lately I use Hibernate to persist my object in the database.
    I do not have problems to understand how layering a web application works and why it is required. My problem is how to design and develop web applications with different concerns that use same resources. Let me give an example:
    Imagine a Supermarket. The owner of the Supermarket want to sell products from the website, however he wants to also be able to insert new products from the website itself. This means that we have two different websites that make use of the same resources.
    The first website is for the Supermarket clients. The clients can create an account. Then they can view products and order them. From the above description we can see that in our domain model we will have definitely an object Account and an object Product (I am not mentioning all of them). In the Data Access layer we will have repository objects that will be used to persist the Account and Products.
    The second website is for the Supermarket employees. The employees still need to have an account. Also there is still a product object. This means that Account and Product objects are common to the two websites.
    Also important to mention is the style (CSS). The Supermarket owner would like to have the same style for both websites.
    Now I would not like to just copy & paste the objects and elements that are common to both websites into the two different projects since this would mean that I have to always repeat the changes I make in one website, inside the other one.
    Having a single WAR file with both websites is not an option either because I would not like to have to deploy both websites on the same server because of performance and scalability issues.
    Basically so far I have tought of putting the common elements in a Jar File which would be found on the two different servers. However I am not sure if this is the best approach.
    As you can see my problem is not about layering. I know what layering is and agree with both of you on its importance.
    My question is: What is the best approach to have the same resources available for different websites? This includes Class Files, CSS Files, JavaScript Files, etc.
    Thanks & Regards,
    Sim085

Maybe you are looking for

  • How to download Adobe Flash Player Lite 2.1 for Symbian Belle?

    Greetings. I would Like to ask if someone would be so kind and tell me where or how couls I download Adobe Flash Player ite 2.1 for Symbian Belle? I registered on Adobe and gone to downloading page clicked to link : Download the free Flash Lite 2.1 p

  • Audio problems sharing iphoto slideshow with iDVD

    I have created a slideshow of 200 photos and 4 random tracks from itunes. It plays fine in iphoto. When I share it with iDVD and a .mov file is created only the first Track of audio plays both in preview and from a disk image. The rest is silence. Th

  • Why is the metadata being removed when I export videos from Lightroom?

    I have a video with several virtual copies each trimmed to play a different clip from that file. Each of those clips (virtual copies) is tagged according to the content. I then export the clips with the intent of deleting the original file (which is

  • Camera Raw 8.2.0.94

    Two things just happend in Camera Raw 8.2.0.94 that i need some help with. 1. Exposure slider jumps back to zero when i try to make any other changes 2. Camera Raw can no longer recognize lens profiles from either of my leneses using D800 & D4

  • Regarding SAP integration modules

    Hi all, My client is interested to implement SAP for shipping project. The system should be able to cater jetty, container terminals, Finance, HR, Logistics, Warehouse etc. It should also be able to integrate with multiple legacy systems developed ea