In this post, I am sharing a script to find orphaned Sequence objects which not owned by any column of PostgreSQL Database. When we define a column using SERIAL or BIGSERIAL, PostgreSQL internally creates one sequence for it and associate with it. In RDBMS, A Sequence is an independent object, and you can use same […]

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.