Senin, 31 Oktober 2011

Sql Query dan Betwen


sql - queries

SQL coins the term query as the name for its commands. Basically, all SQL code is written in the form of a query statement and then executed against a database. All SQL queries perform some type of data operation such as selecting data, inserting/updating data, or creating data objects such as SQL databases and SQL tables. Each query statement begins with a clause such as SELECT,UPDATE, CREATE or DELETE.
SELECT queries are the most commonly used SQL commands, so let's take a look at a SELECT query that will return records from the orders table that we created previously in the SQL Tables lesson.

SQL Query Code:

USE mydatabase;

SELECT * FROM orders;

SQL Query Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
We'll explain the mechanics of this code in the next lesson. For now, just know that SELECT queries essentially tell SQL to go and "fetch" table data for your viewing pleasure.
Here's a look at a few different query types including a INSERT and SELECTquery we will be covering in the next lesson, SQL Select.

SQL Query Examples:

-- Inserts data into a SQL Database/Table
INSERT INTO orders (customer,day_of_order,product, quantity)
VALUES('Tizag','8/1/08','Pen',4);

-- Selects data from a SQL Database/Table
SELECT * FROM orders;

-- Updates data in a Database/Table
UPDATE orders SET quantity = '6'
WHERE id = '1'

sql - between

BETWEEN is a conditional statement found in the WHERE clause. It is used to query for table rows that meet a condition falling between a specified range of numeric values. It would be used to answer questions like, "How many orders did we receive BETWEEN July 20th and August 5th?"

SQL Select Between:

USE mydatabase;

SELECT *
FROM orders
WHERE day_of_order BETWEEN '7/20/08' AND '8/05/08';

SQL Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1
5Tizag2008-07-25 00:00:00.00019" LCD Screen3
6Tizag2008-07-25 00:00:00.000HP Printer2
BETWEEN essentially combines two conditional statements into one and simplifies the querying process for you. To understand exactly what we mean, we could create another query without using the BETWEEN condition and still come up with the same results, (using AND instead).

SQL Select Between:

USE mydatabase;

SELECT *
FROM orders
WHERE day_of_order >= '7/20/08'
AND day_of_order <= '8/05/08';

SQL Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1
5Tizag2008-07-25 00:00:00.00019" LCD Screen3
6Tizag2008-07-25 00:00:00.000HP Printer2
As you can see from comparing the results of these two queries, we are able to retrieve the same data, but you may find BETWEEN easier to use and less cumbersome than writing two different conditional statements. In the end, the preference is really up to the individual writing the SQL Code.
More information about these queries can be

Sql query, Select,Insert


SQL Select Query Template:

SELECT table_column1, table_column2, table_column3 
FROM my_table;
Select queries require two essential parts. The first part is the "WHAT", which determines what we want SQL to go and fetch. The second part of any SELECTcommand is the "FROM WHERE". It identifies where to fetch the data from, which may be from a SQL table, a SQL view, or some other SQL data object.
Now we would like SQL to go and fetch some data for us from the orders table that was created in the previous lesson. How do we translate this request into SQL code so that the database application does all the work for us? Simple! We just need to tell SQL what we want to select and from where to select the data, by following the schema outlined below.

SQL Select Query Code:

USE mydatabase;

SELECT id, customer, day_of_order, product, quantity
FROM orders;

SQL Orders Table Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
Below, we will manipulate the result output by rearranging the list of table column names inside of the SELECT statement.

SQL Select Query: Rearranged:

USE mydatabase;

SELECT day_of_order, customer, product, quantity
FROM orders;

SQL Orders Table Results:

day_of_ordercustomerproductquantity
2008-08-01 00:00:00.000TizagPen4
By rearranging the table column list inside the SELECT statement, we altered the appearance of the result set. Also, by not including the id column in the list of table columns, SQL did not fetch any column data for this column because we didn't ask SQL to do so.

sql - select all (*)

"SELECT (*)" is a shortcut that can be used to select all table columns rather than listing each of them by name. Unfortunately, going this route doesn't allow for you to alter the presentation of the results.

SQL Select All Query:

USE mydatabase;

SELECT *
FROM orders;

SQL Orders Table Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4

ql - where

