Practise Database

Hi All
I am unable to install an Oracle database on my home machine (mac with less than 1g of memory) but need a database to practise on. Does anybody know an alternative solution please.
I have tried http://sqlzoo.net but the oracle instance is unavailable.
Thanks,

there isn't an oracle database XE (express edition) for mac.
Requeriments for database 11g is 1Gb RAM Minimum. You need to add more RAM to your computer.
http://www.oracle.com/technetwork/es/topics/macos/articles/index.html
Oracle Database Online Documentation 11g Release 2 (11.2)

Similar Messages

  • Practise database Oracle 10G

    I would like to practise on the same environment/system as my works at home using sql developer.
    My works database has around 10GB of data and i believe there are over a couple of hundred tables.
    What i would like to do is copy the structure of the tables so that i can import them into my test oracle database at home. If possible i would like to copy not only the database tables but also the first record in every table in order that i can see what data the table holds without having to do a DESC. Therefore i could look at the data in sql developer.
    Can anyone instruct me on the best way to achieve my goal.
    Any assistance greatly appreciated.

    I would like to practise on the same
    environment/system as my works at home using sql
    developer.
    My works database has around 10GB of data and i
    believe there are over a couple of hundred tables.
    What i would like to do is copy the structure of the
    tables so that i can import them into my test oracle
    database at home. If you are using SQLDeveloper, then you can use the "Database Export" menu item (Tools -> Database Export) to create a SQL script with the DDL statements of all table structures in it.
    Alternatively, you could use the "exp" command with "rows=n" option to create a dump file that contains just the table structures.
    ...If possible i would like to copy
    not only the database tables but also the first
    record in every table ...I don't think this will work, it could error out due to foreign key violations.
    ... in order that i can see what
    data the table holds without having to do a DESC.But DESC was never meant to show you the data the table holds anyway.
    DESC is meant to show you the table structure, and not the data in it.
    Not sure how loading 1 record in each table would help you avoid using DESC.
    Therefore i could look at the data in sql developer.
    Can anyone instruct me on the best way to achieve my
    goal.
    If you are trying to get a minimal set of data to work on, then tough luck. You will have to know your data very well to figure out how to extract it that way.
    You cannot apply a blanket rule of "where rownum = 1" (which you can actually specify in SQL Developer) and expect all that data to be loaded without foreign key violations.
    HTH
    isotope

  • Database development practise advise

    Hi friends,
    I am a fresher in the Development field..coming straight from college and certified in Oracle SQL so far, currently working on Pl/sql certification. I want to practise Quality industry Database Development as well as getting the experience that is required. Please help me with advise on what I should use as sample cases to work on or any other advise you can have. I have oracle 11G software installed on my machine.
    What is the way forward?
    Regards
    Tdewa

    I think besides the options told by Srini an Andy, reading the below book at this stage especially would be very helpful because it would be very tough to unlearn the wrong habits once you would come into the field.
    http://www.amazon.com/Effective-Oracle-Design-Osborne-ORACLE/dp/0072230657/ref=sr_1_1?ie=UTF8&qid=1328500593&sr=8-1
    HTH
    Aman....

  • Best Practises with ACS Replication & external databases

    I am looking for a best practise with the following scenario:
    2 ACS Servers in 2 separate locations, each providing mutual backup to each other - i.e. all devices/users in Site X point to local ACS Server X 1st and remote ACS Server Y 2nd. In Site Y the devices/users point to the local ACS Server Y 1st and remote ACS Server X 2nd. This works fine; currently Server X replicates the Database to Server Y.
    In the future we will be implementing a remote LDAP database and will forward unknown users to this database for authentication. As I understand it if an unknown user exists on the LDAP database then the ACS Server will create a local account (depending the mapping policy etc) and point the password at the remote LDAP server. If we replicate from Server X to Server Y, but Server Y has created an account for an unknown user will this get deleted on replication? Is there a best practise to handle this scenario?
    Andy

    I could not find a best practices document as such but a lot of ground is covered in the document 'CiscoSecure Database Replication' at http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/csacs4nt/acs33/user/sad.htm#wp755988.

  • Oracle Database 10g: Administration I Practise Exams

    Hi everyone,
    I am looking for practise exams for Oracle Database 10g: Administration I. If anyone has these exams please let me know by email where I can download these.
    Thanks
    Faiz
    Email: [email protected]

    Oracle provides links to self-test software off of its site
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=208
    You will find a list of SELFTEST and TRANSENDER tests for purchase.
    HTH -- Mark D Powell --

  • Suggest me the best practise for accesing database by JSP page

    Hi,
    Can you please suggest me the best practises to connect to database through JSP page.
    I am using the Struts-Portlet environment. And I have to display some contents from the database to the jsp page(view.jsp).
    Please suggest.
    Saurabh.

    If you know how to use struts and portlets, you wouldn't be asking this question. I suggest looking into the Model-View Controller pattern to get an idea how to set up a web application, then think about how to do it in a portlet environment.

  • Best practise for creating an application that connects to a SQL Server database

    I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button
    is selected.  
    I have created a SQLcontrol.vb using the following code:
    Imports System.Data.Sql
    Imports System.Data.SqlClient
    Public Class SQlControl
    'connection 1
        Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
        Public sqlcmd As SqlCommand
        Public sqlda As SqlDataAdapter
        Public sqldataset As DataSet
        Public Function hasconnection() As Boolean
            Try
                SQLCon.open()
                SQLCon.close()
                Return True
            Catch ex As Exception
                MsgBox(ex.Message)
                Return False
            End Try
        End Function
        Public Sub runquery(query As String)
            Try
                SQLCon.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon.State
    = ConnectionState.Open Then
                    SQLCon.Close()
                End If
            End Try
        End Sub
        Public Sub runquery1(query As String)
            Try
                SQLCon1.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon1)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon1.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon1.State
    = ConnectionState.Open Then
                    SQLCon1.Close()
                End If
            End Try
        End Sub
    End Class
    A code for one of my button which views displays data grid contains the following code:
    Private Sub Button1_Click_1(sender As Object,
    e As EventArgs) Handles Button1.Click
            If SQL.hasconnection
    = True Then
                SQL.runquery("select 
    * from tablea")
                If SQL.sqldataset.Tables.Count
    > 0 Then
                    DGVData.DataSource = SQL.sqldataset.Tables(0)
                End If
            End If
        End Sub
    I am fairly new to vb.net and have read a few books and followed a few tutorials on youtube, what I would like to know is, are there any disadvantages
    to the way I have connected to a SQL database using the SQLControl.vb.  A lot of the vb books include data adapter and dataset within the form, I'm not sure if I'm following best practice by have the connection details outside of the form.
    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter
    and dataset.  It all works fine but I just wanted to know of any potential issues?
    Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
    Thanks

    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter and dataset.  It all works fine but
    I just wanted to know of any potential issues
    1) You are not using Sepration of concerns for a solution that is doing data access, like using a DAL.
    http://en.wikipedia.org/wiki/Separation_of_concerns
    2) You are directly issuing SQL commands at the UI, leading to sql injection attacks.
    3) You are not using a UI design pattern, which leads you to tightly couple database activity to the UI.
    http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
    @System243trd, parameters are important to prevent SQL injection attacks (people will insert SQL commands into the database if you do not perform basic checking of what you are passing to the database). If you write a stored procedure try to make
    the variables the correct SQL server data type to avoid problems later of people trying to call it directly.  Darnold924 is right, I see no code to prevent against SQL injection attacks. In addition, during development in some instances LocalSQLDB
    database system is used and during deployment you usually need to use the production SQL server database. Moreover,  Linq-to-SQL is used on Windows Phone 8.1 and it is required for phone development later and so I highly recommend learning
    it if you plan on developing windows phone applications.
    @System243trd, If you want the code for the windows phone app I think it uses the MVVM model or that might be for universal apps or regular windows phone apps. I have been using the windows phone Silverlight pivot or panorama template (it might
    be pieces of both). I've already submitted to the windows phone marketplace and it had to go through certification first. I plan on later making an article on it but I need to first fix one or two simple problems I have with it.  Here's a link to
    the source code if you later want to look at the source code (in vb.net): 
    https://jeffsblogcodesamples.codeplex.com/downloads/get/1445836
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog
    - http://www.computerprofessions.us

  • Need sample database  for Practise

    Hi Experts,
    I am learner looking for Sample data base to play.
    eMotors
    eStaff
    these are sample database used by training centers.
    Thanks

    I have not see these databases available seperately.
    You can get other databases wen you install certain product.
    Below is a small list of application with their database to do some practice...
    Northwind from Microsoft
    Xtreme from Crystal Reports
    eFashion from Business Objects
    Bashir Awan

  • Database load testing best practises

    Hello,
    I know this is not the right forum but hoping some one could help me with this. I want to test my database with jmeter. I am not sure what should i be looking for for testing the database. Like I have 7 tables and at most 300 users can login to the system. So I was wondering should i be testing the select and update statements for all the tables? Are there any set of guide lines any one is aware of?
    Thank you.

    Check if the server is ok with memmory and cpu usage and swap..........
    ON database side check the long running active sessions where they are waiting and suggest something so that these queries can speed up. You can suggest code change like new indexes , hints or outlines etc.....after checking the waits and sql plans of various slow sql statemenets

  • I need a big oracle database to practise

    Hi everyone,
    I am currently studying for OCA. For my exercises, I need a table with large number of records, around 500,0000 or more to practice things like performance tuning.
    Anyone with an idea where I can get and download these records, in whatever file format, to import into a table.
    I don't have time to create these large records myself.
    Cheers

    If you want a bunch of tables of that sort, then its easy to do that using simple Pl/Sql commands.
    create table tab1(a number, b varchar2(10));
    begin
    for i in 1..500000 loop
    insert into tab1 values(i,'a'||i);
    end loop;
    commit;
    end;
    Or you can use tables like all_tables or all_source etc...to create your own dummy with their records.. its as simple as that.

  • Not able to access Oracle 10g XE database home page on Windows XP?

    I wanted to practise pl/sql in my office pc. I installed Oracle 10g XE on my machine and after that I also started Agent from Services. However When i clicked on Database home page it doesn't start. Changing network configuration might create problem in network. Can anybody help me working out this problem or has any alternative to practise PL/SQL with tiny oracle database.
    Regards
    Manish
    Edited by: user11003855 on Apr 19, 2009 11:27 PM

    Did you configure loopback adapter?
    :p

  • Visual Studio Community 2013 does not show database explorer

    I am a Newbie who wants to learn web development. it seems in older version of visual studio, when you add a database item in solution explorer there is a database explorer.
    but now in my visual studio 2013, if i add a database item, there is no database explorer to let me browse table or others below. Why? I installed SQL express and Visual Studio on windows 8.1 x64
    Also any pointers to free tutorial on the internet that lets me learn and practise working with database in a web application?

    Hello Lenny,
    Can you see Server Explorer in your VS? What about show us a sceenshot so that we can understand your problem.
    I do not have VS 2013 Community right now but in my point of view you should have related components. I will also install VS Community later and share you some info.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Reading RTF file content from JSP which stored in database as image format

    <%@page import="java.sql.*" %>
    <%@page import="java.net.*" %>
    <%@page import="java.io.*" %>
    <%@page import="java.*" %>
    <%@page import="javax.swing.*" %>
    <%@page import="javax.swing.text.*" %>
    <%@page import="javax.swing.text.rtf.*" %>
    <%
         Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    Connection con=DriverManager.getConnection("jdbc:sqlserver://local:1433;databaseName=database;user=sa");
         Statement st=con.createStatement();
         ResultSet rs=st.executeQuery("select Document from docrev where UniqeId ='199207' ");//("select data from rtfdata");227317
         rs.next();
         byte bt[]=rs.getBytes(1);
         InputStream fi = new ByteArrayInputStream( bt );
         RTFEditorKit rtf = new RTFEditorKit();
         JEditorPane editor = new JEditorPane();
         editor.setEditorKit( rtf );
         rtf.read( fi, editor.getDocument(), 0 );
         Document d=editor.getDocument();
         String str=d.getText(0,d.getLength());
         /*OutputStream fo=new FileOutputStream("temp3.rtf");
         fo.write(str.getBytes());*/
    %>
    <html>
    <body>
    <p><textarea name=myarea style="background:#FFCC99" cols=100 rows=50><%=str%></textarea>
    </body>
    </html>
    Edited by: Santhu538 on Oct 23, 2007 10:16 PM
    Edited by: Santhu538 on Oct 23, 2007 10:25 PM
    Edited by: Santhu538 on Oct 23, 2007 10:26 PM

    Please use code tags while posting code. See the code button above the text area?
    It's a good practise not to mix jdbc code in your jsp (mvc and all that you see)
    Finally you'll have to quickly decide on your front end - jsp or swing. It looks like the former, but then with the code you have posted, the server is apt to pop up some windows prompting the user who has logged on (to the server) to choose the files for the client :)
    ram.

  • Saving data in sql database

    Ive seen same title subjects but apparently these topics have been deleted. Anyway,
    I have a data base named "TestDB", under url www.mysql.com/TestDB. I did in it 2 fields, "ProjectNr", "ProjectName".
    Now, I have Webdyn Pro app with two InputFields binded to Contexts "ProjectNr", "ProjectName" and a button "Save"
    What code do I need to write in onActionSave() part to make data written into those two fields be saved in sql database after pressing Save button.

    Hi,
    Following is the code, pl aligh that to your requirement
    try {
              Class.forName("com.sap.dbtech.jdbc.DriverSapDB");
               String url="jdbc:sapdb://<HostID>/J2E?sqlmode=ORACLE";
                Connection con=DriverManager.getConnection(url,"UserID","password");
                String projectID = wdContext.current<Yournode>Element().get<yourAttribute>();
                String projectName = wdContext.current<YourNode>Element().get<your Attribute>();
                String sql = "insert into Project values (?,?)";
                PreparedStatement stmt = con.prepareStatement(sql);
                stmt.setString(1, projectID);
                stmt.setString(1, projectName);
         } catch (Exception e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    try to make use of JNDI for database connections. That s one of the best practises.
    http://java.sun.com/javase/technologies/database/
    Regards
    Ayyapparaj

  • SAP / ABAP Query - using logical database

    Hi ,
    We have a mandate to implement SAP Query using only Logical Databases (LDB ) .
    We understand that there are several issues using this approach .
    1 ) Paralled tables in MM need to be displayed on separate lines .
    2 ) Statistics based on fields from 2 different tables cannot be produced eg: EKPO ( PO Number )  and EKKN . (Cost Center )
    Please share your experiences .
    Thank you in advance .
    Kishore
    Kishore

    Adeel,
    I do appreciate your experience and respect you for knowledge on SAP Query. 
    Joining tables seem simple to IT experts but not so for end users.  SAP Query is an end-user tool and users seem to need a simple user-friend, drag-and-drop solution to extract information using SAP Query based on a pre-defined infoset.  Various SAP conferences have been advocating the use of SAP delivered Logical Databses to create infosets in order to harness the various advantages of LDBs. 
    In MM there are several LDBs (e.g. ELM, EBM etc) to create queries on EKPO and EKKN.  The problem arises when you use the same LDB to extract information from more than the above two tables e.g. EKPO, EKET, EKKN and EKBE.  SAP expects you to display fields on multiple lines and also does not allow producing statistics based on fields from two parallel tables say EKKN and EKBE.  Moreover, multi-line reports cannot be produced in the ALV/SLV format.  
    We are also looking for best practise solutions in providing SAP Query to MM or FI users based on SAP delivered Logical Databases.  
    Pascal

Maybe you are looking for