dba

moving to NoSql

Hi , I recently read this article nosql-vs-rdbms and I don't know too much about nosql and I didn't use it in my projects, so I have some questions: What is the main feature that nosql has over RDBMSs? If you think that it is better than RDBMSs : Where and how can I learn about it (books - tutorials)? I want to be a DBA. What this car...

Mysql locale session variable ?

Hunting internationalization bugs here. Does mysql has a variable which can be set per session, meaning the each connection will know the timezone of it's client and will act upon that. If such variable does exists I would expect sql statements such as the following will return diffect values, based on connection session locale. selec...

How can we secure our data from DBA?

Hi guys, I have very confidential data in my database. I am trying to secure my data from dba. I am a member of development team. We develop our software and delpoy in a server which has its own dba. We have limited control over the server. In this scenario how can i deny dba of the server to lookup my data and deny making changes to ...

Oracle XE as local recovery database and Oracle Standard as main db

Hi, I just wanted to know what you guys think about this. I have an app written in Visual Basic .Net as my front end and and Oracle 11g Standart database as the back-end. So I have like 20 pc's running this app locally. They're all inserting, updating, deleting data on this single database. I want to develop a solution in the case that ...

PL/SQL function while executing throws Out Process Memory Error

I have PL/SQL function, which is programmed to sort a set of data. This function work fine without any error, when called directly as a PL/SQL Function. However, when I call this Function Via a Unix Shell Script, even though the script returns a success code and throws an Out Process Memory Error and function is actually not executed. ...

Could any one explain me about database testing ?

This testing is performed by QA Team to ensure crediblity of the database. Can anyone explain me what are all the constraints a QA Analyst should follow to ensure this ? and what they need to test ? ...

Any good interview Questions to ask a sybase dba.

Hi, I am a java developer and i will be interviewing sybase dbas along with my boss. I know some basic stuff about sybase. Iam looking for good interview questions that i can ask for a sybase dba. they will be having a min of 4 years of experience. I am looking for them to have really good knowledge in performance and tuning related a...

SQL Server database change workflow best practices

The Background My group has 4 SQL Server Databases: Production UAT Test Dev I work in the Dev environment. When the time comes to promote the objects I've been working on (tables, views, functions, stored procs) I make a request of my manager, who promotes to Test. After testing, she submits a request to an Admin who promotes to UA...

DBA - SQL Server 2005 - Backups

I am trying to figure out how SQL Server DBAs are doing their backups and verify in 2005. I use the Idera's free stored procs (which is no longer available to download btw) to backup and verify and have gotten around 65% compression. If there any other free alternative? Thanks in advance, -Subhash ...

Changing default logical filename in SQL 2005

I have a issue about creating databases in SQL 2005. I want to be able to change the default logical filename for the mdf file. At the moment the log logical filename ends in _log by default. I want the data logical filename to automatically end with _data for consistency. Is there a way i can set this? Andrew ...

In SQL Server, how to quickly get a general idea of an instance?

Hi guys, If you are a new sql server dba and you just get an account of an instance. What would you do to know the instance and databases? How to quick get a general idea of this instance and databases? Great thanks. ...

Is there a DBA certification that can help me obtain a better job?

I'm a programmer with a little experience in databases. Is there an online DBA certification that can help me to get better job? ...

Informix: What's the best mode to perform "disk" operations and why?

Hello everybody! I'm doing some work with Informix IDS. I have to create some dbspaces, sbspaces, etc. Which mode is better to make this changes? Quiescent, or Single-user? Why? Thanks a lot! ...

What is the best way to set a collation in Informix IDS?

Hello everybody. I'm administrating a informix IDS DBMS in Argentina. We speak spanish, and the traditional ASCII caracter Set of Informix doesn't fit our needs. I've been fooling around, and make it work with the DB_LOCALE variable. But i've seen some other call CLIENT_LOCALE and SERVER_LOCALE. Should i use them? Is it enough with DB_L...

SQL - Grab Detail Rows as Columns in Join.

This is my query thus far: select C.ACCOUNTNO,C.CONTACT,KEY1,KEY4 from contact1 C left join CONTSUPP CS on C.accountno=CS.accountno where C.KEY1!='00PRSP' AND (C.U_KEY2='2009 FALL' OR C.U_KEY2='2010 SPRING' OR C.U_KEY2='2010 J TERM' OR C.U_KEY2='2010 SUMMER') Now, I have another table (CONTSUPP) which contains multipl...

Force SQL to Add Rather than Concatenate Two Columns?

I have column OFF_SAT_COMP.LINKACCT and OFF_SAT_COMP.COUNTRY. I am trying to add the values of these two columns in a given row together, but when I do so as follows: (OFF_SAT_COMP.LINKACCT + OFF_SAT_COMP.COUNTRY) It is concatenating rather than returning the sum of the two column values. e.g. It is returning 500300 where I want 800. ...

Having TRANSACTION In All Queries

Hello Guys, Do you think having TRANSACTION around every sql statements in stored procedures is a good practice? Just about to optimise this legacy application in my company, one thing I found is that every stored procedures has BEGIN TRANSACTION. Even a simple select and Update statement has one. I thought it would be nice to have BEGI...

Is there an equivalent to 'mysqladmin processlist' for SQL Server?

I've been trying to formulate a query to help myself identify resource-heavy queries/database/users using SQL Server and haven't gotten it down quite yet. I want to build a query that will do what 'mysqladmin processlist' would do for MySQL. I've referred to this related question but haven't gotten what I really need from it. I'm usin...

Removal of foreign key constraints, Referential integrity and Hibernate

Hi, My colleague mentioned that our client DBA proposed the removal of all foreign key constraints in our project Oracle DB schema. Initially I did not agree with the decision. I am a developer not a DBA. So later realized that there could be some reasons behind the decision. So I am trying get the pros and cons of this decision. Proj ...

Practical MySQL tips and literature for more advanced use?

This is yet another MySQL literature question. I asked for some MySQL / DBA literature earlier that day, but most of the suggestions were beginners guides that were more or less like a commented documentation with examples. Of course I can still learn a lot from these books / tutorials, too - but it´s NOT what I ask for here. Rather I´...