The WHERE clause sets a conditional statement, and it can be used with any type of SQL query. As the select query executes, SQL processes one row at a time. Each time the conditional statement is met (returns true), a row is returned as a result. SQL WHERE is essentially, a filtering mechanism for SQL queries and is a tremendous asset to any aspiring SQL developer.

SQL Where Query:

USE mydatabase;

SELECT *
FROM orders
WHERE customer = 'Tizag'
As we take a look at the results, notice how only the rows that meet the criteria (where the customer column value is Tizag) are returned. In this example, we are using the WHERE clause to filter out rows and only selecting data that meets the conditional statement.

SQL Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1
5Tizag2008-07-25 00:00:00.00019" LCD Screen3
6Tizag2008-07-25 00:00:00.000HP Printer2
Conditional statements are not unique to SQL, and neither are operators. Operators are symbols such as (=) or (<), and they are seen inside of conditional statements and expressions in SQL and other programming languages. While we're not going to dive into much detail about the different kinds of operators yet, it is a good idea to be familiar with them and be able to recognize them inside of conditional statements as we look over the next few examples.

sql - where queries

With the WHERE clause on our tool belts, we can be more creative when querying for table rows. For instance, there may come a time where we would like to take a look at all the orders placed after a certain date.

SQL Where Date Query:

USE mydatabase;

SELECT *
FROM orders
WHERE  day_of_order > '7/31/08'
This conditional statement will return only the orders that have made it into the table since the end of July, filtering out any orders in the table made prior to July 31st.

SQL Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1
3A+Maintenance2008-08-16 00:00:00.000Hanging Files12
4Gerald Garner2008-08-15 00:00:00.00019" LCD Screen3
Notice how the date value is formatted inside the conditional statement. We passed a value formatted MM/DD/YY, and we've completely neglected the hours, minutes, and seconds values, yet SQL is intelligent enough to understand this. Therefore, our query is successfully executed.

sql - where with multiple conditionals

WHERE statement can accept multiple conditional statements. What this means is that we are able to select rows meeting two different conditions at the same time.
Perhaps the easiest way to go about this is to add another condition to the previous example, where we retrieved only the orders placed after July 31st. We can take this example one step further and link two conditional statements together with "AND".

SQL Where And:

USE mydatabase;

SELECT *
FROM orders
WHERE  day_of_order > '7/31/08'
AND customer = 'Tizag'
At this point, we have sent SQL two conditional statements with a singleWHERE clause, essentially applying two filters to the expected result set.

SQL Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1
By applying the AND clause, SQL has now been asked to return only rows that meet both conditional statements. In this case, we would like to return all orders that were made before July 31st and made by a specific company - which is, in this case, Tizag. We have more examples of SQL AND/OR. Just follow the link.

sql - insert

To use the INSERT command, we must first have an understanding of where we would like to insert data and what types of data we want to insert. Do we plan on inserting numbers? Strings? Files? Let's return to the orders table we created in an earlier lesson.
SQL tables store data in rows, one row after another. The INSERT command is the command used to insert new data (a new row) into a table by specifying a list of values to be inserted into each table column. The arrangement of values is important, and how they are arranged in the code corresponds to how the data values will be arranged in the the SQL table.
  • id - (identity, integer)
  • customer - (customer name, character string)
  • day_of_order - (date value)
  • product - (name of product, character string)
  • quantity - (quantity, integer)
Looking at the column names alone will give you an idea of what type of data each column is expected to hold. The quantity column, for example, is expecting a number or integer of some sort and the day_of_order column is expecting a date value to be inserted.

SQL Insert Query:

USE mydatabase;

INSERT INTO orders (customer,day_of_order,product, quantity)
VALUES('Tizag','8/1/08','Stapler',1);

SQL Insert Results:

(1 row(s) affected)
You may notice that the id column has been left out of the query statement. The reason behind this is that when we created the orders table, we gave the idcolumn a unique attribute called identity. SQL handles identity columns automatically for us and therefore, we do not need to manually insert data into this column.
The first value Tizag corresponds with the customer table column. This ensures SQL will insert this value into the corresponding table column.
Now when we run the SELECT (*) query, SQL should return two rows with our statement instead of only a single row.

