Questions tagged [redundancy]

Redundancy is the duplication of critical components or functions of a system with the intention of increasing reliability of the system, usually in the case of a backup or fail-safe.

461 questions
0
votes
2 answers

SQL Select Unique Rows

Example1: IDENT | CURRENT | SOURCE 12345 | 12345 | A 23456 | 12345 | B 34567 | 12345 | C Example2: IDENT | CURRENT | SOURCE 56789 | 56789 | A Table with 3 columns, IDENT, CURRENT and SOURCE. I'm trying to write a query that will only…
ID10T
  • 25
  • 2
  • 11
0
votes
4 answers

Lot of redundancy in passenger table

I am working on a project related to ticket booking. I can store passenger data i.e. Name,Age,Sex along with Ticket ID in passenger table. But the problem is if another ticket is booked for same passenger I will have to re-enter the same passenger…
Amit Kumar
  • 2,685
  • 2
  • 37
  • 72
0
votes
1 answer

Java Nested For Loop redundancy

I did an exercise in one of my books to get this output. We are supposed to use nested loops and basic java. I could not format the output in here but the code below produces the correct output. I got it to print the correct output but I feel like…
user2780240
0
votes
0 answers

How to delete redundant records with different dates from a MySQL table

I have a table in a MySQL database that consists of the following columns: itemID bigint(11) itemDate datetime attributeID smallint(6) value int(9) Edit: This table stores attributes for items uniquely defined in a separate table…
Florin Mircea
  • 966
  • 12
  • 24
0
votes
2 answers

Storing elements into an ArrayList but getting redundancies?

I edited the question: I'm trying to store foreign keys of all tables of a database in an arraylist Fkeys. I have the method getFK that retrieves foreign keys (if they exist) of existing tables public ArrayList Fkeys = new ArrayList(); public…
dzwowt
  • 23
  • 1
  • 6
0
votes
1 answer

How can I implement solr redundancy on the haystack side?

I've configured solr+zookeeper and now I want to set up redundancy in haystack. I mean that if haystack cannot connect to master server he should choose slave ... settings.py: HAYSTACK_CONNECTIONS = { 'master': { 'ENGINE':…
user1119698
  • 157
  • 2
  • 15
0
votes
1 answer

MySQL .What approach should be used ,normalisation or decreasing the number of tables

Suppose I have to do a networked application for an organisation ,say bank .Here a member can have different accounts like loan accounts,GDCS accounts,deposit accounts etc.To store the data I thought about two apporoaches.I am taking the deposit…
Jinu Joseph Daniel
  • 5,864
  • 15
  • 60
  • 90
0
votes
1 answer

Handling Multiple OnClick Events with One Method

I created a web form with the following controls:          Notice that there are 12 buttons, all of which fundamentally do the same thing. Is it possible to have one method (not twelve) that handles their OnClick event?
wjmolina
  • 2,625
  • 2
  • 26
  • 35
0
votes
1 answer

Failover: For Software error or Hardware or Both?

I Am designing a system where I will have programs running in Nominal/Redundant mode, One on one machine, one on another machine. Should the Nominal program fail (Failover event), the Redundant should take over and assume operations as a new Nominal…
NWS
  • 3,080
  • 1
  • 19
  • 34
0
votes
0 answers

redundancy server for Apache /server failure/overload

i want to create this scenario (or other recommended solution) I want to have 3 running instances on amazon EC2 (3 different servers) database (MySQL) my web application (uses instance 1 as its db) mirror application of 2 (also uses instance 1 as…
lior r
  • 2,220
  • 7
  • 43
  • 80
0
votes
2 answers

Database advice for counting wins/losses between players

What is the best way to keep track of the scores between all the players from a database ? How many times a player won/lost against another. I thought about a duel table where I would have 3 colums: duel_id, winner_id and loser_id but I believe…
halpsb
  • 1,106
  • 2
  • 18
  • 28
0
votes
2 answers

Multiple activity instances run?

I have 2 activities. In my first, i have a button and when i click on it, it start the second activity . But when i go back to my first and i click for second time my button, my second activity start but i have to go back two time to go back in…
0
votes
4 answers

C++ Classes dependent on each other causing a cyclic dependency error

My searches have lead me to believe that the problem I am experiencing is called cyclic redundancy. I don't understand any of the solutions that are posted. I am (fairly) new to C++, coming from a strong Java background. Basically there are two…
user2218509
  • 53
  • 1
  • 6
0
votes
3 answers

combine two SPs in SQL Server

I am having two Stored Procedures of redundant code. The SPs will differ based on the table from which it is selected. I would like to combine those two SPs. Please help out. The main SP is: CREATE PROCEDURE [dbo].[spGetEmployeesBySearchString] …
prabu R
  • 2,099
  • 12
  • 32
  • 41
0
votes
1 answer

What sort of indexing method can I use to store the distances between X^2 vectors in an array without redundancy?

I'm working on a demo that requires a lot of vector math, and in profiling, I've found that it spends the most time finding the distances between given vectors. Right now, it loops through an array of X^2 vectors, and finds the distance between each…
jakogut
  • 4,409
  • 6
  • 29
  • 41