wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PostgreSQL-Indomaret

Total questions: 13

Worksheet time: 2mins

Name
Class
Date
1.

Berikut ini adalah Query untuk melakukan Connection Check, Kecuali!

a)

\conninfo

b)

SELECT current_user;

c)

SHOW current_connection;

d)

show port;

2.

Tentukan mana saja komponen dari Shared Memory pada PostgreSQL.

a)

Shared Buffer

b)

Process Array

c)

Archive Buffer

d)

WAL Buffer

e)

Session Buffer

3.

Sebutkan command OS untuk menampilkan Cluster Control Info

a)

pg_info

b)

pg_controldata

c)

pg_ctl

d)

pg_clusterinfo

4.

Sebutkan default logging name format pada PostgreSQL.

a)

postgresql-%a.log

b)

'postgresql-%d-%a.log

c)

'postgresql-%d.log

d)

'postgresql-%a-%d-%m.log

5.

Pada file postgresql.conf terdapat parameter untuk include konfigurasi berupa file dari luar file postgresql.conf, parameter tersebut adalah?

a)

file_include

b)

include_file

c)

include_dir

d)

include

6.

Sebutkan meta command untuk menampilkan history Query

a)

\s

b)

\h

c)

\history

d)

\f

7.

Sebutkan cara untuk membuat sebuah output query dengan menggunakan command OS.

a)

\o

b)

\O

c)

psql -o

d)

psql -s

8.

Pilih yang paling benar, Berikut ini adalah Levels of Security PostgreSQL.

a)

Server and Application

b)

Host Based Access

c)

Database

d)

Object

9.

ROLLBACK adalah Struktur Query pada Level?

a)

Data Manipulation Language

b)

Data Definition Language

c)

Transaction Control Language

d)

Data Control Language

10.

Query apa yang dapat digunakan untuk menampilkan Query Planning beserta hasil Execution time nya?

a)

ANALYZE EXPLAIN

b)

EXPLAIN

c)

ANALYZE

d)

EXPLAIN ANALYZE

11.

Command yang digunakan untuk melakukan backup cluster database adalah?

a)

pg_dumpall

b)

pg_basebackup

12.

Extension yang digunakan untuk melakukan database link antar database product adalah?

a)

postgres_fdw

b)

dblink

c)

Foreign Data Wrapper

d)

dbjump

13.

Tools yang digunakan untuk load balancing pada PostgreSQL adalah?

a)

PgBalance

b)

PgBouncher

c)

PgPool

d)

NginX