Verification Query:

USE mydatabase;

SELECT *
FROM orders;

SQL Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1

sql - inserting values

As a shortcut, you may omit the table columns entirely and only supply thevalues in the INSERT statement:

SQL Insert Shortcut:

USE mydatabase;

INSERT INTO orders 
VALUES('A+Maintenance','8/16/08','Hanging Files',12);
Again, we can skip the id column because SQL is able to identify that this column is an identity column and handle it accordingly.

SQL Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1
3A+Maintenance2008-08-16 00:00:00.000Hanging Files12
Before moving on, let's add some more rows and execute some more INSERTqueries. If you are using SQL Express, you should be able to copy the entire code section below and execute all the queries at once and then track the results with the verification query (SELECT * FROM orders).

SQL Inserts:

USE myDatabase;

INSERT INTO orders
VALUES('Gerald Garner','8/15/08','19" LCD Screen',3)
INSERT INTO orders 
VALUES('Tizag','7/25/08','19" LCD Screen',3);
INSERT INTO orders 
VALUES('Tizag','7/25/08','HP Printer',2);

Final Results:

idcustomerday_of_orderproductquantity
1Tizag2008-08-01 00:00:00.000Pen4
2Tizag2008-08-01 00:00:00.000Stapler1
3A+Maintenance2008-08-16 00:00:00.000Hanging Files12
4Gerald Garner2008-08-15 00:00:00.00019" LCD Screen3
5Tizag2008-07-25 00:00:00.00019" LCD Screen3
6Tizag2008-07-25 00:00:00.000HP Printer2

Sql Query Toturial


Basic CREATE TABLE statement

A very basic CREATE TABLE statement which should work in any SQL database:

mysql> CREATE TABLE example (
         id INT,
         data VARCHAR(100)
       );
Query OK, 0 rows affected (0.03 sec)

Creating a table with a particular storage engine

MySQL provides a variety of different table types with differing levels of functionality. The usual default, and most widely used, is MyISAM. Other storage types must be explicitly defined:

mysql>  CREATE TABLE example_innodb (
          id INT,
          data VARCHAR(100)
        ) TYPE=innodb;
Query OK, 0 rows affected (0.03 sec)
Note that beginning with MySQL 4.1 ENGINE=innodb is the preferred method of defining the storage type.
Use SHOW CREATE TABLE (see below) to check that MySQL has created the table as you defined it.

Creating a table with auto_increment

Often you'll want to be able to automatically assign a sequential value to a column:

mysql> CREATE TABLE example_autoincrement (
         id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
         data VARCHAR(100)
       );
Query OK, 0 rows affected (0.01 sec)

mysql> INSERT INTO example_autoincrement (data)
    ->      VALUES ('Hello world');
Query OK, 1 row affected (0.01 sec)

mysql> SELECT * FROM  example_autoincrement;
+----+-------------+
| id | data        |
+----+-------------+
|  1 | Hello world |
+----+-------------+
1 row in set (0.01 sec)

Creating a table with the current timestamp

Often it's useful to have an automatic timestamp on each record. The MySQL special datatype TIMESTAMP enables you to keep track of changes to a record:


mysql> CREATE TABLE example_timestamp (
         id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
         data VARCHAR(100),
         cur_timestamp TIMESTAMP(8)
       );
Query OK, 0 rows affected (0.00 sec)

mysql> INSERT INTO example_timestamp (data)
            VALUES ('The time of creation is:');
Query OK, 1 row affected (0.00 sec)

mysql> SELECT * FROM example_timestamp;
+----+--------------------------+---------------------+
| id | data                     | cur_timestamp       |
+----+--------------------------+---------------------+
|  1 | The time of creation is: | 2004-12-01 20:37:22 |
+----+--------------------------+---------------------+
1 row in set (0.00 sec)

mysql> UPDATE example_timestamp 
          SET data='The current timestamp is: ' 
        WHERE id=1;
