What are the common bugs found while migrating to MySQL db to postgre?
What is the maximum size for a table in postgresql?
Max table size = 32 TB
NO LIMIT
It depends on physical space avaliable with you.
What are the character types that are available in postgresql?
character varaying(n), varchar(n), character(n), char(n), text.
POSTGRESQL Supports Char(n),varchar(n),text data types
What does geqo stands for in postgresql?
The genetic query optimizer (GEQO) is an algorithm that does query planning using heuristic searching
GEQO stands for Genetic Query Optimization. As the name implies this is used for query optimization in POSTGRESQL. The Genetic Query Optimization is used along with POSTGRESQL query evaluator and opti...
SELECT nextval('sequence_name')
How many byte unique integers does oids in postgreSQL have?
4 unsigned
OIDs in POSTGRESQL have 4 byte unique integers. That is each row in POSTGRESQL would be assigned a unique OID. Though the concept of unique OID exists in POSTGRESQL for each row after sufficient number of rows overflowing occurs and the OID value gets repeated from this stage.
select pg_cancel_backend(pid)
What is the command that can be used to allocate memory in postgresql?
set work_mem=size
palloc is used to allocate memory in POSTGRESQL. POSTGRESQL memory allocation follows interesting concept of allocating memory within memory contexts. This concept helps in efficiency way of managing memory preventing many problems that pccurs due to improper memory allocation like memory leaks.
Why the update statement works very slowly in postgresql?
Because of the MVCC architecture of PostgreSQL but is greatly improved starting PostgreSQL 8.3.x if you are not updating the index field.
What does the option pSQL -l of postgreSQL display?
It will display list of DB's
It will display the databases that are currently available in the server.EXample:-bash-2.05b$ psql -l List of databases Name |&n...
What is the operator that is used for case-insensitive regular expression searches in postgresql?
ILIKE or ~~*
Example for using ilike we can get it
SELECT city_name FROM cities WHERE city_name ilike '%chennai%';
this will print both CHENNAI and chennai
Regards,
Gobi S.
Explain and Explain analyze
In postgresql.conf :shared_buffers
PgAdmin
Does postgrSQL support column constraints? If so how is it done?
Yes, Can be given at the time of table creation or can be with alter table
Triggers are supported and can be attached in postgreSQL to tables or views?
Triggers for tables and rules for view
Update and delete statement is too slow
Why the updation and deletion is too slow in greenplum as compared to insertion?
Because of MVCC architecture of PostgreSQL
To identify specific physical rows with block and offset values what can be used in postgresql?
OID are used for unique row identification in POSTGRESQL. For identifying specific physical rows with block and offset values in POSTGRESQL TIDs are used. The relationship between OID and TID exists in such a way that whenever a row is altered the corresponding TID also gets altered.
What are the ODBC drivers that are available for postgresql?
psqlODBC, OpenLink, Mac ODBC driver are some of the generally and widely used ODBC drivers that are available for POSTGRESQL.
Mostly Its not possible because of it will comes on syntax error..
Syntax and datatypes