Query OK, 1 row affected (0.03 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> SELECT * FROM example_timestamp;
+----+---------------------------+---------------------+
| id | data                      | cur_timestamp       |
+----+---------------------------+---------------------+
|  1 | The current timestamp is: | 2004-12-01 20:38:55 |
+----+---------------------------+---------------------+
1 row in set (0.01 sec)
The column cur_timestamp is automagically updated every time the record is changed.

Creating a table with TIMESTAMP DEFAULT NOW()

MySQL supports the construct TIMESTAMP DEFAULT NOW() only from verson 4.1:

CREATE TABLE example_default_now (
  id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
  data VARCHAR(100),
  created TIMESTAMP DEFAULT NOW()
);
In this case the column created retains its initial value and is not changed during subsequent updates.
For versions prior to 4.1, the only workaround is to create two timestamp columns in a table, and explicitly set the second one when inserting the record. Remember: the first TIMESTAMP will be automagically updated on each record update.

Viewing a table definition

For basic information on table columns, use DESC tablename:

mysql> DESC example;
+-------+--------------+------+-----+---------+-------+
| Field | Type         | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+-------+
| id    | int(11)      | YES  |     | NULL    |       |
| data  | varchar(100) | YES  |     | NULL    |       |
+-------+--------------+------+-----+---------+-------+
2 rows in set (0.00 sec)
Exact definition of the table:

mysql> SHOW CREATE TABLE example;
+---------+------------------------------------------------+
| Table   | Create Table                                   |
+---------+------------------------------------------------+
| example | CREATE TABLE `example` (
  `id` int(11) default NULL,
  `data` varchar(100) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 |
+---------+------------------------------------------------+
1 row in set (0.00 sec)

Minggu, 16 Oktober 2011

Security

Komputer menyediakan sumber daya yang besar bagi orang-orang dan bisnis untuk mengelola urusan mereka. Kita bisa berbelanja melalui Internet, mengelola keuangan kita, dan melakukan analisis kompleks data perusahaan. Sayangnya, penyusup telah menyadari berapa banyak informasi yang mereka dapat mencuri dari server, workstation, dan Internet. Kejahatan cyber yang merajalela dan bisa biaya Anda dan bisnis Anda banyak uang. Adalah penting bahwa Anda menyadari ancaman keamanan untuk informasi Anda. Hanya kemudian dapat Anda mengambil langkah-langkah yang memadai untuk melindungi diri sendiri. Anda harus tahu bagaimana menggunakan program anti-virus, firewall, enkripsi, patch, backup, Removers spyware, dan password yang kompleks.

Firewall

Firewall bertindak seperti router dengan menghentikan file yang mencurigakan dari memasuki komputer Anda. Anda juga dapat program firewall untuk mencegah konten tertentu, koneksi, file, atau halaman web. Anda dapat mengkonfigurasi firewall untuk menghentikan kejadian sebelum hal itu terjadi. ZoneAlarm adalah program yang populer untuk pengguna rumah dan dapat biaya antara $ 30 dan $ 40 setelah percobaan gratis. McAfee menyediakan perangkat lunak untuk jaringan dan usaha kecil dan dapat biaya antara $ 35 dan $ 117 per lisensi.

Antivirus

Virus dapat mencuri informasi pribadi Anda, merusak keuangan Anda, dan merusak semua file Anda. Program antivirus melindungi Anda terhadap segala jenis ancaman. Antivirus apa yang perusahaan riset virus di luar sana dan kemudian mengembangkan perlindungan terhadap file yang tampaknya menjadi bagian dari kode virus. Anda dapat mengatur program antivirus untuk memindai komputer Anda secara teratur dan untuk membuat laporan ancaman diidentifikasi. Anda harus memperbarui program antivirus Anda sering untuk memastikan bahwa hal itu tetap saat ini. AVG menyediakan scanner virus gratis untuk pengguna rumah, dan Symantec Norton menghasilkan program populer AntiVirus yang berkisar di biaya dari $ 30 sampai ratusan dolar.

Adware

Adware adalah program iklan-didukung atau paket perangkat lunak yang menampilkan, download, dan meluncurkan iklan ketika sebuah program sedang berjalan. Kadang-kadang adware bisa dikemas dengan spyware yang bisa melacak dan merekam informasi pribadi atau bisnis pengguna. Anda hanya harus mendapatkan adware dari penyedia terpercaya untuk memastikan bahwa tidak ada spyware di dalamnya. Anda juga dapat menginstal program-program seperti Ad-Aware untuk memastikan bahwa komputer Anda bebas dari spyware mengancam.

Malware

Malware mengacu pada perangkat lunak apapun yang Anda tidak ingin pada sistem anda. Worms adalah jenis malware yang menyebarkan diri dalam suatu sistem dalam rangka untuk menyebabkan masalah. Trojan, spyware, root kit, adware, dan penebang kunci semua variasi yang berbeda dari malware. Biasanya, program antivirus Anda dapat mengidentifikasi dan menghapus malware selama scan sistem yang teratur.

Spyware

Spyware mengacu pada program yang tidak diinginkan yang beroperasi dari hard drive Anda. Biasanya, spyware menginstal sendiri secara otomatis, atau Anda dapat menginstal spyware secara tidak sengaja ketika menginstal program lain. Spyware beroperasi melalui browser web Anda untuk memantau apa yang Anda lakukan pada sistem anda. Spyware akan mendistribusikan informasi pribadi Anda kepada pihak yang tidak diinginkan dan tidak diinginkan. Gunakan program seperti Ad-Aware untuk menghapus spyware dari hard drive anda, dan pastikan bahwa Anda memantau apa program Anda menginstal.

Phishing Penipuan

Phishing adalah metode yang digunakan untuk mengelabui orang agar memberikan informasi pribadi seperti nomor jaminan sosial, nomor kartu kredit, atau rincian rekening bank. Biasanya, penipuan phishing terjadi melalui email. Scammer A akan mengirimkan e-mail yang tampaknya dari sebuah perusahaan yang sah, seperti bank. Email akan meminta Anda untuk merespons dengan informasi pribadi. Scammers kemudian akan mencuri informasi ini untuk menggunakan atau menjual.

Pencurian Identitas

Mengidentifikasi pencurian menggambarkan situasi ketika benar-benar scammer mencuri identitas Anda. Scammers akan menggunakan identitas anda untuk melamar pekerjaan, mobil pembelian, dan berlaku untuk tunjangan pemerintah. Mereka akan menggunakan kartu kredit Anda dan menghancurkan keuangan pribadi Anda. Berhati-hatilah ketika Anda berbagi informasi secara online, dan hanya berbagi informasi pribadi Anda dengan situs terpercaya dan terkemuka. LifeLock adalah perusahaan yang menyediakan layanan untuk melindungi orang terhadap pencurian identitas.

Enkripsi

Enkripsi menyediakan tingkat perlindungan tambahan untuk informasi Anda. Program enkripsi akan mengacak informasi yang dikirimkan dari sistem anda dan meletakkannya kembali bersama-sama saat mencapai tujuannya. Ini melindungi pesan dari luar yang mungkin mencoba untuk mencuri informasi berharga.

Wireless Security

Teknologi nirkabel menjadi lebih menonjol dalam urusan sehari-hari. Akibatnya, kita perlu langkah-langkah keamanan untuk melindungi diri terhadap ancaman karena dapat mudah untuk hack jaringan nirkabel. Wired Equivalent Privacy (WEP) atau Wi-Fi Protected Access (WPA) jaringan membuat Anda aman dari hacker. Jaringan WEP adalah sebagai aman sebagai jaringan kabel. Jika Anda memiliki informasi rahasia atau pribadi, pastikan bahwa Anda tetap jaringan nirkabel Anda aman.

Email Spam

Spam email biasanya digunakan untuk menyebarkan virus. Jangan membuka email dan lampiran email yang muncul mencurigakan. Anda bahkan dapat menginstal pemblokir spam jika Anda ingin. Anda dapat menyaring email spam, menghapus email spam, atau blok itu sama sekali.

Server dan Storage

Server memungkinkan Anda untuk berbagi sumber daya melalui jaringan. Anda dapat menggunakan server di kantor atau di rumah Anda untuk merampingkan proses termasuk penyimpanan file, penggunaan Internet, pencetakan, atau penggunaan aplikasi. Anda dapat menggabungkan satu atau beberapa server Anda jaringan komputer Anda. Server harus dilengkapi dengan sejumlah besar memori akses acak (RAM) dan ruang hard disk. Anda dapat membeli mereka sebagai unit individu, dan Anda dapat me-mount mereka pada rak untuk penyimpanan mudah. Anda juga dapat menggunakan server untuk host website Anda sendiri.

Pusat Data

Pusat data adalah fasilitas yang menyimpan server, pasokan listrik cadangan, dan sistem keamanan. Kamar ini memerlukan pemeliharaan yang luas dan kontrol lingkungan seperti AC. Pusat data server menyimpan database informasi untuk bank, universitas, dan situs web. Banyak perusahaan kecil tidak memiliki sumber daya untuk menyimpan informasi yang luas, sehingga mereka akan outsourcing penyimpanan mereka perlu pusat data yang lebih besar. Pusat data perlu beroperasi dengan lancar untuk mencegah gangguan dalam bisnis. Mereka mahal untuk membangun dan mengoperasikan.

Server Arsitektur

Anda dapat memilih dari server blade, rak server, atau server menara. Blade server kecil dalam ukuran dan dapat rumah beberapa papan. Papan ini adalah pisau server yang sebenarnya yang beroperasi sebagai server individu. Server blade yang efisien untuk ukuran mereka dan dapat menggunakan ruang kurang, lebih sedikit daya, dan kabel lebih sedikit. Menara server dikenal karena tinggi mereka dan cenderung berada di sisi tinggi. Server ini cenderung kurang efisien ketika datang ke ruang dan energi. Server rak yang rendah ke tanah. Server dapat berbaring sisi dengan ukuran dan memberikan pilihan bagus jika Anda mencari sesuatu yang tidak mengambil banyak ruang. Tidak peduli apa yang Anda pilih, pastikan Anda benar-benar menilai kebutuhan Anda, kebutuhan data, dan anggaran. Pastikan Anda mempertimbangkan faktor-faktor seperti efisiensi energi, konektivitas, dan jumlah server yang Anda butuhkan.

Jenis Server

Jenis server termasuk server aplikasi, database server, file server, proxy server, web server, server virtual, dan dedicated server. Anda dapat memilih yang tepat server berdasarkan kebutuhan Anda, data, dan anggaran.

Sistem Operasi

Sistem operasi adalah antarmuka antara hardware komputer dan perangkat lunak aplikasi. Berbagai jenis sistem operasi termasuk Microsoft Windows, Mac OS, Solaris, UNIX, dan Linux.
Melayani web Perangkat Lunak

Melayani software web didesain untuk menerima dan memberikan tanggapan terhadap permintaan HTTP dari agen pengguna seperti browser web. Beberapa web server melayani populer perangkat lunak atau web adalah Apache, Google GWS, Mengawasi, dan Microsoft Internet Information Services.

Penyimpanan Perangkat Keras

Perangkat keras penyimpanan tersedia di tingkat primer dan sekunder. Tingkat pertama adalah penyimpanan memori komputer, yang mengacu pada Central Processing Unit (CPU), dimana data disimpan sebagai Read Only Memory (ROM) atau sebagai Acak Access Memory (RAM). Tingkat sekunder penyimpanan termasuk drive CD atau DVD, flash drive, floppy drive, file ZIP, drive RAM, dan kaset magnetik.

Penyimpanan Arsitektur

Jaringan Attached Storage (NAS), Storage Area Network (SAN), dan server iSCSI penyimpanan tiga jenis arsitektur penyimpanan. NAS adalah server khusus yang dapat digunakan untuk melampirkan sistem anda ke Local Area Network (LAN). SAN adalah sistem yang dapat menghubungkan server penyimpanan untuk berbagai server sehingga sistem yang berbeda dapat mendapatkan akses ke perangkat tertentu. Anda dapat menggunakan SAN untuk menyimpan aplikasi pada hard drive virtual.

Penyimpanan Antarmuka

Empat antarmuka standar yang digunakan untuk transfer memori antara perangkat penyimpanan dan CPU komputer. Mereka Technology Attachment Lanjutan (ATA), Komputer Kecil System Interface (SCSI), Universal Serial Bus (USB), dan Firewire.

Raid Jenis

Redundant Array of Inexpensive Disk (RAID) adalah teknologi yang dapat digunakan untuk menciptakan kehandalan penyimpanan tinggi dari komponen biaya rendah drive komputer tidak dapat diandalkan. Serangan datang dalam tingkat yang berbeda dari nol tingkat ke tingkat enam.

Internet Services

Internet Service Provider (ISP) atau Penyedia Akses Internet (IAP) menawarkan layanan rencana untuk akses Internet. Mereka akan memungut biaya bulanan atau tahunan dalam pertukaran untuk hak akses internet. Anda dapat memilih rencana berdasarkan kecepatan internet, dan kemungkinan besar, telepon yang ada atau penyedia layanan Internet kabel menawarkan. Anda dapat memilih layanan dial-up atau koneksi broadband jika Anda membutuhkan kecepatan lebih cepat. Anda akan membutuhkan perangkat keras termasuk modem, router, kartu nirkabel, dan kabel jaringan untuk mengakses Internet. ISP Anda mungkin menyediakan ini untuk Anda sebagai bagian dari langganan Anda.


Broadband

Broadband adalah istilah generik yang mengacu pada lebar pita yang mentransfer sinyal secara bersamaan. Sebuah band tunggal dapat digunakan untuk mentransfer data, suara, dan sinyal digital. Digital Subscriber Lines (DSL), kabel, T1, DS3, dan Fiber-to-the-X (FTTX) beberapa mode digunakan untuk koneksi internet broadband. Sebuah koneksi broadband jauh lebih cepat daripada dial-up internet. Jika Anda mentransfer sejumlah besar data termasuk musik, gambar, atau video, Anda mungkin akan ingin internet broadband. Dengan Internet broadband, Anda dapat dengan mudah streaming acara televisi dan transfer data. Anda juga dapat menggunakan saluran telepon Anda saat online. Voice over Internet Protocol (VOIP) menawarkan layanan telepon melalui koneksi internet broadband Anda.
Cara lain untuk akses Internet broadband adalah melalui satelit. Dalam metode ini, piring mengirim dan menerima sinyal digital. Ini jenis akses internet tidak lebih baik jika Anda berada di daerah pedesaan dimana pilihan-pilihan lain mungkin tidak tersedia. Kabel akses internet disediakan oleh operator TV kabel. Sinyal televisi dan sinyal data yang ditransmisikan melalui kabel yang sama. Filter yang hadir dalam kabel yang memisahkan sinyal-sinyal, sehingga Anda dapat menonton televisi dan akses internet pada saat yang sama.

Dial-Up

Jika Anda ingin terhubung ke Internet menggunakan dial-up akses Internet, maka Anda memerlukan saluran telepon dan modem. Ini jenis akses Internet sangat banyak digunakan karena saluran telepon secara universal tersedia. Saluran telepon terhubung ke modem di komputer. Modem ini dapat berupa internal atau eksternal. Bila Anda ingin akses ke Internet, Anda harus dial nomor yang diberikan oleh Internet Service Provider. Melalui saluran telepon, Anda akan membangun koneksi dengan ISP yang akan memungkinkan Anda untuk mengakses Internet. Dial-up internet tersedia secara luas, tetapi lambat, dan Anda tidak dapat membuat panggilan telepon ketika Anda sedang online.

Internet Perangkat Keras

Untuk mengakses Internet, Anda akan memerlukan modem, komputer, router dan kabel yang relevan. Untuk akses dial-up, Anda akan memerlukan modem dial-up dan kabel telepon. Untuk akses broadband, Anda akan memerlukan modem yang relevan dan kabel Ethernet. Jika Anda ingin mengakses Internet secara bersamaan dari lebih dari satu komputer, Anda akan perlu untuk membuat sebuah jaringan area lokal (LAN) untuk Internet broadband Anda. Untuk mengatur LAN, Anda akan memerlukan router, LAN card, dan kabel Ethernet untuk setiap komputer. Anda juga dapat membeli router nirkabel. Jika komputer Anda memiliki kartu nirkabel, mereka dapat bergabung dalam jaringan ini. Router telah dibangun pada pilihan privasi yang memungkinkan Anda untuk membatasi akses. Dengan perangkat keras komputer yang tepat, Anda dapat meningkatkan kecepatan transmisi data.